.wcpa_form_outer.dcimty-wcpa-enhanced {
	margin: 18px 0;
	font-family: "Poppins", Arial, sans-serif !important;
}

/* WCPA briefly injects refreshed sections beside the wizard. Keep them out of
   the paint cycle until JavaScript moves them into their existing step. */
.wcpa_form_outer.dcimty-wcpa-enhanced > .wcpa_wrap > .wcpa_section {
	display: none !important;
}

.dcimty-wcpa-wizard {
	--dcimty-rose: #b86f73;
	--dcimty-rose-dark: #934c52;
	--dcimty-rose-soft: #f8eded;
	--dcimty-mint: #ecf7f2;
	--dcimty-ink: #30343b;
	--dcimty-muted: #667085;
	--dcimty-line: #eadcda;
	--dcimty-surface: #ffffff;
	color: var(--dcimty-ink);
	background: var(--dcimty-surface);
	border: 1px solid var(--dcimty-line);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(68, 50, 47, 0.09);
	overflow: clip;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	font-family: "Poppins", Arial, sans-serif !important;
}

.dcimty-wcpa-wizard *,
.dcimty-wcpa-wizard *::before,
.dcimty-wcpa-wizard *::after {
	box-sizing: border-box;
	font-family: inherit;
}

.dcimty-wcpa-wizard button,
.dcimty-wcpa-wizard input,
.dcimty-wcpa-wizard select,
.dcimty-wcpa-wizard textarea,
.dcimty-wcpa-wizard label,
.dcimty-wcpa-wizard h2,
.dcimty-wcpa-wizard h3,
.dcimty-wcpa-wizard p {
	font-family: "Poppins", Arial, sans-serif !important;
	letter-spacing: 0 !important;
}

.dcimty-wcpa-wizard__header {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 16px;
	padding: 18px 20px 16px;
	background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
	border-bottom: 1px solid var(--dcimty-line);
}

.dcimty-wcpa-wizard__eyebrow,
.dcimty-wcpa-wizard__progress {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--dcimty-rose-dark);
	text-transform: uppercase;
	letter-spacing: 0;
}

.dcimty-wcpa-wizard__progress {
	justify-self: end;
	color: var(--dcimty-muted);
}

.dcimty-wcpa-wizard__title {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--dcimty-ink);
}

.dcimty-wcpa-wizard__intro {
	grid-column: 1 / -1;
	margin: 2px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--dcimty-muted);
}

.dcimty-wcpa-steps {
	display: flex;
	gap: 8px;
	padding: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	background: #fffdfd;
	border-bottom: 1px solid var(--dcimty-line);
	scrollbar-width: thin;
	scroll-snap-type: x proximity;
}

.dcimty-wcpa-step-button {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	flex: 1 0 150px;
	align-items: center;
	gap: 7px;
	width: auto;
	max-width: 220px;
	min-height: 52px;
	padding: 7px 8px;
	color: #ffffff;
	background: #c98d8f;
	border: 1px solid #c98d8f;
	border-radius: 8px;
	cursor: pointer;
	text-align: left;
	scroll-snap-align: start;
	transition: border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, background-color 140ms ease;
}

.dcimty-wcpa-step-button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.dcimty-wcpa-step-button:not(:disabled):hover,
.dcimty-wcpa-step-button.is-active {
	color: #ffffff;
	background: var(--dcimty-rose);
	border-color: var(--dcimty-rose-dark);
}

.dcimty-wcpa-step-button.is-active {
	box-shadow: 0 0 0 2px rgba(184, 111, 115, 0.13);
}

.dcimty-wcpa-step-button.is-complete:not(.is-active) {
	color: #ffffff;
	background: #6f9f87;
	border-color: #5a9276;
}

.dcimty-wcpa-step-button:disabled {
	color: #ffffff;
	background: #d8aaaa;
}

.dcimty-wcpa-step-button__number {
	display: inline-grid;
	width: 26px;
	height: 26px;
	place-items: center;
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
	background: var(--dcimty-rose);
	border-radius: 50%;
}

.dcimty-wcpa-step-button.is-complete .dcimty-wcpa-step-button__number {
	background: #5a9276;
}

.dcimty-wcpa-step-button__label {
	display: block;
	min-width: 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	white-space: normal;
	color: #ffffff;
	overflow-wrap: anywhere;
}

.dcimty-wcpa-panel {
	display: block;
	position: relative;
	width: 100%;
	max-width: 100%;
	padding: 18px 20px 20px;
	overflow: hidden;
}

.dcimty-wcpa-panel[hidden] {
	display: none !important;
}

.dcimty-wcpa-panel__title {
	margin: 0 0 4px;
	font-size: 18px;
	line-height: 1.25;
	color: var(--dcimty-ink);
}

.dcimty-wcpa-panel__intro {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--dcimty-muted);
}

.dcimty-wcpa-panel__error {
	margin: 0 0 14px;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.35;
	color: #8a2929;
	background: #fff0f0;
	border: 1px solid #f1c4c4;
	border-radius: 8px;
}

.dcimty-wcpa-enhanced .wcpa_section {
	display: block !important;
	position: relative !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 18px;
	padding: 0;
}

.dcimty-wcpa-enhanced .wcpa_section:last-child {
	margin-bottom: 0;
}

.dcimty-wcpa-enhanced .wcpa_row {
	display: block;
	position: relative;
	float: none;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.dcimty-wcpa-enhanced .wcpa_row::after {
	display: table;
	clear: both;
	content: "";
}

.dcimty-wcpa-enhanced .wcpa_field_wrap {
	display: block;
	position: relative;
	float: none !important;
	clear: both;
	width: 100% !important;
	max-width: 100%;
	margin: 0 0 14px;
}

.dcimty-wcpa-enhanced .wcpa_field_label {
	display: block;
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--dcimty-ink);
}

.dcimty-wcpa-enhanced .wcpa_required_ast {
	color: var(--dcimty-rose-dark);
}

.dcimty-wcpa-enhanced input.wcpa_field:not([type="radio"]):not([type="checkbox"]),
.dcimty-wcpa-enhanced textarea.wcpa_field,
.dcimty-wcpa-enhanced select.wcpa_field {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	font-size: 15px;
	color: var(--dcimty-ink);
	background: #ffffff;
	border: 1px solid #ded3d0;
	border-radius: 8px;
	box-shadow: none;
	transition: border-color 140ms ease, box-shadow 140ms ease;
}

.dcimty-wcpa-enhanced input.wcpa_field:focus,
.dcimty-wcpa-enhanced textarea.wcpa_field:focus,
.dcimty-wcpa-enhanced select.wcpa_field:focus {
	outline: none;
	border-color: var(--dcimty-rose);
	box-shadow: 0 0 0 3px rgba(184, 111, 115, 0.16);
}

.dcimty-wcpa-enhanced .wcpa_field_bottom {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 6px;
	font-size: 12px;
	color: var(--dcimty-muted);
}

.dcimty-wcpa-enhanced .wcpa_field_price {
	font-weight: 700;
	color: var(--dcimty-rose-dark);
}

.dcimty-wcpa-enhanced .wcpa_field.wcpa_group_field {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
	gap: 10px;
	align-items: stretch;
}

.dcimty-wcpa-enhanced .wcpa_field.wcpa_group_field:has(.wcpa_image) {
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
}

.dcimty-wcpa-enhanced .wcpa_image {
	min-width: 0;
}

.dcimty-wcpa-enhanced .wcpa_image label {
	position: relative;
	display: flex;
	height: 100%;
	min-height: 120px;
	flex-direction: column;
	align-items: stretch;
	gap: 7px;
	padding: 7px;
	background: #ffffff;
	border: 1px solid #e8dedb;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, background-color 140ms ease;
}

.dcimty-wcpa-enhanced .wcpa_image label:hover {
	border-color: #d5b7b4;
	box-shadow: 0 8px 18px rgba(68, 50, 47, 0.08);
	transform: translateY(-1px);
}

.dcimty-wcpa-enhanced .wcpa_image label:has(input:checked) {
	background: #fff8f8;
	border-color: var(--dcimty-rose);
	box-shadow: 0 0 0 2px rgba(184, 111, 115, 0.18);
}

.dcimty-wcpa-enhanced .wcpa_image label:has(input:focus-visible) {
	outline: 2px solid var(--dcimty-rose);
	outline-offset: 2px;
}

.dcimty-wcpa-enhanced .wcpa_image input[type="radio"],
.dcimty-wcpa-enhanced .wcpa_image input[type="checkbox"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.dcimty-wcpa-enhanced .wcpa_img_wrap {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	padding: 5px;
	background: #ffffff;
	border-radius: 6px;
}

.dcimty-wcpa-enhanced .wcpa_img_wrap img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.dcimty-wcpa-enhanced .wcpa_selected_tick {
	top: 5px;
	right: 5px;
}

.dcimty-wcpa-enhanced .wcpa_image_label {
	display: block;
	min-height: 30px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--dcimty-ink);
	text-align: center;
	overflow-wrap: anywhere;
}

.dcimty-wcpa-enhanced .wcpa_option_price {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	color: var(--dcimty-rose-dark);
}

.dcimty-wcpa-invalid {
	border-radius: 8px;
	outline: 2px solid #df6c6c;
	outline-offset: 4px;
}

.dcimty-wcpa-summary {
	padding: 0 20px 14px;
}

.dcimty-wcpa-enhanced .wcpa_price_summary {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 12px;
	background: #fbf8f7;
	border: 1px solid var(--dcimty-line);
	border-radius: 8px;
}

.dcimty-wcpa-enhanced .wcpa_price_summary > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	line-height: 1.35;
	color: var(--dcimty-muted);
}

.dcimty-wcpa-enhanced .wcpa_price_summary .wcpa_total {
	padding-top: 8px;
	color: var(--dcimty-ink);
	font-weight: 800;
	border-top: 1px solid var(--dcimty-line);
}

.dcimty-wcpa-actions {
	position: sticky;
	bottom: 0;
	z-index: 20;
	display: grid;
	grid-template-columns: auto minmax(180px, 1fr);
	justify-content: space-between;
	gap: 10px;
	padding: 12px 20px;
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid var(--dcimty-line);
	backdrop-filter: blur(8px);
}

.dcimty-wcpa-action {
	min-height: 42px;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.dcimty-wcpa-action:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.dcimty-wcpa-action--secondary {
	color: var(--dcimty-rose-dark);
	background: transparent;
	border: 1px solid transparent;
	box-shadow: none;
}

.dcimty-wcpa-action--secondary:not(:disabled):hover {
	background: var(--dcimty-rose-soft);
	border-color: #d9bbb8;
}

.dcimty-wcpa-action--primary {
	min-width: 150px;
	color: #ffffff;
	background: var(--dcimty-rose);
	border: 1px solid var(--dcimty-rose);
	box-shadow: 0 8px 18px rgba(184, 111, 115, 0.22);
}

.dcimty-wcpa-action--primary:hover {
	background: var(--dcimty-rose-dark);
	border-color: var(--dcimty-rose-dark);
}

.dcimty-wcpa-cart-enhanced .single_add_to_cart_button {
	border-radius: 8px;
	font-weight: 800;
}

.dcimty-wcpa-cart-enhanced > .quantity,
.dcimty-wcpa-cart-enhanced > .single_add_to_cart_button {
	display: none !important;
}

@media (max-width: 640px) {
	.dcimty-wcpa-wizard__header {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	.dcimty-wcpa-wizard__progress {
		justify-self: start;
	}

	.dcimty-wcpa-steps {
		padding: 10px;
	}

	.dcimty-wcpa-step-button {
		flex-basis: 138px;
		max-width: 158px;
		min-height: 48px;
	}

	.dcimty-wcpa-step-button__label {
		font-size: 11px;
	}

	.dcimty-wcpa-panel {
		padding: 16px;
	}

	.dcimty-wcpa-enhanced .wcpa_field.wcpa_group_field {
		grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
		gap: 8px;
	}

	.dcimty-wcpa-enhanced .wcpa_field.wcpa_group_field:has(.wcpa_image) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.dcimty-wcpa-enhanced .wcpa_image label {
		min-height: 132px;
		padding: 6px;
	}

	.dcimty-wcpa-summary {
		padding: 0 16px 12px;
	}

	.dcimty-wcpa-actions {
		padding: 10px 16px;
	}

	.dcimty-wcpa-action {
		padding-right: 10px;
		padding-left: 10px;
	}

	.dcimty-wcpa-actions {
		grid-template-columns: minmax(88px, auto) minmax(0, 1fr);
	}
}
