/*
 * Every drop-down on the site: one style, with a chevron drawn in the text
 * colour so it shows in light and dark mode. WooCommerce's checkout and
 * product option drop-downs are named because its own rules give them a black
 * arrow image, which this must outweigh. The searchable country and county
 * fields (Select2) get the same chevron in place of theirs.
 */

select:not([multiple]),
.woocommerce form .form-row select,
.woocommerce div.product form.cart .variations select,
.select2-container .select2-selection--single .select2-selection__arrow b {
	background-image:
		linear-gradient(45deg, transparent 50%, currentColor 50%),
		linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-size: .3em .3em;
	background-repeat: no-repeat;
}

select:not([multiple]),
.woocommerce form .form-row select,
.woocommerce div.product form.cart .variations select {
	padding-right: 2em;
	color: var(--text);
	background-color: var(--bg);
	background-position: right 1.05em center, right .75em center;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
	background-position: calc(50% - .15em) center, calc(50% + .15em) center;
}
