/*
 * Lucide custom font + Divi 5 icon-picker integration.
 *
 * Codepoints: U+F4E00-F54D0 — Supplementary PUA-A (1745 icons, spans several 0x200
 * blocks contiguously). THREE-WEIGHT FAMILY (200/400/700), same codepoints per
 * weight; font-weight selects the file for the standalone `lucide` family and
 * the composed `ETmodules` family. JSON carries one picker entry per (icon,
 * weight). Sources normalised from the lucide 24-viewBox / stroke-2 set to our
 * 180 box + 2/4/6 stroke (paths scaled x7.5); generated from
 * src/fonts/lucide/{thin,regular,bold}/ by scripts/regen-font.py. slug
 * `lucide` == internal Divi type `lucide` (no dash to convert).
 *
 * No FontAwesome redeclaration — see sibling CSS.
 */

@font-face {
	font-family: 'lucide';
	src: url('../fonts/lucide-thin.woff2?v=1') format('woff2'),
		url('../fonts/lucide-thin.woff?v=1') format('woff'),
		url('../fonts/lucide-thin.ttf?v=1') format('truetype');
	font-weight: 200;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: 'lucide';
	src: url('../fonts/lucide.woff2?v=1') format('woff2'),
		url('../fonts/lucide.woff?v=1') format('woff'),
		url('../fonts/lucide.ttf?v=1') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: 'lucide';
	src: url('../fonts/lucide-bold.woff2?v=1') format('woff2'),
		url('../fonts/lucide-bold.woff?v=1') format('woff'),
		url('../fonts/lucide-bold.ttf?v=1') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: 'ETmodules';
	src: url('../fonts/lucide-thin.woff2?v=1') format('woff2'),
		url('../fonts/lucide-thin.woff?v=1') format('woff'),
		url('../fonts/lucide-thin.ttf?v=1') format('truetype');
	font-weight: 200;
	font-style: normal;
	font-display: block;
	unicode-range: U+20, U+F4E00-F54D0;
}

@font-face {
	font-family: 'ETmodules';
	src: url('../fonts/lucide.woff2?v=1') format('woff2'),
		url('../fonts/lucide.woff?v=1') format('woff'),
		url('../fonts/lucide.ttf?v=1') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: block;
	unicode-range: U+F4E00-F54D0;
}

@font-face {
	font-family: 'ETmodules';
	src: url('../fonts/lucide-bold.woff2?v=1') format('woff2'),
		url('../fonts/lucide-bold.woff?v=1') format('woff'),
		url('../fonts/lucide-bold.ttf?v=1') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: block;
	unicode-range: U+20, U+F4E00-F54D0;
}

.et-vb-icon-picker-list button[data-type="lucide"]::after,
.et-vb-icon-picker-list button[data-type="lucide"]::before {
	font-family: 'lucide' !important;
}

.et-vb-icon-picker-list button[data-type="lucide"][data-font-weight="200"]::after,
.et-vb-icon-picker-list button[data-type="lucide"][data-font-weight="200"]::before {
	font-weight: 200 !important;
}

.et-vb-icon-picker-list button[data-type="lucide"][data-font-weight="400"]::after,
.et-vb-icon-picker-list button[data-type="lucide"][data-font-weight="400"]::before {
	font-weight: 400 !important;
}

.et-vb-icon-picker-list button[data-type="lucide"][data-font-weight="700"]::after,
.et-vb-icon-picker-list button[data-type="lucide"][data-font-weight="700"]::before {
	font-weight: 700 !important;
}

.ds-divi-icon-lucide {
	font-family: 'lucide' !important;
	font-style: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
