/* ========================================
   Select2 Customization
   Overrides for WooCommerce/Select2 dropdowns
   ======================================== */

.woocommerce .select2-container .select2-selection--single {
	height: 54px;
	padding: 0 16px;
	background-color: #f3f6f9;
	border: 1px solid transparent;
	border-radius: 2px;
	display: flex;
	align-items: center;
	outline: none;
	transition: all 0.15s ease;
}

.woocommerce
	.select2-container--default
	.select2-selection--single
	.select2-selection__rendered {
	color: #111739;
	line-height: 54px;
	padding-left: 0;
	padding-right: 24px;
	font-size: 14px;
}

.woocommerce
	.select2-container--default
	.select2-selection--single
	.select2-selection__arrow {
	height: 54px;
	width: 30px;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.woocommerce
	.select2-container--default
	.select2-selection--single
	.select2-selection__arrow
	b {
	border-color: #656b89 transparent transparent transparent;
	border-style: solid;
	border-width: 5px 4px 0 4px;
	height: 0;
	left: 50%;
	margin-left: -4px;
	margin-top: -2px;
	position: absolute;
	top: 50%;
	width: 0;
}

.woocommerce
	.select2-container--default.select2-container--open
	.select2-selection--single
	.select2-selection__arrow
	b {
	border-color: transparent transparent #656b89 transparent;
	border-width: 0 4px 5px 4px;
}

/* Focused State */
.woocommerce .select2-container--default.select2-container--focus
	.select2-selection--single {
	border-color: #e1e7ed;
	background-color: #fff;
}

/* Dropdown */
.woocommerce .select2-dropdown {
	background-color: #fff;
	border: 1px solid #e1e7ed;
	border-radius: 2px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	margin-top: 4px;
	z-index: 9999;
}

/* Search Box */
.woocommerce .select2-container--default
	.select2-search--dropdown
	.select2-search__field {
	border: 1px solid #e1e7ed;
	border-radius: 2px;
	padding: 8px 12px;
	font-size: 14px;
	outline: none;
}

.woocommerce
	.select2-container--default
	.select2-search--dropdown
	.select2-search__field:focus {
	border-color: #0064c8;
}

/* Options */
.woocommerce .select2-results__option {
	padding: 10px 16px;
	font-size: 14px;
	color: #111739;
}

.woocommerce
	.select2-container--default
	.select2-results__option--highlighted[aria-selected],
.woocommerce
	.select2-container--default
	.select2-results__option--highlighted[data-selected] {
	background-color: #f3f6f9;
	color: #0064c8;
}

.woocommerce
	.select2-container--default
	.select2-results__option[aria-selected="true"],
.woocommerce
	.select2-container--default
	.select2-results__option[data-selected="true"] {
	background-color: #eaeef3;
	color: #111739;
	font-weight: 500;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background-color: #f3f6f9;
	color: #0064c8;
}

.select2-results__option {
  padding: 10px;
}

.woocommerce .select2-container--default.select2-container--focus .select2-selection--single {
  display: flex;
  align-items: center;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  background-color: #f3f6f9;
  border: none;
  border-radius: 2px;
  box-shadow: none;
}