:root {
	--apc-blue: #285887;
	--apc-blue-dark: #1e476e;
	--apc-border: #d9dfe5;
	--apc-gray-bg: #f4f6f8;
	--apc-text: #24313f;
	--apc-muted: #647382;
	--apc-white: #ffffff;
}

.apc-protein-container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 38px 0 58px;
}

.apc-protein-archive {
	background: #ffffff;
}

.apc-protein-archive .apc-protein-container {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 34px;
}

.apc-protein-sidebar {
	align-self: start;
	border: 1px solid var(--apc-border);
	background: var(--apc-white);
}

.apc-sidebar-heading {
	margin: 0;
	padding: 14px 18px;
	background: var(--apc-blue);
	color: #ffffff;
	font-size: 16px;
	line-height: 1.3;
}

.apc-category-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.apc-category-list li {
	margin: 0;
	border-bottom: 1px solid var(--apc-border);
}

.apc-category-list a {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 18px;
	color: #365f87;
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
}

.apc-category-list a:hover,
.apc-category-list a.is-active {
	background: #edf4fa;
	color: var(--apc-blue-dark);
	font-weight: 700;
}

.apc-category-list span {
	color: var(--apc-muted);
	font-size: 12px;
}

.apc-filter-form {
	padding: 18px;
	background: #f8fafb;
}

.apc-filter-form h3 {
	margin: 0 0 14px;
	font-size: 17px;
}

.apc-filter-form label {
	display: block;
	margin: 12px 0 6px;
	color: var(--apc-text);
	font-size: 13px;
	font-weight: 700;
}

.apc-filter-form input,
.apc-filter-form select {
	box-sizing: border-box;
	width: 100%;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid #c6d0da;
	border-radius: 2px;
	background: #ffffff;
	font-size: 14px;
}

.apc-filter-form button {
	width: 100%;
	margin-top: 16px;
	padding: 10px 14px;
	border: 0;
	background: var(--apc-blue);
	color: #ffffff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
}

.apc-filter-form button:hover {
	background: var(--apc-blue-dark);
}

.apc-reset-filter {
	display: block;
	margin-top: 11px;
	color: #456f95;
	font-size: 13px;
	text-align: center;
	text-decoration: none;
}

.apc-protein-archive-header {
	margin-bottom: 18px;
}

.apc-protein-archive-header h1 {
	margin: 0 0 8px;
	color: var(--apc-text);
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.2;
}

.apc-protein-archive-header p {
	margin: 0;
	color: var(--apc-muted);
	font-size: 14px;
}

.apc-protein-table-wrap,
.apc-details-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--apc-border);
}

.apc-protein-table,
.apc-details-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
}

.apc-protein-table th {
	padding: 12px 14px;
	background: var(--apc-blue);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	text-align: left;
	white-space: nowrap;
}

.apc-protein-table td {
	padding: 13px 14px;
	border-top: 1px solid var(--apc-border);
	color: var(--apc-text);
	font-size: 14px;
	line-height: 1.45;
	vertical-align: top;
}

.apc-protein-table tbody tr:nth-child(even) {
	background: #fbfcfd;
}

.apc-protein-table tbody tr:hover {
	background: #f2f7fb;
}

.apc-protein-table a {
	color: #2c5d8c;
	text-decoration: none;
}

.apc-protein-table a:hover {
	color: #123e68;
	text-decoration: underline;
}

.apc-col-protein {
	width: 52%;
}

.apc-col-catalog {
	width: 18%;
}

.apc-col-target {
	width: 13%;
}

.apc-col-size {
	width: 17%;
}

.apc-protein-name > a {
	font-size: 15px;
	font-weight: 700;
}

.apc-protein-short-desc {
	margin-top: 4px;
	color: #526170;
	font-size: 13px;
}

.apc-no-results {
	padding: 38px !important;
	color: var(--apc-muted) !important;
	text-align: center;
}

.apc-protein-pagination {
	margin-top: 25px;
}

.apc-protein-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.apc-protein-pagination a,
.apc-protein-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 36px;
	padding: 5px 10px;
	border: 1px solid var(--apc-border);
	color: var(--apc-blue);
	font-size: 14px;
	text-decoration: none;
}

.apc-protein-pagination .current,
.apc-protein-pagination a:hover {
	border-color: var(--apc-blue);
	background: var(--apc-blue);
	color: #ffffff;
}

.apc-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
	color: var(--apc-muted);
	font-size: 13px;
}

.apc-breadcrumbs a {
	color: #3c6790;
	text-decoration: none;
}

.apc-protein-hero {
	display: grid;
	grid-template-columns: minmax(210px, 29%) minmax(0, 1fr);
	gap: 36px;
	margin-bottom: 36px;
	padding-bottom: 34px;
	border-bottom: 1px solid var(--apc-border);
}

.apc-protein-image {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 220px;
	padding: 18px;
	border: 1px solid var(--apc-border);
	background: #fbfcfd;
}

.apc-protein-main-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.apc-protein-image-placeholder {
	display: grid;
	width: 100%;
	min-height: 180px;
	place-items: center;
	background: linear-gradient(135deg, #e5edf5, #f8fafc);
	color: var(--apc-blue);
	font-size: 22px;
	font-weight: 700;
}

.apc-protein-badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 9px;
	border-radius: 2px;
	background: #e5f3ea;
	color: #1c6a3a;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.apc-protein-summary h1 {
	margin: 0;
	color: var(--apc-text);
	font-size: clamp(26px, 3.4vw, 38px);
	line-height: 1.18;
}

.apc-protein-lead {
	margin: 14px 0 20px;
	color: #536373;
	font-size: 16px;
	line-height: 1.55;
}

.apc-summary-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--apc-border);
	border-left: 1px solid var(--apc-border);
}

.apc-summary-meta > div {
	padding: 12px 14px;
	border-right: 1px solid var(--apc-border);
	border-bottom: 1px solid var(--apc-border);
}

.apc-summary-meta span,
.apc-summary-meta strong {
	display: block;
}

.apc-summary-meta span {
	margin-bottom: 4px;
	color: var(--apc-muted);
	font-size: 12px;
}

.apc-summary-meta strong {
	color: var(--apc-text);
	font-size: 14px;
}

.apc-protein-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.apc-button,
.apc-small-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	text-decoration: none;
}

.apc-button {
	min-height: 42px;
	padding: 10px 16px;
	font-size: 14px;
}

.apc-button-primary,
.apc-small-button {
	background: var(--apc-blue);
	color: #ffffff;
}

.apc-button-primary:hover,
.apc-small-button:hover {
	background: var(--apc-blue-dark);
	color: #ffffff;
}

.apc-button-outline {
	border: 1px solid var(--apc-blue);
	color: var(--apc-blue);
}

.apc-button-outline:hover {
	background: #edf4fa;
	color: var(--apc-blue-dark);
}

.apc-small-button {
	padding: 7px 10px;
	font-size: 12px;
	white-space: nowrap;
}

.apc-protein-section {
	margin-top: 34px;
}

.apc-protein-section > h2 {
	margin: 0;
	padding: 12px 16px;
	background: #d9d9d9;
	color: #263647;
	font-size: 17px;
	line-height: 1.3;
}

.apc-details-table th,
.apc-details-table td {
	padding: 15px 16px;
	border-top: 1px solid var(--apc-border);
	font-size: 14px;
	line-height: 1.55;
	text-align: left;
	vertical-align: top;
}

.apc-details-table tr:first-child th,
.apc-details-table tr:first-child td {
	border-top: 0;
}

.apc-details-table th {
	width: 25%;
	min-width: 170px;
	background: #fafbfd;
	color: #2d3c4c;
	font-weight: 700;
}

.apc-details-table td {
	color: #2f3d4b;
}

.apc-details-table a {
	color: #2b628e;
}

.apc-activity-content {
	padding: 20px 22px;
	border: 1px solid var(--apc-border);
	border-top: 0;
	color: #2e3c4a;
	font-size: 14px;
	line-height: 1.65;
}

.apc-activity-content ol {
	margin: 0;
	padding-left: 22px;
}

.apc-activity-content li + li {
	margin-top: 16px;
}

.apc-activity-content p {
	margin: 7px 0 0;
}

.apc-activity-description p {
	margin: 7px 0;
}

.apc-protein-description {
	padding: 20px 22px;
	border: 1px solid var(--apc-border);
	border-top: 0;
	color: #2e3c4a;
	line-height: 1.7;
}

@media (max-width: 921px) {
	.apc-protein-archive .apc-protein-container {
		grid-template-columns: 1fr;
	}

	.apc-protein-sidebar {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.apc-sidebar-heading {
		grid-column: 1 / -1;
	}

	.apc-filter-form {
		border-left: 1px solid var(--apc-border);
	}

	.apc-protein-hero {
		grid-template-columns: 220px minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.apc-protein-container {
		width: min(100% - 28px, 1180px);
		padding: 24px 0 42px;
	}

	.apc-protein-sidebar,
	.apc-protein-hero {
		display: block;
	}

	.apc-filter-form {
		border-top: 1px solid var(--apc-border);
		border-left: 0;
	}

	.apc-protein-image {
		margin-bottom: 22px;
	}

	.apc-summary-meta {
		grid-template-columns: 1fr;
	}

	.apc-protein-table {
		min-width: 700px;
	}

	.apc-details-table {
		min-width: 560px;
	}

	.apc-protein-section > h2 {
		font-size: 16px;
	}
}