.ww-custom-select {
	position: relative;
}

.ww-custom-select__native {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.ww-custom-select__button {
	align-items: center;
	background: var(--ww-color-forest-black);
	border: var(--ww-border-light);
	color: var(--ww-color-bone-white);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--ww-font-body);
	font-weight: 700;
	justify-content: space-between;
	min-height: 44px;
	min-width: 220px;
	padding: 10px 44px 10px 14px;
	position: relative;
	text-align: left;
	width: 100%;
}

.ww-custom-select__button::after {
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	content: "";
	height: 9px;
	position: absolute;
	right: 16px;
	top: 16px;
	transform: rotate(45deg);
	width: 9px;
}

.ww-custom-select.is-open .ww-custom-select__button::after {
	top: 20px;
	transform: rotate(225deg);
}

.ww-custom-select__listbox {
	background: var(--ww-color-forest-black);
	border: var(--ww-border-light);
	box-shadow: var(--ww-shadow-paper);
	display: grid;
	inset-inline: 0;
	max-height: 280px;
	overflow: auto;
	position: absolute;
	top: calc(100% + 4px);
	z-index: 80;
}

.ww-custom-select__listbox[hidden] {
	display: none;
}

.ww-custom-select__option {
	background: transparent;
	border: 0;
	color: var(--ww-color-bone-white);
	cursor: pointer;
	font-family: var(--ww-font-body);
	font-weight: 700;
	min-height: 44px;
	padding: 10px 14px;
	text-align: left;
}

.ww-custom-select__option[aria-selected="true"],
.ww-custom-select__option:hover,
.ww-custom-select__option:focus-visible {
	background: var(--ww-color-raw-umber);
	color: var(--ww-color-bone-white);
	outline: 0;
}

.ww-custom-select__option[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.5;
}

.woocommerce-ordering select,
.ww-custom-select select {
	background: var(--ww-color-forest-black);
	color: var(--ww-color-bone-white);
	max-width: 280px;
}
