:root {
	--iipf-primary: #0b2d82;
	--iipf-primary-hover: #071f60;
	--iipf-text: #18223a;
	--iipf-muted: #667085;
	--iipf-border: #c7ccd6;
	--iipf-row: #f7f8fb;
	--iipf-row-alt: #eef1f6;
	--iipf-radius: 6px;
}

.iipf,
.iipf * {
	box-sizing: border-box;
}

.iipf {
	width: 100%;
	max-width: 100%;
	margin: 30px 0 44px;
	color: var(--iipf-text);
	font-family: inherit;
}

.iipf__series-row,
.iipf__model-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}


.iipf__scroll {
	width: 100%;
	overflow-x: visible;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
	padding: 0 0 2px;
}

.iipf__series-row {
	min-width: max-content;
	padding: 0 2px;
}

.iipf__model-row {
	min-height: 44px;
	padding: 0 2px;
}

.iipf__divider {
	width: min(950px, 92%);
	height: 1px;
	margin: 7px auto;
	background: #8d96aa;
}

.iipf__button {
	appearance: none;
	border: 2px solid var(--iipf-primary);
	border-radius: var(--iipf-radius);
	background: #fff;
	color: var(--iipf-primary);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.15;
	min-height: 40px;
	padding: 9px 12px;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.iipf__button:hover {
	background: #eef3ff;
	border-color: var(--iipf-primary-hover);
}

.iipf__button:focus-visible {
	outline: 3px solid rgba(11, 45, 130, .24);
	outline-offset: 2px;
}

.iipf__button:active {
	transform: translateY(1px);
}

.iipf__button--active {
	background: var(--iipf-primary);
	border-color: var(--iipf-primary);
	color: #fff;
}

.iipf__button--active:hover {
	background: var(--iipf-primary-hover);
	color: #fff;
}

.iipf__panels {
	margin-top: 22px;
}

.iipf__panel[hidden],
.iipf__model-row[hidden] {
	display: none !important;
}

.iipf__title {
	margin: 0 0 18px !important;
	padding: 0 !important;
	text-align: center;
	color: var(--iipf-primary);
	font-size: clamp(20px, 2.1vw, 28px) !important;
	line-height: 1.25 !important;
	font-weight: 700;
}

.iipf__table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: visible;
	border: 1px solid var(--iipf-border);
	border-radius: 2px;
}

.iipf__table {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse !important;
	table-layout: fixed;
	font-size: clamp(14px, 1.2vw, 16px);
	line-height: 1.42;
	background: #fff;
}

.iipf__table th,
.iipf__table td {
	border: 0 !important;
	border-right: 1px solid var(--iipf-border) !important;
	border-bottom: 1px solid var(--iipf-border) !important;
	padding: 11px 16px !important;
	text-align: left;
	vertical-align: middle;
	overflow-wrap: anywhere;
}

.iipf__table th:last-child,
.iipf__table td:last-child {
	border-right: 0 !important;
}

.iipf__table tbody tr:last-child td {
	border-bottom: 0 !important;
}

.iipf__table th:first-child,
.iipf__table td:first-child {
	width: 72%;
}

.iipf__table th:last-child,
.iipf__table td:last-child {
	width: 28%;
	white-space: nowrap;
}

.iipf__table thead th {
	background: #e9ebef;
	color: #111827;
	font-weight: 700;
}

.iipf__table tbody tr:nth-child(odd) td {
	background: var(--iipf-row);
}

.iipf__table tbody tr:nth-child(even) td {
	background: var(--iipf-row-alt);
}

.iipf__table tbody td:last-child {
	font-weight: 600;
}

.iipf__noscript {
	margin: 16px 0 0;
	color: var(--iipf-muted);
	text-align: center;
}

@media (max-width: 767px) {
	.iipf {
		margin-top: 24px;
		margin-bottom: 34px;
		overflow-x: hidden;
	}

	/*
	 * Кнопки переносятся целиком на новые строки.
	 * Запрещаем разрыв цифр и слов по отдельным символам.
	 */
	.iipf__scroll {
		width: 100%;
		overflow: visible !important;
		padding-bottom: 0;
	}

	.iipf__series-row,
	.iipf__model-row {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: stretch;
		justify-content: center;
		width: 100%;
		min-width: 0 !important;
		min-height: 0;
		gap: 7px;
		padding: 0 2px;
		overflow: visible !important;
	}

	.iipf__divider {
		width: 100%;
		margin: 10px 0;
	}

	.iipf__button {
		width: auto !important;
		max-width: 100%;
		min-height: 40px;
		font-size: 14px;
		line-height: 1.2;
		padding: 8px 11px;
		writing-mode: horizontal-tb !important;
		text-orientation: mixed !important;
		white-space: nowrap !important;
		word-break: keep-all !important;
		overflow-wrap: normal !important;
		hyphens: none !important;
	}

	.iipf__series-row .iipf__button {
		flex: 0 0 auto !important;
		min-width: 44px !important;
	}

	.iipf__model-row .iipf__button {
		flex: 0 0 auto !important;
		min-width: 54px !important;
	}

	.iipf__panels {
		margin-top: 18px;
	}

	.iipf__title {
		margin-bottom: 14px !important;
		font-size: 21px !important;
		text-align: left;
	}

	/* Таблица всегда помещается в экран и не требует свайпа в сторону. */
	.iipf__table-wrap {
		width: 100%;
		min-width: 0;
		overflow: visible !important;
	}

	.iipf__table {
		width: 100% !important;
		min-width: 0 !important;
		table-layout: fixed;
		font-size: clamp(12px, 3.7vw, 14px);
		line-height: 1.35;
	}

	.iipf__table th,
	.iipf__table td {
		min-width: 0 !important;
		padding: 9px 8px !important;
		white-space: normal !important;
		overflow-wrap: break-word;
		word-break: normal;
	}

	.iipf__table th:first-child,
	.iipf__table td:first-child {
		width: 66%;
	}

	.iipf__table th:last-child,
	.iipf__table td:last-child {
		width: 34%;
	}
}

@media (max-width: 380px) {
	.iipf__button {
		font-size: 13px;
		padding: 8px 9px;
	}

	.iipf__series-row .iipf__button {
		min-width: 42px !important;
	}

	.iipf__model-row .iipf__button {
		min-width: 50px !important;
	}

	.iipf__table th,
	.iipf__table td {
		padding: 8px 6px !important;
	}
}
