.wire-builder-page {
	--wb-ink: #171b20;
	--wb-muted: #65748a;
	--wb-line: #dce3eb;
	--wb-soft: #f6f8fb;
	--wb-blue: #1769f5;
	--wb-blue-dark: #0d57d5;
	min-height: 70vh;
	color: var(--wb-ink);
	background:
		radial-gradient(circle at 52% -15%, rgba(23, 105, 245, .055), transparent 35%),
		#f5f7fa;
}

.wire-builder-page button,
.wire-builder-page input,
.wire-builder-page select {
	font: inherit;
}

.wire-builder-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.wire-builder-heading h1 {
	margin: 0;
	font-size: clamp(2rem, 3.2vw, 2.75rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.035em;
}

.wire-builder-heading p {
	margin: 10px 0 0;
	color: var(--wb-muted);
	font-size: .98rem;
}

.wire-builder-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 350px;
	gap: 20px;
	align-items: start;
}

.wire-builder-tool,
.wire-order-panel {
	border: 1px solid var(--wb-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(34, 48, 66, .055);
}

.wire-builder-tool {
	overflow: hidden;
}

.wire-configurator-board {
	position: relative;
	min-height: 430px;
	padding: 34px 32px 28px;
}

.wire-section-control {
	position: relative;
	z-index: 3;
	display: grid;
	width: min(100%, 720px);
	margin: 0 auto;
	place-items: center;
}

.wire-section-control::after {
	position: absolute;
	top: 100%;
	left: 50%;
	height: 52px;
	border-left: 1px dashed #aebbd0;
	content: "";
}

.wire-section-control > span {
	color: var(--wb-muted);
	font-size: .78rem;
	font-weight: 650;
}

.wire-type-options {
	display: flex;
	max-width: 100%;
	margin-top: 7px;
	padding: 4px;
	gap: 3px;
	border: 1px solid var(--wb-line);
	border-radius: 10px;
	background: #f5f7fa;
}

.wire-type-option {
	min-width: 96px;
	height: 34px;
	padding: 0 13px;
	border: 0;
	border-radius: 7px;
	color: #5b6879;
	background: transparent;
	font-size: .72rem;
	font-weight: 750;
}

.wire-type-option:hover { color: var(--wb-blue); }

.wire-type-option.is-active {
	color: #fff;
	background: #20262d;
	box-shadow: 0 4px 10px rgba(24, 30, 37, .15);
}

.wire-section-heading {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 7px;
	margin-top: 13px;
}

.wire-section-heading span {
	color: var(--wb-muted);
	font-size: .72rem;
	font-weight: 650;
}

.wire-section-heading strong {
	font-size: .9rem;
	font-weight: 800;
}

.wire-section-options {
	display: flex;
	justify-content: center;
	max-width: 100%;
	margin-top: 8px;
	padding: 0;
	gap: 6px;
	border: 0;
	background: transparent;
	overflow-x: auto;
	scrollbar-width: thin;
}

.wire-section-option {
	flex: 0 0 auto;
	min-width: 46px;
	height: 37px;
	padding: 0 7px;
	border: 1px solid #dfe5ec;
	border-radius: 8px;
	color: #26303b;
	background: #fff;
	font-size: .68rem;
	font-weight: 700;
	white-space: nowrap;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.wire-section-option:hover {
	border-color: #91b5f8;
}

.wire-section-option.is-active {
	border-color: var(--wb-blue);
	color: #0c4cb8;
	background: #f1f6ff;
	box-shadow: inset 0 0 0 1px var(--wb-blue);
}

.wire-preview-stage {
	position: relative;
	display: grid;
	grid-template-columns: 76px minmax(80px, 1fr) 76px;
	align-items: center;
	width: min(82%, 720px);
	margin: 51px auto 0;
}

.wire-preview-stage::after {
	position: absolute;
	left: 7%;
	right: 7%;
	bottom: -12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(25, 34, 44, .18);
	content: "";
	filter: blur(7px);
}

.wire-preview-cable {
	position: relative;
	z-index: 2;
	height: var(--wire-thickness, 21px);
	min-height: 8px;
	max-height: 30px;
	border: 2px solid #050607;
	border-radius: 2px;
	background: linear-gradient(180deg, #454a4f 0, #131619 31%, #070809 72%, #282c30 100%);
	box-shadow: inset 0 3px 2px rgba(255, 255, 255, .14), 0 4px 7px rgba(0, 0, 0, .22);
	transition: height .2s ease, margin .2s ease;
}

.wire-preview-cable::before {
	position: absolute;
	top: 4px;
	left: 0;
	right: 0;
	height: 2px;
	background: rgba(255, 255, 255, .15);
	content: "";
}

.wire-preview-cable.is-red {
	border-color: #851a16;
	background: linear-gradient(180deg, #f06a61 0, #c92f28 38%, #861b17 78%, #d54239 100%);
}

.wire-preview-cable.is-white {
	border-color: #9aa4ae;
	background: linear-gradient(180deg, #fff 0, #e5e9ed 43%, #b8c0c8 82%, #f7f8f9 100%);
}

.wire-preview-end {
	position: relative;
	z-index: 3;
	width: 76px;
	height: 48px;
	filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .22));
}

.wire-preview-end::before,
.wire-preview-end::after {
	position: absolute;
	top: 50%;
	content: "";
	transform: translateY(-50%);
}

.wire-preview-end::after {
	z-index: 1;
	width: 44px;
	height: 44px;
	border: 1px solid #707a83;
	border-radius: 50%;
	background:
		linear-gradient(112deg, transparent 44%, rgba(255,255,255,.5) 47%, transparent 51%),
		linear-gradient(180deg, #f0f3f5 0, #b3bbc2 38%, #7c8791 72%, #c9cfd4 100%);
	box-shadow: inset 0 2px 1px rgba(255,255,255,.8), inset 0 -2px 2px rgba(66,75,84,.35);
}

.wire-preview-end::before {
	z-index: 2;
	width: 39px;
	height: clamp(18px, calc(var(--wire-thickness, 21px) + 8px), 36px);
	border: 1px solid #66717b;
	background:
		repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 3px, rgba(72,82,91,.17) 3px 5px),
		linear-gradient(180deg, #dfe4e8 0, #8c969f 58%, #c4cbd1 100%);
	box-shadow: inset 0 2px 1px rgba(255,255,255,.65);
}

.wire-preview-end--a::after { left: 0; }
.wire-preview-end--a::before { right: -1px; border-radius: 8px 2px 2px 8px; }
.wire-preview-end--b::after { right: 0; }
.wire-preview-end--b::before { left: -1px; border-radius: 2px 8px 8px 2px; }

.wire-preview-end span {
	position: absolute;
	top: 50%;
	z-index: 4;
	box-sizing: border-box;
	width: 23px;
	height: 23px;
	border: 6px solid #e6eaed;
	border-radius: 50%;
	background: #22282e;
	box-shadow: 0 0 0 1px #65717b, inset 0 1px 2px #050607;
	transform: translateY(-50%);
}

.wire-preview-end--a span {
	left: 22px;
	transform: translate(-50%, -50%);
}

.wire-preview-end--b span {
	right: 22px;
	transform: translate(50%, -50%);
}
.wire-preview-end.is-m6 span { width: 21px; height: 21px; border-width: 7px; }
.wire-preview-end.is-m8 span { width: 24px; height: 24px; border-width: 6px; }
.wire-preview-end.is-m10 span { width: 27px; height: 27px; border-width: 6px; }

.wire-preview-end.is-mc4 {
	width: 88px;
	height: 37px;
	border: 2px solid #050607;
	border-color: #050607;
	border-radius: 5px;
	background:
		repeating-linear-gradient(90deg, transparent 0 7px, rgba(255,255,255,.085) 7px 9px),
		linear-gradient(180deg, #3a4046, #111416 72%);
	box-shadow: inset 0 2px 1px rgba(255,255,255,.12);
	filter: drop-shadow(0 4px 4px rgba(0,0,0,.25));
}

.wire-preview-end.is-mc4::before {
	top: 50%;
	z-index: -1;
	width: 20px;
	height: 23px;
	border: 2px solid #090b0d;
	border-radius: 3px;
	background: #1c2126;
	box-shadow: none;
	transform: translateY(-50%);
}

.wire-preview-end--a.is-mc4::before { left: -16px; }
.wire-preview-end--b.is-mc4::before { right: -16px; }

.wire-preview-end.is-mc4::after {
	top: 50%;
	z-index: 3;
	width: 18px;
	height: 29px;
	border: 2px solid #07090a;
	border-radius: 4px;
	background: linear-gradient(180deg, #454b50, #111416 70%);
	box-shadow: none;
	transform: translateY(-50%);
}

.wire-preview-end--a.is-mc4::after { right: -1px; left: auto; }
.wire-preview-end--b.is-mc4::after { right: auto; left: -1px; }

.wire-preview-end.is-mc4 span { display: none; }

.wire-preview-end.is-none {
	visibility: hidden;
}

.wire-preview-stage.has-no-tip-a .wire-preview-cable { margin-left: -76px; }
.wire-preview-stage.has-no-tip-b .wire-preview-cable { margin-right: -76px; }

.wire-on-cable-controls {
	display: grid;
	grid-template-columns: 76px minmax(80px, 1fr) 76px;
	align-items: start;
	width: min(82%, 720px);
	margin: 47px auto 0;
}

.wire-tip-control {
	position: relative;
	z-index: 3;
	width: 168px;
}

.wire-tip-control--a { justify-self: center; }
.wire-tip-control--b { justify-self: center; }

.wire-tip-control::before {
	position: absolute;
	left: 50%;
	bottom: 100%;
	height: 47px;
	border-left: 1px dashed #aebbd0;
	content: "";
}

.wire-tip-picker {
	position: relative;
}

.wire-tip-trigger {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) 16px;
	align-items: center;
	width: 100%;
	height: 42px;
	padding: 0 9px;
	border: 1px solid #d5dde7;
	border-radius: 8px;
	color: #20262d;
	background: #fff;
	font-size: .78rem;
	font-weight: 750;
	text-align: left;
}

.wire-tip-trigger > i {
	color: #53647a;
	font-size: .85rem;
	pointer-events: none;
}

.wire-tip-trigger > span {
	min-width: 0;
	padding: 0 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wire-tip-trigger[aria-expanded="true"] {
	border-color: var(--wb-blue);
	box-shadow: 0 0 0 3px rgba(23, 105, 245, .12);
}

.wire-tip-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 30;
	width: 100%;
	min-width: 200px !important;
	padding: 5px;
	border: 1px solid #d5dde7;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(34, 48, 66, .18);
}

.wire-tip-control--b .wire-tip-menu {
	right: 0;
	left: auto;
}

.wire-tip-menu[hidden] { display: none; }

.wire-tip-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 34px;
	padding: 0 9px;
	border: 0;
	border-radius: 7px;
	color: #26303b;
	background: transparent;
	font-size: .73rem;
	font-weight: 700;
	text-align: left;
	white-space: nowrap !important;
	word-break: keep-all;
}

.wire-tip-option > span {
	white-space: nowrap !important;
	word-break: keep-all;
}

.wire-tip-option:hover,
.wire-tip-option:focus-visible {
	color: #0c4cb8;
	background: #eef4ff;
}

.wire-tip-option > i { opacity: 0; }

.wire-tip-option.is-active {
	color: #0c4cb8;
	background: #f1f6ff;
}

.wire-tip-option.is-active > i { opacity: 1; }

.wire-tip-picker.is-open {
	z-index: 31;
}

.wire-color-control {
	position: relative;
	z-index: 2;
	justify-self: center;
	margin-top: 3px;
}

.wire-color-control > span { display: none; }

.wire-color-options {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.wire-color-option {
	position: relative;
	display: flex;
	box-sizing: border-box;
	width: 34px;
	height: 34px;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 2px solid #d5dce5;
	border-radius: 50%;
	background: #fff;
	line-height: 0;
}

.wire-color-option > span {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 50%;
	background: var(--wire-swatch);
}

.wire-color-option > i {
	position: absolute;
	top: 50%;
	left: 50%;
	display: none;
	color: #fff;
	font-size: .75rem;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7));
	line-height: 1;
	transform: translate(-50%, -50%);
}

.wire-color-option:hover { border-color: #9ebcf5; }

.wire-color-option.is-active {
	border-color: var(--wb-blue);
	box-shadow: 0 0 0 2px rgba(23, 105, 245, .12);
}

.wire-color-option.is-active > i { display: block; }

.wire-length-control {
	width: 100%;
	max-width: 430px;
	margin: 0;
}

.wire-length-heading {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	margin-bottom: 6px;
	color: var(--wb-muted);
	font-size: .75rem;
	font-weight: 650;
}

.wire-length-heading strong {
	display: none;
	color: var(--wb-ink);
}

.wire-length-row {
	display: grid;
	grid-template-columns: 34px minmax(100px, 1fr) 34px 82px;
	align-items: center;
	gap: 8px;
}

.wire-length-row > small {
	color: var(--wb-muted);
	font-size: .68rem;
	text-align: center;
}

.wire-length-row input[type="range"] {
	width: 100%;
	height: 5px;
	accent-color: var(--wb-blue);
	cursor: pointer;
}

.wire-length-row > label {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 25px;
	height: 41px;
	border: 1px solid #d2dae4;
	border-radius: 9px;
	background: #fff;
	overflow: hidden;
}

.wire-length-row input[type="number"] {
	width: 100%;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: .98rem;
	font-weight: 800;
	text-align: center;
}

.wire-length-row label span {
	display: grid;
	place-items: center;
	border-left: 1px solid #e5e9ee;
	color: var(--wb-muted);
	font-size: .72rem;
}

.wire-builder-total {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) auto auto auto;
	align-items: center;
	gap: 14px;
	padding: 14px 22px;
	border-top: 1px solid var(--wb-line);
	background: #fbfcfd;
}

.wire-current-total {
	display: grid;
	min-width: 110px;
}

.wire-current-total small {
	color: var(--wb-muted);
	font-size: .62rem;
}

.wire-current-total strong {
	font-size: 1.35rem;
	font-weight: 850;
	letter-spacing: -.03em;
}

.wire-quantity,
.wire-order-qty {
	display: grid;
	grid-template-columns: 32px 34px 32px;
	height: 42px;
	border: 1px solid #d4dce5;
	border-radius: 9px;
	background: #fff;
	overflow: hidden;
}

.wire-quantity button,
.wire-order-qty button {
	padding: 0;
	border: 0;
	color: #303a45;
	background: #fff;
}

.wire-quantity button:hover,
.wire-order-qty button:hover {
	color: var(--wb-blue);
	background: #f0f5ff;
}

.wire-quantity output,
.wire-order-qty span {
	display: grid;
	place-items: center;
	font-size: .76rem;
	font-weight: 800;
}

.wire-add-variant {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 96px;
	padding: 10px 15px;
	border: 0;
	border-radius: 9px;
	color: #fff;
	background: var(--wb-blue);
	box-shadow: 0 7px 16px rgba(23, 105, 245, .2);
	font-size: .75rem;
	font-weight: 700;
	white-space: nowrap;
}

.wire-add-variant:hover,
.wire-add-variant:focus {
	color: #fff;
	background: var(--wb-blue-dark);
}

.wire-order-panel {
	position: sticky;
	top: 16px;
	overflow: hidden;
}

.wire-order-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--wb-line);
}

.wire-order-heading > div {
	display: grid;
	gap: 3px;
}

.wire-order-heading span {
	font-size: .9rem;
	font-weight: 800;
}

.wire-order-heading strong {
	color: var(--wb-muted);
	font-size: .68rem;
	font-weight: 650;
}

.wire-order-heading button,
.wire-order-item-actions button {
	display: grid;
	width: 34px;
	height: 34px;
	padding: 0;
	place-items: center;
	border: 1px solid #d8e0e9;
	border-radius: 8px;
	color: #718096;
	background: #fff;
}

.wire-order-heading button:disabled { opacity: .4; }

.wire-order-list {
	max-height: 530px;
	overflow: auto;
	scrollbar-width: thin;
}

.wire-order-empty {
	display: grid;
	min-height: 225px;
	padding: 30px;
	place-items: center;
	align-content: center;
	color: #8794a5;
	text-align: center;
}

.wire-order-empty i {
	display: grid;
	width: 48px;
	height: 48px;
	margin-bottom: 11px;
	place-items: center;
	border: 1px dashed #cbd4df;
	border-radius: 13px;
	background: var(--wb-soft);
	font-size: 1.1rem;
}

.wire-order-empty strong {
	margin-bottom: 4px;
	color: #4b5868;
	font-size: .78rem;
}

.wire-order-empty span {
	max-width: 210px;
	font-size: .66rem;
	line-height: 1.45;
}

.wire-order-item {
	position: relative;
	padding: 16px 19px;
	border-bottom: 1px solid var(--wb-line);
}

.wire-order-item::before {
	position: absolute;
	top: 17px;
	left: 0;
	width: 3px;
	height: 34px;
	border-radius: 0 3px 3px 0;
	background: var(--wire-item-color, #15181d);
	content: "";
}

.wire-order-item-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.wire-order-item-title {
	min-width: 0;
}

.wire-order-item-title strong {
	display: block;
	font-size: .76rem;
	font-weight: 800;
	line-height: 1.3;
}

.wire-order-item-title span {
	display: -webkit-box;
	margin-top: 4px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--wb-muted);
	font-size: .62rem;
	line-height: 1.4;
}

.wire-order-item-actions {
	display: flex;
	gap: 4px;
}

.wire-order-item-actions button {
	width: 27px;
	height: 27px;
	border-radius: 7px;
	font-size: .65rem;
}

.wire-order-item-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 12px;
}

.wire-order-item-bottom > strong {
	font-size: .88rem;
	font-weight: 800;
}

.wire-order-qty {
	grid-template-columns: 27px 29px 27px;
	height: 30px;
	border-radius: 7px;
}

.wire-order-footer {
	padding: 18px 20px;
	border-top: 1px solid var(--wb-line);
	background: #fbfcfd;
}

.wire-order-sum {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.wire-order-sum span {
	color: var(--wb-muted);
	font-size: .72rem;
	font-weight: 700;
}

.wire-order-sum strong {
	font-size: 1.45rem;
	font-weight: 850;
	line-height: 1;
	letter-spacing: -.03em;
}

.wire-order-footer .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 9px;
	color: #fff;
	background: #171b20;
	font-size: .76rem;
	font-weight: 700;
}

.wire-order-footer .btn:disabled {
	color: #9ba5b1;
	background: #e3e7ec;
	opacity: 1;
}

.wire-order-notice {
	min-height: 16px;
	margin-top: 7px;
	color: #16824c;
	font-size: .66rem;
	font-weight: 650;
	text-align: center;
}

.wire-order-notice.is-error { color: #b91c1c; }

.wire-builder-page button:focus-visible,
.wire-builder-page a:focus-visible,
.wire-builder-page input:focus-visible,
.wire-builder-page select:focus-visible {
	outline: 3px solid rgba(23, 105, 245, .22);
	outline-offset: 2px;
}

@media (max-width: 1199.98px) {
	.wire-builder-layout { grid-template-columns: minmax(0, 1fr) 320px; }
	.wire-configurator-board { padding-right: 24px; padding-left: 24px; }
}

@media (max-width: 991.98px) {
	.wire-builder-layout { grid-template-columns: 1fr; }
	.wire-order-panel { position: static; }
	.wire-order-list { max-height: none; }
	.wire-configurator-board { min-height: 430px; }
}

@media (max-width: 767.98px) {
	.wire-builder-page .container {
		padding-right: 12px;
		padding-left: 12px;
	}

	.wire-builder-heading {
		align-items: flex-start;
		margin-bottom: 18px;
	}

	.wire-builder-heading h1 { font-size: 1.85rem; }
	.wire-builder-heading p { margin-top: 7px; font-size: .82rem; }

	.wire-builder-tool,
	.wire-order-panel { border-radius: 13px; }

	.wire-configurator-board {
		min-height: 0;
		padding: 24px 14px 22px;
	}

	.wire-section-control { display: block; text-align: center; }
	.wire-type-options {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		width: min(100%, 330px);
		margin-right: auto;
		margin-left: auto;
	}
	.wire-type-option { min-width: 0; padding: 0 7px; font-size: .68rem; }
	.wire-section-options {
		margin-right: 0;
		margin-left: 0;
	}

	.wire-section-control::after { height: 44px; }
	.wire-section-option { min-width: 48px; height: 37px; font-size: .68rem; }

	.wire-preview-stage {
		grid-template-columns: 52px minmax(45px, 1fr) 52px;
		width: calc(100% - 16px);
		margin-top: 43px;
	}

	.wire-preview-cable {
		height: max(8px, calc(var(--wire-thickness, 21px) * .72));
		max-height: 23px;
	}
	.wire-preview-end { width: 52px; height: 38px; }
	.wire-preview-end::after { width: 36px; height: 36px; }
	.wire-preview-end::before {
		width: 28px;
		height: clamp(14px, calc(var(--wire-thickness, 21px) * .72 + 6px), 28px);
	}
	.wire-preview-end--a span { left: 18px; }
	.wire-preview-end--b span { right: 18px; }
	.wire-preview-end.is-m6 span { width: 17px; height: 17px; border-width: 6px; }
	.wire-preview-end.is-m8 span { width: 20px; height: 20px; border-width: 5px; }
	.wire-preview-end.is-m10 span { width: 23px; height: 23px; border-width: 5px; }
	.wire-preview-end.is-mc4 { width: 59px; height: 29px; }
	.wire-preview-end.is-mc4::before { top: 50%; width: 14px; height: 17px; }
	.wire-preview-end.is-mc4::after { width: 13px; height: 22px; }
	.wire-preview-end--a.is-mc4::before { left: -10px; }
	.wire-preview-end--b.is-mc4::before { right: -10px; }
	.wire-preview-stage.has-no-tip-a .wire-preview-cable { margin-left: -52px; }
	.wire-preview-stage.has-no-tip-b .wire-preview-cable { margin-right: -52px; }

	.wire-on-cable-controls {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		width: 100%;
		margin-top: 42px;
	}

	.wire-tip-control { width: 116px; }
	.wire-tip-control--a { justify-self: start; }
	.wire-tip-control--b { justify-self: end; }
	.wire-tip-control--a::before { left: 26px; }
	.wire-tip-control--b::before { right: 26px; left: auto; }
	.wire-tip-control::before { height: 42px; }
	.wire-tip-trigger { grid-template-columns: minmax(0, 1fr) 13px; height: 39px; padding: 0 7px; font-size: .68rem; }
	.wire-tip-trigger > i:first-child { display: none; }
	.wire-tip-trigger > span { padding-left: 0; }
	.wire-tip-option { font-size: .7rem; }
	.wire-color-control { margin: 6px 5px 0; }
	.wire-color-options { gap: 5px; }
	.wire-color-option { width: 30px; height: 30px; }
	.wire-color-option > span { flex-basis: 22px; width: 22px; height: 22px; }

	.wire-length-control {
		grid-column: 1 / -1;
		max-width: none;
		margin: 0 0 4px;
	}
	.wire-length-heading { justify-content: center; }
	.wire-length-heading strong { display: inline; }
	.wire-length-row { grid-template-columns: minmax(100px, 1fr) 82px; gap: 10px; }
	.wire-length-row > small { display: none; }

	.wire-builder-total {
		grid-template-columns: minmax(72px, 1fr) 82px auto;
		justify-content: stretch;
		gap: 8px;
		padding: 12px 10px;
	}

	.wire-current-total { min-width: 0; }
	.wire-current-total strong { font-size: 1.08rem; }
	.wire-quantity { grid-template-columns: 25px 30px 25px; width: 82px; height: 40px; }
	.wire-add-variant { min-width: 0; min-height: 42px; padding: 8px 11px; }

	.wire-order-item { padding-right: 14px; padding-left: 14px; }
	.wire-order-heading,
	.wire-order-footer { padding-right: 16px; padding-left: 16px; }
}

@media (max-width: 420px) {
	.wire-builder-heading h1 { font-size: 1.65rem; }
	.wire-builder-heading p { max-width: 260px; }
	.wire-tip-control { width: 110px; }
	.wire-tip-trigger { font-size: .66rem; }
	.wire-tip-trigger.is-no-tip { font-size: .58rem; }
	.wire-add-variant { padding-right: 9px; padding-left: 9px; }
}

@media (prefers-reduced-motion: reduce) {
	.wire-builder-page *,
	.wire-builder-page *::before,
	.wire-builder-page *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
