/*!
 * Sarv Catalyst — Catalogue
 *
 * Loaded on the product archive, the product family archives, product-scoped
 * search results and single product pages, and nowhere else. It is not part of
 * the shared ladder: it loads after `utilities.css` and therefore wins any tie
 * against a rule there, which is how the catalogue can be drawn without editing
 * the layer every other template depends on.
 *
 * Everything reads the approved design tokens. No value is invented here, no
 * colour is written as a literal, and every offset uses logical properties so
 * the catalogue mirrors with the rest of the site.
 *
 * Cascade order in this file:
 *   1. Catalogue hero
 *   2. Product family navigation
 *   3. Child categories
 *   4. Search, filters and result count
 *   5. Result items and pagination
 *   6. Zero-result state
 *   7. Consultation invitation
 *   8. Single product
 *   9. Responsive
 */

/* ===========================================================================
 * 1. Catalogue hero
 * ======================================================================== */

.sc-catalogue-hero {
	--sc-catalogue-hero-padding: clamp(1.75rem, 1.1rem + 2vw, 2.75rem);

	position: relative;
	overflow: hidden;
	background-color: var(--sc-color-surface-pale);
}

.sc-catalogue-hero__pattern {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	inline-size: var(--sc-pattern-size-md);
	block-size: var(--sc-pattern-size-md);
	inset-block-start: -35%;
	inset-inline-end: -6%;
	background-color: var(--sc-color-pattern-line);
	opacity: var(--sc-pattern-opacity);
	mask-image: url("../images/brand/sarv-hero-pattern.svg");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: cover;
}

.sc-catalogue-hero .sc-container {
	position: relative;
	z-index: 1;
}

.sc-catalogue-hero__inner {
	padding-block: var(--sc-catalogue-hero-padding);
}

.sc-catalogue-hero .sc-breadcrumbs {
	margin-block-end: var(--sc-space-md);
}

.sc-catalogue-hero__title {
	margin: var(--sc-space-sm) 0 0;
	max-inline-size: 24ch;
	font-size: var(--sc-font-size-4xl);
	font-weight: var(--sc-font-weight-bold);
	line-height: var(--sc-line-height-tight);
	letter-spacing: var(--sc-letter-spacing-tight);
	color: var(--sc-color-heading);
	text-wrap: balance;
}

.sc-catalogue-hero__lead {
	margin: var(--sc-space-md) 0 0;
	max-inline-size: 62ch;
	font-size: var(--sc-font-size-lg);
	color: var(--sc-color-text-muted);
}

/* ===========================================================================
 * 2. Product family navigation
 *
 * Three equal panels on one band, separated by hairlines rather than cards: the
 * same three families the homepage introduces, presented as a way to browse.
 * ======================================================================== */

.sc-family-nav {
	padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	border-block-end: var(--sc-border-width) solid var(--sc-color-border);
	background-color: var(--sc-color-surface);
}

.sc-family-nav__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-family-nav__item {
	display: flex;
}

.sc-family-nav__item + .sc-family-nav__item {
	border-inline-start: var(--sc-border-width) solid var(--sc-color-border);
}

.sc-family-nav__link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--sc-space-xs) var(--sc-space-sm);
	inline-size: 100%;
	padding: var(--sc-space-md) clamp(1rem, 1.5vw, 2rem);
	color: inherit;
	text-decoration: none;
	transition: background-color var(--sc-transition-fast);
}

.sc-family-nav__item:first-child .sc-family-nav__link {
	padding-inline-start: 0;
}

.sc-family-nav__link:hover,
.sc-family-nav__link:focus-visible {
	background-color: var(--sc-color-surface-pale);
}

.sc-family-nav__index {
	grid-row: span 2;
	font-size: var(--sc-font-size-sm);
	font-weight: var(--sc-font-weight-bold);
	letter-spacing: var(--sc-letter-spacing-wide);
	color: var(--sc-color-brand);
}

.sc-family-nav__body {
	display: block;
}

.sc-family-nav__title {
	display: block;
	font-size: var(--sc-font-size-xl);
	font-weight: var(--sc-font-weight-semibold);
	line-height: var(--sc-line-height-snug);
	color: var(--sc-color-heading);
}

.sc-family-nav__description {
	display: block;
	margin-block-start: var(--sc-space-2xs);
	font-size: var(--sc-font-size-sm);
	color: var(--sc-color-text-muted);
}

.sc-family-nav__meta {
	grid-column: 2;
	display: flex;
	align-items: baseline;
	gap: var(--sc-space-sm);
	margin-block-start: var(--sc-space-xs);
}

.sc-family-nav__count {
	font-size: var(--sc-font-size-xs);
	letter-spacing: var(--sc-letter-spacing-wide);
	text-transform: uppercase;
	color: var(--sc-color-text-subtle);
}

.sc-family-nav__arrow {
	font-size: var(--sc-font-size-lg);
	line-height: 1;
	color: var(--sc-color-brand);
	transition: transform var(--sc-transition-fast);
}

.sc-family-nav__link:hover .sc-family-nav__arrow,
.sc-family-nav__link:focus-visible .sc-family-nav__arrow {
	transform: translateX(0.25em);
}

.sc-family-nav__item.is-current .sc-family-nav__link {
	background-color: var(--sc-color-surface-pale);
}

.sc-family-nav__item.is-current .sc-family-nav__title {
	color: var(--sc-color-brand-strong);
}

/* ===========================================================================
 * 3. Child categories
 * ======================================================================== */

.sc-family-children {
	padding-block: var(--sc-space-lg);
	border-block-end: var(--sc-border-width) solid var(--sc-color-border);
}

.sc-family-children__title {
	margin: 0 0 var(--sc-space-sm);
	font-size: var(--sc-font-size-xs);
	font-weight: var(--sc-font-weight-semibold);
	letter-spacing: var(--sc-letter-spacing-wide);
	text-transform: uppercase;
	color: var(--sc-color-text-subtle);
}

.sc-family-children__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sc-space-sm) var(--sc-space-lg);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-family-children__link {
	display: inline-flex;
	align-items: center;
	gap: var(--sc-space-2xs);
	min-block-size: var(--sc-touch-target);
	color: var(--sc-color-link);
}

.sc-family-children__count {
	font-size: var(--sc-font-size-xs);
	color: var(--sc-color-text-subtle);
}

/* ===========================================================================
 * 4. Search, filters and result count
 * ======================================================================== */

.sc-catalogue {
	padding-block: var(--sc-space-section);
	background-color: var(--sc-color-surface);
}

.sc-catalogue__toolbar {
	margin-block-end: var(--sc-space-xl);
}

.sc-catalogue__form {
	display: grid;
	gap: var(--sc-space-lg);
}

.sc-catalogue__search-label,
.sc-catalogue__filter-label {
	display: block;
	margin-block-end: var(--sc-space-2xs);
	font-size: var(--sc-font-size-sm);
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-heading);
}

.sc-catalogue__search-row {
	display: flex;
	gap: var(--sc-space-xs);
	align-items: stretch;
}

.sc-catalogue__search-field {
	flex: 1 1 auto;
	min-inline-size: 0;
	min-block-size: var(--sc-touch-target);
	padding: var(--sc-space-xs) var(--sc-space-sm);
	font: inherit;
	font-size: var(--sc-font-size-base);
	color: var(--sc-color-text);
	background-color: var(--sc-color-surface);
	border: var(--sc-border-width) solid var(--sc-color-border-strong);
	border-radius: var(--sc-radius-sm);
}

.sc-catalogue__search-field:focus {
	border-color: var(--sc-color-brand);
	box-shadow: 0 0 0 3px var(--sc-color-brand-subtle);
}

.sc-catalogue__search-submit {
	flex: 0 0 auto;
}

.sc-catalogue__filters {
	border: var(--sc-border-width) solid var(--sc-color-border);
}

.sc-catalogue__filters-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sc-space-sm);
	min-block-size: var(--sc-touch-target);
	padding: var(--sc-space-xs) var(--sc-space-sm);
	font-size: var(--sc-font-size-sm);
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-heading);
	cursor: pointer;
	list-style: none;
}

.sc-catalogue__filters-summary::-webkit-details-marker {
	display: none;
}

.sc-catalogue__filters-summary::after {
	content: "";
	inline-size: 0.5rem;
	block-size: 0.5rem;
	border-inline-end: var(--sc-border-width-strong) solid currentcolor;
	border-block-end: var(--sc-border-width-strong) solid currentcolor;
	rotate: 45deg;
	transition: rotate var(--sc-transition-fast);
}

.sc-catalogue__filters[open] .sc-catalogue__filters-summary::after {
	rotate: 225deg;
}

.sc-catalogue__filter-grid {
	display: grid;
	gap: var(--sc-space-md);
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	padding: var(--sc-space-md) var(--sc-space-sm);
	border-block-start: var(--sc-border-width) solid var(--sc-color-border);
}

.sc-catalogue__filter {
	margin: 0;
}

.sc-catalogue__select {
	inline-size: 100%;
	min-block-size: var(--sc-touch-target);
	padding: var(--sc-space-xs) var(--sc-space-sm);
	font: inherit;
	font-size: var(--sc-font-size-base);
	color: var(--sc-color-text);
	background-color: var(--sc-color-surface);
	border: var(--sc-border-width) solid var(--sc-color-border-strong);
	border-radius: var(--sc-radius-sm);
}

.sc-catalogue__select:focus {
	border-color: var(--sc-color-brand);
	box-shadow: 0 0 0 3px var(--sc-color-brand-subtle);
}

.sc-catalogue__filter-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sc-space-sm);
	align-items: center;
	margin: 0;
}

.sc-catalogue__clear,
.sc-catalogue__active-clear,
.sc-catalogue__empty-contact {
	color: var(--sc-color-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.sc-catalogue__active {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sc-space-xs) var(--sc-space-sm);
	align-items: center;
	margin: var(--sc-space-md) 0 0;
	font-size: var(--sc-font-size-sm);
	color: var(--sc-color-text-muted);
}

.sc-catalogue__active-label {
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-text-subtle);
}

.sc-catalogue__active-filter {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-block-size: var(--sc-touch-target);
	color: var(--sc-color-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.sc-catalogue__active-remove {
	font-size: var(--sc-font-size-lg);
	line-height: 1;
}

.sc-catalogue__count {
	margin: var(--sc-space-sm) 0 0;
	font-size: var(--sc-font-size-sm);
	letter-spacing: var(--sc-letter-spacing-wide);
	text-transform: uppercase;
	color: var(--sc-color-text-subtle);
}

/* ===========================================================================
 * 5. Result items
 *
 * An editorial list, not a wall of product tiles: one catalogue entry per row,
 * hairline separated, with the summary the client wrote and the context that
 * actually exists. A card without a photograph is a complete card — nothing is
 * drawn to stand in for an image that was never supplied.
 * ======================================================================== */

.sc-catalogue__results {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-block-start: var(--sc-border-width) solid var(--sc-color-border);
}

.sc-product-card {
	border-block-end: var(--sc-border-width) solid var(--sc-color-border);
}

.sc-product-card__inner {
	display: grid;
	gap: var(--sc-space-md);
	grid-template-columns: minmax(0, 1fr);
	padding-block: var(--sc-space-lg);
}

.sc-product-card__media {
	margin: 0;
}

.sc-product-card__image {
	display: block;
	inline-size: 100%;
	block-size: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.sc-product-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sc-space-xs) var(--sc-space-sm);
	margin: 0 0 var(--sc-space-2xs);
	font-size: var(--sc-font-size-xs);
	letter-spacing: var(--sc-letter-spacing-wide);
	text-transform: uppercase;
	color: var(--sc-color-text-subtle);
}

.sc-product-card__code {
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-heading);
}

.sc-product-card__family {
	color: var(--sc-color-brand-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

a.sc-product-card__family:hover {
	color: var(--sc-color-link-hover);
}

.sc-product-card__title {
	margin: 0;
	font-size: var(--sc-font-size-xl);
	font-weight: var(--sc-font-weight-semibold);
	line-height: var(--sc-line-height-snug);
	color: var(--sc-color-heading);
}

.sc-product-card__title a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.sc-product-card__title a:hover {
	color: var(--sc-color-link);
}

.sc-product-card__description {
	margin: var(--sc-space-2xs) 0 0;
	max-inline-size: var(--sc-measure);
	color: var(--sc-color-text-muted);
}

.sc-product-card__facets {
	display: grid;
	gap: var(--sc-space-3xs) var(--sc-space-sm);
	grid-template-columns: minmax(6rem, auto) minmax(0, 1fr);
	margin: var(--sc-space-sm) 0 0;
	font-size: var(--sc-font-size-sm);
}

.sc-product-card__facet-label {
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-text-subtle);
}

.sc-product-card__facet-value {
	margin: 0;
	color: var(--sc-color-text-muted);
}

.sc-product-card__facet-value a {
	color: var(--sc-color-link);
}

.sc-product-card__action {
	margin: var(--sc-space-sm) 0 0;
}

.sc-product-card__action-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-block-size: var(--sc-touch-target);
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.sc-product-card__arrow {
	transition: transform var(--sc-transition-fast);
}

.sc-product-card__action-link:hover .sc-product-card__arrow,
.sc-product-card__action-link:focus-visible .sc-product-card__arrow {
	transform: translateX(0.25em);
}

/* ===========================================================================
 * 6. Zero-result state
 * ======================================================================== */

.sc-catalogue__empty {
	padding: var(--sc-space-xl) clamp(1rem, 2vw, 2.5rem);
	border: var(--sc-border-width) solid var(--sc-color-border);
	background-color: var(--sc-color-surface-pale);
}

.sc-catalogue__empty-title {
	margin: 0;
	font-size: var(--sc-font-size-2xl);
	font-weight: var(--sc-font-weight-semibold);
	line-height: var(--sc-line-height-snug);
	color: var(--sc-color-heading);
}

.sc-catalogue__empty-body {
	margin: var(--sc-space-xs) 0 0;
	max-inline-size: var(--sc-measure);
	color: var(--sc-color-text-muted);
}

.sc-catalogue__suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sc-space-xs) var(--sc-space-sm);
	align-items: center;
	margin: var(--sc-space-md) 0 0;
}

.sc-catalogue__suggestions-label {
	font-size: var(--sc-font-size-sm);
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-text-subtle);
}

.sc-catalogue__suggestion {
	display: inline-flex;
	align-items: center;
	min-block-size: var(--sc-touch-target);
	padding-inline: var(--sc-space-sm);
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-brand-strong);
	background-color: var(--sc-color-surface);
	border: var(--sc-border-width) solid var(--sc-color-brand-border);
	border-radius: var(--sc-radius-sm);
	text-decoration: none;
}

.sc-catalogue__suggestion:hover,
.sc-catalogue__suggestion:focus-visible {
	background-color: var(--sc-color-brand-subtle);
}

.sc-catalogue__empty-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sc-space-md);
	align-items: center;
	margin: var(--sc-space-lg) 0 0;
}

.sc-catalogue__empty-contact {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-block-size: var(--sc-touch-target);
	font-weight: var(--sc-font-weight-semibold);
}

/* ===========================================================================
 * 7. Consultation invitation
 * ======================================================================== */

.sc-catalogue-cta {
	--sc-catalogue-cta-padding: clamp(2.5rem, 2rem + 2vw, 4rem);

	position: relative;
	overflow: hidden;
	padding-block: var(--sc-catalogue-cta-padding);
}

.sc-catalogue-cta__pattern {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	inline-size: var(--sc-pattern-size-lg);
	block-size: var(--sc-pattern-size-lg);
	inset-block-start: -35%;
	inset-inline-start: -12%;
	background-color: var(--sc-color-pattern-line);
	opacity: var(--sc-pattern-opacity);
	mask-image: url("../images/brand/sarv-hero-pattern.svg");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: cover;
}

.sc-catalogue-cta .sc-container {
	position: relative;
	z-index: 1;
}

.sc-catalogue-cta__inner {
	display: grid;
	gap: var(--sc-space-lg);
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: center;
}

.sc-catalogue-cta__title {
	margin: 0;
	font-size: var(--sc-font-size-2xl);
	font-weight: var(--sc-font-weight-bold);
	line-height: var(--sc-line-height-tight);
	letter-spacing: var(--sc-letter-spacing-tight);
	color: var(--sc-color-heading);
}

.sc-catalogue-cta__body {
	margin: var(--sc-space-xs) 0 0;
	max-inline-size: 58ch;
	color: var(--sc-color-text-muted);
}

.sc-catalogue-cta__actions {
	margin: 0;
	justify-self: end;
}

/* ===========================================================================
 * 8. Single product
 *
 * The page opens on a media-led hero, not on a heading over a tint. The band is
 * the same composition the Services index and the About page use — copy on one
 * side, a photograph on the other, the picture cut with the system's media
 * radius — so a product detail, a service detail and an about page read as three
 * pages of one site rather than three templates that happen to share a palette.
 *
 * The photograph is always present. A product whose owner has not uploaded an
 * image opens on the band chosen from its category, so the hero can never render
 * as a single narrow column of type beside an empty half.
 * ======================================================================== */

.sc-product__header {
	--sc-product-header-padding: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);

	padding-block: var(--sc-product-header-padding);
	background-color: var(--sc-color-surface-pale);
}

.sc-product__header-grid {
	display: grid;
	gap: clamp(1.75rem, 3vw, 4rem);
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
}

.sc-product__intro {
	min-inline-size: 0;
}

.sc-product__intro .sc-breadcrumbs {
	margin-block-end: var(--sc-space-md);
}

/*
 * The action sits with the copy, directly under the lead. A product page's next
 * step used to be reachable only from the foot of a long technical page, which
 * put it several screens below the question it answers.
 */
.sc-product__hero-action {
	margin: var(--sc-space-lg) 0 0;
}

.sc-product__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sc-space-xs) var(--sc-space-sm);
	margin: 0 0 var(--sc-space-xs);
	font-size: var(--sc-font-size-xs);
	letter-spacing: var(--sc-letter-spacing-wide);
	text-transform: uppercase;
	color: var(--sc-color-text-subtle);
}

.sc-product__family {
	color: var(--sc-color-brand-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.sc-product__code {
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-heading);
}

.sc-product__title {
	margin: 0;
	font-size: var(--sc-font-size-4xl);
	font-weight: var(--sc-font-weight-bold);
	line-height: var(--sc-line-height-tight);
	letter-spacing: var(--sc-letter-spacing-tight);
	color: var(--sc-color-heading);
	text-wrap: balance;
}

.sc-product__lead {
	margin: var(--sc-space-md) 0 0;
	max-inline-size: 58ch;
	font-size: var(--sc-font-size-lg);
	color: var(--sc-color-text-muted);
}

/*
 * The frame clips, so the corner is drawn by the frame while the image inside it
 * stays free to settle on reveal without the radius moving. The picture takes
 * the hero tier of the media radius: it is a lead photograph, not a thumbnail.
 */
.sc-product__media {
	position: relative;
	display: block;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	min-inline-size: 0;
	border-radius: var(--sc-radius-media);
	background-color: var(--sc-color-surface-muted);
}

.sc-product__image {
	display: block;
	inline-size: 100%;
	max-inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

/* Below the two-column break the frame is short enough that a hero radius
   starts to read as a pill, so it steps down to the card token. */
@media (width < 64rem) {
	.sc-product__media {
		aspect-ratio: 16 / 10;
		border-radius: var(--sc-radius-media-sm);
	}
}

.sc-product__body {
	padding-block: var(--sc-space-section);
}

.sc-product__layout {
	display: grid;
	gap: clamp(2rem, 3vw, 4rem);
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	align-items: start;
}

.sc-product__section + .sc-product__section {
	margin-block-start: var(--sc-space-xl);
}

.sc-product__section-title {
	margin: 0 0 var(--sc-space-sm);
	font-size: var(--sc-font-size-2xl);
	font-weight: var(--sc-font-weight-semibold);
	line-height: var(--sc-line-height-snug);
	color: var(--sc-color-heading);
}

.sc-product__section-text {
	margin: 0;
	max-inline-size: var(--sc-measure);
	color: var(--sc-color-text-muted);
}

.sc-product__list {
	margin: 0;
	padding-inline-start: 1.25em;
	max-inline-size: var(--sc-measure);
	color: var(--sc-color-text-muted);
}

.sc-product__list li + li {
	margin-block-start: var(--sc-space-2xs);
}

.sc-product__terms {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sc-space-xs) var(--sc-space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-product__term a {
	color: var(--sc-color-link);
}

.sc-product__specs {
	margin: 0;
}

.sc-product__document-row {
	margin: 0;
}

.sc-product__section--action {
	padding: var(--sc-space-lg);
	border-inline-start: var(--sc-border-width-strong) solid var(--sc-color-brand);
	background-color: var(--sc-color-surface-pale);
}

.sc-product__action {
	margin: var(--sc-space-md) 0 0;
}

.sc-product__aside {
	position: sticky;
	inset-block-start: calc(var(--sc-header-height) + var(--sc-space-md));
	padding: var(--sc-space-lg);
	background-color: var(--sc-color-surface-pale);
	border-block-start: var(--sc-border-width-strong) solid var(--sc-color-brand);
}

.sc-product__aside-title {
	margin: 0 0 var(--sc-space-sm);
	font-size: var(--sc-font-size-sm);
	font-weight: var(--sc-font-weight-semibold);
	letter-spacing: var(--sc-letter-spacing-wide);
	text-transform: uppercase;
	color: var(--sc-color-text-subtle);
}

.sc-product__aside-list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: var(--sc-font-weight-semibold);
}

.sc-product__aside-list a {
	display: inline-flex;
	align-items: center;
	min-block-size: var(--sc-touch-target);
	color: var(--sc-color-link);
}

.sc-product__aside-code {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sc-space-2xs) var(--sc-space-sm);
	margin: var(--sc-space-sm) 0 0;
	padding-block-start: var(--sc-space-sm);
	border-block-start: var(--sc-border-width) solid var(--sc-color-border);
}

.sc-product__aside-label {
	font-size: var(--sc-font-size-xs);
	letter-spacing: var(--sc-letter-spacing-wide);
	text-transform: uppercase;
	color: var(--sc-color-text-subtle);
}

.sc-product__aside-value {
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-heading);
}

.sc-product__aside-link {
	margin: var(--sc-space-md) 0 0;
}

.sc-product__aside-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-block-size: var(--sc-touch-target);
	font-weight: var(--sc-font-weight-semibold);
	color: var(--sc-color-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.sc-product__related {
	padding-block: var(--sc-space-section);
	background-color: var(--sc-color-surface-pale);
}

.sc-catalogue__results--related {
	border-block-start-color: var(--sc-color-border-strong);
}

/* ===========================================================================
 * 9. Responsive
 * ======================================================================== */

@media (width >= 60rem) {
	.sc-product-card__inner {
		grid-template-columns: 15rem minmax(0, 1fr);
		gap: var(--sc-space-lg);
	}

	.sc-product-card__media:only-child,
	.sc-product-card__body:only-child {
		grid-column: 1 / -1;
	}
}

@media (width < 60rem) {
	.sc-family-nav__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.sc-family-nav__item + .sc-family-nav__item {
		border-inline-start: 0;
		border-block-start: var(--sc-border-width) solid var(--sc-color-border);
	}

	.sc-family-nav__item:first-child .sc-family-nav__link {
		padding-inline-start: clamp(1rem, 1.5vw, 2rem);
	}

	.sc-family-nav__link {
		padding-inline: 0;
	}

	.sc-product__header-grid,
	.sc-product__layout,
	.sc-catalogue-cta__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.sc-product__aside {
		position: static;
	}

	.sc-catalogue-cta__actions {
		justify-self: start;
	}
}

@media (width < 40rem) {
	.sc-catalogue__search-row {
		flex-direction: column;
	}

	.sc-catalogue__search-submit,
	.sc-catalogue-cta__actions .sc-button,
	.sc-catalogue__empty-actions .sc-button {
		inline-size: 100%;
		justify-content: center;
	}

	.sc-catalogue-cta__actions {
		inline-size: 100%;
	}

	.sc-product-card__facets {
		grid-template-columns: minmax(0, 1fr);
	}
}
