/**
 * Product category landing — Figma 390:123930 / 396:180148
 */
.dps-category-page {
	--dpc-bg: #f9f7f5;
	--dpc-surface: #ffffff;
	--dpc-text: #323c48;
	--dpc-text-body: #000000;
	--dpc-border: #514b45;
	--dpc-border-light: rgba(50, 60, 72, 0.5);
	--dpc-cta: #323c48;
	--dpc-cta-border: #4779b9;
	--dpc-font-display: var(--delco-font-display);
	--dpc-font-title: var(--delco-font-title);
	--dpc-font-body: var(--delco-font-body);
	--dpc-max: 152.8rem;
	--dpc-pad: clamp(2rem, 5.8vw, 10rem);
}

.dps-category-page.second,
.dps-type-page.secondary {
	background: var(--dpc-bg);
}

.dps-type-page.secondary {
	padding-top: 0 !important;
}

.dps-type-page .header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1100;
	animation: none !important;
}

/* ── Hero (Frame 36) ─────────────────────────────────────────────────────── */
.dps-cat-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: clamp(10rem, 12vh, 14rem) var(--dpc-pad) clamp(4rem, 6vh, 5.5rem);
	box-sizing: border-box;
	overflow: hidden;
	background-color: #1a1a1a;
}

.dps-cat-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	min-height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
}

.dps-cat-hero__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	z-index: 2;
	transition: opacity 0.65s ease;
}

.dps-cat-hero__poster.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.dps-cat-hero__video,
.dps-cat-hero__iframe-wrap {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
}

.dps-cat-hero__video {
	object-fit: cover;
	object-position: center bottom;
	z-index: 0;
}

.dps-cat-hero__iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	min-width: 177.77vh;
	transform: translate(-50%, -50%);
	border: 0;
	pointer-events: none;
}

.dps-cat-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.dps-cat-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 82.37%);
}

.dps-cat-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 65.3rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	filter: drop-shadow(0 0.4rem 1rem rgba(0, 0, 0, 0.5));
}

.dps-cat-hero__title {
	margin: 0;
	font-family: var(--dpc-font-display);
	font-size: var(--delco-type-display-xl);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.25rem;
	color: #fff;
	text-transform: none;
}

.dps-cat-hero__lede {
	margin: 0;
	max-width: 51rem;
	font-family: var(--dpc-font-body);
	font-size: var(--delco-type-lede);
	line-height: 1.45;
	color: #fff;
}

.dps-cat-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 3rem;
	margin-top: 1.5rem;
}

.dps-cat-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 5.5rem;
	padding: 1.5rem 2.4rem;
	border-radius: 0.5rem;
	font-family: var(--dpc-font-title);
	font-size: var(--delco-type-body);
	font-weight: 700;
	letter-spacing: 0.316rem;
	text-transform: uppercase;
	text-decoration: none;
	box-sizing: border-box;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.dps-cat-hero__btn:hover {
	transform: translateY(-1px);
}

.dps-cat-hero__btn--primary {
	background: #fff;
	color: var(--dpc-text);
	border: 1px solid var(--dpc-cta-border);
	min-width: 26.8rem;
}

.dps-cat-hero__btn--ghost {
	background: rgba(0, 0, 0, 0.2);
	color: #fff;
	border: 1px solid #fff;
	backdrop-filter: blur(10px);
	min-width: 26.6rem;
}

.dps-cat-hero__btn--ghost:hover {
	background: rgba(0, 0, 0, 0.35);
}

/* Tagline strip under hero */
.dps-cat-tagline {
	max-width: var(--dpc-max);
	margin: 0 auto;
	padding: 3rem var(--dpc-pad) 0;
	font-family: var(--dpc-font-body);
	font-size: var(--delco-type-body-lg);
	line-height: 1.6;
	color: var(--dpc-text-body);
}

/* ── Main layout ─────────────────────────────────────────────────────────── */
.dps-cat-shell {
	max-width: var(--dpc-max);
	margin: 0 auto;
	padding: 5rem var(--dpc-pad) 6rem;
	display: grid;
	grid-template-columns: 26.2rem minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
}

.dps-cat-shell--no-filters {
	grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
	.dps-cat-shell {
		grid-template-columns: 1fr;
	}
}

/* ── Filters sidebar ─────────────────────────────────────────────────────── */
.dps-cat-filters {
	align-self: start;
}

.dps-cat-filters__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 3rem;
	padding: 0;
	border: none;
	background: none;
	font-family: var(--dpc-font-title);
	font-size: var(--delco-type-display-sm);
	font-weight: 500;
	color: var(--dpc-text);
	text-transform: uppercase;
	letter-spacing: 0;
}

.dps-cat-filters__icon {
	flex-shrink: 0;
	width: 4.15rem;
	height: 4.15rem;
	color: var(--dpc-text);
}

.dps-cat-filters__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.dps-cat-filter {
	border-bottom: 0.05rem solid var(--dpc-border-light);
}

.dps-cat-filter__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 2rem 0;
	border: none;
	background: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--dpc-font-title);
	font-size: var(--delco-type-lede);
	font-weight: 500;
	color: var(--dpc-text);
	text-transform: uppercase;
}

.dps-cat-filter__chevron {
	flex-shrink: 0;
	width: 2.4rem;
	height: 2.4rem;
	transition: transform 0.25s ease;
}

.dps-cat-filter__chevron svg {
	display: block;
	width: 100%;
	height: 100%;
}

.dps-cat-filter.is-open .dps-cat-filter__chevron {
	transform: rotate(-90deg);
}

.dps-cat-filter:not(.is-open) .dps-cat-filter__chevron {
	transform: rotate(90deg);
}

.dps-cat-filter__panel {
	display: none;
	flex-direction: column;
	gap: 1rem;
	padding-bottom: 2rem;
}

.dps-cat-filter.is-open .dps-cat-filter__panel {
	display: flex;
}

.dps-cat-filter__option {
	display: flex;
	align-items: center;
	gap: 1rem;
	cursor: pointer;
	font-family: var(--dpc-font-title);
	font-size: var(--delco-type-base);
	font-weight: 500;
	color: var(--dpc-text-body);
	margin: 0;
}

.dps-cat-filter__option input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.dps-cat-filter__box {
	flex-shrink: 0;
	width: 2.4rem;
	height: 2.4rem;
	border: 1.5px solid var(--dpc-text);
	border-radius: 0.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.dps-cat-filter__box svg {
	width: 1.4rem;
	height: 1.4rem;
	opacity: 0;
}

.dps-cat-filter__option input:checked + .dps-cat-filter__box {
	background: var(--dpc-text);
	border-color: var(--dpc-text);
}

.dps-cat-filter__option input:checked + .dps-cat-filter__box svg {
	opacity: 1;
}

.dps-cat-filter__option input:focus-visible + .dps-cat-filter__box {
	outline: 2px solid var(--dpc-cta-border);
	outline-offset: 2px;
}

/* ── Product grid ────────────────────────────────────────────────────────── */
.dps-cat-main {
	min-width: 0;
}

.dps-cat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4.15rem;
}

@media (max-width: 1200px) {
	.dps-cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.dps-cat-grid {
		grid-template-columns: 1fr;
	}
}

.dps-cat-card {
	display: flex;
	flex-direction: column;
	background: var(--dpc-surface);
	border: 0.077rem solid var(--dpc-border);
	border-radius: 0.769rem;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dps-cat-card:hover {
	transform: translateY(-0.4rem);
	box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.1);
}

.dps-cat-card.is-hidden {
	display: none;
}

.dps-cat-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 33.6rem;
	padding: 1.54rem;
	background: #fff;
}

.dps-cat-card__media img {
	display: block;
	max-width: 100%;
	max-height: 29.2rem;
	width: auto;
	height: auto;
	object-fit: contain;
}

.dps-cat-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0 1.54rem 1.54rem;
	flex: 1;
}

.dps-cat-card__series {
	font-family: var(--dpc-font-title);
	font-size: var(--delco-type-label-sm);
	font-weight: 500;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	color: var(--dpc-text);
}

.dps-cat-card__title {
	margin: 0;
	font-family: var(--dpc-font-title);
	font-size: var(--delco-type-body-lg);
	font-weight: 500;
	line-height: 1.25;
	color: var(--dpc-text);
}

.dps-cat-card__desc {
	margin: 0;
	font-family: var(--dpc-font-body);
	font-size: var(--delco-type-base);
	line-height: 1.45;
	color: var(--dpc-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dps-cat-card__price {
	margin: 0.2rem 0 0;
	font-family: var(--dpc-font-body);
	font-size: var(--delco-type-base);
	line-height: 1.4;
	color: var(--dpc-text);
}

.dps-cat-card__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	min-height: 4.23rem;
	padding: 1.15rem 0.23rem;
	background: var(--dpc-cta);
	border: 0.077rem solid var(--dpc-cta-border);
	border-radius: 0.384rem;
	font-family: var(--dpc-font-title);
	font-size: var(--delco-type-base);
	font-weight: 700;
	letter-spacing: 0.243rem;
	text-transform: uppercase;
	color: #fff;
}

.dps-cat-empty {
	padding: 3rem;
	border: 1px dashed #cdd5e0;
	border-radius: 0.769rem;
	color: #667085;
	font-size: var(--delco-type-body);
	text-align: center;
	font-family: var(--dpc-font-body);
}

.dps-cat-grid__no-results {
	display: none;
	grid-column: 1 / -1;
	padding: 3rem;
	text-align: center;
	font-family: var(--dpc-font-body);
	font-size: var(--delco-type-body);
	color: #667085;
}

.dps-cat-grid.has-no-results .dps-cat-grid__no-results {
	display: block;
}

@media (max-width: 768px) {
	.dps-cat-hero {
		min-height: 70rem;
		padding: 3rem 2rem;
	}

	.dps-cat-hero__ctas {
		flex-direction: column;
		width: 100%;
		gap: 1.5rem;
	}

	.dps-cat-hero__btn {
		width: 100%;
		min-width: 0;
	}
}
