/* Product listing sort — match deurklinkhaak.nl (plain text toggle + white menu) */

.elementor-element-1b37a89 .elementor-shortcode,
.elementor-element-1b37a89.e-con > .e-con-inner,
.elementor-element-1b37a89 {
	/* display: flex !important;
	justify-content: flex-end !important;
	align-items: center !important;
	width: 100%; */
}

.dkh-product-sort {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: inherit;
	line-height: 1.2;
	z-index: 20;
}

.dkh-product-sort__label {
	margin: 0;
	padding: 0;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #111;
	white-space: nowrap;
}

.dkh-product-sort__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
	color: #111;
	user-select: none;
}

.dkh-product-sort__toggle:hover,
.dkh-product-sort__toggle:focus,
.dkh-product-sort__toggle:focus-visible {
	color: #111;
	outline: none;
}

.dkh-product-sort__current {
	color: inherit;
}

.dkh-product-sort__chevron {
	display: inline-block;
	width: 0;
	height: 0;
	margin-top: 1px;
	border-left: 3.5px solid transparent;
	border-right: 3.5px solid transparent;
	border-top: 4.5px solid #111;
	transition: transform 0.15s ease;
	flex-shrink: 0;
}

.dkh-product-sort.is-open .dkh-product-sort__chevron {
	transform: rotate(180deg);
}

.dkh-product-sort__menu {
	position: absolute;
	top: calc(100% + 0.65rem);
	right: 0;
	left: auto;
	min-width: 12.5rem;
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.04),
		0 8px 28px rgba(0, 0, 0, 0.1);
	z-index: 40;
}

.dkh-product-sort__option {
	display: block;
	padding: 0.7rem 1.15rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #111;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1.3;
	background: transparent;
	transition: background-color 0.12s ease;
}

.dkh-product-sort__option:hover,
.dkh-product-sort__option.is-selected {
	background: #f3f3f3;
}

@media (max-width: 767px) {
	.dkh-product-sort {
		width: 100%;
		justify-content: center;
	}

	.dkh-product-sort__menu {
		right: 0;
		left: auto;
		transform: none;
	}
}
