.lw-cfg {
	--lw-black: #111111;
	--lw-yellow: #f8e641;
	--lw-muted: #7a7a7a;
	--lw-line: #e2e2e2;
	--lw-paper: #f6f6f4;
	--lw-white: #ffffff;
	--lw-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
	font-family: Poppins, sans-serif;
	color: var(--lw-black);
	width: min(1240px, calc(100vw - 32px));
	max-width: none;
	margin: 12px auto 40px;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.lw-cfg *,
.lw-cfg *::before,
.lw-cfg *::after {
	box-sizing: border-box;
}

.lw-cfg__hero {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	padding: 8px 0 22px;
}

.lw-cfg__eyebrow {
	margin: 0 0 6px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 600;
	color: var(--lw-muted);
}

.lw-cfg__title {
	margin: 0;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 600;
	line-height: 1.15;
}

.lw-cfg__layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.lw-cfg__sidebar {
	position: sticky;
	top: 24px;
	background: var(--lw-white);
	border: 1px solid var(--lw-line);
	border-radius: 18px;
	box-shadow: var(--lw-shadow);
	padding: 18px 16px 20px;
	max-height: calc(100vh - 40px);
	overflow: auto;
}

.lw-cfg__sidebar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--lw-line);
}

.lw-cfg__sidebar-head h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.lw-cfg__close {
	display: none;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 8px;
	background: var(--lw-paper);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: var(--lw-black);
}

.lw-cfg__search {
	position: relative;
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}

.lw-cfg__search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #888;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 1;
	height: 18px;
	line-height: 1;
}

.lw-cfg .lw-cfg__search input,
.lw-cfg .lw-cfg__search input[type="search"] {
	display: block;
	width: 100%;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	border: 1px solid var(--lw-line);
	border-radius: 10px;
	padding: 11px 12px 11px 42px !important;
	margin: 0 !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	background: var(--lw-paper);
	color: var(--lw-black);
	outline: none;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.lw-cfg .lw-cfg__search input::placeholder {
	color: #8a8a8a;
	line-height: 1.2;
	opacity: 1;
	vertical-align: middle;
}

.lw-cfg .lw-cfg__search input::-webkit-search-decoration,
.lw-cfg .lw-cfg__search input::-webkit-search-cancel-button,
.lw-cfg .lw-cfg__search input::-webkit-search-results-button,
.lw-cfg .lw-cfg__search input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	display: none;
}

.lw-cfg__search input:focus {
	border-color: var(--lw-black);
	background: var(--lw-white);
}

.lw-cfg__filters {
	padding: 0;
}

.lw-cfg__group {
	border: 0;
	margin: 16px 0 0;
	padding: 0;
}

.lw-cfg__group legend {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lw-muted);
	font-weight: 600;
	padding: 0 0 10px;
}

.lw-cfg__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	font-weight: 500;
	color: var(--lw-muted);
	margin-bottom: 10px;
}

.lw-cfg .lw-cfg__field select {
	height: 44px !important;
	min-height: 44px !important;
	line-height: 44px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	border: 1px solid var(--lw-line);
	border-radius: 10px;
	padding-left: 12px;
	padding-right: 12px;
	font: inherit;
	font-size: 14px;
	color: var(--lw-black);
	background: var(--lw-paper);
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
}

.lw-cfg__field select:focus {
	outline: none;
	border-color: var(--lw-black);
	background: var(--lw-white);
}

.lw-cfg__reset,
.lw-cfg__page,
.lw-cfg__page-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	vertical-align: middle;
	font-family: inherit;
}

.lw-cfg__reset {
	height: 44px;
	border: 0;
	border-radius: 10px;
	padding-left: 16px;
	padding-right: 16px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	margin-top: 8px;
	background: var(--lw-yellow);
	color: var(--lw-black);
}

.lw-cfg__toggle {
	display: none !important;
	height: 44px;
	border: 0;
	border-radius: 10px;
	padding: 0 16px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	background: var(--lw-black);
	color: var(--lw-yellow);
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.lw-cfg__backdrop {
	display: none;
}

.lw-cfg__main-bar {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.lw-cfg__hero-meta {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.lw-cfg__count {
	font-size: 28px;
	font-weight: 600;
	line-height: 1;
}

.lw-cfg__count-label {
	color: var(--lw-muted);
	font-size: 13px;
}

.lw-cfg__status {
	color: var(--lw-muted);
	font-size: 13px;
}

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

.lw-cfg__card {
	background: var(--lw-white);
	border: 1px solid var(--lw-line);
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lw-cfg__card:hover {
	transform: translateY(-3px);
	box-shadow: var(--lw-shadow);
}

.lw-cfg__media {
	position: relative;
	background: linear-gradient(180deg, #f4f4f4 0%, #ececec 100%);
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lw-cfg__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 18px;
}

.lw-cfg__placeholder {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--lw-black);
	color: var(--lw-yellow);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.lw-cfg__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--lw-yellow);
	color: var(--lw-black);
	font-size: 11px;
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 999px;
}

.lw-cfg__body {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.lw-cfg__name {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
}

.lw-cfg__code {
	margin: 0;
	color: var(--lw-muted);
	font-size: 13px;
}

.lw-cfg__code strong {
	color: var(--lw-black);
	font-weight: 600;
}

.lw-cfg__output {
	background: var(--lw-black);
	color: var(--lw-white);
	border-radius: 12px;
	padding: 10px 12px;
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 13px;
}

.lw-cfg__output span {
	color: var(--lw-yellow);
	font-weight: 600;
}

.lw-cfg__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.lw-cfg__chip {
	background: var(--lw-paper);
	border-radius: 999px;
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 500;
}

.lw-cfg__actions {
	margin-top: auto;
	display: flex;
	gap: 8px;
}

.lw-cfg__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 14px;
	border-radius: 10px;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
	flex: 1;
}

.lw-cfg__btn--primary {
	background: var(--lw-yellow);
	color: var(--lw-black) !important;
}

.lw-cfg__btn--ghost {
	background: var(--lw-paper);
	color: var(--lw-muted) !important;
	cursor: default;
}

.lw-cfg__empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	border: 1px dashed var(--lw-line);
	border-radius: 18px;
	color: var(--lw-muted);
}

.lw-cfg__pager {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
}

.lw-cfg__page,
.lw-cfg__page-btn {
	min-width: 40px;
	height: 40px;
	border: 1px solid var(--lw-line);
	background: var(--lw-white);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.lw-cfg__page.is-active,
.lw-cfg__page-btn:hover,
.lw-cfg__page:hover {
	background: var(--lw-black);
	color: var(--lw-yellow);
	border-color: var(--lw-black);
}

.lw-cfg.is-loading .lw-cfg__results {
	opacity: 0.45;
	pointer-events: none;
}

@media (max-width: 980px) {
	.lw-cfg__layout {
		grid-template-columns: 1fr;
	}

	.lw-cfg__toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
	}

	.lw-cfg__sidebar {
		position: fixed;
		z-index: 10020;
		top: 0;
		left: 0;
		width: min(360px, 88vw);
		height: 100vh;
		max-height: none;
		border-radius: 0;
		transform: translateX(-110%);
		transition: transform 0.25s ease;
	}

	.lw-cfg__sidebar.is-open {
		transform: translateX(0);
	}

	.lw-cfg__close {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		line-height: 1;
		padding: 0;
	}

	.lw-cfg__backdrop {
		display: none;
		position: fixed;
		inset: 0;
		z-index: 10010;
		background: rgba(0, 0, 0, 0.45);
	}

	.lw-cfg__sidebar.is-open + .lw-cfg__backdrop {
		display: block;
	}

	.lw-cfg__results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.lw-cfg__hero {
		flex-direction: column;
		align-items: flex-start;
	}

	.lw-cfg__results {
		grid-template-columns: 1fr;
	}
}

.lw-product-specs {
	margin: 24px 0 8px;
	border: 1px solid #e2e2e2;
	border-radius: 14px;
	overflow: hidden;
	font-family: Poppins, sans-serif;
}

.lw-product-specs h3 {
	margin: 0;
	padding: 14px 16px;
	background: #111;
	color: #f8e641;
	font-size: 15px;
}

.lw-product-specs table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.lw-product-specs th,
.lw-product-specs td {
	padding: 10px 16px;
	border-bottom: 1px solid #eee;
	text-align: left;
	font-size: 14px;
}

.lw-product-specs th {
	width: 38%;
	color: #7a7a7a;
	font-weight: 500;
}

.lw-product-specs tr:last-child th,
.lw-product-specs tr:last-child td {
	border-bottom: 0;
}
