.evtk-extras {
	--evtk-x-line: var(--brdcolor-gray-300, #e6e6e6);
	--evtk-x-ink: var(--wd-title-color, #171718);
	--evtk-x-muted: var(--wd-text-color, #6b7280);
	--evtk-x-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	margin: 20px 0 8px;
	float: none;
	clear: both;
	isolation: isolate;
	font-family: var(--wd-text-font, inherit);
	color: var(--evtk-x-ink);
}

form.cart + .evtk-extras,
.wd-single-add-cart + .evtk-extras,
.single-product .summary > .evtk-extras,
.single-product .entry-summary > .evtk-extras {
	width: 100%;
	max-width: 100%;
	flex: 0 0 auto;
}

.evtk-extras.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

.evtk-extras__label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.evtk-extras__track {
	position: relative;
	min-width: 0;
	width: 100%;
}

.evtk-extras__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	width: 100%;
	min-width: 0;
}

.evtk-xcard {
	position: relative;
	min-width: 0;
}

.evtk-xcard input {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
}

.evtk-extras .evtk-xcard label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 0;
	height: 100%;
	padding: 10px 10px 8px;
	border: 1px solid var(--evtk-x-line);
	border-radius: var(--evtk-x-radius);
	background: #fff;
	cursor: pointer;
}

.evtk-xcard.is-on label {
	border-color: var(--wd-primary-color, #171718);
	box-shadow: inset 0 0 0 1px var(--wd-primary-color, #171718);
}

.evtk-xcard__title {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
}

.evtk-xcard__price {
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.evtk-extras a.evtk-xcard__more {
	display: inline;
	margin-top: auto;
	color: var(--evtk-x-muted);
	font-size: 11px;
	line-height: 1.25;
	text-decoration: underline;
	text-underline-offset: 2px;
	box-shadow: none;
}

.evtk-extras a.evtk-xcard__more:hover {
	color: var(--evtk-x-ink);
}

.evtk-extras button.evtk-extras__clear {
	all: unset;
	align-self: flex-start;
	color: var(--evtk-x-muted);
	font-size: 12px;
	line-height: 1.3;
	text-decoration: underline;
	cursor: pointer;
}

.evtk-extras.is-compact {
	gap: 8px;
	margin: 10px 0 0;
}

.evtk-extras.is-compact .evtk-extras__label {
	font-size: 12px;
}

.evtk-extras.is-compact .evtk-extras__grid {
	gap: 6px;
}

.evtk-extras.is-compact .evtk-xcard label {
	padding: 8px;
}

.evtk-xmodal[hidden] { display: none; }

.evtk-xmodal {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: grid;
	place-items: center;
	padding: 24px;
}

.evtk-xmodal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 18, 0.45);
}

.evtk-xmodal__panel {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	max-height: min(80vh, 640px);
	overflow: auto;
	padding: 28px 28px 24px;
	border-radius: var(--evtk-x-radius, 12px);
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.evtk-xmodal__panel h2 {
	margin: 0 36px 12px 0;
	font-size: 20px;
	font-weight: 800;
}

.evtk-xmodal__body {
	color: var(--evtk-x-ink);
	font-size: 14px;
	line-height: 1.55;
}

.evtk-xmodal__body ul {
	margin: 12px 0 0;
	padding-left: 18px;
}

.evtk-xmodal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border: 0;
	background: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

body.evtk-xmodal-open { overflow: hidden; }

@media (max-width: 420px) {
	.evtk-xcard__title,
	.evtk-xcard__price {
		font-size: 11px;
	}

	.evtk-xcard__price {
		white-space: normal;
	}

	.evtk-extras a.evtk-xcard__more {
		font-size: 10px;
	}
}
