.celec-catalog {
	--celec-blue: #209fba;
	--celec-green: #78d900;
	--celec-rating: #c9e99b;
	--celec-ink: #222;
	color: var(--celec-ink);
	font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
	width: 100%;
}

.celec-catalog,
.celec-catalog * {
	box-sizing: border-box;
}

.celec-catalog__products {
	margin: 0 auto;
	max-width: 1740px;
}

.celec-catalog__row {
	position: relative;
	padding: clamp(26px, 4.4vw, 76px) clamp(16px, 4.7vw, 80px);
}

.celec-catalog__row-link {
	display: block;
	inset: 0;
	position: absolute;
	z-index: 1;
}

.celec-catalog__row-link:focus-visible {
	outline: 3px solid var(--celec-blue);
	outline-offset: 4px;
}

.celec-catalog__row-content {
	align-items: center;
	display: grid;
	gap: clamp(20px, 2.7vw, 46px);
	grid-template-columns: minmax(190px, 0.85fr) minmax(270px, 0.95fr) minmax(420px, 1.9fr);
	pointer-events: none;
	position: relative;
	z-index: 2;
}

.celec-catalog__details {
	text-align: center;
}

.celec-catalog table {
	border-collapse: collapse;
	margin: 0 auto;
	width: 100%;
}

.celec-catalog__model-table {
	max-width: 330px;
}

.celec-catalog__model-table th,
.celec-catalog__model-table td,
.celec-catalog__spec-table th,
.celec-catalog__spec-table td {
	border: 1px solid #292929;
	font-size: clamp(14px, 1.2vw, 24px);
	font-weight: 400;
	line-height: 1.18;
	padding: 5px 10px;
	text-align: center;
}

.celec-catalog__model-table thead th,
.celec-catalog__spec-table thead th {
	background: var(--celec-blue);
	color: #fff;
	font-size: clamp(16px, 1.35vw, 27px);
	font-weight: 700;
}

.celec-catalog__model-table tbody th {
	font-weight: 700;
}

.celec-catalog__voltage {
	font-size: clamp(17px, 1.55vw, 30px);
	line-height: 1.25;
	margin: 14px 0 10px;
}

.celec-catalog__uses {
	font-size: clamp(17px, 1.55vw, 30px);
	line-height: 1.18;
	margin: 0 auto;
	max-width: 400px;
}

.celec-catalog__uses p {
	margin: 5px 0 0;
}

.celec-catalog__use-icons {
	align-items: end;
	display: flex;
	gap: 16px;
	justify-content: center;
	min-height: 78px;
}

.celec-catalog__use-icons img {
	height: 78px;
	max-width: 47%;
	object-fit: contain;
	width: auto;
}

.celec-catalog__spec-table {
	table-layout: fixed;
}

.celec-catalog__spec-table thead th:first-child,
.celec-catalog__spec-table tbody th {
	width: 30%;
}

.celec-catalog__spec-table tbody th {
	text-align: left;
}

.celec-catalog__spec-table .celec-catalog__rating-row > * {
	background: var(--celec-rating);
}

.celec-catalog__rating-row td {
	font-weight: 700;
}

.celec-catalog__product {
	align-items: center;
	border: 2px solid var(--celec-ink);
	border-radius: 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	max-width: 340px;
	min-height: 270px;
	padding: 18px 22px 12px;
	width: 100%;
}

.celec-catalog__gallery-frame {
	max-width: 100%;
	position: relative;
	pointer-events: auto;
	width: 100%;
}

.celec-catalog__gallery {
	display: flex;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-color: var(--celec-blue) #e7e7e7;
	scrollbar-width: thin;
	touch-action: pan-x;
	width: 100%;
}

.celec-catalog__gallery:focus-visible {
	outline: 2px solid var(--celec-blue);
	outline-offset: 2px;
}

.celec-catalog__gallery img {
	display: block;
	flex: 0 0 100%;
	height: 205px;
	max-width: 100%;
	object-fit: contain;
	scroll-snap-align: start;
	width: 100%;
}

.celec-catalog__gallery::-webkit-scrollbar {
	height: 8px;
}

.celec-catalog__gallery::-webkit-scrollbar-track {
	background: #e7e7e7;
	border-radius: 4px;
}

.celec-catalog__gallery::-webkit-scrollbar-thumb {
	background: var(--celec-blue);
	border-radius: 4px;
}

.celec-catalog__gallery-arrow {
	align-items: center;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #555;
	border-radius: 50%;
	color: var(--celec-ink);
	cursor: pointer;
	display: flex;
	font: inherit;
	height: 38px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	z-index: 3;
}

.celec-catalog__gallery-arrow span {
	font-family: Arial, sans-serif;
	font-size: 30px;
	margin-top: -3px;
}

.celec-catalog__gallery-arrow--previous {
	left: 5px;
}

.celec-catalog__gallery-arrow--next {
	right: 5px;
}

.celec-catalog__gallery-arrow:hover:not(:disabled) {
	background: var(--celec-blue);
	color: #fff;
}

.celec-catalog__gallery-arrow:focus-visible {
	outline: 3px solid var(--celec-blue);
	outline-offset: 2px;
}

.celec-catalog__gallery-arrow:disabled {
	cursor: default;
	opacity: 0.45;
}

.celec-catalog__product figcaption {
	align-self: flex-start;
	font-size: clamp(18px, 1.5vw, 28px);
	font-weight: 700;
	line-height: 1.15;
	margin-top: 8px;
}

.celec-catalog__note {
	font-size: clamp(15px, 1.3vw, 24px);
	margin: 0 auto 24px;
	max-width: 1600px;
	padding: 0 20px;
	text-align: center;
}

.celec-catalog__footer {
	align-items: center;
	background: var(--celec-green);
	display: grid;
	grid-template-columns: 1fr 2fr;
	min-height: 56px;
	position: relative;
	text-align: right;
	width: 100%;
}

.celec-catalog__footer::before {
	background: var(--celec-blue);
	content: "";
	height: 100%;
	left: calc((100% - 100vw) / 2);
	position: absolute;
	top: 0;
	width: calc((100vw - 100%) / 2 + 33.333%);
}

.celec-catalog__footer a {
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: clamp(18px, 2vw, 30px);
	grid-column: 2;
	padding: 10px clamp(18px, 5vw, 82px);
	text-decoration: none;
}

@media (max-width: 1100px) {
	.celec-catalog__row-content {
		gap: 24px;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	}

	.celec-catalog__row {
		padding: 32px clamp(16px, 4vw, 42px);
	}

	.celec-catalog__specifications {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.celec-catalog__product {
		grid-column: 1;
		grid-row: 1;
		max-width: 300px;
	}

	.celec-catalog__details {
		grid-column: 2;
		grid-row: 1;
	}

	.celec-catalog__use-icons {
		display: none;
	}
}

@media (max-width: 640px) {
	.celec-catalog__row-content {
		gap: 20px;
		grid-template-columns: minmax(0, 1fr);
	}

	.celec-catalog__row {
		padding: 28px 14px;
	}

	.celec-catalog__details,
	.celec-catalog__specifications,
	.celec-catalog__product {
		grid-column: 1;
		grid-row: auto;
	}

	.celec-catalog__product {
		grid-row: 1;
	}

	.celec-catalog__details {
		max-width: 420px;
		width: 100%;
		margin: 0 auto;
	}

	.celec-catalog__spec-table th,
	.celec-catalog__spec-table td {
		font-size: clamp(12px, 3.4vw, 16px);
		padding: 6px 5px;
		overflow-wrap: anywhere;
	}

	.celec-catalog__spec-table thead th {
		font-size: clamp(13px, 3.8vw, 17px);
	}

	.celec-catalog__spec-table thead th:first-child,
	.celec-catalog__spec-table tbody th {
		width: 35%;
	}

	.celec-catalog__product {
		min-height: 230px;
		max-width: 280px;
	}

	.celec-catalog__gallery img {
		height: 175px;
	}

	.celec-catalog__footer {
		min-height: 48px;
	}

	.celec-catalog__footer a {
		padding-right: 16px;
	}
}
