.ncl-product-configurator {
	max-width: 920px;
}

.ncl-configurator-row {
	align-items: center;
	display: grid;
	gap: 8px 14px;
	grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
	margin-bottom: 8px;
}

.ncl-configurator-label {
	font-weight: 600;
}

.ncl-configurator-controls {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr);
}

.ncl-configurator-row-paired .ncl-configurator-controls {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ncl-configurator-row-paired .ncl-configurator-controls-single {
	grid-template-columns: minmax(0, 1fr);
}

.ncl-configurator-select {
	max-width: none;
	width: 100%;
}

.ncl-product-configurator-price {
	font-size: 1.25em;
	font-weight: 600;
	margin-top: 16px;
}

.ncl-product-options {
	container-type: inline-size;
	margin-top: 24px;
	width: 100%;
}

.ncl-product-options-title {
	font-size: 1.1em;
	margin: 0 0 10px;
}

.ncl-product-options-columns {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ncl-product-options-column {
	min-width: 0;
}

@container (max-width: 760px) {
	.ncl-product-options-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@container (max-width: 520px) {
	.ncl-product-options-columns {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ncl-product-option {
	align-items: center;
	background: #fff;
	border: 1px solid #e8e6e0;
	border-radius: 5px;
	cursor: pointer;
	display: grid;
	gap: 7px;
	grid-template-columns: 18px minmax(0, 1fr) auto;
	margin: 0 0 5px;
	min-height: 36px;
	padding: 6px 8px;
}

.ncl-product-option:last-child {
	margin-bottom: 0;
}

.ncl-product-option:hover {
	background: #faf9f5;
}

.ncl-product-option.is-selected {
	background: #fbf5e6;
	border-color: #dcc999;
}

.ncl-product-option.is-unavailable {
	background: #f7f7f7;
	color: #777;
	cursor: not-allowed;
}

.ncl-product-options .ncl-product-option-input {
	appearance: none;
	background: #fff;
	border: 1px solid #aaa;
	border-radius: 3px;
	box-shadow: none;
	cursor: pointer;
	height: 18px;
	margin: 0;
	min-width: 18px;
	position: relative;
	width: 18px;
}

.ncl-product-options .ncl-product-option-input:checked {
	background: #b68b35;
	border-color: #b68b35;
}

.ncl-product-options .ncl-product-option-input:checked::after {
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: '';
	height: 9px;
	left: 5px;
	position: absolute;
	top: 2px;
	transform: rotate(45deg);
	width: 5px;
}

.ncl-product-options .ncl-product-option-input:focus-visible {
	outline: 2px solid #7b5d22;
	outline-offset: 2px;
}

.ncl-product-option-copy {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 3px 6px;
	min-width: 0;
}

.ncl-product-option-label {
	cursor: pointer;
	line-height: 1.35;
	margin: 0;
	overflow-wrap: normal;
}

.ncl-product-option-price {
	font-size: .9em;
	font-variant-numeric: tabular-nums;
	justify-self: end;
	white-space: nowrap;
}

.ncl-product-option-notice {
	color: #9a302c;
	font-size: 12px;
	font-style: italic;
	grid-column: 1 / -1;
	line-height: 1.4;
	margin: 0;
}

.ncl-product-option-notice[hidden],
.ncl-product-option-status[hidden] {
	display: none;
}

.ncl-product-option-status {
	color: #9a302c;
	font-size: .75em;
	font-weight: 600;
	white-space: nowrap;
}

.ncl-option-info-button,
.ncl-option-info-link {
	align-items: center;
	background: #2271b1;
	border: 0;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-style: italic;
	height: 18px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	text-decoration: none;
	width: 18px;
}

.ncl-option-info-dialog {
	align-items: center;
	background: rgba(0, 0, 0, 0.72);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 30px;
	position: fixed;
	z-index: 999999;
}

.ncl-option-info-dialog[hidden] {
	display: none;
}

.ncl-option-info-dialog img {
	background: #fff;
	max-height: 85vh;
	max-width: min(900px, 90vw);
}

.ncl-option-info-close {
	background: #fff;
	border: 0;
	border-radius: 50%;
	font-size: 25px;
	height: 36px;
	position: absolute;
	right: 24px;
	top: 24px;
	width: 36px;
}

.ncl-option-info-button,
.ncl-option-info-link {
	align-items: center;
	border: 1px solid currentColor;
	border-radius: 50%;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	height: 18px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	text-decoration: none;
	width: 18px;
}

.ncl-option-info-dialog {
	background: rgba(0, 0, 0, .75);
	inset: 0;
	padding: 5vh 5vw;
	position: fixed;
	text-align: center;
	z-index: 100000;
}

.ncl-option-info-dialog img {
	background: #fff;
	max-height: 90vh;
	max-width: 90vw;
}

.ncl-option-info-close {
	font-size: 30px;
	position: absolute;
	right: 3vw;
	top: 2vh;
}

.ncl-cr-dialog {
	align-items: center;
	background: rgba(0, 0, 0, .72);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 16px;
	position: fixed;
	z-index: 100001;
}

.ncl-cr-dialog[hidden] {
	display: none;
}

.ncl-cr-panel {
	background: #fff;
	border: 8px solid #d79b2f;
	border-radius: 8px;
	box-sizing: border-box;
	color: #222;
	max-height: 92vh;
	max-width: 600px;
	overflow: auto;
	padding: 20px;
	width: 100%;
}

.ncl-cr-panel h3 {
	margin: 0 0 8px;
	text-align: center;
}

.ncl-cr-fields {
	display: grid;
	gap: 5px;
}

.ncl-cr-field {
	align-items: center;
	display: grid;
	gap: 5px;
	grid-template-columns: minmax(84px, 1fr) minmax(65px, 84px) auto auto minmax(65px, 84px) auto;
}

.ncl-cr-field input,
.ncl-cr-field select {
	box-sizing: border-box;
	margin: 0;
	min-width: 0;
	width: 100%;
}

.ncl-cr-field.is-invalid input,
.ncl-cr-field.is-invalid select {
	border-color: #b42318;
}

.ncl-cr-error {
	color: #b42318;
	margin: 8px 0;
}

.ncl-cr-preview {
	height: 252px;
	margin: 14px auto;
	position: relative;
	width: 252px;
}

.ncl-cr-preview img,
.ncl-cr-preview canvas {
	height: 252px;
	left: 0;
	position: absolute;
	top: 0;
	width: 252px;
}

.ncl-cr-preview canvas {
	z-index: 1;
}

.ncl-cr-actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.ncl-cr-overlay {
	left: 50%;
	max-width: none;
	position: absolute;
	transform: translateX(-50%);
	z-index: 119;
}

.ncl-cr-overlay[hidden] {
	display: none;
}

@media (max-width: 480px) {
	.ncl-cr-panel {
		padding: 12px;
	}

	.ncl-cr-field {
		grid-template-columns: minmax(0, 1fr) 64px auto auto 64px auto;
	}
}

.ncl-product-part-details {
	max-width: 920px;
}

.ncl-product-part-detail-row {
	display: grid;
	gap: 8px 14px;
	grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
	margin-bottom: 8px;
}

.ncl-product-part-detail-label,
.ncl-product-part-number {
	font-weight: 600;
}

.ncl-product-main-image {
	max-width: 100%;
	text-align: center;
}

.ncl-product-main-image-element {
	display: block;
	height: auto;
	margin: 0 auto;
	max-height: 345px;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.ncl-product-generated-image {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 1060px;
	width: 100%;
}

.ncl-generated-view {
	aspect-ratio: 518 / 471;
	justify-self: center;
	max-width: 518px;
	position: relative;
	width: 100%;
}

.ncl-generated-layer {
	display: block;
	height: auto;
	left: 50%;
	max-width: none;
	position: absolute;
	transform: translateX(-50%);
}

.ncl-generated-layer[hidden] {
	display: none;
}

.ncl-generated-dial {
	top: 16.35%;
}

.ncl-dial-3-single {
	width: 47.1%;
}

.ncl-dial-3-dual {
	top: 15.92%;
	width: 47.88%;
}

.ncl-dial-5-single {
	top: 17.24%;
	width: 47.1%;
}

.ncl-dial-5-dual {
	top: 16.77%;
	width: 66.41%;
}

.ncl-generated-body {
	top: 0;
	width: 77.03%;
}

.ncl-generated-fitting {
	bottom: 0;
	width: 69.5%;
}

.ncl-generated-captive-nut {
	bottom: 10%;
	width: 69.5%;
}

@media (max-width: 640px) {
	.ncl-product-option {
		min-height: 44px;
	}

	.ncl-product-options-columns {
		grid-template-columns: minmax(0, 1fr);
	}
	.ncl-configurator-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.ncl-product-part-detail-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.ncl-configurator-row-paired .ncl-configurator-controls {
		grid-template-columns: minmax(0, 1fr);
	}

	.ncl-product-options-columns {
		grid-template-columns: minmax(0, 1fr);
	}
}
