/* Southern Range Product Content 2.7.0
   One tessellated navigation row per component; subordinate choices use
   compact rectangular controls. */

/* Product Explorer: the supplied tessellated leader/segments remain the
   single primary view control. Hotspots and this quiet row share one state. */
.srpc-explorer-navigator.srpc-explorer-navigator--compact-rect {
	display: grid;
	grid-template-columns: repeat(var(--srpc-explorer-item-count, 4), minmax(0, 1fr));
	gap: 6px;
	width: 100%;
	max-width: 760px;
	min-height: 44px;
	margin: 0 auto 8px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}
.srpc-explorer-navigator--compact-rect .srpc-explorer-nav-item {
	position: relative;
	display: grid;
	min-width: 0;
	min-height: 44px;
	place-items: center;
	padding: 0 8px;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	color: #f6f4f1;
	font: 700 11px/1.1 var(--wp--preset--font-family--mono, monospace);
	cursor: pointer;
	isolation: isolate;
}
.srpc-explorer-navigator--compact-rect .srpc-explorer-nav-item::before {
	content: "";
	position: absolute;
	inset: 7px 0;
	z-index: -1;
	border: 1px solid rgba(246, 244, 241, .18);
	border-radius: 2px;
	background: #555a59;
	transition: background-color 180ms ease-out, border-color 180ms ease-out, opacity 180ms ease-out;
}
.srpc-explorer-navigator--compact-rect .srpc-explorer-nav-item:hover::before { background: #626766; }
.srpc-explorer-navigator--compact-rect .srpc-explorer-nav-item.is-selected { color: #1c1e1f; }
.srpc-explorer-navigator--compact-rect .srpc-explorer-nav-item.is-selected::before {
	border-color: #77997d;
	background: #faf9f6;
}
.srpc-explorer-navigator--compact-rect .srpc-explorer-nav-item:focus-visible {
	outline: 3px solid #77997d;
	outline-offset: -6px;
}
.srpc-explorer-nav-label {
	position: relative;
	z-index: 1;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Product Comparison: retain tessellation only for its primary category row. */
.srcm:not(.srpc-core-metrics-active) .srcm-metrics { display: none !important; }
.srcm .srcm-metrics {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, max-content));
	align-items: center;
	gap: 6px !important;
	width: max-content;
	max-width: 100%;
	min-height: 44px;
	margin: .25rem 0 .8rem !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	overflow: visible;
}
.srcm .srcm-metrics > .srpc-comparison-tess-leader,
.srcm .srcm-metrics .srpc-comparison-tess-shape,
.srcm .srcm-metrics .srpc-comparison-tess-label { display: none !important; }
.srcm .srcm-metrics .srcm-metric {
	position: relative !important;
	display: grid !important;
	width: auto !important;
	min-width: 104px !important;
	min-height: 44px !important;
	place-items: center;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #1c1e1f !important;
	font-size: .78rem !important;
	isolation: isolate;
	overflow: visible;
}
.srcm .srcm-metrics .srcm-metric::before {
	content: "";
	position: absolute;
	inset: 7px 0;
	z-index: -1;
	border: 1px solid rgba(28, 30, 31, .14);
	border-radius: 2px;
	background: #e8e3dc;
	transition: background-color 180ms ease-out, border-color 180ms ease-out, opacity 180ms ease-out;
}
.srcm .srcm-metrics .srcm-metric:hover::before { background: #ded8cf; }
.srcm .srcm-metrics .srcm-metric[aria-pressed="true"],
.srcm .srcm-metrics .srcm-metric[aria-selected="true"],
.srcm .srcm-metrics .srcm-metric.is-active,
.srcm .srcm-metrics .srcm-metric.is-selected { color: #faf9f6 !important; font-weight: 700; }
.srcm .srcm-metrics .srcm-metric[aria-pressed="true"]::before,
.srcm .srcm-metrics .srcm-metric[aria-selected="true"]::before,
.srcm .srcm-metrics .srcm-metric.is-active::before,
.srcm .srcm-metrics .srcm-metric.is-selected::before { border-color: #1c1e1f; background: #1c1e1f; }
.srcm .srcm-metrics .srcm-metric:focus-visible {
	outline: 3px solid #77997d !important;
	outline-offset: -6px !important;
}
.srpc-comparison-metric-label { position: relative; z-index: 1; white-space: nowrap; }

@media (max-width: 520px) {
	.srpc-explorer-navigator.srpc-explorer-navigator--compact-rect {
		gap: 4px;
		margin-bottom: 6px;
	}
	.srpc-explorer-navigator--compact-rect .srpc-explorer-nav-item {
		padding-inline: 4px;
		font-size: clamp(9px, 2.7vw, 11px);
	}
	.srcm .srcm-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		gap: 2px 6px !important;
	}
	.srcm .srcm-metrics .srcm-metric {
		width: 100% !important;
		min-width: 0 !important;
		padding-inline: 8px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.srpc-explorer-navigator--compact-rect .srpc-explorer-nav-item::before,
	.srcm .srcm-metrics .srcm-metric::before { transition: none; }
}

@media (forced-colors: active) {
	.srpc-explorer-navigator--compact-rect .srpc-explorer-nav-item,
	.srcm .srcm-metrics .srcm-metric { outline: 1px solid ButtonText; }
}
