/* Buttons — see docs/design-system.md § Components (visual spec) */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-1);
	font-family: var(--font-body);
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	white-space: nowrap;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
		transform 0.12s ease;
}

.btn:active {
	transform: translateY(1px);
}

/* Primary: red fill. Inquiry/quote actions only — one per view. */
.btn--primary {
	background: var(--color-red-strong);
	color: var(--color-white);
	font-size: 17px;
	font-weight: 700;
	padding: 15px 30px;
	border-radius: var(--radius-sm);
}

.btn--primary:hover,
.btn--primary:focus-visible {
	background: var(--color-red-hover);
	color: var(--color-white);
}

/* Dark (secondary): navy fill. "View catalog," "Learn more." */
.btn--dark {
	background: var(--color-navy);
	color: var(--color-white);
	font-size: 17px;
	font-weight: 700;
	padding: 15px 30px;
	border-radius: var(--radius-sm);
}

.btn--dark:hover,
.btn--dark:focus-visible {
	background: var(--color-navy-deep);
	color: var(--color-white);
}

/* Outline */
.btn--outline {
	background: transparent;
	border-color: var(--color-navy);
	color: var(--color-navy);
	font-size: 16px;
	font-weight: 600;
	padding: 12px 24px;
	border-radius: var(--radius-sm);
}

.btn--outline:hover,
.btn--outline:focus-visible {
	background: var(--color-navy);
	color: var(--color-white);
}

/* Ghost / text link */
/* Plain inline text so only the label is underlined and the arrow stays
   attached (as a flex item, .btn would detach and underline the arrow). */
.btn.btn--ghost,
.btn--ghost {
	display: inline;
	background: none;
	border: none;
	padding: 0;
	color: var(--color-navy);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-skip-ink: none;
	text-underline-offset: 4px;
	white-space: normal;
	transition: color 0.18s ease;
}

.btn--ghost:hover {
	color: var(--color-red-hover);
}

.btn--ghost:active {
	transform: none;
}

.btn--ghost::after {
	content: '→';
	margin-left: 6px;
	text-decoration: none;
	display: inline-block;
	transition: transform 0.18s ease;
}

.btn--ghost:hover::after,
.btn--ghost:focus-visible::after {
	transform: translateX(3px);
}

/* Chips & badges */
.chip {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-steel);
	background: var(--color-paper);
	border-radius: var(--radius-sm);
	padding: 4px 10px;
}

.chip[data-reserved] {
	opacity: 0.6;
}

.badge {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 0.04em;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: var(--radius-sm);
	padding: 3px 8px;
}

.badge--red {
	background: var(--color-red-tint);
	color: var(--color-red-hover);
}

.badge--navy {
	background: var(--color-badge-navy-fill);
	color: var(--color-navy);
}

/* Dimension-tick divider — replaces <hr> between major sections on
   long catalog/spec pages. A hairline with ticks and small mono labels. */
.divider-dimension {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin-block: var(--sp-5);
	color: var(--color-steel);
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.03em;
}

.divider-dimension__line {
	flex: 1 1 auto;
	height: 6px;
	background-image: linear-gradient(to right, var(--color-line) 1px, transparent 1px),
		repeating-linear-gradient(
			to right,
			var(--color-line) 0,
			var(--color-line) 1px,
			transparent 1px,
			transparent 24px
		);
	background-position: bottom, bottom;
	background-size: 100% 1px, 100% 6px;
	background-repeat: no-repeat, repeat-x;
}

.divider-dimension__label {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* Registration-mark image frame — red corner brackets ~8px outside
   the image, signalling precision on hero photos & featured products. */
.frame-registration {
	position: relative;
	display: inline-block;
	padding: 8px;
}

.frame-registration__corner {
	position: absolute;
	width: 20px;
	height: 20px;
	border: 0 solid var(--color-red);
}

.frame-registration__corner--tl {
	top: 0;
	left: 0;
	border-width: 2px 0 0 2px;
}

.frame-registration__corner--tr {
	top: 0;
	right: 0;
	border-width: 2px 2px 0 0;
}

.frame-registration__corner--bl {
	bottom: 0;
	left: 0;
	border-width: 0 0 2px 2px;
}

.frame-registration__corner--br {
	bottom: 0;
	right: 0;
	border-width: 0 2px 2px 0;
}

.frame-registration__media {
	display: block;
}

.frame-registration__placeholder {
	width: 320px;
	height: 200px;
	background: var(--color-paper);
}
