.etpc-form {
	--etpc-accent: #0f766e;
	--etpc-accent-strong: #0b5f59;
	--etpc-surface: #ffffff;
	--etpc-surface-soft: #f7f9fc;
	--etpc-border: #d7deea;
	--etpc-border-strong: #c3cedf;
	--etpc-text: #172033;
	--etpc-text-muted: #5e6b82;
	--etpc-input-radius: 10px;
	--etpc-submit-radius: 999px;
	--etpc-toast-bg: #0f172a;
	--etpc-toast-text: #ffffff;
	--etpc-toast-success: #166534;
	--etpc-toast-error: #b91c1c;
	--etpc-toast-radius: 12px;
	--etpc-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
	--etpc-shadow-soft: 0 2px 8px rgba(15, 23, 42, 0.06);
	font-family: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
	background: linear-gradient(180deg, #fafbfd 0%, #f4f7fb 100%);
	border: 1px solid #e7ecf4;
	border-radius: 14px;
	box-shadow: var(--etpc-shadow);
	padding: 20px;
	color: var(--etpc-text);
	position: relative;
}

.etpc-form.etpc-is-blocked .etpc-form__inner {
	filter: blur(4px);
	pointer-events: none;
	user-select: none;
}

.etpc-license-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 18px;
	background: rgba(15, 23, 42, 0.18);
	backdrop-filter: blur(2px);
}

.etpc-license-overlay__box {
	width: min(520px, 100%);
	background: #ffffff;
	border: 1px solid #e7ecf4;
	border-radius: 14px;
	box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
	padding: 18px;
	display: grid;
	gap: 10px;
}

.etpc-license-overlay__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	color: #172033;
}

.etpc-license-overlay__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #4f5f78;
}

.etpc-license-overlay__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.etpc-license-overlay__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 999px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	background: linear-gradient(135deg, #f59e0b 0%, #ef8f0f 52%, #ea580c 100%);
	color: #fff;
	border: 1px solid #ea580c;
}

.etpc-license-overlay__button:hover {
	filter: brightness(0.96);
}

.etpc-form__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	gap: 18px;
	align-items: start;
}

.etpc-form--summary-below .etpc-form__inner {
	grid-template-columns: minmax(0, 1fr);
}

.etpc-form--summary-below .etpc-summary {
	position: static;
}

.etpc-steps {
	min-width: 0;
}

.etpc-visual {
	display: grid;
	gap: 12px;
	margin-bottom: 14px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--etpc-border);
	border-radius: 12px;
	box-shadow: var(--etpc-shadow-soft);
}

.etpc-visual__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.etpc-visual__title {
	font-size: 15px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--etpc-text);
	margin: 0;
}

.etpc-visual__scenes {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.etpc-visual__scene {
	border: 1px solid #cfd9e7;
	background: #f8fbff;
	color: #36445d;
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 12px;
	line-height: 1.2;
	cursor: pointer;
	transition: all 0.16s ease;
}

.etpc-visual__scene:hover {
	border-color: #a8b8ce;
	background: #f0f6ff;
}

.etpc-visual__scene.is-active {
	border-color: var(--etpc-accent);
	background: #eef7ff;
	color: #0f2236;
}

.etpc-visual__stage {
	position: relative;
	border: 1px solid #dbe4f0;
	border-radius: 10px;
	background:
		linear-gradient(45deg, #f7f9fc 25%, transparent 25%) 0 0 / 16px 16px,
		linear-gradient(-45deg, #f7f9fc 25%, transparent 25%) 0 0 / 16px 16px,
		linear-gradient(45deg, transparent 75%, #f7f9fc 75%) 0 0 / 16px 16px,
		linear-gradient(-45deg, transparent 75%, #f7f9fc 75%) 0 0 / 16px 16px,
		#ffffff;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.etpc-visual__base,
.etpc-visual__layer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.etpc-visual__layers {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.etpc-visual__empty {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid #d9e4f1;
	font-size: 12px;
	line-height: 1.3;
	color: #607089;
	text-align: center;
}

.etpc-visual__three {
	display: grid;
	gap: 10px;
	border: 1px solid #dbe4f0;
	border-radius: 10px;
	padding: 10px;
	background: #ffffff;
}

.etpc-visual__three[hidden],
.etpc-visual__stage[hidden] {
	display: none !important;
}

.etpc-visual__three-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.etpc-visual__three-head strong {
	font-size: 13px;
	line-height: 1.3;
	color: #233149;
}

.etpc-visual__three-head span {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 999px;
	background: #f1f5fb;
	border: 1px solid #d7e0ec;
	font-size: 11px;
	line-height: 1.2;
	color: #4d5f79;
	font-weight: 600;
	text-transform: uppercase;
}

.etpc-visual__three-body {
	position: relative;
	aspect-ratio: 16 / 10;
	border: 1px dashed #d4ddeb;
	border-radius: 10px;
	background: #f8fbff;
	overflow: hidden;
}

.etpc-visual__three-frame {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background: #fff;
}

.etpc-visual__three-empty {
	margin: 0;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 12px;
	line-height: 1.35;
	color: #5c6e88;
	max-width: 90%;
	text-align: center;
}

.etpc-step {
	display: none;
	gap: 12px;
}

.etpc-step.is-active {
	display: grid;
}

.etpc-step__title {
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--etpc-text);
	margin: 0;
}

.etpc-step__subtitle {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;
	color: var(--etpc-text-muted);
	margin: 0;
}

.etpc-step__list {
	display: grid;
	background: var(--etpc-surface);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--etpc-border);
	box-shadow: var(--etpc-shadow-soft);
}

.etpc-field {
	display: grid;
	gap: 6px;
	padding: 12px 14px;
	background: var(--etpc-surface);
}

.etpc-field + .etpc-field {
	border-top: 1px solid #edf1f7;
}

.etpc-label {
	font-size: 12px;
	line-height: 1.35;
	color: var(--etpc-text-muted);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.etpc-option-group + .etpc-option-group {
	border-top: 1px solid #edf1f7;
}

.etpc-option-trigger {
	border: 0;
	background: transparent;
	width: 100%;
	text-align: left;
	padding: 13px 14px;
	display: grid;
	grid-template-columns: 34px 1fr auto;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	transition: background-color 0.18s ease;
}

.etpc-option-trigger:hover {
	background: #f8fafc;
}

.etpc-option-icon {
	width: 24px;
	height: 24px;
	border-radius: 999px;
	border: 2px solid #cad3e2;
	position: relative;
	display: inline-block;
	background: #fff;
}

.etpc-option-icon::before,
.etpc-option-icon::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 2px;
	background: #8c99af;
	border-radius: 2px;
	transform: translate(-50%, -50%);
}

.etpc-option-icon::before {
	width: 2px;
	height: 10px;
}

.etpc-option-icon.is-selected {
	border-color: #57c791;
	background: #effcf4;
}

.etpc-option-icon.is-selected::before,
.etpc-option-icon.is-selected::after {
	display: none;
}

.etpc-option-icon.has-image {
	background-image: var(--etpc-option-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-color: #9fb1cc;
}

.etpc-option-icon.has-check::before {
	display: block;
	width: 10px;
	height: 6px;
	border: 2px solid #fff;
	border-top: 0;
	border-right: 0;
	background: transparent;
	border-radius: 0;
	transform: translate(-50%, -58%) rotate(-45deg);
}

.etpc-option-icon.has-check {
	background: #2ebf69;
	border-color: #2ebf69;
}

.etpc-option-text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.etpc-option-text strong {
	font-size: 15px;
	line-height: 1.35;
	font-weight: 600;
	color: var(--etpc-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.etpc-option-value {
	font-size: 13px;
	line-height: 1.35;
	color: var(--etpc-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.etpc-option-arrow {
	font-size: 20px;
	line-height: 1;
	color: #59657c;
	font-weight: 500;
}

.etpc-drawer {
	position: fixed;
	inset: 0;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.24s ease, visibility 0.24s ease;
}

.etpc-drawer.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.etpc-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.44);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.24s ease;
}

.etpc-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(440px, 92vw);
	background: #fff;
	box-shadow: -20px 0 48px rgba(15, 23, 42, 0.28);
	display: grid;
	grid-template-rows: auto 1fr;
	transform: translateX(18px);
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.etpc-drawer.is-open .etpc-drawer__overlay {
	opacity: 1;
}

.etpc-drawer.is-open .etpc-drawer__panel {
	transform: translateX(0);
}

body.admin-bar .etpc-drawer {
	top: 32px;
	height: calc(100% - 32px);
}

@media (max-width: 782px) {
	body.admin-bar .etpc-drawer {
		top: 46px;
		height: calc(100% - 46px);
	}
}

.etpc-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid #e8edf5;
}

.etpc-drawer__header strong {
	font-size: 17px;
	line-height: 1.35;
	color: var(--etpc-text);
}

.etpc-drawer__search {
	padding: 10px 12px 0;
	position: relative;
}

.etpc-drawer__search-input {
	width: 100%;
	height: 40px;
	border: 1px solid #ced8e6;
	border-radius: 12px;
	padding: 0 12px 0 38px;
	font-size: 14px;
	line-height: 1.3;
	color: var(--etpc-text);
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.etpc-drawer__search-input:focus {
	outline: none;
	border-color: var(--etpc-accent);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.etpc-drawer__search::before {
	content: "⌕";
	position: absolute;
	left: 24px;
	top: 50%;
	transform: translateY(-36%);
	font-size: 14px;
	color: #7a8aa3;
	pointer-events: none;
}

.etpc-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #dde4ef;
	background: #f8fafe;
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 999px;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #3d4960;
}

.etpc-drawer__list {
	overflow: auto;
	padding: 10px 12px 16px;
	display: grid;
	gap: 8px;
	align-content: start;
	grid-auto-rows: min-content;
}

.etpc-drawer__item {
	border: 1px solid #dce4ef;
	background: #fff;
	border-radius: 10px;
	padding: 10px 12px;
	text-align: left;
	cursor: pointer;
	display: grid;
	gap: 3px;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.etpc-drawer__item[hidden] {
	display: none !important;
}

.etpc-drawer__item:hover,
.etpc-drawer__item.is-selected {
	border-color: var(--etpc-accent);
	background: rgba(15, 23, 42, 0.03);
}

.etpc-drawer__item.is-selected {
	background: color-mix(in srgb, var(--etpc-accent) 14%, #ffffff);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--etpc-accent) 18%, transparent);
}

.etpc-drawer__item:disabled {
	opacity: 0.58;
	cursor: not-allowed;
}

.etpc-drawer__item-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--etpc-text);
}

.etpc-drawer__item-head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px;
	align-items: center;
}

.etpc-drawer__item-title-wrap {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.etpc-drawer__item-meta {
	font-size: 11px;
	line-height: 1.35;
	color: #72829b;
}

.etpc-drawer__thumb {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #dce3ee;
	background: #f7f9fc;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.etpc-drawer__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.etpc-drawer__item-sub {
	font-size: 12px;
	line-height: 1.35;
	color: #0b766d;
}

.etpc-drawer__empty {
	margin: 4px 2px 2px;
	padding: 10px 12px;
	border: 1px dashed #d2dbea;
	border-radius: 10px;
	font-size: 13px;
	color: #64748b;
}

.etpc-input {
	width: 100%;
	border: 1px solid var(--etpc-border);
	border-radius: var(--etpc-input-radius);
	padding: 9px 11px;
	background: #fff;
	font-size: 14px;
	line-height: 1.4;
	color: var(--etpc-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.etpc-input[type='hidden'] {
	display: none;
}

.etpc-input:focus {
	outline: none;
	border-color: var(--etpc-accent);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.etpc-input[multiple] {
	min-height: 96px;
}

.etpc-input[type='file'] {
	padding: 8px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	color: var(--etpc-text-muted);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
	cursor: pointer;
}

.etpc-input[type='file']::file-selector-button {
	margin-right: 12px;
	padding: 10px 16px;
	border: 1px solid #c7d5e6;
	border-radius: calc(var(--etpc-input-radius) - 2px);
	background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
	color: var(--etpc-text);
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.etpc-input[type='file']::-webkit-file-upload-button {
	margin-right: 12px;
	padding: 10px 16px;
	border: 1px solid #c7d5e6;
	border-radius: calc(var(--etpc-input-radius) - 2px);
	background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
	color: var(--etpc-text);
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.etpc-input[type='file']:hover::file-selector-button,
.etpc-input[type='file']:hover::-webkit-file-upload-button {
	border-color: #9db4d1;
	background: linear-gradient(135deg, #f2f8ff 0%, #e7f1ff 100%);
}

.etpc-input[type='file']:focus::file-selector-button,
.etpc-input[type='file']:focus::-webkit-file-upload-button {
	border-color: var(--etpc-accent);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

textarea.etpc-input {
	min-height: 96px;
	resize: vertical;
}

.etpc-radio-group {
	display: grid;
	gap: 6px;
}

.etpc-radio {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	color: var(--etpc-text);
}

.etpc-dimensions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
}

.etpc-components-table,
.etpc-repeater {
	display: grid;
	gap: 8px;
}

.etpc-components-table__wrap {
	overflow-x: auto;
	border: 1px solid var(--etpc-border);
	border-radius: 10px;
	background: #fff;
}

.etpc-components-table__table {
	width: 100%;
	border-collapse: collapse;
	min-width: 520px;
}

.etpc-components-table__table th,
.etpc-components-table__table td {
	padding: 8px;
	border-bottom: 1px solid #edf2f8;
	text-align: left;
	vertical-align: middle;
}

.etpc-components-table__table th {
	font-size: 11px;
	font-weight: 700;
	color: #516179;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.etpc-components-table__table tbody tr:last-child td {
	border-bottom: none;
}

.etpc-components-table__input,
.etpc-repeater__input {
	min-width: 120px;
	padding: 8px 10px;
}

.etpc-components-table__add,
.etpc-repeater__add {
	justify-self: start;
}

.etpc-components-table__remove,
.etpc-repeater__remove {
	border: 1px solid var(--etpc-border-strong);
	background: #fff;
	color: #314155;
	border-radius: 9px;
	padding: 6px 9px;
	font-size: 12px;
	line-height: 1.3;
	cursor: pointer;
}

.etpc-components-table__remove:disabled,
.etpc-repeater__remove:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.etpc-repeater__rows {
	display: grid;
	gap: 8px;
}

.etpc-repeater__row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	padding: 8px;
	border: 1px solid var(--etpc-border);
	border-radius: 10px;
	background: #fff;
}

.etpc-repeater__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.etpc-repeater__cell {
	display: grid;
	gap: 5px;
}

.etpc-repeater__cell-label {
	font-size: 11px;
	font-weight: 600;
	color: #55657c;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.etpc-summary {
	position: sticky;
	top: 18px;
	background: var(--etpc-surface);
	border: 1px solid var(--etpc-border);
	border-radius: 12px;
	padding: 14px;
	display: grid;
	gap: 10px;
	height: fit-content;
	box-shadow: var(--etpc-shadow-soft);
}

.etpc-summary h4 {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--etpc-text);
}

.etpc-summary__lines {
	margin: 0;
	padding-left: 16px;
	display: grid;
	gap: 4px;
	font-size: 13px;
	line-height: 1.35;
	color: #334359;
}

.etpc-summary__choices {
	display: grid;
	gap: 6px;
}

.etpc-summary__choice {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
	line-height: 1.35;
	padding: 6px 8px;
	border: 1px solid #e5ebf4;
	border-radius: 8px;
	background: #f8fbff;
	color: #41526b;
}

.etpc-summary__choice--interactive {
	cursor: pointer;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.etpc-summary__choice--interactive:hover {
	border-color: var(--etpc-accent);
	background: #fffdf4;
	transform: translateY(-1px);
}

.etpc-summary__choice--interactive:focus-visible {
	outline: none;
	border-color: var(--etpc-accent);
	box-shadow: 0 0 0 3px rgba(15, 23, 42, .08);
}

.etpc-summary__choice strong {
	color: #1b2a40;
	font-weight: 600;
	text-align: right;
}

.etpc-summary__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 600;
	padding-top: 8px;
	border-top: 1px solid #e6edf6;
	color: #2b3a4d;
}

.etpc-summary__gross {
	font-size: 17px;
	font-weight: 700;
	color: #142033;
}

.etpc-summary.is-summary-disabled h4,
.etpc-summary.is-summary-disabled .etpc-summary__choices,
.etpc-summary.is-summary-disabled .etpc-summary__messages,
.etpc-summary.is-summary-disabled .etpc-summary__lines,
.etpc-summary.is-summary-disabled .etpc-summary__total {
	display: none;
}

.etpc-message {
	margin: 0;
	padding: 7px 9px;
	border-radius: 8px;
	background: #fff7db;
	border: 1px solid #f5df98;
	color: #785c0c;
	font-size: 12px;
	line-height: 1.35;
}

.etpc-quote-meta {
	display: grid;
	gap: 8px;
	padding: 10px;
	border: 1px solid #e5ebf4;
	border-radius: 10px;
	background: #f8fbff;
}

.etpc-quote-meta[hidden] {
	display: none !important;
}

.etpc-quote-meta__label {
	font-size: 12px;
	font-weight: 600;
	color: #334359;
}

.etpc-quote-meta__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	line-height: 1.35;
	color: #41526b;
}

.etpc-quote-meta__consent input[type="checkbox"] {
	margin-top: 2px;
}

.etpc-button {
	border: 1px solid transparent;
	border-radius: var(--etpc-submit-radius);
	padding: 8px 14px;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.35;
	transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.etpc-button:hover {
	transform: translateY(-1px);
}

.etpc-button:active {
	transform: translateY(0);
}

.etpc-button--primary {
	background: var(--etpc-accent);
	border-color: var(--etpc-accent);
	color: #fff;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.etpc-button--primary:hover,
.etpc-button--primary:focus {
	background: var(--etpc-accent);
	border-color: var(--etpc-accent);
}

.etpc-button--ghost {
	background: #eef4fb;
	color: #28415e;
	border-color: #d6dfec;
}

.etpc-nav {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

body.etpc-has-drawer {
	overflow: hidden;
}

.etpc-toast-stack {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 10020;
	display: grid;
	gap: 8px;
	width: min(360px, calc(100vw - 24px));
}

.etpc-toast {
	border-radius: var(--etpc-toast-radius);
	padding: 10px 12px;
	background: var(--etpc-toast-bg);
	color: var(--etpc-toast-text);
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.28);
	font-size: 13px;
	line-height: 1.4;
	border: 1px solid rgba(255, 255, 255, 0.08);
	animation: etpc-toast-in 0.2s ease;
	white-space: pre-line;
}

.etpc-toast--success {
	background: var(--etpc-toast-success);
}

.etpc-toast--error {
	background: var(--etpc-toast-error);
}

@keyframes etpc-toast-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1100px) {
	.etpc-form__inner {
		grid-template-columns: 1fr;
	}

	.etpc-summary {
		position: static;
	}
}

@media (max-width: 900px) {
	.etpc-form {
		padding: 14px;
		border-radius: 12px;
	}

	.etpc-step__title {
		font-size: 18px;
	}

	.etpc-option-trigger {
		grid-template-columns: 30px 1fr auto;
		padding: 11px 12px;
	}

	.etpc-option-text strong {
		font-size: 14px;
	}

	.etpc-option-value {
		font-size: 12px;
	}

	.etpc-option-arrow {
		font-size: 18px;
	}

	.etpc-dimensions {
		grid-template-columns: 1fr;
	}

	.etpc-repeater__row {
		grid-template-columns: 1fr;
	}

	.etpc-repeater__fields {
		grid-template-columns: 1fr;
	}

	.etpc-drawer__panel {
		width: min(420px, 94vw);
	}

	.etpc-toast-stack {
		right: 10px;
		bottom: 10px;
		width: min(340px, calc(100vw - 20px));
	}
}


.etpc-paypal-disabled {
	opacity: 0.45;
	filter: grayscale(1);
	pointer-events: none;
	transition: opacity 0.2s ease, filter 0.2s ease;
}
