.astro-catalog-category,
.astro-catalog-product {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		var(--delim-ink, #0d1317);
	background-size: 6.5rem 6.5rem;
	color: var(--delim-paper, #f4f2ed);
}

.astro-catalog-home {
	color: var(--astro-color-ink);
	background: var(--astro-color-paper);
}

.astro-catalog-home .catalog-shell,
.astro-catalog-category .catalog-shell,
.astro-catalog-product .catalog-shell {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 75rem;
	padding-inline: clamp(1.25rem, 4vw, 3.5rem);
	width: 100%;
}

.astro-catalog-home .catalog-hero {
	position: relative;
	display: block;
	min-height: 0;
	align-items: initial;
	isolation: isolate;
	padding-block: 0;
	color: var(--astro-color-paper);
	background:
		linear-gradient(118deg, rgb(0 85 165 / 34%), transparent 46%),
		var(--astro-color-graphite);
}

.astro-catalog-home .catalog-hero::after {
	position: absolute;
	z-index: -1;
	inset-inline: 0;
	inset-block-start: auto;
	inset-block-end: 0;
	block-size: 1px;
	background: var(--astro-color-action);
	content: "";
}

.astro-catalog-home .catalog-command-hero {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
	min-block-size: clamp(22rem, 44vh, 28rem);
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.astro-catalog-home .catalog-command-hero__copy {
	max-width: 45rem;
}

.astro-catalog-home .catalog-command-hero h1 {
	font-size: clamp(2.6rem, 5vw, 5.2rem);
	letter-spacing: -0.055em;
	line-height: 0.94;
	margin: 0.7rem 0 1rem;
	max-width: 11ch;
	text-wrap: balance;
}

.astro-catalog-home .catalog-command-hero__summary {
	color: var(--astro-color-muted-on-dark);
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	line-height: 1.55;
	margin: 0;
	max-width: 42rem;
}

.astro-catalog-home .catalog-command-hero__cta {
	align-items: center;
	background: var(--astro-color-action);
	border: 1px solid var(--astro-color-action);
	color: #0c1114;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	margin-top: 1.6rem;
	min-height: 3.4rem;
	padding-inline: 1.5rem;
	text-decoration: none;
}

.astro-catalog-home .catalog-command-hero__cta:hover,
.astro-catalog-home .catalog-command-hero__cta:focus-visible {
	background: transparent;
	color: var(--astro-color-paper);
	outline: 2px solid var(--astro-color-action);
	outline-offset: 3px;
}

.astro-catalog-home .catalog-command-hero__search {
	border: 1px solid rgb(255 255 255 / 18%);
	background: rgb(7 11 14 / 58%);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.astro-catalog-category h1,
.astro-catalog-product h1 {
	font-size: clamp(3rem, 7vw, 6.75rem);
	letter-spacing: -0.065em;
	line-height: 0.92;
	margin: 1.2rem 0 1.5rem;
	max-width: 12ch;
}

.astro-catalog-category .catalog-category-hero__lead,
.astro-catalog-product .catalog-product-hero__lead {
	color: var(--delim-muted, #aab1b5);
	font-size: clamp(1.05rem, 1.7vw, 1.35rem);
	line-height: 1.55;
	max-width: 44rem;
}

.astro-catalog-home .catalog-kicker,
.astro-catalog-category .catalog-kicker,
.astro-catalog-product .catalog-kicker {
	color: var(--delim-muted, #aab1b5);
	font-family: var(--delim-mono, monospace);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.astro-catalog-home .catalog-search {
	display: block;
}

.astro-catalog-home .catalog-search label {
	display: block;
	font-family: var(--delim-mono, monospace);
	font-size: 0.78rem;
	letter-spacing: 0.15em;
	margin-bottom: .75rem;
	color: var(--astro-color-paper);
	text-transform: uppercase;
}

.astro-catalog-home .catalog-search > div {
	display: flex;
}

.astro-catalog-home .catalog-search input {
	background: var(--astro-color-paper);
	border: 1px solid var(--astro-color-line);
	border-radius: 0;
	box-sizing: border-box;
	color: #101518;
	min-height: 3.4rem;
	padding: 0.9rem 1rem;
	width: 100%;
}

.astro-catalog-home .catalog-search button,
.astro-catalog-home .catalog-action-button,
.astro-catalog-category .catalog-action-button,
.astro-catalog-product .catalog-action-button,
.order-drawer .catalog-submit {
	background: var(--delim-orange, #ff8426);
	border: 1px solid var(--delim-orange, #ff8426);
	border-radius: 0;
	color: #0c1114;
	font-weight: 700;
	min-height: 3.4rem;
	padding-inline: 1.35rem;
}

.astro-catalog-home .catalog-rubricator {
	border-bottom: 1px solid var(--astro-color-line);
	padding-block: 2rem 2.5rem;
	background: var(--astro-color-paper);
}

.astro-catalog-home .catalog-rubricator h2,
.astro-catalog-home .catalog-results h2 {
	color: var(--astro-color-ink);
}

.astro-catalog-home :where(.catalog-kicker, .catalog-active-filters, .catalog-results__status) {
	color: var(--astro-color-muted-on-light);
}

.astro-catalog-home .catalog-active-filters strong {
	color: var(--astro-color-ink);
}

.astro-catalog-home .catalog-active-filters {
	margin-top: 1.5rem;
	padding-top: 1rem;
}

.astro-catalog-home .catalog-filter-list button:not(.is-active) {
	color: var(--astro-color-ink);
}

.astro-catalog-home .catalog-filter-list button:not(.is-active):hover,
.astro-catalog-home .catalog-filter-list button:not(.is-active):focus-visible {
	color: var(--astro-color-ink);
}

.astro-catalog-home .catalog-filter-list button:not(.is-active)[data-filter="all"] {
	color: var(--astro-color-action-on-light);
}

.astro-catalog-home .catalog-category-explorer {
	border-top: 1px solid var(--astro-color-ink);
	margin-top: 1.25rem;
}

.astro-catalog-home .catalog-category-level {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.astro-catalog-home .catalog-category-level__item {
	border-bottom: 1px solid var(--astro-color-line);
	border-right: 1px solid var(--astro-color-line);
}

.astro-catalog-home .catalog-category-level__item button {
	align-items: center;
	background: transparent;
	border: 0;
	color: inherit;
	display: flex;
	font-size: clamp(1rem, 1.6vw, 1.3rem);
	justify-content: space-between;
	min-height: 4.75rem;
	padding: 1rem 1.25rem;
	text-align: left;
	width: 100%;
}

.astro-catalog-home .catalog-category-level__item button:hover,
.astro-catalog-home .catalog-category-level__item button:focus-visible {
	background: var(--astro-color-action);
	color: #0c1114;
}

.astro-catalog-home .catalog-results,
.astro-catalog-category .catalog-category-results {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.astro-catalog-home .catalog-results {
	color: var(--astro-color-ink);
	padding-block: 0 clamp(3rem, 7vw, 6rem);
	background: var(--astro-color-paper);
}

.astro-catalog-home .catalog-results > .catalog-grid {
	margin-top: 0;
}

.astro-catalog-home .catalog-grid,
.astro-catalog-category .catalog-grid {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 2rem;
	background: var(--astro-color-line);
}

.astro-catalog-category .product-card {
	background: #11181c;
	border: 0;
	display: grid;
	grid-template-rows: auto auto;
	min-width: 0;
}

.astro-catalog-home .product-card {
	display: grid;
	grid-template-rows: auto auto;
	min-width: 0;
	border: 0;
	color: var(--astro-color-ink);
	background: var(--astro-color-mineral);
}

.astro-catalog-home .product-card__media,
.astro-catalog-category .product-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	padding: 0;
	background: var(--astro-color-mineral, #f0eee7);
}

.astro-catalog-home .product-card__media-button,
.astro-catalog-category .product-card__media-button {
	position: absolute;
	inset: 0;
	display: grid;
	width: 100%;
	height: 100%;
	padding: clamp(1rem, 2.5vw, 1.75rem);
	place-items: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	cursor: zoom-in;
}

.astro-catalog-home .product-card__media img,
.astro-catalog-category .product-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 50%;
	transform: none;
}

.astro-catalog-home .product-card:hover .product-card__media img,
.astro-catalog-category .product-card:hover .product-card__media img {
	transform: none;
}

.product-card__media-cue,
.product-card__media-add {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: grid;
	min-width: 44px;
	min-height: 44px;
	padding: .65rem;
	place-items: center;
	border: 1px solid rgb(16 20 23 / 22%);
	border-radius: 0;
	box-shadow: 0 .5rem 1.5rem rgb(8 11 14 / 16%);
	transition:
		opacity 180ms ease,
		transform 180ms ease,
		background-color 180ms ease;
}

.product-card__media-cue {
	left: calc(50% - 48px);
	color: var(--astro-color-paper);
	background: rgb(16 20 23 / 88%);
	transform: translateY(-50%);
	pointer-events: none;
}

.product-card__media-add {
	left: calc(50% + 4px);
	color: var(--astro-color-ink);
	background: var(--astro-color-action);
	transform: translateY(-50%);
	cursor: pointer;
}

.product-card__media-cue svg,
.product-card__media-add svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
}

.product-card__media-button:focus-visible,
.product-card__media-add:focus-visible {
	outline: 3px solid #0055a5;
	outline-offset: -3px;
}

.product-card__media-add:hover {
	background: var(--astro-color-paper);
	transform: translateY(calc(-50% - 2px));
}

.product-card__media-add:active {
	transform: translateY(calc(-50% + 1px)) scale(.96);
}

.catalog-add-icon.product-card__media-add.is-adding {
	background: var(--astro-color-paper);
	transform: translateY(-50%) scale(.9);
}

.astro-catalog-home .product-card__body,
.astro-catalog-category .product-card__body {
	display: flex;
	min-height: 0;
	flex-direction: column;
	padding: 1.35rem;
}

.astro-catalog-home .product-card h3,
.astro-catalog-category .product-card h3 {
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	line-height: 1.08;
	margin: 0.65rem 0;
}

.astro-catalog-home .product-card a,
.astro-catalog-category .product-card a {
	color: inherit;
}

.astro-catalog-home .product-card h3 a {
	color: var(--astro-color-ink);
}

.astro-catalog-home .product-card :where(.product-card__meta, .product-card__attributes) {
	color: var(--astro-color-muted-on-light);
}

.astro-catalog-home .product-card :where(.product-card__category, .product-card__quick-view) {
	color: var(--astro-color-action-on-light);
}

@media (hover: hover) {
	.product-card__media-cue,
	.product-card__media-add {
		opacity: 0;
		transform: translateY(calc(-50% + .5rem));
	}

	.product-card:hover :where(.product-card__media-cue, .product-card__media-add),
	.product-card:focus-within :where(.product-card__media-cue, .product-card__media-add) {
		opacity: 1;
		transform: translateY(-50%);
	}
}

@media (hover: none), (pointer: coarse) {
	.product-card__media-cue,
	.product-card__media-add {
		opacity: 1;
		transform: translateY(-50%);
	}
}

.astro-catalog-category .page-hero__technical {
	background: rgba(7, 11, 14, 0.76);
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.order-drawer {
	background: #10171b;
	border-left: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: -2rem 0 6rem rgba(0, 0, 0, 0.35);
	color: #f4f2ed;
}

.order-drawer :where(h2, label, label > span) {
	color: var(--astro-color-paper);
}

.order-drawer :where(.order-drawer__intro, .inquiry-form__hint) {
	color: var(--astro-color-muted-on-dark);
}

.order-drawer input,
.order-drawer textarea {
	background: #f4f2ed;
	border: 1px solid transparent;
	border-radius: 0;
	color: #101518;
}

@media (max-width: 47.99rem) {
	.astro-catalog-home .catalog-rubricator {
		padding-block: 1.5rem 2rem;
	}

	.astro-catalog-home .catalog-command-hero {
		grid-template-columns: 1fr;
		gap: 1.75rem;
		min-block-size: 0;
		padding-block: 2rem;
	}

	.astro-catalog-home .catalog-command-hero h1 {
		font-size: clamp(2.45rem, 12vw, 4rem);
	}

	.astro-catalog-home .catalog-search,
	.astro-catalog-product .catalog-product-showcase {
		grid-template-columns: 1fr;
	}

	.astro-catalog-home .catalog-category-level,
	.astro-catalog-home .catalog-grid,
	.astro-catalog-category .catalog-grid {
		grid-template-columns: 1fr;
	}

	.astro-catalog-home .catalog-category-level__item button {
		min-height: 3.5rem;
		padding-block: .75rem;
	}

	.astro-catalog-home .product-card,
	.astro-catalog-category .product-card {
		grid-template-columns: 1fr;
	}

	.astro-catalog-home .catalog-search > div {
		display: grid;
	}
}

@media (prefers-reduced-motion: reduce) {
	.astro-catalog-home *,
	.astro-catalog-category *,
	.astro-catalog-product *,
	.order-drawer * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.product-card__media-cue,
	.product-card__media-add {
		transition: none !important;
	}

	.catalog-add-icon.product-card__media-add.is-adding {
		transform: translateY(-50%);
	}

	.catalog-add-icon.is-added svg {
		animation: none;
	}
}
