/* ==========================================================================
   Buttons: the reference theme's .btn-main and .btn-secondary.

   Upgrade: on hover the reference turned the button gold with white text
   (2.4:1); here the text goes dark on gold (5.7:1). The letter-spacing grow
   is kept; it happens inside the button, so nothing around it moves.
   ========================================================================== */

.ek-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--ek-space-2);
	min-height: 3rem;
	padding: 1rem 1.75rem;
	border: var(--ek-hairline) solid var(--ek-btn-bg);
	border-radius: 0;
	background-color: var(--ek-btn-bg);
	color: var(--ek-btn-text);
	font-family: var(--ek-font-sans);
	font-size: var(--ek-text-xs);
	font-weight: var(--ek-weight-semibold);
	letter-spacing: 0.21em;                     /* her 2.5px */
	text-transform: uppercase;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 300ms cubic-bezier(0.16, 1, 0.3, 1),
	            border-color 300ms cubic-bezier(0.16, 1, 0.3, 1),
	            color 300ms cubic-bezier(0.16, 1, 0.3, 1),
	            letter-spacing 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ek-button:hover,
.ek-button:focus-visible {
	background-color: var(--ek-veld-gold);
	border-color: var(--ek-veld-gold);
	color: var(--ek-earth-dark);
	letter-spacing: 0.25em;                     /* her 3px */
}

/* Full width, as in the order card */
.ek-button--block { display: flex; width: 100%; padding: 1rem 1.25rem; }

/* Her .btn-secondary: outline that fills dark */
.ek-button--outline,
.ek-button--ghost {
	background-color: transparent;
	border-color: var(--ek-rule);
	color: var(--ek-text);
	padding: 0.875rem 1.75rem;
	letter-spacing: 0.17em;                     /* her 2px */
}
.ek-button--outline:hover,
.ek-button--outline:focus-visible,
.ek-button--ghost:hover,
.ek-button--ghost:focus-visible {
	background-color: var(--ek-earth-dark);
	border-color: var(--ek-earth-dark);
	color: var(--ek-on-dark);
	letter-spacing: 0.17em;
}

/* On dark grounds */
.ek-button--light { background-color: var(--ek-sand); border-color: var(--ek-sand); color: var(--ek-earth-dark); }

/* A quiet next step, used on inner pages */
.ek-more {
	font-family: var(--ek-font-serif);
	font-size: var(--ek-text-lg);
	font-style: italic;
	color: var(--ek-text-accent);
	text-underline-offset: 0.25em;
}
.ek-more:hover { color: var(--ek-text); }
