.edfw-delivery {
	--edfw-accent: #7f54b3;
	--edfw-fg: #1f2937;
	--edfw-bg: #faf8fd;
	--edfw-line: #e7ddf7;
	box-sizing: border-box;
	display: inline-flex;
	align-items: flex-start;
	gap: .65em;
	padding: .8em .95em;
	border: 1px solid var(--edfw-line);
	border-radius: 10px;
	background: var(--edfw-bg);
	color: var(--edfw-fg);
	font-size: .95em;
	line-height: 1.45;
}
/* Tint the card from the accent so a custom accent recolors everything. */
@supports ( background: color-mix( in srgb, red 4%, #fff ) ) {
	.edfw-delivery {
		--edfw-bg: color-mix( in srgb, var(--edfw-accent) 4%, #fff );
		--edfw-line: color-mix( in srgb, var(--edfw-accent) 20%, #fff );
	}
}
/* Single product page: own line with breathing room, like the settings preview. */
.edfw-product {
	display: flex;
	width: fit-content;
	margin: 16px 0;
}
.edfw-archive,
.edfw-cart,
.edfw-checkout {
	margin: .5em 0;
}
.edfw-delivery__body {
	display: flex;
	flex-direction: column;
	gap: .3em;
	min-width: 0;
}
.edfw-countdown {
	color: var(--edfw-accent);
	font-weight: 600;
	font-size: .9em;
}
.edfw-countdown:empty {
	display: none;
}
.edfw-countdown--passed {
	color: #b26200;
}
@media ( prefers-reduced-motion: reduce ) {
	.edfw-countdown { transition: none; }
}

/* Widget icon — rendered from a lucide SVG via CSS mask so it takes the accent
 * color and needs no inline <svg> (which wp_kses_post would strip). */
.edfw-delivery__icon {
	width: 1.3em;
	height: 1.3em;
	margin-top: .05em;
	flex: none;
	display: inline-block;
	background: var(--edfw-accent);
	-webkit-mask: var(--edfw-icon) center / contain no-repeat;
	mask: var(--edfw-icon) center / contain no-repeat;
}
.edfw-icon-truck {
	--edfw-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%2018V6a2%202%200%200%200-2-2H4a2%202%200%200%200-2%202v11a1%201%200%200%200%201%201h2'/%3E%3Cpath%20d='M15%2018H9'/%3E%3Cpath%20d='M19%2018h2a1%201%200%200%200%201-1v-3.65a1%201%200%200%200-.22-.624l-3.48-4.35A1%201%200%200%200%2017.52%208H14'/%3E%3Ccircle%20cx='17'%20cy='18'%20r='2'/%3E%3Ccircle%20cx='7'%20cy='18'%20r='2'/%3E%3C/svg%3E");
}
.edfw-icon-calendar {
	--edfw-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M8%202v4'/%3E%3Cpath%20d='M16%202v4'/%3E%3Crect%20width='18'%20height='18'%20x='3'%20y='4'%20rx='2'/%3E%3Cpath%20d='M3%2010h18'/%3E%3C/svg%3E");
}
.edfw-icon-clock {
	--edfw-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='10'/%3E%3Cpolyline%20points='12%206%2012%2012%2016%2014'/%3E%3C/svg%3E");
}
.edfw-icon-box {
	--edfw-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M11%2021.73a2%202%200%200%200%202%200l7-4A2%202%200%200%200%2021%2016V8a2%202%200%200%200-1-1.73l-7-4a2%202%200%200%200-2%200l-7%204A2%202%200%200%200%203%208v8a2%202%200%200%200%201%201.73z'/%3E%3Cpath%20d='m3.3%207%208.7%205%208.7-5'/%3E%3Cpath%20d='M12%2022V12'/%3E%3C/svg%3E");
}
