/*
 * Rachiyata Local Growth Companion core styles.
 *
 * Shared component styles will move here during approved page-family
 * migrations. This file intentionally starts small so the first package
 * can introduce clean asset routing without changing page appearance.
 */

.rlgc-back-to-top {
	align-items: center;
	-webkit-appearance: none;
	appearance: none;
	background: #070604;
	border: 1px solid rgba(255, 246, 234, 0.28);
	border-radius: 999px;
	bottom: clamp(18px, 3vw, 34px);
	box-shadow: 0 18px 42px rgba(7, 6, 4, 0.24);
	color: #fff6ea;
	cursor: pointer;
	display: inline-flex;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 22px;
	font-weight: 800;
	height: 48px;
	justify-content: center;
	line-height: 1;
	opacity: 0;
	padding: 0;
	pointer-events: none;
	position: fixed;
	right: clamp(18px, 3vw, 34px);
	text-decoration: none;
	transform: translateY(12px);
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
	width: 48px;
	z-index: 90;
}

.rlgc-back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.rlgc-back-to-top:hover,
.rlgc-back-to-top:focus-visible {
	background: #9f4f25;
	border-color: #9f4f25;
	color: #fff6ea;
	transform: translateY(-2px);
}

.rlgc-back-to-top:focus-visible {
	outline: 3px solid rgba(255, 225, 204, 0.7);
	outline-offset: 4px;
}

@media (max-width: 767px) {
	.rlgc-back-to-top {
		font-size: 20px;
		height: 44px;
		width: 44px;
	}
}
