.csc-configurator {
	--csc-ink: #333333;
	--csc-muted: #696969;
	--csc-line: #e1e1e1;
	--csc-surface: #ffffff;
	--csc-soft: #f8f7f5;
	--csc-accent: #126cb5;
	--csc-accent-strong: #0d568f;
	--csc-primary: #008338;
	--csc-primary-strong: #006f31;
	--csc-coral: #ff6b55;
	--csc-gold: #c8941f;
	--csc-blue: #126cb5;
	color: var(--csc-ink);
	font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.csc-configurator * {
	box-sizing: border-box;
}

.csc-configurator .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.csc-configurator-notice {
	border: 1px solid #f2c94c;
	background: #fff8df;
	color: #604900;
	padding: 16px;
	border-radius: 8px;
}

.csc-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: 24px;
	align-items: start;
	margin: 24px auto;
	max-width: 1180px;
}

.csc-main {
	display: grid;
	gap: 18px;
}

.csc-header {
	border-bottom: 1px solid var(--csc-line);
	padding-bottom: 12px;
}

.csc-kicker {
	color: var(--csc-accent);
	font-size: 0.82rem;
	font-weight: 600;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.csc-header h2,
.csc-section h3,
.csc-summary h3 {
	letter-spacing: 0;
	line-height: 1.1;
	margin: 0;
}

.csc-header h2 {
	font-size: clamp(2rem, 4vw, 3.25rem);
}

.csc-section {
	background: var(--csc-surface);
	border: 1px solid var(--csc-line);
	border-radius: 8px;
	padding: 20px;
}

.csc-section-head {
	align-items: end;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 14px;
}

.csc-section-head h3 {
	font-size: 1.15rem;
}

.csc-section-head p {
	color: var(--csc-muted);
	font-size: 0.92rem;
	margin: 0;
	max-width: 420px;
}

.csc-shape-grid,
.csc-material-grid,
.csc-quantity-grid {
	display: grid;
	gap: 10px;
}

.csc-shape-grid {
	grid-template-columns: repeat(6, minmax(92px, 1fr));
}

.csc-material-grid {
	grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.csc-quantity-grid {
	grid-template-columns: repeat(4, minmax(132px, 1fr));
	margin-bottom: 12px;
}

.csc-icon-card,
.csc-material-card,
.csc-qty-button {
	border: 1px solid var(--csc-line);
	border-radius: 8px;
	cursor: pointer;
	display: grid;
	min-height: 72px;
	position: relative;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.csc-icon-card input,
.csc-material-card input,
.csc-qty-button input {
	opacity: 0;
	pointer-events: none;
	position: absolute;
}

.csc-icon-card {
	align-items: center;
	justify-items: center;
	padding: 12px 8px;
	text-align: center;
}

.csc-icon-card span:last-child,
.csc-material-name,
.csc-qty-count {
	font-size: 0.92rem;
	font-weight: 600;
}

.csc-shape-icon svg {
	fill: #f8fbfa;
	stroke: var(--csc-ink);
	stroke-width: 3;
}

.csc-icon-card.is-selected,
.csc-material-card.is-selected,
.csc-qty-button.is-selected {
	border-color: var(--csc-accent);
	box-shadow: none;
}

.csc-icon-card:hover,
.csc-material-card:hover,
.csc-qty-button:hover {
	transform: translateY(-1px);
}

.csc-size-row {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
}

.csc-sheet-note,
.csc-sheet-fit {
	align-items: center;
	background: var(--csc-soft);
	border: 1px solid var(--csc-line);
	border-radius: 8px;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	margin-bottom: 12px;
	padding: 12px 14px;
}

.csc-sheet-note span,
.csc-sheet-fit strong {
	font-weight: 600;
}

.csc-sheet-fit span {
	color: var(--csc-muted);
	font-size: 0.9rem;
	font-weight: 600;
}

.csc-custom-size {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr;
}

.csc-field {
	display: grid;
	gap: 6px;
}

.csc-field > span,
.csc-check span {
	color: var(--csc-muted);
	font-size: 0.88rem;
	font-weight: 600;
}

.csc-field input,
.csc-field select,
.csc-field textarea {
	background: #fff;
	border: 1px solid var(--csc-line);
	border-radius: 8px;
	color: var(--csc-ink);
	font: inherit;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.csc-field [aria-invalid="true"] {
	border-color: #c62828;
	box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.csc-field textarea {
	min-height: 112px;
	resize: vertical;
}

.csc-field-error {
	color: #a12020;
	font-size: 0.85rem;
	font-weight: 600;
	margin: 2px 0 0;
}

.csc-field input:focus,
.csc-field select:focus,
.csc-field textarea:focus {
	border-color: var(--csc-accent);
	box-shadow: 0 0 0 3px rgba(15, 138, 104, 0.16);
	outline: none;
}

.csc-material-card {
	grid-template-columns: 44px minmax(0, 1fr);
	padding: 12px;
}

.csc-material-swatch {
	align-self: center;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	grid-row: span 2;
	height: 42px;
	width: 34px;
}

.csc-material-vinyl .csc-material-swatch {
	background: #f7faf8;
}

.csc-material-matte .csc-material-swatch {
	background: #dfe6e0;
}

.csc-material-holographic .csc-material-swatch {
	background: linear-gradient(135deg, #8cf2ff, #f3a2ff 45%, #ffe77a);
}

.csc-material-clear .csc-material-swatch {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), #e8f7ff);
}

.csc-material-heavy-duty .csc-material-swatch {
	background: #232826;
}

.csc-material-reflective .csc-material-swatch {
	background: linear-gradient(135deg, #d5dee8, #ffffff, #94a5b6);
}

.csc-material-prismatic .csc-material-swatch {
	background: conic-gradient(from 20deg, #f85a4d, #f0cc42, #36c586, #4f8cff, #a769ff, #f85a4d);
}

.csc-material-glitter .csc-material-swatch,
.csc-material-gold-glitter .csc-material-swatch {
	background:
		radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
		radial-gradient(circle at 72% 58%, rgba(255, 255, 255, 0.75) 0 2px, transparent 3px),
		linear-gradient(135deg, #f77aa7, #a868ff);
}

.csc-material-chrome-mirror .csc-material-swatch {
	background: linear-gradient(135deg, #e9eef1, #6d7479 42%, #ffffff 60%, #aeb7bd);
}

.csc-material-gold-mirror .csc-material-swatch {
	background: linear-gradient(135deg, #fff0a6, #b98515 44%, #fff5c9 62%, #c8941f);
}

.csc-material-gold-brushed .csc-material-swatch {
	background: repeating-linear-gradient(90deg, #c8941f 0 4px, #e8c766 4px 8px);
}

.csc-material-price {
	color: var(--csc-muted);
	font-size: 0.82rem;
}

.csc-material-price strong {
	color: var(--csc-ink);
	font-weight: 600;
}

.csc-qty-button {
	align-content: center;
	gap: 3px;
	justify-content: stretch;
	min-height: 88px;
	padding: 10px;
	text-align: left;
}

.csc-qty-each,
.csc-qty-total {
	color: var(--csc-muted);
	font-size: 0.82rem;
	font-weight: 600;
}

.csc-qty-save {
	background: #f5ecb7;
	border-radius: 999px;
	color: #4d3b00;
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 600;
	justify-self: start;
	line-height: 1;
	padding: 4px 7px;
	text-transform: uppercase;
}

.csc-qty-save[hidden] {
	display: none;
}

.csc-custom-quantity {
	max-width: 260px;
}

.csc-upload {
	align-items: center;
	border: 1px dashed #aebbb5;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	gap: 12px;
	margin-bottom: 14px;
	padding: 16px;
}

.csc-upload input {
	clip: rect(0, 0, 0, 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.csc-upload-icon {
	align-items: center;
	background: var(--csc-soft);
	border-radius: 8px;
	color: var(--csc-accent);
	display: inline-flex;
	font-size: 1.5rem;
	font-weight: 600;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.csc-upload strong,
.csc-upload small {
	display: block;
}

.csc-upload small {
	color: var(--csc-muted);
	margin-top: 2px;
}

.csc-check {
	align-items: center;
	display: flex;
	gap: 10px;
	margin: 12px 0 16px;
}

.csc-check input {
	accent-color: var(--csc-accent);
	height: 18px;
	width: 18px;
}

.csc-summary {
	position: sticky;
	top: 24px;
}

.csc-summary-inner {
	background: #151718;
	border-radius: 8px;
	color: #fff;
	padding: 22px;
}

.csc-summary-label {
	color: #aad9c9;
	font-size: 0.82rem;
	font-weight: 600;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.csc-price-total {
	font-size: clamp(2.2rem, 5vw, 3.35rem);
}

.csc-price-each {
	color: #cad4d1;
	font-weight: 600;
	margin: 8px 0 20px;
}

.csc-summary-list {
	display: grid;
	gap: 10px;
	margin: 0 0 20px;
}

.csc-summary-list div {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	gap: 10px;
	grid-template-columns: 120px minmax(0, 1fr);
	padding-top: 10px;
}

.csc-summary-list dt {
	color: #95a4a0;
	font-size: 0.85rem;
}

.csc-summary-list dd {
	font-weight: 600;
	margin: 0;
	min-width: 0;
	overflow-wrap: anywhere;
}

.csc-form-message {
	background: rgba(255, 107, 85, 0.16);
	border: 1px solid rgba(255, 107, 85, 0.4);
	border-radius: 8px;
	color: #ffd9d2;
	display: none;
	font-size: 0.92rem;
	margin-bottom: 12px;
	padding: 10px;
}

.csc-form-message.is-visible {
	display: block;
}

.csc-submit {
	align-items: center;
	background: var(--csc-primary);
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-weight: 600;
	justify-content: center;
	min-height: 52px;
	padding: 12px 18px;
	width: 100%;
}

.csc-submit:hover,
.csc-submit:focus {
	background: var(--csc-primary-strong);
	outline: none;
}

.csc-layout-compact .csc-shell {
	gap: 18px;
	grid-template-columns: 1fr;
	margin: 18px 0 0;
	max-width: none;
}

.csc-layout-compact .csc-main {
	gap: 14px;
	min-width: 0;
	overflow-x: clip;
}

.csc-layout-compact .csc-header h2 {
	font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.csc-layout-compact .csc-section {
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
	padding: 16px;
}

.csc-layout-compact .csc-section-head {
	align-items: center;
	margin-bottom: 10px;
}

.csc-layout-compact .csc-section-head h3 {
	font-size: 1rem;
}

.csc-layout-compact .csc-shape-grid {
	grid-template-columns: repeat(3, minmax(92px, 1fr));
}

.csc-layout-compact .csc-icon-card {
	min-height: 66px;
}

.csc-layout-compact .csc-size-row,
.csc-layout-compact .csc-custom-size {
	grid-template-columns: 1fr;
}

.csc-layout-compact .csc-field-hidden {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.csc-layout-compact .csc-compact-size-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 100%;
	min-width: 0;
}

.csc-layout-compact .csc-size-pill {
	align-items: center;
	background: #fff;
	border: 2px solid #cfd6df;
	border-radius: 999px;
	color: #394252;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.94rem;
	font-weight: 600;
	justify-content: center;
	min-height: 42px;
	min-width: 88px;
	padding: 8px 16px;
	transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.csc-layout-compact .csc-size-pill:hover,
.csc-layout-compact .csc-size-pill:focus-visible {
	border-color: #8f9aaa;
	color: var(--csc-ink);
	transform: translateY(-1px);
}

.csc-layout-compact .csc-size-pill.is-selected {
	border-color: var(--csc-ink);
	box-shadow: none;
	color: var(--csc-ink);
}

.csc-layout-compact .csc-size-pill-custom {
	color: #9aa3b1;
	max-width: 100%;
	overflow: hidden;
	padding: 0;
}

.csc-layout-compact .csc-custom-size-text {
	appearance: none;
	background: transparent;
	background-color: transparent !important;
	border: 0;
	box-shadow: none !important;
	caret-color: var(--csc-accent);
	color: var(--csc-ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	height: 38px;
	min-width: 86px;
	outline: 0;
	padding: 0 14px;
	text-align: center;
	width: 112px;
	-webkit-appearance: none;
}

.csc-layout-compact .csc-custom-size-text:focus {
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none;
}

.csc-layout-compact .csc-custom-size-text:focus-visible {
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none;
}

.csc-layout-compact .csc-custom-size-text::placeholder {
	color: #9aa3b1;
	opacity: 1;
}

.csc-layout-compact .csc-custom-size-text[aria-invalid="true"]::placeholder {
	color: #a12020;
}

.csc-layout-compact .csc-custom-size {
	background: #f8faf9;
	border: 1px solid var(--csc-line);
	border-radius: 8px;
	margin-top: 12px;
	padding: 14px;
}

.csc-layout-compact .csc-custom-size[hidden] {
	display: none;
}

.csc-layout-compact .csc-custom-size-native {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.csc-layout-compact .csc-custom-size-native[hidden] {
	display: block;
}

.csc-layout-compact .csc-size-select,
.csc-layout-compact .csc-quantity-select {
	appearance: none;
	background:
		linear-gradient(45deg, transparent 50%, var(--csc-muted) 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
		linear-gradient(135deg, var(--csc-muted) 50%, transparent 50%) calc(100% - 13px) 50% / 7px 7px no-repeat,
		#fff;
	border: 2px solid #cfd6df;
	border-radius: 999px;
	font-weight: 600;
	min-height: 54px;
	padding: 12px 48px 12px 20px;
}

.csc-layout-compact .csc-material-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.csc-layout-compact .csc-material-card {
	gap: 8px;
	grid-template-columns: 38px minmax(0, 1fr);
	min-height: 76px;
	overflow: hidden;
	padding: 10px;
}

.csc-layout-compact .csc-material-name {
	font-size: 0.96rem;
	line-height: 1.18;
	overflow-wrap: anywhere;
}

.csc-layout-compact .csc-material-price {
	font-size: 0.8rem;
	line-height: 1.25;
}

.csc-layout-compact .csc-quantity-grid {
	grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.csc-layout-compact .csc-quantity-select-field {
	max-width: none;
	position: relative;
}

.csc-layout-compact .csc-quantity-select-field > span {
	color: var(--csc-ink);
	font-size: 1rem;
}

.csc-layout-compact .csc-quantity-select {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.csc-layout-compact .csc-quantity-list {
	display: grid;
	gap: 9px;
}

.csc-layout-compact .csc-quantity-row {
	align-items: center;
	background: #fbfcfb;
	border: 1px solid #d7ddd9;
	border-radius: 8px;
	color: var(--csc-ink);
	cursor: pointer;
	display: grid;
	font: inherit;
	grid-template-columns: minmax(112px, 1fr) minmax(82px, auto) minmax(94px, auto);
	gap: 14px;
	min-height: 50px;
	padding: 9px 14px;
	text-align: left;
	width: 100%;
}

.csc-layout-compact .csc-quantity-row:hover,
.csc-layout-compact .csc-quantity-row:focus-visible,
.csc-layout-compact .csc-quantity-row.is-selected {
	background: #f4f4f4;
	border-color: var(--csc-accent);
	box-shadow: none;
	outline: none;
}

.csc-layout-compact .csc-quantity-row-label {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
	white-space: nowrap;
}

.csc-layout-compact .csc-quantity-row-save {
	color: #078136;
	font-size: 0.76rem;
	font-weight: 700;
	justify-self: end;
	min-width: 74px;
	text-align: right;
	white-space: nowrap;
}

.csc-layout-compact .csc-quantity-select-field .csc-quantity-row-save {
	color: #078136 !important;
	font-size: 11px;
	line-height: 1;
}

.csc-layout-compact .csc-quantity-row-save[aria-hidden="true"] {
	visibility: hidden;
}

.csc-layout-compact .csc-quantity-row-total {
	font-size: 1rem;
	font-weight: 800;
	justify-self: end;
	min-width: 84px;
	text-align: right;
	white-space: nowrap;
}

.csc-layout-compact .csc-quantity-custom-row {
	align-items: center;
	background: #fff;
	border: 1px dashed #cfd8d3;
	border-radius: 8px;
	color: var(--csc-ink);
	display: grid;
	font: inherit;
	min-height: 58px;
	padding: 9px 14px;
	width: 100%;
}

.csc-layout-compact .csc-quantity-custom-row:hover,
.csc-layout-compact .csc-quantity-custom-row.is-selected {
	background: #f4f4f4;
	border-color: var(--csc-accent);
}

.csc-layout-compact .csc-quantity-custom-row label {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: max-content minmax(120px, 1fr);
	margin: 0;
}

.csc-layout-compact .csc-quantity-custom-row label span {
	font-size: 0.95rem;
	font-weight: 600;
	white-space: nowrap;
}

.csc-layout-compact .csc-quantity-custom-row input {
	background: #fff;
	border: 1px solid #cfd6df;
	border-radius: 8px;
	font: inherit;
	font-size: 16px;
	min-height: 42px;
	padding: 8px 10px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.csc-layout-compact .csc-quantity-custom-row input:focus {
	border-color: var(--csc-accent);
	box-shadow: 0 0 0 3px rgba(15, 138, 104, 0.12);
	outline: none;
}

.csc-layout-compact .csc-quantity-custom-row input[aria-invalid="true"] {
	border-color: #c62828;
	box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.csc-layout-compact .csc-custom-quantity[hidden] {
	display: none;
}

.csc-layout-compact .csc-summary {
	position: static;
}

.csc-layout-compact .csc-summary-inner {
	align-items: center;
	background: #151718;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr);
}

.csc-layout-compact .csc-price-total {
	font-size: clamp(2rem, 4vw, 2.7rem);
}

.csc-layout-compact .csc-price-each {
	margin: -4px 0 4px;
}

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

	.csc-summary {
		position: static;
	}

	.csc-shape-grid,
	.csc-quantity-grid {
		grid-template-columns: repeat(3, minmax(90px, 1fr));
	}

	.csc-material-grid {
		grid-template-columns: repeat(2, minmax(150px, 1fr));
	}

	.csc-layout-compact .csc-summary-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.csc-section {
		padding: 16px;
	}

	.csc-section-head {
		align-items: start;
		display: grid;
	}

	.csc-shape-grid,
	.csc-material-grid,
	.csc-quantity-grid,
	.csc-size-row,
	.csc-custom-size {
		grid-template-columns: 1fr 1fr;
	}

	.csc-material-card {
		grid-template-columns: 38px minmax(0, 1fr);
	}

	.csc-summary-list div {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.csc-layout-compact .csc-compact-size-grid {
		display: grid;
		gap: 8px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.csc-layout-compact .csc-size-pill {
		font-size: 0.9rem;
		min-height: 40px;
		min-width: 0;
		padding: 7px 10px;
		width: 100%;
	}

	.csc-layout-compact .csc-size-pill-custom {
		grid-column: 1 / -1;
	}

	.csc-layout-compact .csc-custom-size-text {
		font-size: 16px;
		height: 36px;
		width: 100%;
	}

	.csc-layout-compact .csc-material-grid {
		gap: 10px;
		grid-template-columns: 1fr;
	}

	.csc-layout-compact .csc-material-card {
		grid-template-columns: 54px minmax(0, 1fr);
		min-height: 78px;
		padding: 12px;
	}

	.csc-layout-compact .csc-material-card .csc-material-swatch {
		border-radius: 999px;
		height: 48px;
		width: 48px;
	}

	.csc-layout-compact .csc-material-name {
		font-size: 1rem;
	}

	.csc-layout-compact .csc-material-price {
		font-size: 0.86rem;
	}

	.csc-layout-compact .csc-quantity-row {
		grid-template-columns: minmax(72px, 1fr) minmax(56px, auto) minmax(72px, auto);
		gap: 8px;
		padding: 10px;
	}

	.csc-layout-compact .csc-quantity-row-save {
		font-size: 0.68rem;
		min-width: 56px;
	}

	.csc-layout-compact .csc-quantity-row-total {
		min-width: 72px;
	}

	.csc-layout-compact .csc-quantity-custom-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.csc-layout-compact .csc-quantity-custom-row label {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.csc-shape-grid,
	.csc-material-grid,
	.csc-quantity-grid,
	.csc-size-row,
	.csc-custom-size {
		grid-template-columns: 1fr;
	}

	.csc-header h2,
	.csc-price-total {
		font-size: 2rem;
	}

	.csc-layout-compact .csc-material-grid {
		grid-template-columns: 1fr;
	}

	.csc-layout-compact .csc-material-card {
		min-width: 0;
	}
}

/* LabelWorks premium theme overrides. */
.csc-configurator {
	--csc-ink: #333333;
	--csc-muted: #696969;
	--csc-line: #e1e1e1;
	--csc-surface: #ffffff;
	--csc-soft: #f8f7f5;
	--csc-accent: #126cb5;
	--csc-accent-strong: #0d568f;
	--csc-primary: #008338;
	--csc-primary-strong: #006f31;
	--csc-coral: #dc2626;
	--csc-gold: #f0b429;
	--csc-blue: #126cb5;
	font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.csc-shell {
	grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
	gap: clamp(22px, 3vw, 34px);
	margin: 0 auto;
	max-width: 1220px;
}

.csc-main {
	gap: 20px;
}

.csc-header,
.csc-section,
.csc-summary-inner {
	border-radius: 8px;
}

.csc-header {
	padding: 26px;
	border: 1px solid var(--csc-line);
	background:
		linear-gradient(135deg, rgba(18, 108, 181, 0.08), transparent 52%),
		#ffffff;
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.csc-kicker {
	color: var(--csc-accent);
	font-weight: 900;
	letter-spacing: 0.08em;
}

.csc-header h2,
.csc-section h3,
.csc-summary h3 {
	color: var(--csc-ink);
	font-family: "Rubik", ui-sans-serif, system-ui, sans-serif;
}

.csc-header h2 {
	font-size: clamp(2.15rem, 4.4vw, 4.25rem);
	line-height: 0.98;
}

.csc-section {
	border-color: var(--csc-line);
	padding: 24px;
	background: #ffffff;
	box-shadow: 0 16px 42px rgba(15, 23, 42, 0.055);
}

.csc-section-head {
	align-items: start;
	margin-bottom: 16px;
}

.csc-section-head h3 {
	font-size: 1.2rem;
}

.csc-section-head p {
	color: var(--csc-muted);
	line-height: 1.45;
}

.csc-icon-card,
.csc-material-card,
.csc-qty-button,
.csc-size-pill,
.csc-quantity-row,
.csc-upload {
	border-color: #cbd5e1;
	background: #ffffff;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.csc-icon-card:hover,
.csc-material-card:hover,
.csc-qty-button:hover,
.csc-size-pill:hover,
.csc-quantity-row:hover,
.csc-upload:hover {
	border-color: rgba(18, 108, 181, 0.48);
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
	transform: translateY(-1px);
}

.csc-icon-card:has(input:checked),
.csc-material-card:has(input:checked),
.csc-qty-button:has(input:checked),
.csc-size-pill.is-selected,
.csc-quantity-row.is-selected {
	border-color: var(--csc-accent);
	background: #f4f4f4;
	box-shadow: none;
}

.csc-shape-icon svg {
	fill: #f8fafc;
	stroke: var(--csc-ink);
}

.csc-material-swatch {
	border: 1px solid #cbd5e1;
	box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.42);
}

.csc-material-price,
.csc-qty-save,
.csc-quantity-row-save {
	color: var(--csc-accent);
	font-weight: 900;
}

.csc-size-row,
.csc-custom-size {
	gap: 12px;
}

.csc-configurator input[type="number"],
.csc-configurator input[type="text"],
.csc-configurator select,
.csc-configurator textarea {
	min-height: 46px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	color: var(--csc-ink);
	box-shadow: none;
	font: inherit;
}

.csc-configurator textarea {
	line-height: 1.55;
}

.csc-configurator input:focus,
.csc-configurator select:focus,
.csc-configurator textarea:focus {
	border-color: var(--csc-accent);
	box-shadow: 0 0 0 3px rgba(18, 108, 181, 0.14);
	outline: none;
}

.csc-upload {
	border-style: dashed;
	background: #f8f7f5;
}

.csc-upload-icon {
	background: #e7f2fb;
	color: var(--csc-accent-strong);
}

.csc-check {
	align-items: flex-start;
	padding: 14px;
	border: 1px solid var(--csc-line);
	border-radius: 8px;
	background: #f8f7f5;
}

.csc-check input {
	margin-top: 3px;
	accent-color: var(--csc-accent);
}

.csc-summary {
	top: 104px;
}

.csc-summary-inner {
	overflow: hidden;
	background:
		radial-gradient(circle at 90% 0%, rgba(18, 108, 181, 0.2), transparent 34%),
		#333333;
	box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
}

.csc-native-select {
	clip: rect(1px, 1px, 1px, 1px) !important;
	height: 1px !important;
	margin: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.csc-select-shell {
	position: relative;
	width: 100%;
	min-width: 0;
}

.csc-field .csc-select-shell,
.lw-proxy-field .csc-select-shell {
	grid-column: 2;
}

.csc-select-trigger {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 42px;
	padding: 9px 42px 9px 13px;
	border: 1px solid var(--csc-accent);
	border-radius: 0;
	background: #ffffff;
	color: #333333;
	cursor: pointer;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 900;
	line-height: 1.25;
	text-align: left;
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.csc-select-trigger::after {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 9px;
	height: 9px;
	border-top: 2px solid #333333;
	border-right: 2px solid #333333;
	content: "";
	transform: translateY(-65%) rotate(135deg);
	transition: transform 160ms ease;
}

.csc-select-shell.is-open .csc-select-trigger::after {
	transform: translateY(-35%) rotate(-45deg);
}

.csc-select-trigger:hover,
.csc-select-trigger:focus-visible,
.csc-select-shell.is-open .csc-select-trigger {
	border-color: var(--csc-accent);
	box-shadow: none;
	outline: none;
}

.csc-select-menu {
	position: absolute;
	z-index: 80;
	top: calc(100% - 1px);
	right: 0;
	left: 0;
	display: none;
	max-height: 265px;
	overflow-y: auto;
	border: 1px solid var(--csc-accent);
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(51, 51, 51, 0.18);
	scrollbar-color: #777777 #f7f7f7;
	scrollbar-width: thin;
}

.csc-select-shell.is-open .csc-select-menu {
	display: block;
}

.csc-select-option {
	display: block;
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	border: 0;
	background: #ffffff;
	color: #333333;
	cursor: pointer;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 900;
	line-height: 1.25;
	text-align: left;
}

.csc-select-option:hover,
.csc-select-option:focus-visible,
.csc-select-option.is-selected {
	background: #f4f4f4;
	color: #333333;
	outline: none;
}

.csc-select-custom {
	display: grid;
	gap: 8px;
	padding: 12px;
	border-top: 1px solid #e1e1e1;
	background: #ffffff;
}

.csc-select-custom.is-selected {
	background: #f4f4f4;
}

.csc-select-custom strong {
	color: #333333;
	font-size: 0.92rem;
	font-weight: 900;
	line-height: 1.2;
}

.csc-select-custom input {
	width: 100%;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid #cfd4dc;
	border-radius: 0;
	background: #ffffff;
	color: #333333;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 800;
}

.csc-select-custom input:focus {
	border-color: var(--csc-accent);
	box-shadow: 0 0 0 3px rgba(18, 108, 181, 0.16);
	outline: none;
}

.csc-select-custom input[aria-invalid="true"] {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.csc-select-custom-error {
	color: #b91c1c;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.35;
}

.csc-summary-label {
	color: #b8dcf4;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.csc-price-total {
	font-family: "Rubik", ui-sans-serif, system-ui, sans-serif;
	font-size: clamp(2.6rem, 5.4vw, 4rem);
	letter-spacing: 0;
}

.csc-price-each {
	color: #cbd5e1;
}

.csc-summary-list div {
	border-top-color: rgba(255, 255, 255, 0.16);
}

.csc-summary-list dt {
	color: #94a3b8;
}

.csc-submit {
	min-height: 56px;
	border-radius: 6px;
	background: var(--csc-primary);
	font-weight: 900;
	letter-spacing: 0;
	box-shadow: 0 14px 30px rgba(0, 131, 56, 0.22);
}

.csc-submit:hover,
.csc-submit:focus {
	background: var(--csc-primary-strong);
	box-shadow: 0 18px 36px rgba(0, 131, 56, 0.28);
}

.csc-form-message {
	border-color: rgba(220, 38, 38, 0.42);
	background: rgba(220, 38, 38, 0.14);
	color: #fee2e2;
}

@media (max-width: 920px) {
	.csc-shell {
		grid-template-columns: 1fr;
	}

	.csc-summary {
		position: static;
	}
}

@media (max-width: 640px) {
	.csc-header,
	.csc-section,
	.csc-summary-inner {
		padding: 18px;
	}

	.csc-header h2 {
		font-size: 2.2rem;
	}
}

/* Product-page compact overrides for the LabelWorks sheet-label layout. */
.lw-config-card .csc-layout-compact .csc-quantity-select {
	position: static;
	width: 100%;
	height: auto;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

.lw-config-card .csc-section[aria-labelledby$="-size"] > .csc-section-head,
.lw-config-card .csc-section[aria-labelledby$="-quantity"] > .csc-section-head {
	display: none;
}

.lw-config-card .csc-layout-compact .csc-summary-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 12px;
	align-items: baseline;
	padding: 6px 0 0;
	background: #ffffff;
	color: #333333;
	box-shadow: none;
}

.lw-config-card .csc-layout-compact .csc-summary-label {
	margin: 0;
	color: #4a4a4a;
	font-size: 1rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: none;
}

.lw-config-card .csc-layout-compact .csc-price-total {
	margin: 0;
	color: #008338;
	font-size: 1.18rem;
	text-align: right;
}

.lw-config-card .csc-layout-compact .csc-price-each {
	grid-column: 2;
	margin: 0 0 14px;
	color: #555555;
	font-size: 0.9rem;
	font-weight: 700;
	text-align: right;
}

.lw-config-card .csc-layout-compact .csc-submit {
	grid-column: 1 / -1;
	width: 100%;
	min-height: 60px;
	border-radius: 0;
	background: #008338;
	color: #ffffff;
	font-weight: 900;
	text-transform: uppercase;
	box-shadow: none;
}

.lw-config-card .csc-layout-compact .csc-submit:hover,
.lw-config-card .csc-layout-compact .csc-submit:focus {
	background: #006f31;
	box-shadow: none;
	transform: none;
}

@media (max-width: 560px) {
	.lw-config-card .csc-layout-compact .csc-summary-inner {
		grid-template-columns: 1fr;
	}

	.lw-config-card .csc-layout-compact .csc-price-total,
	.lw-config-card .csc-layout-compact .csc-price-each {
		grid-column: auto;
		text-align: left;
	}
}
