/* Projeto Gerado pelo Prompt Mestre do Desenvolvedor e Vibe Coder Dante Testa — www.dantetesta.com.br */
.wpfp-app .wpfpc-product-overlay {
	inset: 0 auto auto 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	padding: 12px 18px;
	padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right))
		max(12px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
	container: wpfpc-product-viewport / size;
}
.wpfp-app .wpfpc-product-modal {
	display: flex;
	flex-direction: column;
	max-height: 100%;
}
.wpfp-app .wpfpc-product-modal .wpfp-modal-head {
	flex: none;
}
.wpfp-app .wpfpc-product-modal .wpfp-modal-title {
	min-width: 0;
	overflow-wrap: anywhere;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-config {
	display: flex;
	flex-direction: column;
	min-height: 0;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-config-content {
	display: grid;
	align-content: start;
	gap: 14px;
	min-height: 0;
	padding: 16px 20px;
	overflow-y: auto;
	overscroll-behavior-y: contain;
	scroll-padding-block: 8px;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-options {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-options legend {
	font-weight: 700;
	margin-bottom: 6px;
	overflow-wrap: anywhere;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-choice-badge {
	display: inline-block;
	margin-inline-start: 4px;
	padding: 2px 7px;
	border-radius: 6px;
	background: #e2e8f0;
	color: #334155;
	font-size: .75rem;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-choice-badge.is-required {
	background: #ffe4e6;
	color: #9f1239;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-group-status {
	margin: 0 0 4px;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-group-status:empty {
	margin: 0;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-option {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	min-height: 44px;
	padding: 6px 0;
	border-bottom: 1px solid #e2e8f0;
	cursor: pointer;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-option input {
	width: 18px;
	height: 18px;
	margin: 0 2px 0 0;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-option .wpfp-offer-price { justify-content: flex-end; }
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-field {
	display: grid;
	gap: 6px;
}
.wpfp-app .wpfpc-product-stepper {
	display: grid;
	grid-template-columns: 44px 56px 44px;
	align-items: center;
	justify-self: start;
	gap: 6px;
}
.wpfp-app .wpfpc-product-stepper input {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 6px 4px;
	font-size: 16px;
	text-align: center;
	appearance: textfield;
}
.wpfp-app .wpfpc-product-stepper input::-webkit-inner-spin-button,
.wpfp-app .wpfpc-product-stepper input::-webkit-outer-spin-button {
	appearance: none;
	margin: 0;
}
.wpfp-app .wpfpc-config-footer {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 10px 20px 14px;
	border-top: 1px solid var(--wpfp-border, #e2e8f0);
}
.wpfp-app .wpfpc-config-footer button {
	min-height: 44px;
}
@container wpfpc-product-viewport (max-height: 240px) {
	.wpfp-app .wpfpc-product-modal {
		display: block;
		overflow-y: auto;
		overscroll-behavior-y: contain;
	}
	.wpfp-app .wpfpc-config-content {
		overflow: visible;
	}
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-config :focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-option span,
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-option-multiple strong {
	overflow-wrap: anywhere;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-option-multiple {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #e2e8f0;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-option-multiple small {
	display: block;
	margin-top: 3px;
	color: var(--wpfp-muted, #475569);
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-extra-stepper {
	display: grid;
	grid-template-columns: 44px 26px 44px;
	gap: 2px;
	align-items: center;
	flex-shrink: 0;
	text-align: center;
	font-weight: 700;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-extra-stepper button,
.wpfp-app .wpfpc-product-stepper button {
	min-height: 44px;
	border: 1px solid var(--wpfp-border, #cbd5e1);
	border-radius: 9px;
	background: var(--wpfp-bg, #f8fafc);
	color: var(--wpfp-text, #0f172a);
	font-size: 20px;
	cursor: pointer;
}
:is(.wpfp-app, .wpfp-edit-builder-box) .wpfpc-extra-stepper button[aria-disabled="true"],
.wpfp-app .wpfpc-product-stepper button[aria-disabled="true"] {
	opacity: .5;
	cursor: default;
}

.wpfpc-config-inline .wpfpc-config-content {
	padding: 0;
	overflow: visible;
}
.wpfpc-config-inline .wpfpc-field > .wpfp-input {
	width: 100%;
	box-sizing: border-box;
}
