/* Custom Variation Dropdown Styles */
.rw-custom-dropdown {
	position: relative;
	width: 100%;
}

.rw-custom-dropdown-trigger {
	background: #ffffff;
	border: 1px solid #e9edf1;
	border-radius: 2px;
	padding: 8px 12px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-family: "Geist", sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.36;
	letter-spacing: -0.14px;
	color: #111739;
	transition: all 0.2s ease;
}

.rw-custom-dropdown-trigger:hover {
	border-color: #0064c8;
}

.rw-custom-dropdown-trigger.is-open {
	border-color: #0064c8;
}

.rw-custom-dropdown-trigger .placeholder {
	color: #656b89;
}

.rw-custom-dropdown-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.rw-custom-dropdown-trigger.is-open .rw-custom-dropdown-icon {
	transform: rotate(180deg);
}

.rw-custom-dropdown-menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid #e9edf1;
	border-radius: 2px;
	box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	z-index: 1000;
	display: none;
}

.rw-custom-dropdown-menu.is-open {
	display: block;
}

.rw-custom-dropdown-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	height: 40px;
	cursor: pointer;
	font-family: "Geist", sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.36;
	letter-spacing: -0.14px;
	color: #354261;
	transition: background-color 0.15s ease;
}

.rw-custom-dropdown-option:hover {
	background-color: #f3f6f9;
}

.rw-custom-dropdown-option.is-selected {
	color: #0064c8;
	font-weight: 500;
}

.rw-custom-dropdown-option.is-selected .rw-radio {
	border-color: #0064c8;
	background-color: #0064c8;
}

.rw-custom-dropdown-option.is-selected .rw-radio::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ffffff;
}

.rw-radio {
	width: 16px;
	height: 16px;
	border: 1.5px solid #a7a9b6;
	border-radius: 50%;
	flex-shrink: 0;
	position: relative;
	transition: all 0.15s ease;
}

.rw-custom-dropdown-option:not(.is-selected) .rw-radio {
	background: #ffffff;
}

/* Hide native select */
.rw-custom-dropdown select,
.variation-option select.rw-option-select {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	height: 0 !important;
	width: 0 !important;
	overflow: hidden !important;
}
