.ng-products {
	box-sizing: border-box;
	clear: both;
	margin: 34px 0;
}

.ng-products *,
.ng-products *:before,
.ng-products *:after {
	box-sizing: border-box;
}

.ng-products__title {
	color: #1f252d;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 16px;
}

.ng-product-card {
	align-items: stretch;
	background: #fff;
	border: 1px solid #e4e7eb;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(31, 37, 45, 0.08);
	display: flex;
	gap: 18px;
	margin: 0 0 16px;
	overflow: hidden;
	padding: 18px;
}

.ng-product-card__image {
	align-items: center;
	background: #f7f8fa;
	border-radius: 6px;
	display: flex;
	flex: 0 0 190px;
	height: 170px;
	justify-content: center;
	padding: 14px;
}

.ng-product-card__image img {
	display: block;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.ng-product-card__body {
	flex: 1 1 auto;
	min-width: 0;
}

.ng-product-card__badge {
	background: #fff2f3;
	border: 1px solid rgba(215, 27, 34, 0.2);
	border-radius: 999px;
	color: #d71b22;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 9px;
	padding: 7px 10px;
}

.ng-product-card__name {
	color: #1f252d;
	display: block;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.ng-product-card__name:hover {
	color: #d71b22;
	text-decoration: none;
}

.ng-product-card__desc {
	color: #59616d;
	font-size: 14px;
	line-height: 1.55;
	margin: 10px 0 0;
}

.ng-product-card__specs {
	display: grid;
	gap: 0;
	margin: 14px 0 0;
	max-width: 560px;
}

.ng-product-card__specs div {
	border-top: 1px solid #edf0f3;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(120px, 42%) 1fr;
	padding: 8px 0;
}

.ng-product-card__specs dt,
.ng-product-card__specs dd {
	font-size: 13px;
	line-height: 1.35;
	margin: 0;
}

.ng-product-card__specs dt {
	color: #7a828d;
}

.ng-product-card__specs dd {
	color: #2c333d;
	font-weight: 600;
}

.ng-product-card__aside {
	align-items: flex-end;
	display: flex;
	flex: 0 0 150px;
	flex-direction: column;
	justify-content: center;
	text-align: right;
}

.ng-product-card__price {
	color: #1f252d;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.ng-product-card__stock {
	color: #438c2b;
	font-size: 13px;
	font-weight: 700;
	margin: 7px 0 13px;
	white-space: nowrap;
}

.ng-product-card__stock--compact {
	margin: 0 0 5px;
}

.ng-product-card__button,
.ng-product-table__button {
	background: #d71b22;
	border: 1px solid #d71b22;
	border-radius: 6px;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	padding: 12px 16px;
	text-align: center;
	text-decoration: none;
}

.ng-product-table a.ng-product-table__button,
.ng-product-table a.ng-product-table__button:visited,
.ng-product-table a.ng-product-table__button:hover,
.ng-product-table a.ng-product-table__button:focus {
	color: #fff;
}

.ng-product-card__button:hover,
.ng-product-table__button:hover {
	background: #b9161d;
	border-color: #b9161d;
	color: #fff;
	text-decoration: none;
}

.ng-products--compact .ng-product-card,
.ng-product-card--compact {
	align-items: center;
	box-shadow: none;
	gap: 14px;
	padding: 12px;
}

.ng-products--compact .ng-product-card__image,
.ng-product-card--compact .ng-product-card__image {
	flex-basis: 92px;
	height: 82px;
	padding: 8px;
}

.ng-products--compact .ng-product-card__name,
.ng-product-card--compact .ng-product-card__name {
	font-size: 15px;
}

.ng-products--compact .ng-product-card__aside,
.ng-product-card--compact .ng-product-card__aside {
	align-items: center;
	flex: 0 0 auto;
	flex-direction: row;
	gap: 12px;
	justify-content: flex-end;
	text-align: right;
}

.ng-products--compact .ng-product-card__price,
.ng-product-card--compact .ng-product-card__price {
	font-size: 16px;
}

.ng-products--grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ng-products--grid .ng-products__title {
	flex: 0 0 100%;
	margin-bottom: 0;
}

.ng-products--grid .ng-product-card {
	flex: 1 1 calc(33.333% - 11px);
	flex-direction: column;
	margin: 0;
	max-width: calc(33.333% - 11px);
	min-width: 0;
	padding: 14px;
}

.ng-products--grid .ng-product-card__image {
	flex: 0 0 auto;
	height: 165px;
	width: 100%;
}

.ng-products--grid .ng-product-card__name {
	font-size: 16px;
}

.ng-products--grid .ng-product-card__aside {
	align-items: flex-start;
	flex: 0 0 auto;
	text-align: left;
}

.ng-products--grid .ng-product-card__price {
	font-size: 18px;
}

.ng-products--list .ng-product-card {
	box-shadow: none;
}

.ng-products--table {
	margin: 36px 0;
}

.ng-product-table-wrap {
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(31, 37, 45, 0.08);
	overflow-x: auto;
}

.ng-product-table {
	background: #fff;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	min-width: 720px;
	width: 100%;
}

.ng-product-table th,
.ng-product-table td {
	border-bottom: 1px solid #e7ebf0;
	color: #2c333d;
	font-size: 15px;
	line-height: 1.45;
	padding: 16px 18px;
	text-align: left;
	vertical-align: middle;
}

.ng-product-table th {
	background: #f3f5f8;
	color: #3c4654;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.35;
}

.ng-product-table tr:last-child td {
	border-bottom: 0;
}

.ng-product-table tbody tr:nth-child(even) td {
	background: #fbfcfd;
}

.ng-product-table tbody tr:hover td {
	background: #fff8f8;
}

.ng-product-table a {
	color: #1f252d;
	font-weight: 800;
	text-decoration: none;
}

.ng-product-table a:hover {
	color: #d71b22;
}

.ng-product-table__product {
	align-items: center;
	display: flex;
	gap: 14px;
	min-width: 360px;
}

.ng-product-table__image {
	align-items: center;
	background: #f7f8fa;
	border: 1px solid #edf0f3;
	border-radius: 8px;
	display: flex;
	flex: 0 0 50px;
	height: 50px;
	justify-content: center;
	padding: 4px;
	width: 50px;
}

.ng-product-table__image img {
	display: block;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.ng-product-table__name {
	min-width: 0;
}

.ng-product-table__price,
.ng-product-table__stock {
	color: #1f252d;
	font-weight: 800;
	white-space: nowrap;
}

.ng-product-table__stock {
	color: #438c2b;
	font-size: 14px;
}

.ng-product-table__button {
	border-radius: 7px;
	padding: 11px 14px;
	white-space: nowrap;
}

.ng-product-widget--notice {
	background: #fff7d6;
	border: 1px solid #f1d783;
	border-radius: 8px;
	color: #6c5514;
	margin: 18px 0;
	padding: 12px 14px;
}

.ng-demo-code {
	background: #161b22;
	border: 1px solid #2d333b;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(31, 37, 45, 0.1);
	margin: -2px 0 28px;
	overflow: hidden;
}

.ng-demo-code__bar {
	align-items: center;
	background: #1f252d;
	border-bottom: 1px solid #2d333b;
	color: #c9d1d9;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	justify-content: space-between;
	line-height: 1.3;
	padding: 10px 12px;
}

.ng-demo-code__copy {
	align-items: center;
	background: transparent;
	border: 1px solid #444c56;
	border-radius: 6px;
	color: #f0f3f6;
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 7px;
	line-height: 1;
	padding: 8px 10px;
}

.ng-demo-code__copy:hover,
.ng-demo-code__copy:focus {
	background: #2d333b;
	border-color: #768390;
	color: #fff;
	outline: none;
}

.ng-demo-code__copy svg {
	fill: none;
	flex: 0 0 16px;
	height: 16px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 16px;
}

.ng-demo-code pre {
	background: transparent;
	border: 0;
	color: #f0f3f6;
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
	overflow-x: auto;
	padding: 14px 16px;
	white-space: pre;
}

.ng-demo-code code {
	background: transparent;
	border: 0;
	color: inherit;
	font: inherit;
	padding: 0;
	white-space: inherit;
}

@media (max-width: 900px) {
	.ng-products--grid .ng-product-card {
		flex-basis: calc(50% - 8px);
		max-width: calc(50% - 8px);
	}

	.ng-product-card {
		flex-wrap: wrap;
	}

	.ng-product-card__aside {
		align-items: flex-start;
		flex: 1 1 100%;
		text-align: left;
	}

	.ng-products--compact .ng-product-card__aside,
	.ng-product-card--compact .ng-product-card__aside {
		align-items: center;
		flex: 0 0 auto;
		flex-direction: row;
		text-align: right;
	}
}

@media (max-width: 620px) {
	.ng-products--grid .ng-product-card {
		flex-basis: 100%;
		max-width: 100%;
	}

	.ng-product-card {
		display: block;
		padding: 14px;
	}

	.ng-product-card__image {
		height: 180px;
		margin-bottom: 13px;
		width: 100%;
	}

	.ng-product-card__name {
		font-size: 17px;
	}

	.ng-product-card__specs div {
		grid-template-columns: 1fr;
		gap: 3px;
	}

	.ng-product-card__aside {
		margin-top: 14px;
	}

	.ng-products--compact .ng-product-card__aside,
	.ng-product-card--compact .ng-product-card__aside {
		margin-top: 10px;
	}
}
