.cce-carousel {
	--cce-current-slides: 3;
	--cce-current-gap: 24px;
	--cce-current-peek: 0px;
	--cce-arrow-size: 44px;
	--cce-arrow-icon-size: 27px;
	--cce-arrow-offset: 12px;
	--cce-arrow-border-width: 1px;
	--cce-arrow-color: #111;
	--cce-arrow-background: #fff;
	--cce-arrow-border-color: rgba(17, 17, 17, 0.12);
	--cce-arrow-hover-color: #fff;
	--cce-arrow-hover-background: #111;
	--cce-dot-size: 8px;
	--cce-dot-active-width: 24px;
	--cce-dot-gap: 8px;
	--cce-dot-spacing: 18px;
	--cce-dot-color: rgba(17, 17, 17, 0.28);
	--cce-dot-active-color: #111;
	position: relative;
	min-width: 0;
}

.cce-carousel.cce-pending {
	overflow: visible;
}

.cce-carousel.cce-ready {
	display: block !important;
}

.cce-carousel .cce-track,
.cce-carousel.cce-track {
	box-sizing: border-box;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	gap: var(--cce-current-gap) !important;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	overscroll-behavior-inline: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y pinch-zoom;
}

.cce-carousel .cce-track::-webkit-scrollbar,
.cce-carousel.cce-track::-webkit-scrollbar {
	display: none;
}

.cce-carousel .cce-slide {
	box-sizing: border-box;
	flex: 0 0 calc((100% - ((var(--cce-current-slides) - 1) * var(--cce-current-gap)) - var(--cce-current-peek)) / var(--cce-current-slides)) !important;
	width: calc((100% - ((var(--cce-current-slides) - 1) * var(--cce-current-gap)) - var(--cce-current-peek)) / var(--cce-current-slides)) !important;
	max-width: none !important;
	min-width: 0 !important;
	scroll-snap-align: start;
	scroll-snap-stop: normal;
}

.cce-carousel.cce-equal-height .cce-slide {
	align-self: stretch;
	height: auto;
}

/* Navigation positioning */
.cce-carousel .cce-navigation {
	pointer-events: none;
	position: absolute;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cce-carousel.cce-arrow-placement-inside .cce-navigation {
	inset-inline: var(--cce-arrow-offset);
}

.cce-carousel.cce-arrow-placement-edge .cce-navigation {
	inset-inline: calc(0px - (var(--cce-arrow-size) / 2));
}

.cce-carousel.cce-arrow-placement-outside .cce-navigation {
	inset-inline: calc(0px - var(--cce-arrow-size) - var(--cce-arrow-offset));
}

.cce-carousel.cce-arrow-vertical-center .cce-navigation {
	top: 50%;
	transform: translateY(-50%);
}

.cce-carousel.cce-arrow-vertical-top .cce-navigation {
	top: var(--cce-arrow-offset);
	transform: none;
}

.cce-carousel.cce-arrow-vertical-bottom .cce-navigation {
	top: auto;
	bottom: var(--cce-arrow-offset);
	transform: none;
}

/* Arrow branding */
.cce-carousel .cce-arrow {
	pointer-events: auto;
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--cce-arrow-size);
	height: var(--cce-arrow-size);
	margin: 0;
	padding: 0;
	border: var(--cce-arrow-border-width) solid var(--cce-arrow-border-color);
	background: var(--cce-arrow-background);
	color: var(--cce-arrow-color);
	font: inherit;
	font-size: var(--cce-arrow-icon-size);
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease, color 160ms ease, background-color 160ms ease;
}

.cce-carousel.cce-arrow-shape-circle .cce-arrow {
	border-radius: 999px;
}

.cce-carousel.cce-arrow-shape-rounded .cce-arrow {
	border-radius: 12px;
}

.cce-carousel.cce-arrow-shape-square .cce-arrow {
	border-radius: 0;
}

.cce-carousel.cce-arrow-shadow-none .cce-arrow {
	box-shadow: none;
}

.cce-carousel.cce-arrow-shadow-soft .cce-arrow {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cce-carousel.cce-arrow-shadow-strong .cce-arrow {
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.cce-carousel .cce-arrow:hover {
	transform: scale(1.04);
	background: var(--cce-arrow-hover-background);
	color: var(--cce-arrow-hover-color);
}

.cce-carousel.cce-arrow-shadow-soft .cce-arrow:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.17);
}

.cce-carousel.cce-arrow-shadow-strong .cce-arrow:hover {
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.cce-carousel .cce-arrow:focus-visible,
.cce-carousel .cce-dot:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.cce-carousel .cce-arrow[disabled] {
	opacity: 0.32;
	cursor: default;
	transform: none;
}

/* Pagination branding */
.cce-carousel .cce-dots {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--cce-dot-gap);
	z-index: 21;
	width: 100%;
	box-sizing: border-box;
}

.cce-carousel.cce-dot-position-below .cce-dots {
	position: relative;
	margin-top: var(--cce-dot-spacing);
}

.cce-carousel.cce-dot-position-overlay .cce-dots {
	position: absolute;
	inset-inline: 0;
	bottom: var(--cce-dot-spacing);
	padding-inline: var(--cce-arrow-offset);
}

.cce-carousel.cce-dot-align-left .cce-dots {
	justify-content: flex-start;
}

.cce-carousel.cce-dot-align-center .cce-dots {
	justify-content: center;
}

.cce-carousel.cce-dot-align-right .cce-dots {
	justify-content: flex-end;
}

.cce-carousel .cce-dot {
	appearance: none;
	-webkit-appearance: none;
	width: var(--cce-dot-size);
	height: var(--cce-dot-size);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--cce-dot-color);
	cursor: pointer;
	transition: width 180ms ease, background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.cce-carousel.cce-dot-style-pill .cce-dot[aria-current="true"] {
	width: var(--cce-dot-active-width);
	background: var(--cce-dot-active-color);
}

.cce-carousel.cce-dot-style-circle .cce-dot[aria-current="true"] {
	width: var(--cce-dot-size);
	background: var(--cce-dot-active-color);
	transform: scale(1.28);
}

.cce-carousel.cce-dot-style-line .cce-dot {
	width: var(--cce-dot-active-width);
	height: max(3px, calc(var(--cce-dot-size) / 2));
	border-radius: 999px;
}

.cce-carousel.cce-dot-style-line .cce-dot[aria-current="true"] {
	background: var(--cce-dot-active-color);
}

.cce-carousel .cce-live-region {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.cce-carousel.cce-dragging,
.cce-carousel.cce-dragging * {
	cursor: grabbing !important;
	user-select: none !important;
}

/* Elementor editor experience. The editor never moves native slide containers. */
.elementor-editor-active .cce-carousel.cce-editor-experience,
.elementor-editor-preview .cce-carousel.cce-editor-experience {
	--cce-editor-accent: #93003c;
	--cce-editor-surface: #1f2937;
	--cce-editor-border: rgba(255, 255, 255, 0.16);
	position: relative !important;
	outline: 1px solid rgba(147, 0, 60, 0.32);
	outline-offset: 3px;
}

.cce-editor-toolbar {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 42px;
	max-width: calc(100% - 16px);
	padding: 6px 8px;
	border: 1px solid var(--cce-editor-border);
	border-radius: 8px;
	background: var(--cce-editor-surface);
	color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 12px;
	line-height: 1.2;
	user-select: none;
	z-index: 9996;
}

.cce-editor-build > .cce-editor-toolbar,
.cce-editor-build > .e-con-inner > .cce-editor-toolbar {
	position: sticky;
	top: 8px;
	align-self: flex-start;
	margin: 0 0 12px;
}

.cce-editor-preview-mode > .cce-editor-toolbar {
	position: absolute;
	top: 8px;
	inset-inline-start: 8px;
}

.cce-editor-identity,
.cce-editor-mode-switch,
.cce-editor-navigator,
.cce-editor-slide-numbers {
	display: inline-flex;
	align-items: center;
}

.cce-editor-identity {
	gap: 7px;
	white-space: nowrap;
}

.cce-editor-context {
	padding: 3px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.72);
	font-size: 10px;
	font-weight: 600;
}

.cce-editor-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #35d07f;
	box-shadow: 0 0 0 3px rgba(53, 208, 127, 0.14);
}

.cce-editor-mode-switch {
	gap: 2px;
	padding: 2px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
}

.cce-editor-navigator {
	gap: 5px;
	min-width: 0;
}

.cce-editor-slide-numbers {
	gap: 3px;
	max-width: min(280px, 42vw);
	overflow-x: auto;
	scrollbar-width: none;
}

.cce-editor-slide-numbers::-webkit-scrollbar {
	display: none;
}

.cce-editor-toolbar button {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	font: inherit;
	line-height: 1;
	cursor: pointer;
}

.cce-editor-toolbar button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.cce-editor-mode-button {
	min-height: 28px;
	padding: 6px 9px;
	border-radius: 5px;
	background: transparent;
	color: rgba(255, 255, 255, 0.72);
}

.cce-editor-mode-button:hover,
.cce-editor-mode-button.is-active {
	background: #fff;
	color: #111827;
}

.cce-editor-mode-button[disabled] {
	opacity: 0.36;
	cursor: not-allowed;
}

.cce-editor-nav-button,
.cce-editor-slide-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.cce-editor-slide-number {
	width: 24px;
	height: 24px;
	font-size: 11px;
}

.cce-editor-nav-button:hover,
.cce-editor-slide-number:hover,
.cce-editor-slide-number.is-active {
	background: var(--cce-editor-accent);
	color: #fff;
}

.cce-editor-nav-button[disabled] {
	opacity: 0.28;
	cursor: not-allowed;
}

.cce-editor-count {
	min-width: 42px;
	color: rgba(255, 255, 255, 0.68);
	text-align: end;
	white-space: nowrap;
}

.cce-editor-empty-state {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 13px;
	width: 100%;
	min-height: 92px;
	padding: 16px;
	margin: 0 0 12px;
	border: 1px dashed rgba(147, 0, 60, 0.44);
	border-radius: 8px;
	background: rgba(147, 0, 60, 0.05);
	color: #252525;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cce-editor-empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--cce-editor-accent);
	color: #fff;
	font-size: 22px;
}

.cce-editor-empty-state strong,
.cce-editor-empty-state span {
	display: block;
}

.cce-editor-empty-state strong {
	margin-bottom: 4px;
	font-size: 13px;
}

.cce-editor-empty-state span {
	font-size: 12px;
	line-height: 1.45;
	opacity: 0.72;
}

/* Build mode: show all native child containers vertically. */
.elementor-editor-active .cce-carousel.cce-editor-build,
.elementor-editor-preview .cce-carousel.cce-editor-build,
.elementor-editor-active .cce-carousel.cce-editor-build > .e-con-inner,
.elementor-editor-preview .cce-carousel.cce-editor-build > .e-con-inner,
.elementor-editor-active .cce-editor-build-track,
.elementor-editor-preview .cce-editor-build-track {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 18px !important;
	overflow: visible !important;
}

.elementor-editor-active .cce-carousel.cce-editor-build .cce-editor-slide,
.elementor-editor-preview .cce-carousel.cce-editor-build .cce-editor-slide {
	position: relative;
	box-sizing: border-box;
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	transform: none !important;
	outline: 1px dashed rgba(17, 17, 17, 0.25);
	outline-offset: 2px;
}

.elementor-editor-active .cce-carousel.cce-editor-build .cce-editor-slide::before,
.elementor-editor-preview .cce-carousel.cce-editor-build .cce-editor-slide::before {
	content: attr(data-cce-editor-slide-label);
	position: absolute;
	top: 6px;
	inset-inline-start: 6px;
	z-index: 30;
	padding: 4px 7px;
	border-radius: 4px;
	background: rgba(17, 24, 39, 0.84);
	color: #fff;
	font: 600 10px/1.1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0.02em;
	pointer-events: none;
}

.elementor-editor-active .cce-carousel.cce-editor-build .cce-editor-active-slide,
.elementor-editor-preview .cce-carousel.cce-editor-build .cce-editor-active-slide {
	outline: 3px solid var(--cce-editor-accent);
	outline-offset: 3px;
}

.elementor-editor-active .cce-carousel.cce-editor-build .cce-navigation,
.elementor-editor-active .cce-carousel.cce-editor-build .cce-dots,
.elementor-editor-preview .cce-carousel.cce-editor-build .cce-navigation,
.elementor-editor-preview .cce-carousel.cce-editor-build .cce-dots {
	display: none !important;
}

/* Preview mode: preserve Elementor's DOM while making the direct children slide. */
.elementor-editor-active .cce-carousel.cce-editor-preview-mode .cce-editor-ignored,
.elementor-editor-preview .cce-carousel.cce-editor-preview-mode .cce-editor-ignored {
	display: none !important;
}

.elementor-editor-active .cce-carousel.cce-editor-preview-mode.cce-track,
.elementor-editor-preview .cce-carousel.cce-editor-preview-mode.cce-track {
	padding-top: 56px !important;
}

.elementor-editor-active .cce-carousel.cce-editor-preview-mode .cce-editor-slide,
.elementor-editor-preview .cce-carousel.cce-editor-preview-mode .cce-editor-slide {
	cursor: default;
}

.elementor-editor-active .cce-carousel.cce-editor-native-preview,
.elementor-editor-preview .cce-carousel.cce-editor-native-preview {
	padding-top: 58px !important;
}

.elementor-editor-active .cce-carousel.cce-editor-native-preview .cce-editor-active-slide,
.elementor-editor-preview .cce-carousel.cce-editor-native-preview .cce-editor-active-slide {
	outline: 2px solid var(--cce-editor-accent);
	outline-offset: 2px;
}

.elementor-editor-active .cce-carousel.cce-editor-preview-mode .cce-editor-floating-dots,
.elementor-editor-preview .cce-carousel.cce-editor-preview-mode .cce-editor-floating-dots {
	position: absolute !important;
	inset-inline: 0 !important;
	bottom: 8px !important;
	justify-content: center !important;
	padding-inline: 12px;
	pointer-events: auto;
}

@media (max-width: 767px) {
	.cce-editor-toolbar {
		max-width: calc(100% - 10px);
		gap: 5px;
		padding: 5px;
	}

	.cce-editor-identity strong {
		display: none;
	}

	.cce-editor-context {
		display: none;
	}

	.cce-editor-slide-numbers {
		max-width: 34vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cce-carousel .cce-track,
.cce-carousel.cce-track {
		scroll-behavior: auto;
	}
	.cce-carousel .cce-arrow,
	.cce-carousel .cce-dot {
		transition: none;
	}
}


/* v0.8 production accessibility controls */
.cce-carousel .cce-autoplay-toggle {
	position: absolute;
	inset-inline-end: var(--cce-arrow-offset);
	bottom: var(--cce-arrow-offset);
	z-index: 22;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: max(32px, calc(var(--cce-arrow-size) * 0.76));
	height: max(32px, calc(var(--cce-arrow-size) * 0.76));
	padding: 0;
	border: var(--cce-arrow-border-width) solid var(--cce-arrow-border-color);
	border-radius: 999px;
	background: var(--cce-arrow-background);
	color: var(--cce-arrow-color);
	font: inherit;
	font-size: max(14px, calc(var(--cce-arrow-icon-size) * 0.62));
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cce-carousel .cce-autoplay-toggle:hover {
	background: var(--cce-arrow-hover-background);
	color: var(--cce-arrow-hover-color);
}

.cce-carousel .cce-autoplay-toggle:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.cce-carousel .cce-slide[inert] {
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.cce-carousel .cce-track,
	.cce-carousel.cce-track {
		scroll-behavior: auto;
	}
	.cce-carousel .cce-arrow,
	.cce-carousel .cce-autoplay-toggle,
	.cce-carousel .cce-dot {
		transition: none;
	}
}
