/**
 * Product Customizer — frontend styles.
 *
 * @package DopestrCustomizer
 */

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

/* Reset inside customizer — isolate from theme/Bricks */
.pc-customizer,
.pc-customizer *,
.pc-customizer *::before,
.pc-customizer *::after {
	box-sizing: border-box;
}

.pc-customizer button {
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
	line-height: 1;
}

.pc-customizer__text-controls[hidden] {
	display: none !important;
}

.pc-customizer {
	--pc-accent: #00693b;
	--pc-border: #e5e7eb;
	--pc-bg: #ffffff;
	--pc-surface: #f3f4f6;
	--pc-text: #111827;
	--pc-muted: #6b7280;
	--pc-radius: 12px;
	font-family: Manrope, Inter, system-ui, sans-serif;
	color: var(--pc-text);
	line-height: 1.4;
}

body.pc-customizer-open {
	overflow: hidden;
}

/* Launcher */
.pc-customizer__launcher {
	margin: 1rem 0;
}

.pc-customizer__open-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--pc-accent);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.8rem 1.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: opacity 0.15s;
}

.pc-customizer__open-btn:hover {
	opacity: 0.92;
}

.pc-customizer.is-open .pc-customizer__launcher {
	display: none;
}

/* Modal overlay */
.pc-customizer__editor {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	margin: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: hidden;
}

.pc-customizer__editor[hidden] {
	display: none !important;
}

.pc-customizer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.45);
}

.pc-customizer__shell {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(1480px, 100%);
	height: min(94vh, 900px);
	max-height: 94vh;
	background: var(--pc-bg);
	border-radius: var(--pc-radius);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

/* Header */
.pc-customizer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.875rem 1.25rem;
	border-bottom: 1px solid var(--pc-border);
	flex-shrink: 0;
}

.pc-customizer__header-left {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	min-width: 0;
}

.pc-customizer__title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
}

.pc-customizer__views {
	display: inline-flex;
	background: var(--pc-surface);
	border-radius: 8px;
	padding: 3px;
	gap: 2px;
}

.pc-customizer__view-btn {
	border: none;
	background: transparent;
	padding: 0.45rem 0.9rem;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	font-family: inherit;
	color: var(--pc-muted);
	cursor: pointer;
}

.pc-customizer__view-btn.is-active {
	background: var(--pc-bg);
	color: var(--pc-text);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.pc-customizer__header-right {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.pc-customizer__zoom {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	background: var(--pc-surface);
	border-radius: 8px;
	padding: 0.2rem;
}

.pc-customizer__zoom-btn {
	width: 28px;
	height: 28px;
	border: 1px solid var(--pc-border);
	background: var(--pc-bg);
	border-radius: 6px;
	font-size: 0.9375rem;
	font-family: inherit;
	font-weight: 600;
	color: var(--pc-text);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
}

.pc-customizer__zoom-btn:hover {
	background: var(--pc-surface);
}

.pc-customizer__zoom-label {
	font-size: 0.8125rem;
	color: var(--pc-muted);
	min-width: 2.75rem;
	text-align: center;
	font-weight: 500;
}

.pc-customizer__close-btn {
	border: 1px solid var(--pc-border);
	background: var(--pc-bg);
	border-radius: 8px;
	padding: 0.4rem 0.75rem;
	font-size: 0.8125rem;
	font-family: inherit;
	cursor: pointer;
}

/* Body — Printful-style: sidebar left, canvas right */
.pc-customizer__body {
	display: grid;
	grid-template-columns: 380px 1fr;
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.pc-customizer__canvas-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 0;
	background: #e8eaed;
	overflow: hidden;
}

.pc-customizer__canvas-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 0.75rem 1.25rem;
	background: var(--pc-bg);
	border-bottom: 1px solid var(--pc-border);
	flex-shrink: 0;
}

.pc-customizer__safe-label {
	font-size: 0.8125rem;
	color: var(--pc-muted);
	font-weight: 500;
	margin-left: auto;
}

.pc-customizer__mode-toggle {
	display: inline-flex;
	background: var(--pc-surface);
	border-radius: 8px;
	padding: 3px;
	gap: 2px;
}

.pc-customizer__mode-btn {
	border: none;
	background: transparent;
	padding: 0.4rem 0.85rem;
	border-radius: 6px;
	font-size: 0.8125rem;
	font-weight: 600;
	font-family: inherit;
	color: var(--pc-muted);
	cursor: pointer;
}

.pc-customizer__mode-btn.is-active {
	background: var(--pc-bg);
	color: var(--pc-text);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.pc-customizer__mode-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.pc-customizer__delete-selected {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	border: 1px solid #fca5a5;
	background: #fef2f2;
	color: #b91c1c;
	border-radius: 8px;
	padding: 0.4rem 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	margin-left: auto;
}

.pc-customizer__delete-selected[hidden] {
	display: none !important;
}

.pc-customizer__delete-selected:hover {
	background: #fee2e2;
}

.pc-customizer__lifestyle {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: #e8eaed;
	overflow: hidden;
}

.pc-customizer__lifestyle[hidden] {
	display: none !important;
}

.pc-customizer__lifestyle-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.pc-customizer__lifestyle-art {
	position: absolute;
	object-fit: fill;
	pointer-events: none;
	display: none;
}

.pc-customizer__lifestyle-empty {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 1.5rem;
	text-align: center;
	font-size: 0.875rem;
	color: var(--pc-muted);
	background: rgba(255, 255, 255, 0.85);
}

.pc-customizer__lifestyle.is-empty .pc-customizer__lifestyle-empty {
	display: flex;
}

.pc-customizer__lifestyle.is-empty .pc-customizer__lifestyle-bg,
.pc-customizer__lifestyle.is-empty .pc-customizer__lifestyle-art {
	display: none !important;
}

.pc-customizer__product-tips {
	margin: 1rem 0 0;
	padding: 0 0 0 1.1rem;
	font-size: 0.875rem;
	color: var(--pc-muted);
	line-height: 1.55;
}

.pc-customizer__product-tips li {
	margin-bottom: 0.4rem;
}

.pc-customizer__canvas-label {
	display: none;
}

.pc-customizer__stage-outer {
	position: relative;
	width: 100%;
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.pc-customizer__stage-frame {
	position: relative;
	margin: auto;
	overflow: hidden;
	border-radius: var(--pc-radius);
	/* Width/height are set precisely by JS so the shirt image and the Konva
	   stage occupy the exact same box. */
}

.pc-customizer__mockup-fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
	z-index: 0;
	transition: opacity 0.2s;
}

.pc-customizer__stage {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: transparent;
}

.pc-customizer__stage .pc-customizer__error {
	padding: 1rem;
	text-align: center;
	color: #b91c1c;
	font-size: 0.875rem;
}

.pc-customizer__imprint-badge {
	position: absolute;
	top: 2rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--pc-accent);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	pointer-events: none;
}

/* Sidebar — icon rail + panel */
.pc-customizer__sidebar {
	display: grid;
	grid-template-columns: 84px 1fr;
	border-right: 1px solid var(--pc-border);
	min-height: 0;
	overflow: hidden;
	background: var(--pc-bg);
}

.pc-customizer__nav-rail {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	border-right: 1px solid var(--pc-border);
	background: #fafafa;
	padding: 0.5rem 0;
	overflow-y: auto;
	flex-shrink: 0;
}

.pc-customizer__nav-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	border: none;
	background: transparent;
	padding: 0.75rem 0.35rem;
	font-size: 0.6875rem;
	font-weight: 600;
	font-family: inherit;
	color: var(--pc-muted);
	cursor: pointer;
	position: relative;
	min-height: 64px;
}

.pc-customizer__nav-btn svg {
	width: 22px;
	height: 22px;
	opacity: 0.75;
}

.pc-customizer__nav-btn.is-active {
	background: var(--pc-bg);
	color: var(--pc-text);
	box-shadow: inset 3px 0 0 var(--pc-accent);
}

.pc-customizer__nav-btn.is-active svg {
	opacity: 1;
	color: var(--pc-accent);
}

.pc-customizer__nav-count {
	position: absolute;
	top: 6px;
	right: 8px;
	min-width: 1rem;
	height: 1rem;
	padding: 0 0.2rem;
	font-size: 0.5625rem;
	font-weight: 700;
	background: var(--pc-accent);
	color: #fff;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pc-customizer__panel-title {
	margin: 0 0 0.75rem;
	font-size: 1.0625rem;
	font-weight: 700;
}

.pc-customizer__panel-desc {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
}

.pc-customizer__section-label {
	margin: 1rem 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--pc-muted);
}

.pc-customizer__presets {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-top: 0.75rem;
}

.pc-customizer__preset-btn {
	border: 1px solid var(--pc-border);
	background: var(--pc-bg);
	border-radius: 8px;
	padding: 0.75rem 0.85rem;
	text-align: center;
	cursor: pointer;
	font-family: inherit;
	transition: border-color 0.15s, background 0.15s;
	min-height: 44px;
}

.pc-customizer__preset-btn:hover {
	border-color: var(--pc-accent);
}

.pc-customizer__preset-preview {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pc-customizer__clipart-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
}

.pc-customizer__clipart-item {
	border: 1px solid var(--pc-border);
	background: #fff;
	border-radius: 8px;
	padding: 0.5rem;
	cursor: pointer;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.15s, transform 0.12s;
}

.pc-customizer__clipart-item:hover {
	border-color: var(--pc-accent);
	transform: scale(1.03);
}

.pc-customizer__clipart-item img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.pc-customizer__fill-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.pc-customizer__fill-swatch {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 8px;
	border: 2px solid rgba(0, 0, 0, 0.08);
	background: var(--swatch);
	cursor: pointer;
	padding: 0;
	transition: transform 0.12s, box-shadow 0.12s;
}

.pc-customizer__fill-swatch:hover {
	transform: scale(1.06);
}

.pc-customizer__fill-swatch.is-active {
	border-color: var(--pc-text);
	box-shadow: 0 0 0 2px #fff inset, 0 0 0 1px var(--pc-text);
}

.pc-customizer__fill-custom {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 8px;
	border: 2px dashed var(--pc-border);
	background: conic-gradient(
		#ef4444, #f59e0b, #eab308, #22c55e,
		#06b6d4, #3b82f6, #8b5cf6, #ec4899, #ef4444
	);
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.12s;
}

.pc-customizer__fill-custom:hover {
	transform: scale(1.06);
}

.pc-customizer__fill-custom .pc-customizer__color-picker {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	border: none;
	padding: 0;
}

.pc-customizer__fill-custom-icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
	pointer-events: none;
}

.pc-customizer__sidebar .pc-customizer__panels {
	border-left: none;
}

.pc-customizer__tabs {
	display: none;
}

.pc-customizer__panels {
	flex: 1;
	overflow-y: auto;
	min-height: 0;
}

.pc-customizer__panel {
	display: none;
	padding: 1rem;
}

.pc-customizer__panel.is-active {
	display: block;
}

.pc-customizer__add-text {
	width: 100%;
	background: var(--pc-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 0.7rem 0.85rem;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
}

.pc-customizer__text-controls {
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.pc-customizer__field {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--pc-muted);
}

.pc-customizer__field input,
.pc-customizer__field select {
	width: 100%;
	padding: 0.45rem 0.6rem;
	border: 1px solid var(--pc-border);
	border-radius: 8px;
	font-size: 0.875rem;
	font-family: inherit;
	color: var(--pc-text);
	background: var(--pc-bg);
}

.pc-customizer__field-row {
	display: grid;
	grid-template-columns: 1fr 72px;
	gap: 0.5rem;
}

.pc-customizer__toolbar {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.pc-customizer__toolbar-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--pc-muted);
}

.pc-customizer__btn-group {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--pc-border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--pc-bg);
	width: fit-content;
}

.pc-customizer__icon-btn {
	width: 36px;
	height: 36px;
	border: none;
	border-right: 1px solid var(--pc-border);
	background: var(--pc-bg);
	color: var(--pc-text);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	flex-shrink: 0;
}

.pc-customizer__icon-btn:last-child {
	border-right: none;
}

.pc-customizer__icon-btn:hover {
	background: var(--pc-surface);
}

.pc-customizer__icon-btn.is-active {
	background: color-mix(in srgb, var(--pc-accent) 12%, white);
	color: var(--pc-accent);
}

.pc-customizer__style-row {
	display: none;
}

.pc-customizer__colors {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.pc-customizer__color-swatch {
	width: 24px;
	height: 24px;
	border-radius: 999px;
	border: 2px solid transparent;
	background: var(--swatch);
	cursor: pointer;
	padding: 0;
}

.pc-customizer__color-swatch.is-active {
	border-color: var(--pc-text);
	box-shadow: 0 0 0 2px #fff inset;
}

.pc-customizer__color-picker {
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
}

.pc-customizer__delete-btn {
	border: 1px solid #fca5a5;
	background: #fef2f2;
	color: #b91c1c;
	border-radius: 8px;
	padding: 0.45rem;
	font-size: 0.8125rem;
	font-family: inherit;
	cursor: pointer;
}

.pc-customizer__hint {
	font-size: 0.875rem;
	color: var(--pc-muted);
	margin: 0.25rem 0 0;
	line-height: 1.45;
}

.pc-customizer__uploads-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.pc-customizer__upload-item {
	border: 1px solid var(--pc-border);
	background: var(--pc-surface);
	border-radius: 8px;
	padding: 0.35rem;
	cursor: pointer;
	text-align: center;
	transition: border-color 0.15s, box-shadow 0.15s;
	overflow: hidden;
}

.pc-customizer__upload-item:hover {
	border-color: var(--pc-accent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc-accent) 30%, transparent);
}

.pc-customizer__upload-item img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	border-radius: 4px;
	background: #fff;
}

.pc-customizer__upload-name {
	display: block;
	font-size: 0.6875rem;
	color: var(--pc-muted);
	margin-top: 0.25rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pc-customizer__dropzone {
	border: 2px dashed var(--pc-border);
	border-radius: var(--pc-radius);
	padding: 1.75rem 1rem;
	text-align: center;
	color: var(--pc-muted);
	transition: border-color 0.15s, background 0.15s;
}

.pc-customizer__dropzone.is-dragover {
	border-color: var(--pc-accent);
	background: color-mix(in srgb, var(--pc-accent) 6%, white);
}

.pc-customizer__dropzone-title {
	margin: 0 0 0.35rem;
	font-weight: 500;
	color: var(--pc-text);
}

.pc-customizer__browse-btn {
	margin-top: 0.75rem;
	border: 1px solid var(--pc-border);
	background: var(--pc-bg);
	border-radius: 8px;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
}

.pc-customizer__browse-btn:hover {
	border-color: var(--pc-accent);
	color: var(--pc-accent);
}

.pc-customizer__layers-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.pc-customizer__layer-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.6rem;
	border: 1px solid var(--pc-border);
	border-radius: 8px;
	cursor: pointer;
	font-size: 0.8125rem;
}

.pc-customizer__layer-item.is-active {
	border-color: var(--pc-accent);
	background: color-mix(in srgb, var(--pc-accent) 6%, white);
}

.pc-customizer__layer-type {
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--pc-surface);
	border-radius: 4px;
	font-size: 0.6875rem;
	font-weight: 700;
	flex-shrink: 0;
}

.pc-customizer__layer-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
}

.pc-customizer__layer-delete {
	width: 28px;
	height: 28px;
	border: none;
	background: transparent;
	color: #9ca3af;
	border-radius: 6px;
	font-size: 1.125rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pc-customizer__layer-delete:hover {
	background: #fef2f2;
	color: #b91c1c;
}

.pc-customizer__layers-empty {
	font-size: 0.875rem;
	color: var(--pc-muted);
	text-align: center;
	padding: 1.5rem 0;
	margin: 0;
}

.pc-customizer__live-preview {
	display: none;
}

/* Footer */
.pc-customizer__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.875rem 1.25rem;
	border-top: 1px solid var(--pc-border);
	flex-shrink: 0;
	flex-wrap: wrap;
}

.pc-customizer__price {
	font-size: 1.125rem;
	font-weight: 700;
}

.pc-customizer__price-note {
	display: block;
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--pc-muted);
}

.pc-customizer__status {
	font-size: 0.8125rem;
	color: #15803d;
	flex: 1;
	text-align: center;
	min-width: 120px;
}

.pc-customizer__status.is-error {
	color: #b91c1c;
}

.pc-customizer__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.pc-customizer__qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--pc-border);
	border-radius: 8px;
	overflow: hidden;
}

.pc-customizer__qty-btn {
	width: 32px;
	height: 36px;
	border: none;
	background: var(--pc-surface);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--pc-text);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
}

.pc-customizer__qty-btn:hover {
	background: #e5e7eb;
}

.pc-customizer__qty-input {
	width: 40px;
	height: 36px;
	border: none;
	border-left: 1px solid var(--pc-border);
	border-right: 1px solid var(--pc-border);
	text-align: center;
	font-size: 0.875rem;
	font-family: inherit;
	-moz-appearance: textfield;
}

.pc-customizer__qty-input::-webkit-outer-spin-button,
.pc-customizer__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

.pc-customizer__save-btn {
	border: 1px solid var(--pc-accent);
	color: var(--pc-accent);
	background: transparent;
	border-radius: 8px;
	padding: 0 1rem;
	height: 36px;
	font-size: 0.875rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pc-customizer__cart-btn {
	background: var(--pc-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 0 1.15rem;
	height: 36px;
	font-size: 0.875rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pc-customizer__cart-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.pc-notice {
	padding: 0.75rem 1rem;
	background: #fef3c7;
	border-radius: 8px;
	color: #92400e;
}

/* Mobile */
@media (max-width: 768px) {
	.pc-customizer__editor {
		padding: 0;
	}

	.pc-customizer__shell {
		width: 100%;
		max-height: 100vh;
		border-radius: 0;
	}

	.pc-customizer__body {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
	}

	.pc-customizer__sidebar {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
		max-height: 38vh;
		border-right: none;
		border-bottom: 1px solid var(--pc-border);
	}

	.pc-customizer__nav-rail {
		flex-direction: row;
		overflow-x: auto;
		border-right: none;
		border-bottom: 1px solid var(--pc-border);
		padding: 0;
	}

	.pc-customizer__nav-btn {
		min-width: 64px;
		min-height: 52px;
		flex-shrink: 0;
	}

	.pc-customizer__nav-btn.is-active {
		box-shadow: inset 0 -3px 0 var(--pc-accent);
	}

	.pc-customizer__stage-outer {
		min-height: 320px;
	}

	.pc-customizer__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.pc-customizer__actions {
		width: 100%;
	}

	.pc-customizer__cart-btn {
		flex: 1;
	}
}
