.wpcb-configurator-field {

	.wpcb-select-wrapper,
	.wpcb-dropdown {
		position: relative;
		width: 100%;
		padding: 0 4px;

		img {
			position: absolute;
			top: 50%;
			right: 16px;
			transform: translateY(-50%);
		}
	}

	.wpcb-select {
		box-sizing: border-box;
		display: block;
		width: 100%;
		appearance: none;
		color: $option_color;
		border: 1px solid $template_border;
		background-color: $option_background;
		background-image: none;
		border-radius: 6px;
		padding: 12px 16px;
	}

	.wpcb-select:focus {
		border-color: $option_active_border;
	}

	.ui-selectmenu-button {
		box-sizing: border-box;
		display: block;
		width: 100%;
		appearance: none;
		color: $option_color;
		border: 1px solid $template_border;
		background-color: $option_background;
		background-image: none;
		border-radius: 6px;
		padding: 12px 16px;

		.ui-selectmenu-icon {
			display: none;
		}

		.ui-selectmenu-text {
			display: flex;
			align-items: center;
		}

		.ui-selectmenu-image {
			position: relative;
			top: 0;
			left: 0;
			transform: none;
			border-radius: 4px;
		}

		.ui-selectmenu-label {
			flex: 1;
			padding: 0;

			small {
				display: block;
				line-height: 1;
				margin-top: 5px;
			}
		}

		.ui-selectmenu-image + .ui-selectmenu-label {
			padding-left: 20px;
		}
		.ui-selectmenu-label + .ui-selectmenu-price {
			padding-left: 10px;
		}
	}
}

.ui-widget.ui-widget-content {
	border: 1px solid $template_border;
	background-color: $option_background;
	border-radius: 6px;
}

.wpcb-ui-selectmenu-item {

	.ui-menu-item-wrapper {
		display: flex;
		align-items: center;
		padding: 12px 16px;

		&.ui-state-active {
			background-color: $option_active_background;
			color: $option_active_color;
			border-color: transparent;
		}
	}

	.ui-selectmenu-image {
		position: relative;
		top: 0;
		left: 0;
		transform: none;
		border-radius: 4px;
	}

	.ui-selectmenu-label {
		flex: 1;

		small {
			display: block;
			line-height: 1;
			margin-top: 5px;
		}
	}

	.ui-selectmenu-image + .ui-selectmenu-label {
		padding-left: 20px;
	}

	.ui-selectmenu-label + .ui-selectmenu-price {
		padding-left: 10px;
	}
}