.dpd-diagnostics {
	max-width: 1440px;
	margin: 0 auto;
	padding: 42px 28px 70px;
	color: #111827;
}

.dpd-hero {
	margin-bottom: 26px;
	padding: 30px;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}

.dpd-hero-icon,
.dpd-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 16px;
	background: linear-gradient(135deg, #eef6ff, #fff7e8);
	color: #0066cc;
	box-shadow: inset 0 0 0 1px rgba(0, 102, 204, .10);
}

.dpd-hero-icon {
	width: 58px;
	height: 58px;
	margin-bottom: 14px;
	border-radius: 20px;
}

.dpd-hero-icon svg,
.dpd-card-icon svg {
	width: 28px;
	height: 28px;
}

.dpd-hero-icon svg {
	width: 34px;
	height: 34px;
}

.dpd-hero-icon svg *,
.dpd-card-icon svg * {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dpd-card-icon + span {
	margin-top: 12px;
}

.dpd-hero span,
.dpd-card span {
	color: #0066cc;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.dpd-hero h1 {
	margin: 6px 0 10px;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.05;
	font-weight: 950;
	letter-spacing: -.045em;
}

.dpd-hero p {
	max-width: 820px;
	margin: 0;
	color: #64748b;
	font-size: 17px;
}

.dpd-filter-panel {
	margin-bottom: 24px;
	padding: 18px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(15, 23, 42, .045);
}

.dpd-category-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.dpd-category-filter a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 12px;
	border: 1px solid #dbe3ef;
	border-radius: 10px;
	background: #f8fafc;
	color: #111827;
	font-size: 13px;
	font-weight: 850;
	line-height: 1.2;
	text-decoration: none;
}

.dpd-category-filter a:hover,
.dpd-category-filter a.is-active {
	border-color: #0066cc;
	background: #eef6ff;
	color: #004f9e;
}

.dpd-category-filter span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #fff;
	color: #64748b;
	font-size: 12px;
	font-weight: 900;
}

.dpd-filter-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
	gap: 12px;
	align-items: end;
}

.dpd-filter-form label {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 6px;
}

.dpd-filter-form label span {
	color: #64748b;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.dpd-filter-form select {
	width: 100%;
	min-height: 42px;
	border: 1px solid #dbe3ef;
	border-radius: 10px;
	background: #fff;
	color: #111827;
}

.dpd-filter-form select:disabled {
	background: #f1f5f9;
	color: #94a3b8;
	cursor: not-allowed;
}

.dpd-filter-form button,
.dpd-empty a,
.dpd-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 14px;
	border: 0;
	border-radius: 10px;
	background: #0066cc;
	color: #fff;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer;
}

.dpd-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.dpd-results-head strong {
	color: #111827;
	font-size: 18px;
}

.dpd-results-head a {
	color: #0066cc;
	font-weight: 850;
	text-decoration: none;
}

.dpd-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.dpd-card,
.dpd-list,
.dpd-code,
.dpd-empty,
.dpd-cta {
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(15, 23, 42, .045);
}

.dpd-card {
	display: flex;
	min-height: 220px;
	flex-direction: column;
	padding: 22px;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dpd-card:hover {
	transform: translateY(-2px);
	border-color: #bfdbfe;
	box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}

.dpd-card h2 {
	margin: 12px 0 8px;
	font-size: 22px;
	line-height: 1.15;
}

.dpd-card p {
	margin: 0 0 18px;
	color: #64748b;
}

.dpd-card small {
	margin-top: auto;
	color: #94a3b8;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.dpd-card strong {
	margin-top: 10px;
	color: #0066cc;
}

.dpd-empty {
	padding: 28px;
}

.dpd-empty h2 {
	margin: 0 0 8px;
	font-size: 24px;
}

.dpd-empty p {
	margin: 0 0 16px;
	color: #64748b;
}

.dpd-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.dpd-pagination span {
	color: #64748b;
	font-weight: 850;
}

.dpd-code {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
	padding: 18px 22px;
}

.dpd-code span {
	font-weight: 950;
}

.dpd-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.dpd-list {
	padding: 24px;
}

.dpd-list h2,
.dpd-cta h2 {
	margin: 0 0 14px;
	font-size: 22px;
}

.dpd-list li {
	margin-bottom: 9px;
	color: #374151;
}

.dpd-related,
.dpd-products,
.dpd-product-diagnoses {
	margin-top: 18px;
	padding: 26px;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(15, 23, 42, .045);
}

.dpd-product-diagnoses {
	max-width: 1440px;
	margin-right: auto;
	margin-left: auto;
	color: #111827;
}

.dpd-section-head {
	margin-bottom: 18px;
}

.dpd-section-head span {
	color: #0066cc;
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.dpd-section-head h2 {
	margin: 5px 0 7px;
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.08;
	letter-spacing: -.035em;
}

.dpd-section-head p {
	max-width: 820px;
	margin: 0;
	color: #64748b;
}

.dpd-related-grid,
.dpd-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.dpd-related-card,
.dpd-product-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	background: #f8fafc;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dpd-related-card {
	padding: 18px;
}

.dpd-related-card:hover,
.dpd-product-card:hover {
	transform: translateY(-2px);
	border-color: #bfdbfe;
	box-shadow: 0 14px 32px rgba(15, 23, 42, .09);
}

.dpd-related-card span {
	color: #f59e0b;
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.dpd-related-card h3,
.dpd-product-card h3 {
	margin: 8px 0;
	font-size: 18px;
	line-height: 1.16;
}

.dpd-related-card p,
.dpd-product-card p {
	margin: 0 0 12px;
	color: #64748b;
	font-size: 14px;
	line-height: 1.45;
}

.dpd-related-card strong,
.dpd-product-card strong {
	margin-top: auto;
	color: #0066cc;
	font-weight: 950;
}

.dpd-product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	padding: 14px;
	background: #fff;
}

.dpd-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dpd-product-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px;
}

.dpd-product-price {
	display: block;
	margin: 2px 0 12px;
	color: #111827;
	font-size: 16px;
	font-weight: 950;
}

.dpd-cta {
	margin-top: 18px;
	padding: 26px;
	background: #f3f8ff;
}

.dpd-cta a {
	display: inline-flex;
	margin-top: 10px;
	padding: 12px 16px;
	border-radius: 12px;
	background: #0066cc;
	color: #fff;
	font-weight: 900;
	text-decoration: none;
}

@media (max-width: 900px) {
	.dpd-grid,
	.dpd-columns,
	.dpd-related-grid,
	.dpd-product-grid {
		grid-template-columns: 1fr;
	}

	.dpd-filter-form {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.dpd-diagnostics {
		padding: 24px 16px 48px;
	}

	.dpd-hero,
	.dpd-card,
	.dpd-list,
	.dpd-related,
	.dpd-products,
	.dpd-product-diagnoses,
	.dpd-filter-panel,
	.dpd-empty,
	.dpd-cta {
		padding: 20px;
	}

	.dpd-results-head,
	.dpd-pagination {
		align-items: stretch;
		flex-direction: column;
	}
}
