/*
 * Estilo del precio convertido por país: el monto en negrita y el nombre de la moneda pequeño y discreto
 * a su lado (como el conversor de xe.com).
 */

/*
 * Banderas: Chrome y Edge en Windows NO incluyen las banderas de países en su fuente de emojis (solo muestran las dos
 * letras del país); Firefox sí. Esta fuente (77 kB) contiene solo las banderas y se usa únicamente para esos símbolos
 * (unicode-range); los navegadores que ya las tienen simplemente la ignoran. Licencias en assets/fonts/LICENSE.txt.
 */
@font-face {
	font-family: "Twemoji Country Flags";
	src: url("../fonts/TwemojiCountryFlags.woff2") format("woff2");
	unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E007F, U+E007F, U+200D;
	font-display: swap;
}

.ekko-converted-price {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	column-gap: 0.3em;
	font-variant-numeric: tabular-nums;
}

.ekko-converted-price .ekko-amount {
	font-weight: 700;
}

/* El nombre de la moneda es un complemento: siempre más pequeño que la cifra, aunque el precio sea muy grande. */
.ekko-converted-price .ekko-currency-name {
	font-weight: 400;
	opacity: 0.75;
	font-size: clamp(0.75rem, 0.4em, 1rem);
	line-height: 1.2;
	/* La tipografía de texto del tema (si la define); si no, la heredada. */
	font-family: var(--font-body, inherit);
}

.ekko-converted-price .ekko-flag {
	line-height: 1;
	font-size: 0.8em;
	/* Primero la fuente de banderas (solo actúa sobre los símbolos de bandera), luego los emojis nativos del sistema. */
	font-family: "Twemoji Country Flags", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

/* Banderas dibujadas por CSS (solo ASCII): el HTML no lleva emojis, así que ninguna codificación errónea del servidor,
   caché o minificador puede corromperlas. Generado desde EKKO_Currency_Data::country_currency_map(). */
.ekko-flag[data-cc="AD"]::before{content:"\1F1E6 \1F1E9"}
.ekko-flag[data-cc="AE"]::before{content:"\1F1E6 \1F1EA"}
.ekko-flag[data-cc="AF"]::before{content:"\1F1E6 \1F1EB"}
.ekko-flag[data-cc="AG"]::before{content:"\1F1E6 \1F1EC"}
.ekko-flag[data-cc="AL"]::before{content:"\1F1E6 \1F1F1"}
.ekko-flag[data-cc="AM"]::before{content:"\1F1E6 \1F1F2"}
.ekko-flag[data-cc="AO"]::before{content:"\1F1E6 \1F1F4"}
.ekko-flag[data-cc="AR"]::before{content:"\1F1E6 \1F1F7"}
.ekko-flag[data-cc="AT"]::before{content:"\1F1E6 \1F1F9"}
.ekko-flag[data-cc="AU"]::before{content:"\1F1E6 \1F1FA"}
.ekko-flag[data-cc="AW"]::before{content:"\1F1E6 \1F1FC"}
.ekko-flag[data-cc="AZ"]::before{content:"\1F1E6 \1F1FF"}
.ekko-flag[data-cc="BA"]::before{content:"\1F1E7 \1F1E6"}
.ekko-flag[data-cc="BB"]::before{content:"\1F1E7 \1F1E7"}
.ekko-flag[data-cc="BD"]::before{content:"\1F1E7 \1F1E9"}
.ekko-flag[data-cc="BE"]::before{content:"\1F1E7 \1F1EA"}
.ekko-flag[data-cc="BF"]::before{content:"\1F1E7 \1F1EB"}
.ekko-flag[data-cc="BG"]::before{content:"\1F1E7 \1F1EC"}
.ekko-flag[data-cc="BH"]::before{content:"\1F1E7 \1F1ED"}
.ekko-flag[data-cc="BI"]::before{content:"\1F1E7 \1F1EE"}
.ekko-flag[data-cc="BJ"]::before{content:"\1F1E7 \1F1EF"}
.ekko-flag[data-cc="BN"]::before{content:"\1F1E7 \1F1F3"}
.ekko-flag[data-cc="BO"]::before{content:"\1F1E7 \1F1F4"}
.ekko-flag[data-cc="BR"]::before{content:"\1F1E7 \1F1F7"}
.ekko-flag[data-cc="BS"]::before{content:"\1F1E7 \1F1F8"}
.ekko-flag[data-cc="BT"]::before{content:"\1F1E7 \1F1F9"}
.ekko-flag[data-cc="BW"]::before{content:"\1F1E7 \1F1FC"}
.ekko-flag[data-cc="BY"]::before{content:"\1F1E7 \1F1FE"}
.ekko-flag[data-cc="BZ"]::before{content:"\1F1E7 \1F1FF"}
.ekko-flag[data-cc="CA"]::before{content:"\1F1E8 \1F1E6"}
.ekko-flag[data-cc="CD"]::before{content:"\1F1E8 \1F1E9"}
.ekko-flag[data-cc="CF"]::before{content:"\1F1E8 \1F1EB"}
.ekko-flag[data-cc="CG"]::before{content:"\1F1E8 \1F1EC"}
.ekko-flag[data-cc="CH"]::before{content:"\1F1E8 \1F1ED"}
.ekko-flag[data-cc="CI"]::before{content:"\1F1E8 \1F1EE"}
.ekko-flag[data-cc="CL"]::before{content:"\1F1E8 \1F1F1"}
.ekko-flag[data-cc="CM"]::before{content:"\1F1E8 \1F1F2"}
.ekko-flag[data-cc="CN"]::before{content:"\1F1E8 \1F1F3"}
.ekko-flag[data-cc="CO"]::before{content:"\1F1E8 \1F1F4"}
.ekko-flag[data-cc="CR"]::before{content:"\1F1E8 \1F1F7"}
.ekko-flag[data-cc="CU"]::before{content:"\1F1E8 \1F1FA"}
.ekko-flag[data-cc="CV"]::before{content:"\1F1E8 \1F1FB"}
.ekko-flag[data-cc="CW"]::before{content:"\1F1E8 \1F1FC"}
.ekko-flag[data-cc="CY"]::before{content:"\1F1E8 \1F1FE"}
.ekko-flag[data-cc="CZ"]::before{content:"\1F1E8 \1F1FF"}
.ekko-flag[data-cc="DE"]::before{content:"\1F1E9 \1F1EA"}
.ekko-flag[data-cc="DJ"]::before{content:"\1F1E9 \1F1EF"}
.ekko-flag[data-cc="DK"]::before{content:"\1F1E9 \1F1F0"}
.ekko-flag[data-cc="DM"]::before{content:"\1F1E9 \1F1F2"}
.ekko-flag[data-cc="DO"]::before{content:"\1F1E9 \1F1F4"}
.ekko-flag[data-cc="DZ"]::before{content:"\1F1E9 \1F1FF"}
.ekko-flag[data-cc="EC"]::before{content:"\1F1EA \1F1E8"}
.ekko-flag[data-cc="EE"]::before{content:"\1F1EA \1F1EA"}
.ekko-flag[data-cc="EG"]::before{content:"\1F1EA \1F1EC"}
.ekko-flag[data-cc="ER"]::before{content:"\1F1EA \1F1F7"}
.ekko-flag[data-cc="ES"]::before{content:"\1F1EA \1F1F8"}
.ekko-flag[data-cc="ET"]::before{content:"\1F1EA \1F1F9"}
.ekko-flag[data-cc="FI"]::before{content:"\1F1EB \1F1EE"}
.ekko-flag[data-cc="FJ"]::before{content:"\1F1EB \1F1EF"}
.ekko-flag[data-cc="FM"]::before{content:"\1F1EB \1F1F2"}
.ekko-flag[data-cc="FR"]::before{content:"\1F1EB \1F1F7"}
.ekko-flag[data-cc="GA"]::before{content:"\1F1EC \1F1E6"}
.ekko-flag[data-cc="GB"]::before{content:"\1F1EC \1F1E7"}
.ekko-flag[data-cc="GD"]::before{content:"\1F1EC \1F1E9"}
.ekko-flag[data-cc="GE"]::before{content:"\1F1EC \1F1EA"}
.ekko-flag[data-cc="GH"]::before{content:"\1F1EC \1F1ED"}
.ekko-flag[data-cc="GI"]::before{content:"\1F1EC \1F1EE"}
.ekko-flag[data-cc="GM"]::before{content:"\1F1EC \1F1F2"}
.ekko-flag[data-cc="GN"]::before{content:"\1F1EC \1F1F3"}
.ekko-flag[data-cc="GQ"]::before{content:"\1F1EC \1F1F6"}
.ekko-flag[data-cc="GR"]::before{content:"\1F1EC \1F1F7"}
.ekko-flag[data-cc="GT"]::before{content:"\1F1EC \1F1F9"}
.ekko-flag[data-cc="GW"]::before{content:"\1F1EC \1F1FC"}
.ekko-flag[data-cc="GY"]::before{content:"\1F1EC \1F1FE"}
.ekko-flag[data-cc="HK"]::before{content:"\1F1ED \1F1F0"}
.ekko-flag[data-cc="HN"]::before{content:"\1F1ED \1F1F3"}
.ekko-flag[data-cc="HR"]::before{content:"\1F1ED \1F1F7"}
.ekko-flag[data-cc="HT"]::before{content:"\1F1ED \1F1F9"}
.ekko-flag[data-cc="HU"]::before{content:"\1F1ED \1F1FA"}
.ekko-flag[data-cc="ID"]::before{content:"\1F1EE \1F1E9"}
.ekko-flag[data-cc="IE"]::before{content:"\1F1EE \1F1EA"}
.ekko-flag[data-cc="IL"]::before{content:"\1F1EE \1F1F1"}
.ekko-flag[data-cc="IN"]::before{content:"\1F1EE \1F1F3"}
.ekko-flag[data-cc="IQ"]::before{content:"\1F1EE \1F1F6"}
.ekko-flag[data-cc="IR"]::before{content:"\1F1EE \1F1F7"}
.ekko-flag[data-cc="IS"]::before{content:"\1F1EE \1F1F8"}
.ekko-flag[data-cc="IT"]::before{content:"\1F1EE \1F1F9"}
.ekko-flag[data-cc="JM"]::before{content:"\1F1EF \1F1F2"}
.ekko-flag[data-cc="JO"]::before{content:"\1F1EF \1F1F4"}
.ekko-flag[data-cc="JP"]::before{content:"\1F1EF \1F1F5"}
.ekko-flag[data-cc="KE"]::before{content:"\1F1F0 \1F1EA"}
.ekko-flag[data-cc="KG"]::before{content:"\1F1F0 \1F1EC"}
.ekko-flag[data-cc="KH"]::before{content:"\1F1F0 \1F1ED"}
.ekko-flag[data-cc="KI"]::before{content:"\1F1F0 \1F1EE"}
.ekko-flag[data-cc="KM"]::before{content:"\1F1F0 \1F1F2"}
.ekko-flag[data-cc="KN"]::before{content:"\1F1F0 \1F1F3"}
.ekko-flag[data-cc="KP"]::before{content:"\1F1F0 \1F1F5"}
.ekko-flag[data-cc="KR"]::before{content:"\1F1F0 \1F1F7"}
.ekko-flag[data-cc="KW"]::before{content:"\1F1F0 \1F1FC"}
.ekko-flag[data-cc="KZ"]::before{content:"\1F1F0 \1F1FF"}
.ekko-flag[data-cc="LA"]::before{content:"\1F1F1 \1F1E6"}
.ekko-flag[data-cc="LB"]::before{content:"\1F1F1 \1F1E7"}
.ekko-flag[data-cc="LC"]::before{content:"\1F1F1 \1F1E8"}
.ekko-flag[data-cc="LI"]::before{content:"\1F1F1 \1F1EE"}
.ekko-flag[data-cc="LK"]::before{content:"\1F1F1 \1F1F0"}
.ekko-flag[data-cc="LR"]::before{content:"\1F1F1 \1F1F7"}
.ekko-flag[data-cc="LS"]::before{content:"\1F1F1 \1F1F8"}
.ekko-flag[data-cc="LT"]::before{content:"\1F1F1 \1F1F9"}
.ekko-flag[data-cc="LU"]::before{content:"\1F1F1 \1F1FA"}
.ekko-flag[data-cc="LV"]::before{content:"\1F1F1 \1F1FB"}
.ekko-flag[data-cc="LY"]::before{content:"\1F1F1 \1F1FE"}
.ekko-flag[data-cc="MA"]::before{content:"\1F1F2 \1F1E6"}
.ekko-flag[data-cc="MC"]::before{content:"\1F1F2 \1F1E8"}
.ekko-flag[data-cc="MD"]::before{content:"\1F1F2 \1F1E9"}
.ekko-flag[data-cc="ME"]::before{content:"\1F1F2 \1F1EA"}
.ekko-flag[data-cc="MG"]::before{content:"\1F1F2 \1F1EC"}
.ekko-flag[data-cc="MH"]::before{content:"\1F1F2 \1F1ED"}
.ekko-flag[data-cc="MK"]::before{content:"\1F1F2 \1F1F0"}
.ekko-flag[data-cc="ML"]::before{content:"\1F1F2 \1F1F1"}
.ekko-flag[data-cc="MM"]::before{content:"\1F1F2 \1F1F2"}
.ekko-flag[data-cc="MN"]::before{content:"\1F1F2 \1F1F3"}
.ekko-flag[data-cc="MO"]::before{content:"\1F1F2 \1F1F4"}
.ekko-flag[data-cc="MR"]::before{content:"\1F1F2 \1F1F7"}
.ekko-flag[data-cc="MT"]::before{content:"\1F1F2 \1F1F9"}
.ekko-flag[data-cc="MU"]::before{content:"\1F1F2 \1F1FA"}
.ekko-flag[data-cc="MV"]::before{content:"\1F1F2 \1F1FB"}
.ekko-flag[data-cc="MW"]::before{content:"\1F1F2 \1F1FC"}
.ekko-flag[data-cc="MX"]::before{content:"\1F1F2 \1F1FD"}
.ekko-flag[data-cc="MY"]::before{content:"\1F1F2 \1F1FE"}
.ekko-flag[data-cc="MZ"]::before{content:"\1F1F2 \1F1FF"}
.ekko-flag[data-cc="NA"]::before{content:"\1F1F3 \1F1E6"}
.ekko-flag[data-cc="NE"]::before{content:"\1F1F3 \1F1EA"}
.ekko-flag[data-cc="NG"]::before{content:"\1F1F3 \1F1EC"}
.ekko-flag[data-cc="NI"]::before{content:"\1F1F3 \1F1EE"}
.ekko-flag[data-cc="NL"]::before{content:"\1F1F3 \1F1F1"}
.ekko-flag[data-cc="NO"]::before{content:"\1F1F3 \1F1F4"}
.ekko-flag[data-cc="NP"]::before{content:"\1F1F3 \1F1F5"}
.ekko-flag[data-cc="NR"]::before{content:"\1F1F3 \1F1F7"}
.ekko-flag[data-cc="NZ"]::before{content:"\1F1F3 \1F1FF"}
.ekko-flag[data-cc="OM"]::before{content:"\1F1F4 \1F1F2"}
.ekko-flag[data-cc="PA"]::before{content:"\1F1F5 \1F1E6"}
.ekko-flag[data-cc="PE"]::before{content:"\1F1F5 \1F1EA"}
.ekko-flag[data-cc="PG"]::before{content:"\1F1F5 \1F1EC"}
.ekko-flag[data-cc="PH"]::before{content:"\1F1F5 \1F1ED"}
.ekko-flag[data-cc="PK"]::before{content:"\1F1F5 \1F1F0"}
.ekko-flag[data-cc="PL"]::before{content:"\1F1F5 \1F1F1"}
.ekko-flag[data-cc="PR"]::before{content:"\1F1F5 \1F1F7"}
.ekko-flag[data-cc="PS"]::before{content:"\1F1F5 \1F1F8"}
.ekko-flag[data-cc="PT"]::before{content:"\1F1F5 \1F1F9"}
.ekko-flag[data-cc="PW"]::before{content:"\1F1F5 \1F1FC"}
.ekko-flag[data-cc="PY"]::before{content:"\1F1F5 \1F1FE"}
.ekko-flag[data-cc="QA"]::before{content:"\1F1F6 \1F1E6"}
.ekko-flag[data-cc="RO"]::before{content:"\1F1F7 \1F1F4"}
.ekko-flag[data-cc="RS"]::before{content:"\1F1F7 \1F1F8"}
.ekko-flag[data-cc="RU"]::before{content:"\1F1F7 \1F1FA"}
.ekko-flag[data-cc="RW"]::before{content:"\1F1F7 \1F1FC"}
.ekko-flag[data-cc="SA"]::before{content:"\1F1F8 \1F1E6"}
.ekko-flag[data-cc="SB"]::before{content:"\1F1F8 \1F1E7"}
.ekko-flag[data-cc="SC"]::before{content:"\1F1F8 \1F1E8"}
.ekko-flag[data-cc="SD"]::before{content:"\1F1F8 \1F1E9"}
.ekko-flag[data-cc="SE"]::before{content:"\1F1F8 \1F1EA"}
.ekko-flag[data-cc="SG"]::before{content:"\1F1F8 \1F1EC"}
.ekko-flag[data-cc="SI"]::before{content:"\1F1F8 \1F1EE"}
.ekko-flag[data-cc="SK"]::before{content:"\1F1F8 \1F1F0"}
.ekko-flag[data-cc="SL"]::before{content:"\1F1F8 \1F1F1"}
.ekko-flag[data-cc="SM"]::before{content:"\1F1F8 \1F1F2"}
.ekko-flag[data-cc="SN"]::before{content:"\1F1F8 \1F1F3"}
.ekko-flag[data-cc="SO"]::before{content:"\1F1F8 \1F1F4"}
.ekko-flag[data-cc="SR"]::before{content:"\1F1F8 \1F1F7"}
.ekko-flag[data-cc="SS"]::before{content:"\1F1F8 \1F1F8"}
.ekko-flag[data-cc="ST"]::before{content:"\1F1F8 \1F1F9"}
.ekko-flag[data-cc="SV"]::before{content:"\1F1F8 \1F1FB"}
.ekko-flag[data-cc="SY"]::before{content:"\1F1F8 \1F1FE"}
.ekko-flag[data-cc="SZ"]::before{content:"\1F1F8 \1F1FF"}
.ekko-flag[data-cc="TD"]::before{content:"\1F1F9 \1F1E9"}
.ekko-flag[data-cc="TG"]::before{content:"\1F1F9 \1F1EC"}
.ekko-flag[data-cc="TH"]::before{content:"\1F1F9 \1F1ED"}
.ekko-flag[data-cc="TJ"]::before{content:"\1F1F9 \1F1EF"}
.ekko-flag[data-cc="TL"]::before{content:"\1F1F9 \1F1F1"}
.ekko-flag[data-cc="TM"]::before{content:"\1F1F9 \1F1F2"}
.ekko-flag[data-cc="TN"]::before{content:"\1F1F9 \1F1F3"}
.ekko-flag[data-cc="TO"]::before{content:"\1F1F9 \1F1F4"}
.ekko-flag[data-cc="TR"]::before{content:"\1F1F9 \1F1F7"}
.ekko-flag[data-cc="TT"]::before{content:"\1F1F9 \1F1F9"}
.ekko-flag[data-cc="TV"]::before{content:"\1F1F9 \1F1FB"}
.ekko-flag[data-cc="TW"]::before{content:"\1F1F9 \1F1FC"}
.ekko-flag[data-cc="TZ"]::before{content:"\1F1F9 \1F1FF"}
.ekko-flag[data-cc="UA"]::before{content:"\1F1FA \1F1E6"}
.ekko-flag[data-cc="UG"]::before{content:"\1F1FA \1F1EC"}
.ekko-flag[data-cc="US"]::before{content:"\1F1FA \1F1F8"}
.ekko-flag[data-cc="UY"]::before{content:"\1F1FA \1F1FE"}
.ekko-flag[data-cc="UZ"]::before{content:"\1F1FA \1F1FF"}
.ekko-flag[data-cc="VA"]::before{content:"\1F1FB \1F1E6"}
.ekko-flag[data-cc="VC"]::before{content:"\1F1FB \1F1E8"}
.ekko-flag[data-cc="VE"]::before{content:"\1F1FB \1F1EA"}
.ekko-flag[data-cc="VN"]::before{content:"\1F1FB \1F1F3"}
.ekko-flag[data-cc="VU"]::before{content:"\1F1FB \1F1FA"}
.ekko-flag[data-cc="WS"]::before{content:"\1F1FC \1F1F8"}
.ekko-flag[data-cc="XK"]::before{content:"\1F1FD \1F1F0"}
.ekko-flag[data-cc="YE"]::before{content:"\1F1FE \1F1EA"}
.ekko-flag[data-cc="ZA"]::before{content:"\1F1FF \1F1E6"}
.ekko-flag[data-cc="ZM"]::before{content:"\1F1FF \1F1F2"}
.ekko-flag[data-cc="ZW"]::before{content:"\1F1FF \1F1FC"}
