/**
 * Curved Loop — React Bits port (vanilla).
 * Brand: CashCom teal #78DED4 on dark Color Bends.
 */
.ccp-curved-loop {
	width: 100%;
	margin: 0;
	padding: 1.5rem 0 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: transparent;
	position: relative;
	z-index: 1;
	/* SVG textPath is LTR path geometry — don't inherit page rtl. */
	direction: ltr;
	unicode-bidi: isolate;
}

.ccp-curved-loop__jacket {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: grab;
	touch-action: none;
}

.ccp-curved-loop__jacket.is-dragging {
	cursor: grabbing;
}

.ccp-curved-loop__svg {
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	width: 100%;
	/* Tall enough for the dip — keep overflow clipped by parent */
	aspect-ratio: 1440 / 320;
	overflow: hidden;
	display: block;
	font-family: "DIN Next", "Tahoma", "Arial Unicode MS", Sans-serif;
	font-size: 3.25rem;
	font-weight: 700;
	fill: #ffffff;
	text-transform: uppercase;
	line-height: 1;
	direction: ltr;
}

/* Arabic glyphs — no uppercase, keep readable Naskh/Tahoma fallbacks */
html[lang^="ar"] .ccp-curved-loop__svg,
body.rtl .ccp-curved-loop__svg {
	text-transform: none;
	font-family: "DIN Next", "Tahoma", "Segoe UI", Sans-serif;
	font-size: 2.75rem;
}

.ccp-curved-loop__measure {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.ccp-curved-loop__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 767px) {
	.ccp-curved-loop {
		padding: 1rem 0 1.5rem;
	}

	.ccp-curved-loop__svg {
		font-size: 1.75rem;
		aspect-ratio: 1440 / 360;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ccp-curved-loop__jacket {
		cursor: default;
	}
}
