.arfe-inspector {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	padding: 12px 14px;
	margin-bottom: 12px;
	border: 1px dashed #9aa0a6;
	background: #f7f8f9;
	color: #30343b;
	font-size: 12px;
	line-height: 1.4;
}

.arfe-inspector strong {
	width: 100%;
	font-size: 13px;
}

.arfe-row-controls {
	margin: 0 0 20px;
	color: inherit;
}

.arfe-row-controls__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}

.arfe-control {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0;
}

fieldset.arfe-control {
	padding: 0;
	border: 0;
}

.arfe-control legend {
	width: 100%;
	margin-bottom: 5px;
}

.arfe-row-controls input,
.arfe-row-controls select,
.arfe-row-controls button {
	min-height: 40px;
	box-sizing: border-box;
}

.arfe-row-controls input,
.arfe-row-controls select {
	padding: 8px 10px;
	border: 1px solid #d5d8dc;
	border-radius: 3px;
}

.arfe-row-controls__apply {
	border: 0;
	border-radius: 3px;
	padding: 8px 18px;
	background: #1f2937;
	color: #fff;
	cursor: pointer;
}

.arfe-row-controls__reset {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
}

.arfe-tax--checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.arfe-tax--checkbox label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.arfe-tax--nav {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
}

.arfe-tax--nav a.is-active {
	font-weight: 700;
	text-decoration: underline;
}

.arfe-lightbox {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, .78);
	padding: 24px;
}

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

.arfe-lightbox__backdrop {
	position: absolute;
	inset: 0;
}

.arfe-lightbox__dialog {
	position: relative;
	z-index: 2;
	width: 80%;
	max-width: 1100px;
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: #fff;
	box-shadow: 0 20px 70px rgba(0,0,0,.35);
}

.arfe-lightbox__content {
	position: relative;
}

.arfe-lightbox__close,
.arfe-lightbox__prev,
.arfe-lightbox__next {
	position: absolute;
	z-index: 4;
	width: 44px;
	height: 44px;
	display: inline-grid;
	place-items: center;
	border: 0;
	background: rgba(255,255,255,.9);
	color: #111;
	cursor: pointer;
	line-height: 1;
	font-size: 28px;
}

.arfe-lightbox__close {
	top: 10px;
	right: 10px;
}

.arfe-lightbox__prev,
.arfe-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.arfe-lightbox__prev { left: 10px; }
.arfe-lightbox__next { right: 10px; }

.arfe-lightbox-clone {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

html.arfe-lightbox-open,
html.arfe-lightbox-open body {
	overflow: hidden;
}

.arfe-lbvis-lightbox_only {
	display: none !important;
}

.arfe-lightbox-clone .arfe-lbvis-lightbox_only {
	display: revert !important;
}

.arfe-lightbox-clone .arfe-lbvis-grid_only {
	display: none !important;
}

@media (max-width: 767px) {
	.arfe-lightbox {
		padding: 12px;
	}
	.arfe-lightbox__dialog {
		width: 100%;
		max-height: calc(100vh - 24px);
	}
	.arfe-row-controls__inner {
		align-items: stretch;
	}
	.arfe-control {
		width: 100%;
	}
	.arfe-control input,
	.arfe-control select {
		flex: 1 1 auto;
		min-width: 0;
	}
}



/* v1.0.3 — ACF Repeater icons inside Elementor native Icon / Icon Box */
.arfe-row-icon-active .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.arfe-row-icon-dashicon .elementor-icon .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	font-size: 1em;
	line-height: 1;
	color: currentColor;
}

.arfe-row-icon-dashicon .elementor-icon .dashicons::before {
	font-size: 1em;
	width: 1em;
	height: 1em;
	line-height: 1;
}

.arfe-row-icon-mask .elementor-icon .arfe-acf-mask-icon {
	display: inline-flex;
	width: 1em;
	height: 1em;
	font-size: 1em;
	line-height: 1;
}

.arfe-row-icon-mask .elementor-icon .arfe-acf-mask-icon::before {
	content: "";
	display: block;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask-image: var(--arfe-row-icon-image);
	mask-image: var(--arfe-row-icon-image);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}


/* v1.1.0 — dedicated ACF Repeater Icon Box */
.elementor-widget-arfe-repeater-icon-box .arfe-rib {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	align-items: flex-start;
	color: inherit;
	text-decoration: none;
	transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.elementor-widget-arfe-repeater-icon-box .arfe-rib__icon-wrap {
	flex: 0 0 auto;
	line-height: 1;
}

.elementor-widget-arfe-repeater-icon-box .arfe-rib__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	box-sizing: border-box;
	line-height: 1;
	transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.elementor-widget-arfe-repeater-icon-box .arfe-rib__glyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 1;
	color: currentColor;
	box-sizing: content-box;
}

.elementor-widget-arfe-repeater-icon-box .arfe-rib__dashicon {
	width: 1em;
	height: 1em;
	font-size: 1em;
}

.elementor-widget-arfe-repeater-icon-box .arfe-rib__dashicon::before {
	display: block;
	width: 1em;
	height: 1em;
	font-size: 1em;
	line-height: 1;
	color: currentColor;
}

.elementor-widget-arfe-repeater-icon-box .arfe-rib__mask {
	background-color: currentColor;
	-webkit-mask-image: var(--arfe-rib-icon-url);
	mask-image: var(--arfe-rib-icon-url);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.elementor-widget-arfe-repeater-icon-box .arfe-rib__content {
	flex: 1 1 auto;
	min-width: 0;
}

.elementor-widget-arfe-repeater-icon-box .arfe-rib__title {
	margin: 0;
	padding: 0;
}

.elementor-widget-arfe-repeater-icon-box .arfe-rib__description,
.elementor-widget-arfe-repeater-icon-box .arfe-rib__description p:last-child {
	margin-bottom: 0;
}

.elementor-widget-arfe-repeater-icon-box.arfe-rib-view-stacked .arfe-rib__icon {
	background-color: currentColor;
}

.elementor-widget-arfe-repeater-icon-box.arfe-rib-view-stacked .arfe-rib__glyph {
	color: #fff;
}

.elementor-widget-arfe-repeater-icon-box.arfe-rib-view-framed .arfe-rib__icon {
	border-style: solid;
	border-color: currentColor;
	background-color: transparent;
}

.elementor-widget-arfe-repeater-icon-box.arfe-rib-shape-circle .arfe-rib__icon {
	border-radius: 50%;
}

.elementor-widget-arfe-repeater-icon-box.arfe-rib-shape-square .arfe-rib__icon {
	border-radius: 0;
}

.elementor-widget-arfe-repeater-icon-box .arfe-rib__missing-icon {
	border: 1px dashed currentColor;
	opacity: .5;
}


/* v1.1.1 — alignment fix for ACF Repeater Icon Box */
.elementor-widget-arfe-repeater-icon-box .arfe-rib__content {
	box-sizing: border-box;
}

/* When the flex direction is column (Icon Position: Top), align-items from
   Elementor's Alignment control now positions the icon wrap correctly. */
.elementor-widget-arfe-repeater-icon-box .arfe-rib__icon-wrap {
	max-width: 100%;
}


/* v1.2.0 — customizable premium empty state for ACF-powered loops */
.arfe-empty-state {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
}

.arfe-empty-state__inner {
	position: relative;
	width: 100%;
	max-width: 760px;
	min-height: 260px;
	padding: 48px 36px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(circle at 15% 0%, rgba(205, 161, 74, .10), transparent 34%),
		linear-gradient(135deg, #fffdf9 0%, #fff8eb 100%);
	border: 1px solid rgba(185, 135, 50, .18);
	border-radius: 24px;
	box-shadow: 0 18px 50px rgba(42, 35, 22, .07);
}

.arfe-empty-state__inner::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent, rgba(185, 135, 50, .55), transparent);
	pointer-events: none;
}

.arfe-empty-state__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	margin-bottom: 18px;
	color: #b98732;
	background: #fff1d6;
	border-radius: 50%;
	line-height: 1;
}

.arfe-empty-state__icon i {
	font-size: 30px;
}

.arfe-empty-state__icon svg {
	display: block;
	width: 30px;
	height: 30px;
	fill: currentColor;
}

.arfe-empty-state__eyebrow {
	margin-bottom: 8px;
	color: #9b742f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.arfe-empty-state__title {
	margin: 0 0 10px;
	padding: 0;
	color: #1f1d1a;
	font-size: clamp(23px, 2vw, 32px);
	font-weight: 600;
	line-height: 1.2;
}

.arfe-empty-state__description {
	max-width: 560px;
	margin-inline: auto;
	color: #6d675f;
	font-size: 15px;
	line-height: 1.7;
}

.arfe-empty-state__description p {
	margin-top: 0;
}

.arfe-empty-state__description p:last-child {
	margin-bottom: 0;
}

.arfe-empty-state__button-wrap {
	margin-top: 22px;
}

.arfe-empty-state__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	color: #fff;
	background: #1f1d1a;
	border-radius: 999px;
	text-decoration: none;
	transition: transform .2s ease, opacity .2s ease, background-color .2s ease, color .2s ease;
}

.arfe-empty-state__button:hover {
	transform: translateY(-1px);
	opacity: .92;
}

@media (max-width: 767px) {
	.arfe-empty-state__inner {
		min-height: 220px;
		padding: 36px 22px;
		border-radius: 20px;
	}
}


/* v1.5.0 — Direct ACF Highlights Carousel.
   Reads rows directly from the current Brand; no Elementor Loop Item context. */
.elementor-widget-arfe-highlights-carousel .arfe-hc {
	--arfe-hc-per-view: 4;
	--arfe-hc-gap: 10px;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	background: #fff7e8;
	border-radius: 20px;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__viewport::-webkit-scrollbar {
	display: none;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__track {
	display: flex;
	align-items: stretch;
	gap: var(--arfe-hc-gap);
	width: max-content;
	min-width: 100%;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__card {
	flex: 0 0 calc(
		(100vw - 1px) / 1
	);
	width: calc(
		(100% - (var(--arfe-hc-gap) * (var(--arfe-hc-per-view) - 1))) / var(--arfe-hc-per-view)
	);
	max-width: calc(
		(100% - (var(--arfe-hc-gap) * (var(--arfe-hc-per-view) - 1))) / var(--arfe-hc-per-view)
	);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	scroll-snap-align: start;
	background: #fff;
	border-radius: 18px;
	text-align: center;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__track {
	width: 100%;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__card {
	flex-basis: calc(
		(100% - (var(--arfe-hc-gap) * (var(--arfe-hc-per-view) - 1))) / var(--arfe-hc-per-view)
	);
	min-width: calc(
		(100% - (var(--arfe-hc-gap) * (var(--arfe-hc-per-view) - 1))) / var(--arfe-hc-per-view)
	);
	max-width: calc(
		(100% - (var(--arfe-hc-gap) * (var(--arfe-hc-per-view) - 1))) / var(--arfe-hc-per-view)
	);
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: auto;
	max-width: 100%;
	box-sizing: border-box;
	color: #ffa52a;
	line-height: 1;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__icon-glyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 36px;
	line-height: 1;
	color: currentColor;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__dashicon::before {
	width: 1em;
	height: 1em;
	font-size: 1em;
	line-height: 1;
	color: currentColor;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__mask {
	background-color: currentColor;
	-webkit-mask-image: var(--arfe-hc-icon-url);
	mask-image: var(--arfe-hc-icon-url);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__title {
	margin: 0;
	padding: 0;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__description,
.elementor-widget-arfe-highlights-carousel .arfe-hc__description p {
	margin-top: 0;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__description p:last-child {
	margin-bottom: 0;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-top: 8px;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__dot {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f4b9a5;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease;
}

.elementor-widget-arfe-highlights-carousel .arfe-hc__dot.is-active {
	background: #e82317;
	transform: scale(1.08);
}

.elementor-widget-arfe-highlights-carousel .arfe-hc-empty {
	padding: 24px;
	text-align: center;
}

@media (max-width: 1024px) {
	.elementor-widget-arfe-highlights-carousel .arfe-hc {
		--arfe-hc-per-view: 2;
	}
}

@media (max-width: 767px) {
	.elementor-widget-arfe-highlights-carousel .arfe-hc {
		--arfe-hc-per-view: 1;
	}
}
