.csc-configurator {
	--csc-ink: #151718;
	--csc-muted: #6c625a;
	--csc-line: #eadfd2;
	--csc-surface: #ffffff;
	--csc-soft: #fff7ed;
	--csc-accent: #ff6a00;
	--csc-accent-strong: #c64200;
	--csc-coral: #ff4d00;
	--csc-gold: #ffcc00;
	--csc-blue: #3d7eff;
	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-shape-icon {
	align-items: center;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	width: 34px;
}

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

.csc-shape-icon svg {
	fill: #fffdf8;
	height: 22px;
	stroke: var(--csc-ink);
	stroke-width: 2.45;
	width: 30px;
}

.csc-icon-card.is-selected,
.csc-material-card.is-selected,
.csc-qty-button.is-selected {
	border-color: var(--csc-accent);
	box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.16);
}

.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(255, 106, 0, 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: #fffdf8;
}

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

.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: #e8f8ef;
	border-radius: 999px;
	color: #087a32;
	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 #d7c8bc;
	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: #ffcc00;
	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-stack {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: center;
	line-height: 1;
}

.csc-price-stack .csc-price-total {
	margin: 0;
}

.csc-price-total.is-price-updating {
	animation: csc-price-lift 260ms ease-out;
}

.csc-price-total.is-price-updating::after {
	content: none;
	display: none;
}

.csc-price-original.is-price-updating {
	animation: csc-price-fade 260ms ease-out;
}

@keyframes csc-price-lift {
	0% {
		filter: drop-shadow(0 0 0 rgba(255, 102, 0, 0));
		transform: translateY(0) scale(1);
	}
	42% {
		filter: drop-shadow(0 8px 14px rgba(255, 102, 0, 0.22));
		transform: translateY(-2px) scale(1.035);
	}
	100% {
		filter: drop-shadow(0 0 0 rgba(255, 102, 0, 0));
		transform: translateY(0) scale(1);
	}
}

@keyframes csc-price-fade {
	0% {
		opacity: 0.55;
		transform: translateY(1px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes csc-price-spin {
	to {
		transform: rotate(360deg);
	}
}

.csc-price-original {
	color: #e00000;
	font-size: clamp(1.2rem, 2.7vw, 1.75rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	text-decoration-thickness: 2px;
	text-decoration-color: currentColor;
}

.csc-price-original[hidden] {
	display: none !important;
}

.csc-configurator.is-submitting .csc-submit {
	cursor: wait;
	opacity: 0.72;
}

@media (prefers-reduced-motion: reduce) {
	.csc-price-total.is-price-updating,
	.csc-price-original.is-price-updating {
		animation: none;
	}

	.csc-price-total.is-price-updating::after {
		display: none;
	}
}

.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: linear-gradient(180deg, #fff8f2 0%, #fff1e7 100%);
	border: 1px solid rgba(255, 106, 0, 0.28);
	border-radius: 8px;
	color: #8a2d00;
	display: none;
	font-size: 0.92rem;
	margin-bottom: 12px;
	padding: 12px 14px 12px 42px;
	position: relative;
}

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

.csc-form-message.is-visible::before {
	color: var(--csc-accent-strong);
	content: "!";
	font-size: 0.82rem;
	font-weight: 800;
	left: 15px;
	line-height: 1;
	position: absolute;
	top: 14px;
}

.csc-submit {
	align-items: center;
	background-color: #151718;
	background-image: linear-gradient(115deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0.18) 42%, rgba(255, 255, 255, 0) 58%);
	background-position: 160% 50%;
	background-repeat: no-repeat;
	background-size: 220% 100%;
	border: 1px solid #151718;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-weight: 600;
	justify-content: center;
	min-height: 52px;
	padding: 12px 18px;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-position 320ms ease;
	width: 100%;
}

.csc-submit:hover,
.csc-submit:focus {
	background: var(--csc-accent-strong);
	background-position: 0 50%;
	outline: none;
	transform: translateY(-1px);
}

.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: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 100%;
	min-width: 0;
}

.csc-layout-compact .csc-size-pill {
	align-items: center;
	background: #fff;
	border: 1px solid var(--csc-line);
	border-radius: 8px;
	color: var(--csc-ink);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.94rem;
	font-weight: 600;
	justify-content: center;
	min-height: 50px;
	min-width: 0;
	padding: 10px 12px;
	text-align: center;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
	width: 100%;
}

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

.csc-layout-compact .csc-size-pill.is-selected {
	background: var(--csc-soft);
	border-color: var(--csc-accent);
	box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.16);
	color: var(--csc-ink);
}

.csc-layout-compact .csc-size-pill-custom {
	background: #fff;
	border: 1px solid var(--csc-line);
	border-radius: 8px;
	color: #8b8078;
	grid-column: span 2;
	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: #8b8078;
	opacity: 1;
}

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

.csc-layout-compact .csc-custom-size {
	background: #fffdf8;
	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 #eadfd2;
	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: #fffdf8;
	border: 1px solid #eadfd2;
	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: #fff4e8;
	border-color: var(--csc-accent);
	box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.14);
	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: #087a32;
	font-size: 0.75rem;
	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: #087a32 !important;
	font-size: 12px;
	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 #d7c8bc;
	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: #fff4e8;
	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 #d7c8bc;
	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(255, 106, 0, 0.14);
	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: #fff;
	border: 1px solid var(--csc-line);
	border-radius: 8px;
	color: var(--csc-ink);
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr);
	padding: 22px;
	text-align: center;
}

.csc-layout-compact .csc-price-total {
	font-size: clamp(2.55rem, 5vw, 3.35rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
}

.csc-layout-compact .csc-price-each {
	display: none;
}

.csc-layout-compact.is-upload-step .csc-summary-inner {
	padding: 0;
}

.csc-layout-compact.is-upload-step .csc-summary-inner > .csc-summary-label,
.csc-layout-compact.is-upload-step .csc-summary-inner > .csc-price-stack,
.csc-layout-compact.is-upload-step .csc-summary-inner > .csc-price-total,
.csc-layout-compact.is-upload-step .csc-summary-inner > .csc-price-each {
	display: none;
}

.csc-layout-compact .csc-form-message {
	background: linear-gradient(180deg, #fffaf5 0%, #fff1e6 100%);
	border-color: rgba(255, 106, 0, 0.28);
	color: #8a2d00;
	text-align: left;
}

.csc-artwork-message {
	margin: 0 auto;
	max-width: 420px;
	width: 100%;
}

.csc-layout-compact .csc-summary-label {
	color: var(--csc-ink);
	font-size: 1.1rem;
	font-weight: 500;
	margin: 0;
	text-transform: none;
}

.csc-upload-design-button {
	align-items: center;
	background-color: var(--csc-accent);
	background-image: linear-gradient(115deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0.22) 42%, rgba(255, 255, 255, 0) 58%);
	background-position: 160% 50%;
	background-repeat: no-repeat;
	background-size: 220% 100%;
	border: 1px solid var(--csc-accent);
	border-radius: 8px;
	box-shadow: 0 10px 22px rgba(198, 66, 0, 0.14);
	color: #111;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0.18em;
	min-height: 54px;
	padding: 14px 18px;
	text-transform: uppercase;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-position 320ms ease;
	width: 100%;
}

.csc-upload-design-button:hover,
.csc-upload-design-button:focus-visible {
	background-color: #ff7b16;
	background-position: 0 50%;
	border-color: var(--csc-accent-strong);
	box-shadow: 0 14px 28px rgba(198, 66, 0, 0.18);
	outline: none;
	transform: translateY(-1px);
}

.csc-upload-design-button[hidden],
.csc-mobile-action-button[hidden],
.csc-summary-list[hidden],
.csc-main[hidden] {
	display: none !important;
}

.csc-mobile-action-bar {
	display: none;
}

.csc-upload-step {
	display: grid;
	gap: 18px;
	padding: 22px;
	text-align: left;
}

.csc-upload-step[hidden] {
	display: none;
}

.csc-upload-step-head {
	align-items: start;
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

.csc-upload-step-head p {
	font-size: 1rem;
	line-height: 1.35;
	margin: 0 0 7px;
}

.csc-upload-step-head strong {
	font-weight: 800;
}

.csc-upload-step-price {
	flex: 0 0 auto;
	font-size: clamp(1.8rem, 4vw, 2.4rem) !important;
	white-space: nowrap;
}

.csc-upload-box {
	background: #fffdf8;
	border: 1px solid #f0c477;
	border-radius: 8px;
	display: grid;
	gap: 14px;
	padding: 22px;
	text-align: center;
}

.csc-upload-box h3 {
	font-size: clamp(1.45rem, 3vw, 1.85rem);
	margin: 0;
}

.csc-upload-box p {
	margin: 0;
}

.csc-upload-large {
	align-items: center;
	background: #fffdf8;
	border-style: solid;
	border-color: #d7c8bc;
	display: inline-flex;
	gap: 16px;
	justify-content: center;
	margin: 10px auto 0;
	max-width: 420px;
	min-height: 88px;
	padding: 18px 20px;
	text-align: left;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	width: 100%;
}

.csc-upload-large .csc-upload-icon {
	background: var(--csc-accent);
	color: #fff;
	flex: 0 0 auto;
	font-size: 2rem;
	font-weight: 500;
	height: 52px;
	line-height: 1;
	width: 52px;
}

.csc-upload-large strong {
	color: var(--csc-ink);
	font-size: 1rem;
	font-weight: 800;
}

.csc-upload-large small {
	color: var(--csc-muted);
	font-size: 0.86rem;
	line-height: 1.35;
	margin-top: 3px;
}

.csc-upload-large:hover,
.csc-upload-large:focus-within {
	background: #fff7ed;
	border-color: var(--csc-accent);
	box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.14);
	transform: translateY(-1px);
}

.csc-file-preview {
	align-items: center;
	background: #fff7ed;
	border: 1px solid rgba(255, 106, 0, 0.24);
	border-radius: 8px;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin: -2px auto 4px;
	max-width: 360px;
	min-width: 0;
	padding: 10px 12px;
	text-align: left;
	width: min(100%, 360px);
}

.csc-file-preview[hidden],
.csc-proof-row[hidden],
.csc-instructions-row[hidden] {
	display: none !important;
}

.csc-file-name {
	color: var(--csc-ink);
	flex: 1 1 auto;
	font-size: 0.88rem;
	font-weight: 700;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.csc-remove-file {
	background-color: #fff;
	background-image: linear-gradient(115deg, rgba(255, 255, 255, 0) 22%, rgba(255, 106, 0, 0.09) 44%, rgba(255, 255, 255, 0) 60%);
	background-position: 160% 50%;
	background-repeat: no-repeat;
	background-size: 220% 100%;
	border: 1px solid var(--csc-line);
	border-radius: 999px;
	color: var(--csc-accent-strong);
	cursor: pointer;
	flex: 0 0 auto;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	padding: 6px 10px;
	transition: border-color 160ms ease, box-shadow 160ms ease, background-position 280ms ease, transform 160ms ease;
}

.csc-remove-file:hover,
.csc-remove-file:focus-visible {
	border-color: var(--csc-accent);
	background-position: 0 50%;
	box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.14);
	outline: none;
	transform: translateY(-1px);
}

.csc-upload-divider {
	align-items: center;
	color: var(--csc-ink);
	display: grid;
	font-size: 1.25rem;
	font-weight: 800;
	gap: 14px;
	grid-template-columns: 1fr auto 1fr;
	margin: 4px 0;
}

.csc-upload-divider::before,
.csc-upload-divider::after {
	background: var(--csc-line);
	content: "";
	display: block;
	height: 1px;
}

.csc-upload-box .csc-check {
	justify-content: start;
	margin: 2px 0;
	text-align: left;
}

.csc-upload-box .csc-field {
	text-align: left;
}

.csc-upload-box .csc-submit {
	background: #151718;
	border-radius: 0;
	letter-spacing: 0.16em;
	margin-top: 4px;
	text-transform: uppercase;
}

.csc-back-editor {
	background: transparent;
	border: 0;
	color: var(--csc-ink);
	cursor: pointer;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	justify-self: center;
	padding: 8px 10px;
}

.csc-back-editor::before {
	content: "\2190 ";
}

.csc-back-editor:hover,
.csc-back-editor:focus-visible {
	color: var(--csc-accent-strong);
	outline: none;
}

@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;
	}

	.csc-layout-compact.has-floating-summary:not(.is-upload-step) {
		padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
	}

	.csc-mobile-action-bar {
		align-items: center;
		background: rgba(255, 253, 248, 0.97);
		border-top: 1px solid var(--csc-line);
		bottom: 0;
		box-shadow: 0 -14px 34px rgba(17, 17, 17, 0.12);
		display: grid;
		gap: 14px;
		grid-template-columns: minmax(0, 1fr) minmax(144px, 0.74fr);
		left: 0;
		opacity: 0;
		padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px));
		pointer-events: none;
		position: fixed;
		right: 0;
		top: auto;
		transform: translateY(105%);
		transition: opacity 180ms ease, transform 180ms ease;
		z-index: 80;
	}

	.csc-layout-compact.has-floating-summary:not(.is-upload-step) .csc-mobile-action-bar {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.csc-mobile-action-bar > div {
		display: grid;
		gap: 4px;
		justify-self: stretch;
		margin: 0;
		min-width: 0;
	}

	.csc-mobile-action-bar span {
		color: var(--csc-muted);
		font-size: 0.82rem;
		font-weight: 800;
		line-height: 1.1;
	}

	.csc-mobile-action-bar .csc-price-total {
		color: var(--csc-ink);
		flex: 0 0 auto;
		font-size: 1.45rem;
		font-variant-numeric: tabular-nums;
		font-weight: 800;
		line-height: 1;
		white-space: nowrap;
	}

	.csc-mobile-price-row {
		align-items: baseline;
		display: flex;
		flex-wrap: nowrap;
		gap: 6px;
		white-space: nowrap;
	}

	.csc-mobile-action-bar .csc-price-original {
		flex: 0 0 auto;
		font-size: 0.96rem;
		font-variant-numeric: tabular-nums;
		white-space: nowrap;
	}

	.csc-mobile-action-button {
		align-items: center;
		background: var(--csc-accent);
		border: 1px solid var(--csc-accent);
		border-radius: 8px;
		box-shadow: 0 10px 22px rgba(198, 66, 0, 0.16);
		color: #111;
		cursor: pointer;
		display: inline-flex;
		font: inherit;
		font-size: 0.78rem;
		font-weight: 800;
		justify-content: center;
		letter-spacing: 0.14em;
		min-height: 52px;
		justify-self: stretch;
		padding: 13px 14px;
		text-transform: uppercase;
		transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	}

	.csc-mobile-action-button:hover,
	.csc-mobile-action-button:focus-visible {
		background: #ff7b16;
		border-color: var(--csc-accent-strong);
		box-shadow: 0 12px 24px rgba(198, 66, 0, 0.2);
		outline: none;
	}
}

@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: 46px;
		min-width: 0;
		padding: 8px 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.72rem;
		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;
	}

	.csc-upload-step {
		padding: 16px;
	}

	.csc-upload-step-head {
		display: grid;
		gap: 10px;
	}

	.csc-upload-step-price {
		justify-self: start;
	}

	.csc-upload-box {
		padding: 16px;
	}

	.csc-upload-design-button {
		letter-spacing: 0.12em;
	}
}

@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;
	}
}
