@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

body.mtc-configurator-page .wp-site-blocks > header,
body.mtc-configurator-page .wp-site-blocks > footer,
body.mtc-configurator-page header.wp-block-template-part,
body.mtc-configurator-page footer.wp-block-template-part {
	display: none !important;
}

body.mtc-configurator-page .wp-site-blocks > main,
body.mtc-configurator-page .wp-site-blocks > main > .wp-block-group {
	margin-block-start: 0 !important;
	padding-block-start: 0 !important;
}

.mtc {
	--mtc-text: #222b26;
	--mtc-bg: #ffffff;
	--mtc-surface: #eeeeee;
	--mtc-100: #eef0ef;
	--mtc-200: #dde1df;
	--mtc-300: #c3c9c6;
	--mtc-400: #9aa39f;
	--mtc-500: #6b7570;
	--mtc-600: #3a443f;
	--mtc-warn: #d6006c;
	--mtc-divider: rgba(34, 43, 38, 0.14);
	--mtc-shadow: 0 18px 55px rgba(34, 43, 38, 0.12);
	background: var(--mtc-bg);
	color: var(--mtc-text);
	font-family: "Poppins", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	width: 100vw !important;
	max-width: none !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

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

.mtc button,
.mtc input,
.mtc h1,
.mtc h2,
.mtc h3,
.mtc p,
.mtc span,
.mtc small,
.mtc strong,
.mtc em {
	font: inherit;
}


.mtc-loading,
.mtc-empty {
	border-radius: 18px;
	background: var(--mtc-surface);
	padding: 28px;
	display: grid;
	gap: 6px;
}

.mtc-top {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--mtc-bg);
	box-shadow: 0 1px 0 var(--mtc-surface);
}

.mtc-top__inner {
	max-width: 1360px;
	margin: 0 auto;
	padding: 14px 28px;
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}

.mtc-logo {
	height: 40px;
	width: auto;
	display: block;
}

.mtc-logo-text {
	font-size: 22px;
	font-weight: 600;
}

.mtc-progress {
	flex: 1 1 480px;
	display: flex;
	gap: 10px;
	min-width: 0;
}

.mtc-progress button {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: 0;
	background: transparent;
	padding: 6px 0;
	text-align: left;
	cursor: pointer;
}

.mtc-progress button:disabled {
	cursor: default;
}

.mtc-progress span {
	height: 4px;
	border-radius: 4px;
	background: var(--mtc-surface);
	transition: background 0.2s ease;
}

.mtc-progress .is-active span {
	background: var(--mtc-text);
}

.mtc-progress em {
	overflow: hidden;
	color: var(--mtc-400);
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mtc-progress .is-active em {
	color: var(--mtc-text);
	font-weight: 600;
}

.mtc-layout {
	max-width: 1360px;
	margin: 0 auto;
	padding: 40px 28px 140px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 48px;
	align-items: start;
}

.mtc-layout main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.mtc-step-head {
	max-width: 680px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mtc-step-head__top {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--mtc-500);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.mtc-back {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: var(--mtc-surface);
	cursor: pointer;
}

.mtc-back:hover {
	background: var(--mtc-200);
}

.mtc h1 {
	margin: 0;
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-wrap: balance;
}

.mtc h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
}

.mtc p {
	margin: 0;
	color: var(--mtc-500);
	font-size: 16px;
	line-height: 1.6;
	text-wrap: pretty;
}

.mtc-screen {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.mtc-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mtc-section-title {
	display: grid;
	gap: 4px;
}

.mtc-section-title span,
.mtc-empty span {
	color: var(--mtc-500);
	font-size: 14px;
}

.mtc-install-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
	gap: 16px;
}

.mtc-install-card,
.mtc-track-card,
.mtc-lamp-card {
	position: relative;
	border: 2px solid var(--mtc-surface);
	border-radius: 18px;
	background: var(--mtc-bg);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mtc-install-card:hover,
.mtc-track-card:hover,
.mtc-lamp-card:hover {
	box-shadow: var(--mtc-shadow);
}

.mtc-install-card.is-selected,
.mtc-track-card.is-selected,
.mtc-lamp-card.is-selected {
	border-color: var(--mtc-text);
}

.mtc-install-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 12px 12px 18px;
	text-align: left;
	cursor: pointer;
}

.mtc-install-card--text {
	justify-content: flex-start;
	min-height: 190px;
	padding: 34px 24px 26px;
}

.mtc-install-card strong {
	padding: 0 6px;
	font-size: 17px;
	font-weight: 500;
}

.mtc-install-card small {
	padding: 0 6px;
	color: var(--mtc-500);
	font-size: 13px;
	line-height: 1.5;
}

.mtc-install-card--text strong,
.mtc-install-card--text small {
	padding: 0;
}

.mtc-install-card--text small:empty {
	display: none;
}

.mtc-install-card b {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--mtc-text);
	color: var(--mtc-bg);
	font-size: 14px;
}

.mtc-media {
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--mtc-surface), var(--mtc-100));
	color: var(--mtc-500);
	font-size: 13px;
	text-align: center;
}

.mtc-media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.mtc-media--install {
	aspect-ratio: 4 / 3;
}

.mtc-media--track,
.mtc-media--lamp,
.mtc-supply-card .mtc-media {
	aspect-ratio: 1 / 1;
}

.mtc-track-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mtc-track-card {
	overflow: hidden;
}

.mtc-track-card > button {
	width: 100%;
	border: 0;
	background: transparent;
	padding: 12px;
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	text-align: left;
	cursor: pointer;
}

.mtc-track-card__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.mtc-track-card strong {
	font-size: 18px;
	font-weight: 500;
}

.mtc-track-card em {
	color: var(--mtc-500);
	font-size: 14px;
	font-style: normal;
}

.mtc-track-card small {
	display: block;
	margin-top: 8px;
	color: var(--mtc-500);
	font-size: 14px;
	line-height: 1.5;
}

.mtc-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.mtc-chips i {
	border-radius: 999px;
	background: var(--mtc-surface);
	padding: 4px 10px;
	font-size: 12px;
	font-style: normal;
}

.mtc-chips u {
	width: 1px;
	height: 16px;
	background: var(--mtc-divider);
	text-decoration: none;
}

.mtc-chips b {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--mtc-divider);
}

.mtc-finish {
	padding: 18px 24px 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--mtc-surface);
}

.mtc-finish > span {
	font-size: 14px;
	font-weight: 500;
}

.mtc-finish em {
	color: var(--mtc-500);
	font-style: normal;
	font-weight: 400;
}

.mtc-finish div {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.mtc-finish button {
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--mtc-bg);
	padding: 0 16px 0 8px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
}

.mtc-finish button.is-selected {
	box-shadow: inset 0 0 0 2px var(--mtc-text);
}

.mtc-finish i {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--mtc-divider);
}

.mtc-shape-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 12px;
}

.mtc-shape {
	border: 0;
	border-radius: 16px;
	background: var(--mtc-surface);
	padding: 14px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	text-align: left;
	cursor: pointer;
}

.mtc-shape.is-selected {
	background: var(--mtc-text);
	color: var(--mtc-bg);
}

.mtc-shape svg {
	width: 64px;
	height: 40px;
}

.mtc-shape path {
	fill: none;
	stroke: currentColor;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mtc-shape strong {
	font-size: 15px;
	font-weight: 500;
}

.mtc-shape small {
	opacity: 0.75;
	font-size: 12px;
}

.mtc-preview-inline {
	display: none;
	border-radius: 18px;
	background: var(--mtc-surface);
	padding: 20px;
}

.mtc-sides {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.mtc-side-row {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mtc-side-row__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mtc-side-row__head b {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--mtc-text);
	color: var(--mtc-bg);
	font-size: 14px;
}

.mtc-side-row__head strong {
	font-size: 16px;
	font-weight: 500;
}

.mtc-side-row__head small,
.mtc-side-row > small {
	color: var(--mtc-500);
	font-size: 13px;
}

.mtc-size-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mtc-size-pills button {
	min-width: 88px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--mtc-surface);
	padding: 0 18px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
}

.mtc-size-pills button.is-selected {
	background: var(--mtc-text);
	color: var(--mtc-bg);
}

.mtc-side-row--mirror .mtc-size-pills button {
	cursor: default;
}

.mtc-linear-tools {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.mtc-linear-tools > div {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.mtc-linear-tools button {
	height: 44px;
	border: 1.5px dashed var(--mtc-400);
	border-radius: 999px;
	background: transparent;
	padding: 0 20px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
}

.mtc-linear-tools button + button {
	border: 0;
	color: var(--mtc-500);
	text-decoration: underline;
}

.mtc-linear-tools label {
	max-width: 600px;
	border-radius: 16px;
	background: var(--mtc-surface);
	padding: 18px 20px;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	cursor: pointer;
}

.mtc-linear-tools input {
	position: absolute;
	opacity: 0;
}

.mtc-linear-tools label > span {
	position: relative;
	width: 44px;
	height: 26px;
	border-radius: 999px;
	background: var(--mtc-300);
}

.mtc-linear-tools input:checked + span {
	background: var(--mtc-text);
}

.mtc-linear-tools i {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--mtc-bg);
	transition: left 0.2s ease;
}

.mtc-linear-tools input:checked + span i {
	left: 21px;
}

.mtc-linear-tools strong,
.mtc-linear-tools small {
	grid-column: 2;
}

.mtc-linear-tools strong {
	font-size: 15px;
	font-weight: 500;
}

.mtc-linear-tools small {
	color: var(--mtc-500);
	font-size: 13px;
	line-height: 1.55;
}

.mtc-spacebar {
	position: sticky;
	top: 84px;
	z-index: 5;
	border-radius: 16px;
	background: var(--mtc-surface);
	padding: 16px 20px;
	display: grid;
	gap: 10px;
}

.mtc-spacebar > span,
.mtc-spacebar > em {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	font-style: normal;
}

.mtc-spacebar > em {
	color: var(--mtc-500);
}

.mtc-spacebar b {
	height: 8px;
	border-radius: 999px;
	background: var(--mtc-bg);
	overflow: hidden;
}

.mtc-spacebar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	transition: width 0.3s ease;
}

.mtc-lamp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	gap: 16px;
}

.mtc-lamp-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 12px 12px 16px;
}

.mtc-media--lamp {
	position: relative;
}

.mtc-media--lamp b {
	position: absolute;
	top: 10px;
	right: 10px;
	min-width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--mtc-text);
	color: var(--mtc-bg);
	padding: 0 8px;
	font-size: 13px;
}

.mtc-lamp-card__body,
.mtc-lamp-meta,
.mtc-variant-row,
.mtc-lamp-actions {
	padding: 0 4px;
}

.mtc-lamp-card__body span,
.mtc-lamp-actions {
	display: grid;
	justify-content: space-between;
	gap: 10px;
	align-items: baseline;
}

.mtc-lamp-card__body strong {
	font-size: 16px;
	font-weight: 500;
}

.mtc-lamp-card__body em,
.mtc-supply-card em {
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	display:flex;
	gap:10px;
}

.mtc-supply-card bdi{display:flex}

.mtc-lamp-card__body small {
	display: block;
	margin-top: 4px;
	color: var(--mtc-500);
	font-size: 13px;
	line-height: 1.5;
}

.mtc-lamp-meta,
.mtc-variant-row {
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
}

.mtc-lamp-meta i {
	border-radius: 999px;
	background: var(--mtc-surface);
	padding: 4px 10px;
	font-size: 12px;
	font-style: normal;
}

.mtc-variant-row button {
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: inset 0 0 0 1px var(--mtc-divider);
}

.mtc-variant-row button.is-selected {
	box-shadow: 0 0 0 2px var(--mtc-bg), 0 0 0 4px var(--mtc-text);
}

.mtc-variant-row span {
	margin-left: 4px;
	color: var(--mtc-500);
	font-size: 12px;
}

.mtc-lamp-attrs {
	display: grid;
	gap: 8px;
	padding: 0 4px;
}

.mtc-lamp-attrs label {
	display: grid;
	gap: 5px;
	color: var(--mtc-500);
	font-size: 12px;
}

.mtc-lamp-attrs select {
	width: 100%;
	min-height: 38px;
	border: 1px solid var(--mtc-divider);
	border-radius: 999px;
	background: var(--mtc-bg);
	padding: 0 14px;
	color: var(--mtc-text);
	font: inherit;
}

.mtc-lamp-actions {
	margin-top: auto;
	align-items: center;
}

.mtc-lamp-actions > span {
	color: var(--mtc-500);
	font-size: 12px;
}

.mtc-lamp-actions div {
	border-radius: 999px;
	background: var(--mtc-surface);
	padding: 3px;
	display: flex;
	align-items: center;
}

.mtc-lamp-actions button {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	font-size: 18px;
}

.mtc-lamp-actions button:disabled,
.mtc-lamp-actions .is-disabled {
	color: var(--mtc-400);
	cursor: not-allowed;
}

.mtc-lamp-actions output {
	min-width: 26px;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
}

.mtc-power-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.mtc-power-stats div {
	border-radius: 18px;
	background: var(--mtc-surface);
	padding: 22px;
	display: grid;
	gap: 8px;
}

.mtc-power-stats div:last-child {
	background: var(--mtc-text);
	color: var(--mtc-bg);
}

.mtc-power-stats small {
	color: inherit;
	opacity: 0.7;
	font-size: 13px;
}

.mtc-power-stats strong {
	font-size: 34px;
	font-weight: 500;
}

.mtc-power-stats span {
	color: inherit;
	opacity: 0.7;
	font-size: 12px;
}

.mtc-circuit-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mtc-circuit-stats div {
	display: flex;
	align-items: center;
	gap: 10px;
	border-radius: 999px;
	background: var(--mtc-surface);
	padding: 8px 14px 8px 8px;
}

.mtc-circuit-stats b {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	font-size: 13px;
}

.mtc-circuit-stats strong {
	font-size: 13px;
	font-weight: 500;
}

.mtc-assign-list {
	border-top: 1px solid var(--mtc-divider);
}

.mtc-assign-list > div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	align-items: center;
	border-bottom: 1px solid var(--mtc-divider);
	padding: 12px 0;
}

.mtc-assign-list strong,
.mtc-assign-list small {
	display: block;
}

.mtc-assign-list small {
	color: var(--mtc-500);
	font-size: 12px;
}

.mtc-assign-list em {
	display: flex;
	border-radius: 999px;
	background: var(--mtc-surface);
	padding: 3px;
	font-style: normal;
}

.mtc-assign-list button {
	width: 40px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	font-weight: 600;
}

.mtc-assign-list button.is-a {
	background: #0088B0;
	color: #fff;
}

.mtc-assign-list button.is-b {
	background: #D6006C;
	color: #fff;
}

.mtc-power-types {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.mtc-power-types button {
	border: 2px solid var(--mtc-surface);
	border-radius: 18px;
	background: var(--mtc-bg);
	padding: 22px;
	display: grid;
	gap: 6px;
	text-align: left;
	cursor: pointer;
}

.mtc-power-types button.is-selected {
	border-color: var(--mtc-text);
}

.mtc-power-types button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.mtc-power-types strong {
	font-size: 17px;
	font-weight: 500;
}

.mtc-power-types small {
	color: var(--mtc-500);
	font-size: 13px;
}

.mtc-supply-card {
	border-radius: 18px;
	background: var(--mtc-surface);
	padding: 16px;
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
}

.mtc-supply-card span {
	display: grid;
	gap: 6px;
}

.mtc-supply-card b {
	width: max-content;
	border-radius: 999px;
	background: var(--mtc-text);
	color: var(--mtc-bg);
	padding: 4px 10px;
	font-size: 12px;
}

.mtc-supply-card strong {
	font-size: 18px;
	font-weight: 500;
}

.mtc-supply-card small {
	color: var(--mtc-500);
	font-size: 13px;
}

.mtc-warning,
.mtc-success {
	border-radius: 18px;
	background: #ffe8f3;
	color: var(--mtc-warn);
	padding: 18px 20px;
	display: grid;
	gap: 6px;
}

.mtc-success {
	background: var(--mtc-100);
	color: var(--mtc-text);
}

.mtc-success--dark {
	background: var(--mtc-text);
	color: var(--mtc-bg);
}

.mtc-summary-hero {
	border-radius: 20px;
	background: var(--mtc-surface);
	padding: 24px;
}

.mtc-summary-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.mtc-summary-tiles div {
	border-radius: 16px;
	background: var(--mtc-surface);
	padding: 16px;
	display: grid;
	gap: 6px;
}

.mtc-summary-tiles small {
	color: var(--mtc-500);
	font-size: 12px;
}

.mtc-summary-tiles strong {
	font-size: 15px;
	font-weight: 500;
}

.mtc-section h2 span {
	border-radius: 999px;
	background: var(--mtc-text);
	color: var(--mtc-bg);
	padding: 3px 8px;
	font-size: 11px;
}

.mtc-bom-list,
.mtc-auto-box {
	display: grid;
	gap: 0;
}

.mtc-auto-box {
	border-radius: 20px;
	background: var(--mtc-surface);
	padding: 8px 18px;
}

.mtc-bom-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 16px;
	align-items: center;
	border-bottom: 1px solid var(--mtc-surface);
	padding: 14px 0;
}

.mtc-auto-box .mtc-bom-row {
	border-bottom-color: rgba(34, 43, 38, 0.08);
}

.mtc-bom-row:last-child {
	border-bottom: 0;
}

.mtc-bom-row strong {
	display: block;
	font-size: 15px;
	font-weight: 500;
}

.mtc-bom-row small {
	color: var(--mtc-500);
	font-size: 13px;
}

.mtc-bom-row em {
	font-style: normal;
	color: var(--mtc-500);
}

.mtc-bom-row b {
	font-size: 14px;
	font-weight: 600;
}

.mtc-side {
	position: sticky;
	top: 96px;
	max-height: calc(100vh - 116px);
	border-radius: 24px;
	background: var(--mtc-surface);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	overflow: hidden;
}

.mtc-side__body {
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	overflow: auto;
	padding-right: 4px;
	scrollbar-width: thin;
}

.mtc-side__actions {
	flex: 0 0 auto;
	display: grid;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--mtc-divider);
}

.mtc-preview-box {
	min-height: 160px;
	max-height: 220px;
	border-radius: 16px;
	background: var(--mtc-bg);
	display: grid;
	place-items: center;
	padding: 16px;
	color: var(--mtc-500);
	font-size: 13px;
	text-align: center;
}

.mtc-side dl {
	margin: 0;
	display: grid;
	gap: 10px;
}

.mtc-side dl div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid var(--mtc-divider);
	padding-bottom: 10px;
}

.mtc-side dt,
.mtc-side dd {
	margin: 0;
	font-size: 13px;
}

.mtc-side dt {
	color: var(--mtc-500);
}

.mtc-side dd {
	max-width: 55%;
	text-align: right;
	font-weight: 500;
}

.mtc-side-total {
	display: grid;
	gap: 4px;
}

.mtc-side-total span {
	color: var(--mtc-500);
	font-size: 13px;
}

.mtc-side-total strong {
	font-size: 28px;
	font-weight: 600;
}

.mtc-primary,
.mtc-secondary {
	min-height: 52px;
	border-radius: 999px;
	padding: 0 22px;
	cursor: pointer;
	font-weight: 500;
}

.mtc-side .mtc-primacy{color:#fff!important}

.mtc-primary {
	border: 0;
	background: var(--mtc-text);
	color: #fff;
}

.mtc-primary:disabled {
	color: #fff;
}

.mtc-primary:hover {
	background: var(--mtc-600);
}

.mtc-primary:disabled,
.mtc-secondary:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.mtc-secondary {
	border: 1px solid var(--mtc-text);
	background: transparent;
	color: var(--mtc-text);
}

.mtc-side > small {
	color: var(--mtc-500);
	font-size: 13px;
}

.mtc-svg-preview {
	width: 100%;
	max-height: 180px;
	display: block;
}

.mtc-svg-track {
	fill: none;
	stroke-width: 9;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 0 0 #222b26);
}

.mtc-svg-joints {
	fill: var(--mtc-bg);
	stroke: var(--mtc-text);
	stroke-width: 1;
}

.mtc-svg-lamps {
	stroke: #fff7a6;
	stroke-width: 7;
	stroke-linecap: round;
}

.mtc-svg-labels rect {
	fill: var(--mtc-bg);
}

.mtc-svg-labels text {
	fill: var(--mtc-text);
	font-size: 10px;
	font-weight: 600;
	text-anchor: middle;
	dominant-baseline: middle;
}

.mtc-bottom,
.mtc-drawer {
	display: none;
}

.mtc-dialog {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	background: rgba(34, 43, 38, 0.28);
	padding: 20px;
}

.mtc-dialog > div {
	width: min(460px, 100%);
	border-radius: 24px;
	background: var(--mtc-bg);
	padding: 26px;
	display: grid;
	gap: 14px;
	box-shadow: var(--mtc-shadow);
}

.mtc-dialog h2 {
	font-size: 24px;
}

.mtc-dialog p {
	color: var(--mtc-500);
	font-size: 15px;
}

.mtc-dialog footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	flex-wrap: wrap;
}

.mtc-dialog button {
	min-height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--mtc-text);
	color: var(--mtc-bg);
	padding: 0 18px;
	cursor: pointer;
}

.mtc-dialog button + button {
	background: var(--mtc-surface);
	color: var(--mtc-text);
}

@media (max-width: 960px) {
	.mtc-top__inner {
		padding: 12px 16px;
		gap: 16px;
	}

	.mtc-logo {
		height: 34px;
	}

	.mtc-progress {
		flex-basis: 100%;
	}

	.mtc-progress em {
		font-size: 11px;
	}

	.mtc-layout {
		display: block;
		padding: 28px 16px 120px;
	}

	.mtc-layout main {
		gap: 32px;
	}

	.mtc-side {
		display: none;
	}

	.mtc-preview-inline {
		display: block;
	}

	.mtc-track-card > button,
	.mtc-supply-card,
	.mtc-power-stats,
	.mtc-power-types,
	.mtc-summary-tiles {
		grid-template-columns: 1fr;
	}

	.mtc-bottom {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 40;
		border-radius: 20px 20px 0 0;
		background: var(--mtc-bg);
		box-shadow: 0 -18px 50px rgba(34, 43, 38, 0.16);
		padding: 12px 16px;
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 12px;
		align-items: center;
	}

	.mtc-bottom > button:first-child {
		border: 0;
		background: transparent;
		text-align: left;
		display: grid;
		gap: 2px;
	}

	.mtc-bottom span {
		color: var(--mtc-500);
		font-size: 12px;
	}

	.mtc-bottom strong {
		font-size: 18px;
	}

	.mtc-drawer {
		position: fixed;
		inset: 0;
		z-index: 80;
		display: block;
		background: rgba(34, 43, 38, 0.28);
		padding: 58px 16px 16px;
		overflow: auto;
	}

	.mtc-drawer > button {
		position: fixed;
		top: 16px;
		right: 16px;
		width: 40px;
		height: 40px;
		border: 0;
		border-radius: 50%;
		background: var(--mtc-bg);
		font-size: 22px;
	}

	.mtc-drawer .mtc-side {
		position: static;
		display: flex;
	}
}

@media (max-width: 560px) {
	.mtc-install-grid,
	.mtc-lamp-grid,
	.mtc-shape-grid {
		grid-template-columns: 1fr;
	}

	.mtc-bom-row {
		grid-template-columns: 1fr auto;
	}

	.mtc-bom-row b {
		grid-column: 1 / -1;
	}
}
