/*
 * Reusable button component (Customizer "Spacing & Buttons" section).
 * Built entirely from the theme's existing design tokens (style.css) — no new
 * hardcoded colors — so it follows an operator's palette, radius and button-style
 * overrides automatically. Not enqueued here; wired up by the central
 * integration layer built separately.
 */

.nestling-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1.4rem;
	border: 1px solid transparent;
	border-radius: var(--nestling-radius-md);
	background: var(--nestling-terracotta);
	color: #fff;
	font-family: var(--nestling-font-body);
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nestling-btn:hover,
.nestling-btn:focus {
	background: var(--nestling-terracotta-ink);
}

.nestling-btn:focus-visible {
	outline: 2px solid var(--nestling-terracotta-ink);
	outline-offset: 2px;
}

.nestling-btn.is-outline {
	background: transparent;
	border-color: var(--nestling-terracotta);
	color: var(--nestling-terracotta);
}

.nestling-btn.is-outline:hover,
.nestling-btn.is-outline:focus {
	background: transparent;
	border-color: var(--nestling-terracotta-ink);
	color: var(--nestling-terracotta-ink);
}

.nestling-btn.is-outline:focus-visible {
	outline: 2px solid var(--nestling-terracotta-ink);
	outline-offset: 2px;
}
