/* WC Product Designer – editor styles */
:root {
	--wcpd-primary: #2b6cb0;
	--wcpd-bg: #eef1f5;
	--wcpd-surface: #ffffff;
	--wcpd-border: #dde2e8;
	--wcpd-text: #1f2933;
	--wcpd-muted: #6b7785;
	--wcpd-danger: #d64545;
	--wcpd-radius: 8px;
}

html.wcpd-lock,
html.wcpd-lock body {
	overflow: hidden !important;
}

.wcpd-open {
	margin-left: 8px !important;
}

.wcpd-status {
	display: inline-block;
	margin-left: 10px;
	color: #2f855a;
	font-weight: 600;
}

.wcpd-editor[hidden],
.wcpd-editor [hidden] {
	display: none !important;
}

.wcpd-editor {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	background: var(--wcpd-bg);
	color: var(--wcpd-text);
	font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.wcpd-editor *,
.wcpd-editor *::before,
.wcpd-editor *::after {
	box-sizing: border-box;
}

.wcpd-editor button {
	font: inherit;
	cursor: pointer;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	min-height: 0;
	line-height: 1.2;
}

.wcpd-editor input[type="text"],
.wcpd-editor input[type="search"],
.wcpd-editor input[type="number"],
.wcpd-editor textarea,
.wcpd-editor select {
	width: 100%;
	padding: 7px 9px;
	border: 1px solid var(--wcpd-border);
	border-radius: 6px;
	background: #fff;
	color: var(--wcpd-text);
	font: inherit;
	margin: 4px 0 10px;
	box-shadow: none;
	height: auto;
}

.wcpd-editor input[type="color"] {
	width: 40px;
	height: 32px;
	padding: 2px;
	border: 1px solid var(--wcpd-border);
	border-radius: 6px;
	background: #fff;
	vertical-align: middle;
}

.wcpd-editor input[type="range"] {
	width: 100%;
	margin: 4px 0 10px;
	accent-color: var(--wcpd-primary);
}

.wcpd-editor label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--wcpd-muted);
	margin: 0;
}

.wcpd-editor h3 {
	font-size: 15px;
	margin: 0 0 12px;
	color: var(--wcpd-text);
}

.wcpd-editor h4 {
	font-size: 13px;
	margin: 14px 0 8px;
	color: var(--wcpd-text);
}

/* ---------- top bar */
.wcpd-top {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	background: var(--wcpd-surface);
	border-bottom: 1px solid var(--wcpd-border);
	min-height: 56px;
}

.wcpd-title {
	font-weight: 700;
	font-size: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 22%;
}

.wcpd-history {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0 auto;
}

.wcpd-sep {
	width: 1px;
	height: 22px;
	background: var(--wcpd-border);
	margin: 0 6px;
}

.wcpd-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wcpd-price {
	font-weight: 700;
	font-size: 17px;
	margin-right: 6px;
	white-space: nowrap;
}

.wcpd-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 6px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--wcpd-text);
}

.wcpd-icon-btn:hover {
	background: var(--wcpd-bg);
}

.wcpd-icon-btn:disabled {
	opacity: .35;
	cursor: default;
}

.wcpd-zoom-label {
	font-size: 12px;
	font-weight: 600;
	min-width: 52px;
}

.wcpd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 16px;
	border-radius: 6px;
	border: 1px solid transparent;
	font-weight: 600;
	white-space: nowrap;
}

.wcpd-btn-primary {
	background: var(--wcpd-primary);
	color: #fff;
}

.wcpd-btn-primary:hover {
	filter: brightness(1.08);
}

.wcpd-btn-ghost {
	background: #fff;
	border-color: var(--wcpd-border);
	color: var(--wcpd-text);
}

.wcpd-btn-ghost:hover {
	border-color: var(--wcpd-primary);
	color: var(--wcpd-primary);
}

.wcpd-full {
	width: 100%;
	margin-top: 4px;
}

/* ---------- body */
.wcpd-body {
	flex: 1;
	display: flex;
	min-height: 0;
	position: relative;
}

.wcpd-tools {
	width: 76px;
	flex: none;
	background: #1f2933;
	display: flex;
	flex-direction: column;
	padding: 6px 0;
	overflow-y: auto;
}

.wcpd-tool {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 11px 4px;
	border: 0;
	background: transparent;
	color: #c4cdd6;
	font-size: 11px !important;
	border-left: 3px solid transparent;
}

.wcpd-tool:hover {
	color: #fff;
}

.wcpd-tool.is-active {
	color: #fff;
	background: rgba(255, 255, 255, .08);
	border-left-color: var(--wcpd-primary);
}

.wcpd-panel {
	width: 290px;
	flex: none;
	background: var(--wcpd-surface);
	border-right: 1px solid var(--wcpd-border);
	overflow-y: auto;
	padding: 16px;
	display: none;
}

.wcpd-editor.panel-open .wcpd-panel {
	display: block;
}

.wcpd-pane {
	display: none;
}

.wcpd-pane.is-active {
	display: block;
}

.wcpd-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	position: relative;
}

.wcpd-sides {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 10px 10px 0;
	flex-wrap: wrap;
}

.wcpd-side-tab {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 4px;
	border: 2px solid transparent;
	border-radius: 8px;
	background: #fff;
	color: var(--wcpd-text);
	font-weight: 600;
}

.wcpd-side-tab img {
	width: 34px;
	height: 34px;
	object-fit: contain;
	border-radius: 4px;
	background: var(--wcpd-bg);
}

.wcpd-side-tab em {
	font-style: normal;
	background: var(--wcpd-primary);
	color: #fff;
	border-radius: 10px;
	padding: 0 6px;
	font-size: 11px;
}

.wcpd-side-tab.is-active {
	border-color: var(--wcpd-primary);
}

.wcpd-stage {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 12px;
	min-height: 0;
	position: relative;
}

.wcpd-stage.is-zoomed {
	overflow: auto;
	align-items: flex-start;
	justify-content: flex-start;
}

.wcpd-stage.is-over {
	outline: 3px dashed var(--wcpd-primary);
	outline-offset: -10px;
}

.wcpd-canvas-wrap {
	margin: auto;
	box-shadow: 0 2px 16px rgba(15, 23, 42, .08);
	background: #fff;
	border-radius: 4px;
	line-height: 0;
}

/* ---------- properties */
.wcpd-props {
	width: 270px;
	flex: none;
	background: var(--wcpd-surface);
	border-left: 1px solid var(--wcpd-border);
	overflow-y: auto;
	padding: 12px 16px 20px;
}

.wcpd-props-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.wcpd-props-head h3 {
	margin: 0;
}

.wcpd-prop-group {
	border-bottom: 1px solid var(--wcpd-border);
	padding-bottom: 10px;
	margin-bottom: 12px;
}

.wcpd-prop-group:last-child {
	border-bottom: 0;
}

.wcpd-row {
	display: flex !important;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.wcpd-row > label {
	flex: 1;
}

.wcpd-check {
	display: flex !important;
	align-items: center;
	gap: 6px;
}

.wcpd-val {
	float: right;
	font-weight: 400;
}

.wcpd-toggle-row {
	display: flex;
	gap: 4px;
	margin: 6px 0 12px;
	flex-wrap: wrap;
}

.wcpd-toggle {
	min-width: 34px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid var(--wcpd-border);
	border-radius: 6px;
	background: #fff;
	color: var(--wcpd-text);
}

.wcpd-toggle.is-on {
	background: var(--wcpd-primary);
	border-color: var(--wcpd-primary);
	color: #fff;
}

.wcpd-grid-actions {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 4px;
}

.wcpd-grid-actions button {
	height: 36px;
	border: 1px solid var(--wcpd-border);
	border-radius: 6px;
	background: #fff;
	color: var(--wcpd-text);
	font-size: 16px;
	padding: 0;
}

.wcpd-grid-actions button:hover,
.wcpd-grid-actions button.is-on {
	border-color: var(--wcpd-primary);
	color: var(--wcpd-primary);
}

.wcpd-grid-actions .wcpd-danger:hover {
	border-color: var(--wcpd-danger);
	color: var(--wcpd-danger);
}

.wcpd-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0 0 10px;
}

.wcpd-swatch {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, .2);
	padding: 0;
}

.wcpd-swatch-lg {
	width: 36px;
	height: 36px;
}

.wcpd-swatch.is-on {
	outline: 2px solid var(--wcpd-primary);
	outline-offset: 2px;
}

.wcpd-product-colors {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.wcpd-price-lines table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin: 0;
}

.wcpd-price-lines td {
	padding: 4px 0;
	border: 0;
	border-bottom: 1px solid var(--wcpd-border);
	background: none;
}

.wcpd-price-lines td:last-child {
	text-align: right;
	white-space: nowrap;
}

.wcpd-price-lines .wcpd-total td {
	font-weight: 700;
	border-bottom: 0;
	font-size: 15px;
}

/* ---------- library grids */
.wcpd-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 8px 0;
}

.wcpd-grid-lg {
	grid-template-columns: repeat(2, 1fr);
}

.wcpd-thumb {
	aspect-ratio: 1;
	border: 1px solid var(--wcpd-border);
	border-radius: 6px;
	background: #f7f9fb;
	padding: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wcpd-text);
	overflow: hidden;
	font-size: 12px;
}

.wcpd-thumb:hover {
	border-color: var(--wcpd-primary);
	color: var(--wcpd-primary);
}

.wcpd-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.wcpd-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 6px;
}

.wcpd-chip {
	padding: 4px 10px;
	border: 1px solid var(--wcpd-border);
	border-radius: 20px;
	background: #fff;
	color: var(--wcpd-text);
	font-size: 12px;
}

.wcpd-chip.is-on {
	background: var(--wcpd-primary);
	border-color: var(--wcpd-primary);
	color: #fff;
}

.wcpd-drop {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 26px 12px;
	border: 2px dashed var(--wcpd-border);
	border-radius: var(--wcpd-radius);
	text-align: center;
	cursor: pointer;
	color: var(--wcpd-text) !important;
}

.wcpd-drop:hover,
.wcpd-drop.is-over {
	border-color: var(--wcpd-primary);
	background: #f5f9ff;
}

.wcpd-drop input {
	display: none;
}

.wcpd-drop small {
	color: var(--wcpd-muted);
	font-weight: 400;
}

.wcpd-hint {
	color: var(--wcpd-muted);
	font-size: 12px;
	margin: 8px 0;
}

.wcpd-q-good {
	color: #2f855a;
}

.wcpd-q-ok {
	color: #b7791f;
}

.wcpd-q-low {
	color: var(--wcpd-danger);
}

/* ---------- layers */
.wcpd-layers {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wcpd-layer {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 8px;
	border: 1px solid var(--wcpd-border);
	border-radius: 6px;
	margin-bottom: 6px;
	cursor: pointer;
	background: #fff;
}

.wcpd-layer.is-active {
	border-color: var(--wcpd-primary);
	background: #f5f9ff;
}

.wcpd-layer.is-hidden .wcpd-layer-name {
	opacity: .45;
	text-decoration: line-through;
}

.wcpd-layer-type {
	font-size: 10px;
	text-transform: uppercase;
	color: var(--wcpd-muted);
	width: 48px;
	flex: none;
}

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

.wcpd-layer-btns {
	display: flex;
	gap: 2px;
}

.wcpd-layer-btns button {
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	font-size: 11px;
	color: var(--wcpd-muted);
	opacity: .5;
}

.wcpd-layer-btns button.is-on,
.wcpd-layer-btns button:hover {
	opacity: 1;
	background: var(--wcpd-bg);
}

.wcpd-empty {
	color: var(--wcpd-muted);
}

/* ---------- overlays */
.wcpd-modal,
.wcpd-loading {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .45);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	z-index: 10;
}

.wcpd-loading p {
	color: #fff;
	font-weight: 600;
	margin-top: 12px;
}

.wcpd-modal-box {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	width: min(440px, 92vw);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
}

.wcpd-modal-msg {
	font-weight: 600;
	margin: 0 0 10px;
}

.wcpd-modal-terms {
	display: flex !important;
	gap: 8px;
	align-items: flex-start;
	font-size: 13px !important;
	color: var(--wcpd-text) !important;
	font-weight: 400 !important;
	margin-bottom: 12px !important;
}

.wcpd-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.wcpd-toast {
	position: absolute;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	background: #1f2933;
	color: #fff;
	padding: 10px 18px;
	border-radius: 8px;
	z-index: 11;
	max-width: 90vw;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

.wcpd-toast.is-error {
	background: var(--wcpd-danger);
}

.wcpd-spinner {
	width: 38px;
	height: 38px;
	border: 4px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: wcpd-spin .8s linear infinite;
}

.wcpd-spinner-sm {
	width: 24px;
	height: 24px;
	border-color: var(--wcpd-border);
	border-top-color: var(--wcpd-primary);
	grid-column: 1 / -1;
	margin: 20px auto;
}

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

/* ---------- My account */
.wcpd-my-designs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.wcpd-my-design {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 10px;
}

.wcpd-my-design img {
	width: 100%;
	height: auto;
	background: #f7f9fb;
}

.wcpd-my-design small {
	color: #6b7785;
}

/* ---------- responsive */
@media (max-width: 1100px) {
	.wcpd-title {
		display: none;
	}

	.wcpd-panel {
		width: 250px;
	}

	.wcpd-props {
		width: 240px;
	}
}

/* ---------- header menu (phones) */
.wcpd-top {
	position: relative;
}

.wcpd-more,
.wcpd-ctx {
	display: none;
}

.wcpd-menu {
	position: absolute;
	right: 8px;
	top: 100%;
	z-index: 20;
	display: flex;
	flex-direction: column;
	min-width: 210px;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--wcpd-border);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .18);
}

.wcpd-menu button {
	text-align: left;
	padding: 12px 14px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--wcpd-text);
	font-size: 15px;
}

.wcpd-menu button:active,
.wcpd-menu button:hover {
	background: var(--wcpd-bg);
}

.wcpd-menu .wcpd-danger {
	color: var(--wcpd-danger);
}

.wcpd-stage,
.wcpd-stage canvas {
	touch-action: none;
}

/*
 * Phones: one column, nothing floats over the design.
 * [top bar] [sides] [canvas – takes all free space] [panel / edit sheet] [action bar] [tools]
 * When a sheet opens the canvas gets smaller and is re-fitted, so the whole design stays visible.
 */
@media (max-width: 900px) {
	.wcpd-editor {
		height: 100vh;
		height: 100dvh;
		bottom: auto;
	}

	.wcpd-top {
		flex-wrap: nowrap;
		gap: 2px;
		padding: 4px 6px;
		min-height: 52px;
	}

	.wcpd-title,
	.wcpd-sep,
	.wcpd-history [data-cmd^="zoom"],
	.wcpd-history [data-cmd="clear"],
	.wcpd-history [data-cmd="download"],
	.wcpd-actions .wcpd-btn-ghost {
		display: none !important;
	}

	.wcpd-history {
		margin: 0;
		order: 1;
	}

	.wcpd-close {
		order: 0;
	}

	.wcpd-actions {
		display: contents;
	}

	.wcpd-price {
		order: 2;
		margin: 0 auto 0 4px;
		font-size: 15px;
	}

	.wcpd-actions [data-cmd="cart"] {
		order: 3;
		padding: 9px 12px;
		font-size: 13px;
		max-width: 46vw;
		white-space: normal;
		line-height: 1.15;
		text-align: center;
	}

	.wcpd-more {
		display: inline-flex;
		order: 4;
	}

	.wcpd-icon-btn {
		min-width: 40px;
		height: 40px;
	}

	.wcpd-body {
		flex-direction: column;
	}

	.wcpd-main {
		order: 1;
		flex: 1 1 auto;
		min-height: 140px;
	}

	.wcpd-sides {
		padding: 6px 6px 0;
		gap: 6px;
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
	}

	.wcpd-side-tab {
		flex: none;
		padding: 2px 8px 2px 2px;
		font-size: 13px;
	}

	.wcpd-side-tab img {
		width: 26px;
		height: 26px;
	}

	.wcpd-stage {
		padding: 6px;
	}

	.wcpd-panel,
	.wcpd-props {
		order: 2;
		position: static;
		width: auto;
		flex: none;
		max-height: 42vh;
		max-height: 42dvh;
		padding: 12px 14px;
		border: 0;
		border-top: 1px solid var(--wcpd-border);
		border-radius: 14px 14px 0 0;
		box-shadow: 0 -6px 18px rgba(15, 23, 42, .08);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.wcpd-editor.has-selection .wcpd-panel {
		display: none;
	}

	.wcpd-panel h3 {
		display: none;
	}

	.wcpd-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 6px;
	}

	.wcpd-grid-lg {
		grid-template-columns: repeat(3, 1fr);
	}

	.wcpd-drop {
		padding: 16px 10px;
	}

	/* Edit sheet: only the section chosen in the action bar. */
	.wcpd-props-head,
	.wcpd-props .wcpd-sec {
		display: none;
	}

	.wcpd-props[data-sec="text"] .wcpd-sec[data-sec="text"],
	.wcpd-props[data-sec="font"] .wcpd-sec[data-sec="font"],
	.wcpd-props[data-sec="color"] .wcpd-sec[data-sec="color"],
	.wcpd-props[data-sec="effects"] .wcpd-sec[data-sec="effects"],
	.wcpd-props[data-sec="filters"] .wcpd-sec[data-sec="filters"],
	.wcpd-props[data-sec="adjust"] .wcpd-sec[data-sec="adjust"],
	.wcpd-props[data-sec="arrange"] .wcpd-sec[data-sec="arrange"] {
		display: block;
	}

	.wcpd-prop-group {
		border: 0;
		margin: 0;
		padding: 0;
	}

	.wcpd-props h4 {
		margin-top: 0;
	}

	.wcpd-props input[type="range"] {
		height: 28px;
	}

	.wcpd-toggle {
		min-width: 44px;
		height: 40px;
	}

	.wcpd-swatch {
		width: 30px;
		height: 30px;
	}

	.wcpd-grid-actions {
		grid-template-columns: repeat(5, 1fr);
	}

	.wcpd-grid-actions button {
		height: 44px;
	}

	/* Action bar of the selected element. */
	.wcpd-ctx:not([hidden]) {
		order: 3;
		display: flex;
		gap: 2px;
		padding: 4px;
		overflow-x: auto;
		background: #fff;
		border-top: 1px solid var(--wcpd-border);
		scrollbar-width: none;
	}

	.wcpd-ctx::-webkit-scrollbar {
		display: none;
	}

	.wcpd-ctx button {
		flex: 1 0 auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		min-width: 46px;
		padding: 6px 3px;
		border: 0;
		border-radius: 8px;
		background: none;
		color: var(--wcpd-text);
		font-size: 10.5px;
		white-space: nowrap;
	}

	.wcpd-ctx button b {
		font-size: 18px;
		line-height: 1.1;
		font-weight: 600;
	}

	.wcpd-ctx button.is-on {
		background: #e8f0fa;
		color: var(--wcpd-primary);
	}

	.wcpd-ctx .wcpd-ctx-done {
		color: #fff;
		background: var(--wcpd-primary);
	}

	.wcpd-ctx .wcpd-danger {
		color: var(--wcpd-danger);
	}

	.wcpd-tools {
		order: 4;
		width: 100%;
		flex-direction: row;
		padding: 0 0 env(safe-area-inset-bottom);
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
	}

	.wcpd-tool {
		flex: 1 0 60px;
		border-left: 0;
		border-top: 3px solid transparent;
		padding: 7px 2px;
	}

	.wcpd-tool.is-active {
		border-left-color: transparent;
		border-top-color: var(--wcpd-primary);
	}

	/* While an element is selected the tool bar gives its place to the action bar. */
	.wcpd-editor.has-selection .wcpd-tools {
		display: none;
	}

	.wcpd-toast {
		bottom: auto;
		top: 64px;
	}

	.wcpd-editor input[type="text"],
	.wcpd-editor input[type="search"],
	.wcpd-editor input[type="number"],
	.wcpd-editor textarea,
	.wcpd-editor select {
		font-size: 16px; /* no zoom-in on focus (iOS) */
	}
}

/* ---------- custom size mode */
.wcpd-size-box {
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--wcpd-border);
}

.wcpd-size-box small {
	display: block;
	font-weight: 400;
	margin-top: -6px;
	color: var(--wcpd-muted);
}

.wcpd-size-bg-row {
	margin-top: 10px;
}

.wcpd-size-bg-row label {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px !important;
}

/* ---------- Home-In Roller Configurator integration */
.wcpd-roller-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--wcpd-primary);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	text-transform: none;
}

.wcpd-roller-btn:hover {
	filter: brightness(1.08);
	color: #fff;
}

.wcpd-roller-btn.is-secondary {
	background: #fff;
	color: var(--wcpd-primary);
	border: 2px solid var(--wcpd-primary);
}

.wcpd-roller-btn-bar {
	margin-right: 8px;
}

.wcpd-roller-btn-summary {
	margin: 10px 0 16px;
}

.wcpd-roller-box {
	margin: 0 0 16px;
	padding: 14px;
	border-radius: 10px;
	background: #f3f7fc;
	border: 1px solid #d6e2f0;
}

.wcpd-roller-box p {
	margin: 0 0 10px;
	font-size: 14px;
}

.wcpd-roller-box .wcpd-roller-btn {
	width: 100%;
}

.wcpd-roller-warn {
	margin-top: 12px;
	padding: 10px;
	border-radius: 8px;
	background: #fff7e6;
	border: 1px solid #f6c77a;
}

.wcpd-roller-cta {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	text-align: center;
	background: rgba(255, 255, 255, .92);
}

.wcpd-roller-cta p {
	max-width: 360px;
	margin: 0;
	font-size: 15px;
}

[data-homein-print-panel] {
	position: relative;
}
