.fe-fb-variant-dropdown-wrap {
	display: block;
	width: 100%;
	margin: 0 0 1rem;
}

.fe-fb-variant-select__label {
	display: block;
	margin-bottom: 0.45rem;
	font-weight: 500;
	color: var(--fct-shop-primary-text-color, #2f3448);
}

.fe-fb-variant-dropdown {
	position: relative;
	width: 100%;
}

.fe-fb-variant-dropdown__control {
	position: relative;
}

.fe-fb-variant-dropdown__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	min-height: 3.25rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--fct-border-color, #d6dae1);
	border-radius: 10px;
	background: #fff;
	color: inherit;
	font: inherit;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fe-fb-variant-dropdown__trigger:hover {
	border-color: var(--fct-shop-primary-bg-color, #253241);
}

.fe-fb-variant-dropdown.is-open .fe-fb-variant-dropdown__trigger,
.fe-fb-variant-dropdown__trigger:focus {
	outline: none;
	border-color: var(--fct-shop-primary-bg-color, #253241);
	box-shadow: 0 0 0 3px rgba(37, 50, 65, 0.12);
}

.fe-fb-variant-dropdown__selected {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-width: 0;
	flex: 1 1 auto;
	text-align: left;
}

.fe-fb-variant-dropdown__text {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fe-fb-variant-dropdown__chevron {
	flex: 0 0 auto;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	opacity: 0.7;
	transition: transform 0.15s ease;
}

.fe-fb-variant-dropdown.is-open .fe-fb-variant-dropdown__chevron {
	transform: rotate(-135deg) translateY(1px);
}

.fe-fb-variant-dropdown__thumb {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 8px;
	overflow: hidden;
	background: var(--fct-shop-secondary-bg-color, #eaecf0);
}

.fe-fb-variant-dropdown__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fe-fb-variant-dropdown__thumb-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--fct-shop-secondary-text-color, #565865);
	text-transform: uppercase;
}

.fe-fb-variant-dropdown__menu {
	position: absolute;
	top: calc(100% + 0.35rem);
	left: 0;
	right: 0;
	z-index: 40;
	max-height: 18rem;
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	border: 1px solid var(--fct-border-color, #d6dae1);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(47, 52, 72, 0.12);
	overflow: auto;
}

.fe-fb-variant-dropdown__option {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem 0.6rem;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.fe-fb-variant-dropdown__option:hover,
.fe-fb-variant-dropdown__option:focus {
	outline: none;
	background: var(--fct-shop-secondary-bg-color, #f5f6f7);
}

.fe-fb-variant-dropdown__option.is-selected {
	background: rgba(37, 50, 65, 0.08);
}

.fe-fb-variant-dropdown__option.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.fct-product-variants.fe-fb-variant-select-hidden {
	display: none !important;
}
