/* Wijndert header 2026: bovenbalk met USP's, slanke donkere (glazen) hoofdbalk, megamenu en mobiel menu.
   Flatsome-instellingen komen uit includes/header.php; dit bestand doet de vormgeving. */

:root {
	--wdh-paars: #781e56;
	--wdh-paars-licht: #e7b9d4;
	--wdh-zacht: #a1a1a6;
	--wdh-lijn: rgba(255, 255, 255, .1);
	--wdh-vlak: #1f1f21;
	--wdh-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ bovenbalk */
/* Header en footer: dezelfde kleur #141414 (theme_mod header_bg/topbar_bg via de plugin). */
#top-bar.header-top { background: #141414 !important; border-bottom: 1px solid var(--wdh-lijn); }
.header-main, .header-bg-color { background-color: #141414 !important; }
#top-bar .flex-row { min-height: 34px; }
.wdh-usps { display: flex; justify-content: flex-start; gap: 32px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 850px) { .wdh-usps--alles li:nth-child(3) { display: none !important; } }   /* staat rechts */
#top-bar .flex-col { padding: 0; }
#top-bar .nav > li { margin: 0; }
.wdh-usps li { display: flex; align-items: center; gap: 8px; margin: 0 !important; color: #d1d1d6; font-size: 12.5px; font-weight: 400; letter-spacing: .01em; text-transform: none; white-space: nowrap; }
.wdh-usps .wdh-icoon { width: 16px; height: 16px; color: var(--wdh-paars); }   /* huisstijlpaars #781e56 */
.wdh-usps a { color: #fff; font-weight: 700; }
.wdh-usps a:hover { color: var(--wdh-paars-licht); }
#top-bar .html_topbar_left { padding: 0; }

/* ------------------------------------------------------------------ hoofdbalk */
.header-main { transition: background-color .3s var(--wdh-ease); }
.header-wrapper.stuck .header-main {
	background-color: rgba(20, 20, 20, .82) !important;
	-webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
	box-shadow: 0 1px 0 var(--wdh-lijn);
}
.header-main .header-inner { gap: 8px; }
/* mobiel: de vaste balk even hoog als de gewone (header_height_mobile 70; Flatsome kent geen mobiele sticky-hoogte) */
@media (max-width: 549px) {
	.stuck .header-main { height: 70px !important; }
	.stuck #logo img { max-height: 70px !important; }
}
#logo img { transition: opacity .2s; }
#logo a:hover img { opacity: .85; }

/* menu */
.header-nav-main > li > a.nav-top-link {
	position: relative; display: inline-flex; flex-wrap: nowrap; align-items: center; white-space: nowrap; padding-left: 2px; padding-right: 2px; color: #f5f5f7 !important;
	font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none;
}
.header-nav-main > li > a.nav-top-link::after {
	content: ""; position: absolute; left: 2px; right: 2px; bottom: 50%; margin-bottom: -16px; height: 2px; border-radius: 2px;
	background: var(--wdh-paars-licht); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--wdh-ease);
}
.header-nav-main > li:hover > a.nav-top-link::after,
.header-nav-main > li.active > a.nav-top-link::after,
.header-nav-main > li.current-menu-item > a.nav-top-link::after { transform: scaleX(1); }
.header-nav-main > li > a.nav-top-link .icon-angle-down { margin-left: 4px; font-size: 12px; opacity: .7; transition: transform .25s var(--wdh-ease); }
.header-nav-main > li.current-dropdown > a .icon-angle-down, .header-nav-main > li:hover > a .icon-angle-down { transform: rotate(180deg); }

/* zoeken als pil */
.header-main .header-search-form { min-width: 220px; }
.header-main .header-search-form .searchform .flex-row { position: relative; }
.header-main .header-search-form .search-field {
	height: 40px !important; padding: 0 44px 0 18px !important; border: 0 !important; border-radius: 999px !important;
	background: #1c1c1e !important; box-shadow: inset 0 0 0 1px var(--wdh-lijn) !important; color: #fff !important; font-size: 14px !important;
	transition: box-shadow .2s var(--wdh-ease), background-color .2s var(--wdh-ease);
}
.header-main .header-search-form .search-field::placeholder { color: #8e8e93; text-overflow: ellipsis; }
.header-main .header-search-form .search-field:focus { background: #2c2c2e !important; box-shadow: inset 0 0 0 2px var(--wdh-paars-licht) !important; }
.header-main .header-search-form .ux-search-submit {
	position: absolute; right: 4px; top: 4px; width: 32px; height: 32px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
	border-radius: 50% !important; background: transparent !important; color: #d1d1d6 !important;
}
.header-main .header-search-form .ux-search-submit:hover { color: #fff !important; }
.header-main .header-search-form .flex-col { padding: 0 !important; min-width: 0; }
.header-main .header-search-form .flex-col + .flex-col { margin-left: 0 !important; width: 0; }   /* Flatsome: -39px marge, rekte het veld 39px voorbij het formulier (onder het hartje) */

/* iconen rechts: zoeken | hartje, account, mandje — vaste afstanden; het laatste icoon lijnt uit met de rand */
.header-main .header-nav .header-divider { display: none; }
.header-main .hide-for-medium .header-nav.nav-right { gap: 4px; flex-wrap: nowrap; }
.header-main .hide-for-medium .header-nav.nav-right > li { margin: 0 !important; }
.header-main .hide-for-medium .header-nav.nav-right > li.header-search-form { margin-right: 12px !important; }
/* 40px-vlak met een icoon van 23px: het mandje opschuiven zodat het icoon op de rand valt (gelijk aan het logo links).
   Een negatieve marge werkt hier niet: de flexkolom krimpt dan mee. */
.header-main .hide-for-medium .header-nav.nav-right > li.cart-item { position: relative; left: 16px; }   /* kolom stopt 8px voor de rand + 8,5px binnenruimte van het vlak */
.header-main .show-for-medium .mobile-nav.nav-right > li.cart-item { position: relative; left: 8.5px; }
.header-main .mobile-nav.nav-left > li:first-child { position: relative; left: -8px; }   /* menuknop links op de rand */
.wdh-hartje, .header-main .account-item > a, .header-main .cart-item > a {
	position: relative; display: inline-grid !important; place-items: center; width: 40px; height: 40px; margin: 0 !important; padding: 0 !important;
	border: 0 !important; border-radius: 50%; color: #f5f5f7 !important; transition: background-color .2s var(--wdh-ease);
}
.wdh-hartje:hover, .header-main .account-item > a:hover, .header-main .cart-item > a:hover { background: rgba(255, 255, 255, .1); }
.header-main .account-item > a > span, .header-main .cart-item .header-cart-title { display: none !important; }
.header-main .account-item i, .header-main .cart-item i { margin: 0 !important; font-size: 20px !important; color: inherit !important; }
.header-main .account-item a.icon, .header-main .cart-item a.icon { box-shadow: none !important; }
.wdh-hartje .wdh-icoon { width: 24px; height: 24px; }
/* teller: klein bolletje op de rechterbovenhoek van het icoon (icoon 24px midden in het 40px-vlak), niet eroverheen */
.wdh-teller, .header-main .cart-item i[data-icon-label]::after {
	position: absolute; top: 1px; right: -3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
	background: var(--wdh-paars) !important; color: #fff !important; box-shadow: 0 0 0 2px #141414;
	font: 700 10px/16px Montserrat, sans-serif; letter-spacing: 0; text-align: center;
}
.header-main .cart-item i { position: static !important; }   /* badge t.o.v. het 40px-vlak, net als bij het hartje */
.header-main .cart-item i[data-icon-label]::after { top: 1px; right: -3px; left: auto; transform: none !important; opacity: 1; }
.wdh-hartje.is-tik { animation: wdh-tik .5s var(--wdh-ease); }
@keyframes wdh-tik { 40% { transform: scale(1.18); } }
.header-main .html_top_right_text { padding: 0 !important; }

/* tablet/kleine laptop: alles op één regel houden */
@media (min-width: 850px) and (max-width: 1199px) {
	.header-nav-main { flex-wrap: nowrap; }
	.header-nav-main > li { margin: 0 9px !important; }
	.header-nav-main > li > a.nav-top-link { font-size: 14px; white-space: nowrap; }
	.header-main .header-search-form { min-width: 0; width: 170px !important; max-width: 170px; }
	.wdh-usps { gap: 20px; }
	.wdh-usps li:nth-child(2) { display: none; }
}

/* ------------------------------------------------------------------ megamenu */
/* Het paneel zelf is precies de container (315 → 1605 bij 1920); de achtergrond loopt schermbreed door
   met een schaduw zonder vervaging, afgesneden boven en onder. Eronder wordt de pagina gedimd (zie #wrapper::after). */
.header-nav-main .menu-item-design-container-width > .nav-dropdown {
	padding: 0 !important; border: 0 !important; border-radius: 0; background: #141414 !important;
	box-shadow: 0 0 0 100vmax #141414 !important; clip-path: inset(0 -100vmax);
}
.header-nav-main .menu-item-design-container-width > .nav-dropdown::before,
.header-nav-main .menu-item-design-container-width > .nav-dropdown::after { display: none; }   /* Flatsome-pijltje */
.header-nav-main .nav-dropdown .wdh-mega { position: relative; max-width: none; margin: 0; padding: 0; }
.header-nav-main .nav-dropdown .wdh-mega::before {   /* haarlijn onder de hoofdbalk, schermbreed */
	content: ""; position: absolute; top: 0; left: -100vmax; right: -100vmax; height: 1px; background: var(--wdh-lijn);
}
.wdh-mega__in {
	display: grid; grid-template-columns: minmax(0, 1.75fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); column-gap: 40px;
	padding-top: 40px; text-align: left;
}
.wdh-mega p.wdh-mega__kop { margin: 0 0 16px !important; padding: 0; color: #86868b; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; }

/* lijsten; Flatsome: .menu-item-has-block .nav-dropdown .col-inner ul:not(.nav.nav-vertical) li… (marges, randen) */
.header-nav-main .nav-dropdown ul.wdh-mega__lijst { display: grid; gap: 2px; margin: 0 !important; padding: 0 !important; list-style: none; }
.header-nav-main .nav-dropdown ul.wdh-mega__lijst > li { display: block; margin: 0 !important; padding: 0 !important; border: 0 !important; line-height: 1.2; }
.header-nav-main .nav-dropdown .wdh-mega__lijst a {
	display: flex; align-items: center; gap: 10px; padding: 7px 0 !important; color: #d1d1d6 !important;
	font-size: 14px; font-weight: 400; line-height: 1.25; letter-spacing: 0; text-transform: none; transition: color .2s var(--wdh-ease);
}
.header-nav-main .nav-dropdown .wdh-mega__lijst a:hover, .header-nav-main .nav-dropdown .wdh-mega__lijst a:focus-visible { color: #fff !important; }
/* Apple-detail: wie over een lijst beweegt, ziet de rest van die lijst even terugtreden */
.header-nav-main .nav-dropdown .wdh-mega__lijst:hover a:not(:hover) { color: #6e6e73 !important; }
.wdh-mega__lijst .wdc-vlag { flex: none; width: 16px; height: 16px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }

/* soort wijn: groot, met kleurstip, aantal en een pijl die bij hover inschuift */
.header-nav-main .nav-dropdown .wdh-mega__lijst--groot { gap: 0; }
.wdh-mega__lijst--groot span { white-space: nowrap; }
.header-nav-main .nav-dropdown .wdh-mega__lijst--groot a { gap: 14px; padding: 6px 0 !important; color: #f5f5f7 !important; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.wdh-mega__lijst--groot small { align-self: flex-start; margin: 3px 0 0 -8px; color: #6e6e73; font-size: 11px; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; transition: color .2s var(--wdh-ease); }
.wdh-mega__lijst--groot .wdh-icoon { width: 18px; height: 18px; margin-left: auto; color: var(--wdh-paars-licht); opacity: 0; transform: translateX(-8px); transition: opacity .2s var(--wdh-ease), transform .3s var(--wdh-ease); }
.wdh-mega__lijst--groot a:hover .wdh-icoon, .wdh-mega__lijst--groot a:focus-visible .wdh-icoon { opacity: 1; transform: none; }
.wdh-mega__lijst--groot a:hover small { color: var(--wdh-paars-licht); }
.wdh-stip {
	flex: none; width: 12px; height: 12px; border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset -2px -3px 4px rgba(0, 0, 0, .25); transition: transform .3s var(--wdh-ease);
}
.wdh-mega__lijst--groot a:hover .wdh-stip { transform: scale(1.25); }
.wdh-stip--rood { background: radial-gradient(circle at 35% 30%, #c0395e, #6d1029 70%); }
.wdh-stip--wit { background: radial-gradient(circle at 35% 30%, #fbf3cf, #d9c27a 75%); }
.wdh-stip--rose { background: radial-gradient(circle at 35% 30%, #ffd0d8, #e58a9d 75%); }
.wdh-stip--bubbel { background: radial-gradient(circle at 30% 30%, #fff 0 8%, transparent 9%), radial-gradient(circle at 62% 64%, rgba(255, 255, 255, .8) 0 7%, transparent 8%), radial-gradient(circle at 35% 30%, #f6e7a8, #c9a43f 75%); }
.wdh-stip--dessert { background: radial-gradient(circle at 35% 30%, #f4c26b, #b06d12 75%); }
.wdh-stip--port { background: radial-gradient(circle at 35% 30%, #8a2a46, #3a0716 75%); }

.header-nav-main .nav-dropdown a.wdh-mega__alle { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 0 !important; color: var(--wdh-paars-licht) !important; font-size: 14px; font-weight: 700; }
.wdh-mega__alle .wdh-icoon { width: 16px; height: 16px; transition: transform .25s var(--wdh-ease); }
.wdh-mega__alle:hover .wdh-icoon { transform: translateX(4px); }

/* bestseller: wit fotovlak (productfoto's zijn wit) op een donkere kaart */
.header-nav-main .nav-dropdown a.wdh-mega__favoriet {
	position: relative; display: flex; flex-direction: column; align-self: start; padding: 8px 8px 18px !important; border-radius: 24px;
	background: var(--wdh-vlak); color: #fff !important; transition: background-color .3s var(--wdh-ease);
}
.wdh-mega__favoriet:hover { background: #262628; }
.wdh-mega__foto { display: grid; place-items: center; height: 168px; padding: 14px; border-radius: 18px; background: #fff; overflow: hidden; }
.wdh-mega__foto img { width: auto; max-width: 100%; height: 140px; margin: 0 !important; object-fit: contain; transition: transform .6s var(--wdh-ease); }
.wdh-mega__favoriet:hover .wdh-mega__foto img { transform: scale(1.06); }
.wdh-mega__favtekst { display: grid; gap: 4px; padding: 14px 52px 0 10px; }
.wdh-mega__kicker { display: inline-flex; align-items: center; gap: 5px; color: var(--wdh-paars-licht); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wdh-mega__kicker .wdh-icoon { width: 13px; height: 13px; fill: currentColor; }
.wdh-mega__naam { display: -webkit-box; overflow: hidden; color: #f5f5f7; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wdh-mega__prijs, .wdh-mega__prijs .amount, .wdh-mega__prijs bdi { color: var(--wdh-zacht) !important; font-size: 14px; font-weight: 400; }
.wdh-mega__prijs .woocommerce-Price-currencySymbol { display: inline !important; }   /* site-CSS verbergt het €-teken */
.wdh-mega__rond {
	position: absolute; right: 14px; bottom: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: rgba(255, 255, 255, .1); transition: background-color .25s var(--wdh-ease), transform .3s var(--wdh-ease);
}
.wdh-mega__rond .wdh-icoon { width: 16px; height: 16px; }
.wdh-mega__favoriet:hover .wdh-mega__rond { background: var(--wdh-paars); transform: translateX(2px); }

/* onderbalk */
.wdh-mega__balk {
	grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px;
	margin-top: 36px; padding: 16px 0 18px; border-top: 1px solid var(--wdh-lijn);
}
.header-nav-main .nav-dropdown ul.wdh-mega__meer { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0 !important; padding: 0 !important; list-style: none; }
.header-nav-main .nav-dropdown ul.wdh-mega__meer > li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.header-nav-main .nav-dropdown .wdh-mega__meer a { display: inline-flex; align-items: center; gap: 8px; padding: 0 !important; color: #d1d1d6 !important; font-size: 13.5px; font-weight: 400; transition: color .2s var(--wdh-ease); }
.header-nav-main .nav-dropdown .wdh-mega__meer a:hover { color: #fff !important; }
.wdh-mega__meer .wdh-icoon { width: 18px; height: 18px; color: var(--wdh-paars-licht); }
.header-nav-main .nav-dropdown a.wdh-mega__advies {
	display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px !important; border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--wdh-lijn); color: #d1d1d6 !important; font-size: 13.5px; transition: background-color .2s var(--wdh-ease), box-shadow .2s var(--wdh-ease);
}
.wdh-mega__advies strong { color: #fff; font-weight: 700; }
.wdh-mega__advies .wdh-foto { width: 30px; height: 30px; border-radius: 50%; }
.wdh-mega__advies .wdh-icoon { width: 17px; height: 17px; color: var(--wdh-paars-licht); }
.header-nav-main .nav-dropdown a.wdh-mega__advies:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }

.header-nav-main .nav-dropdown .wdh-mega a:focus-visible { outline: 2px solid var(--wdh-paars-licht); outline-offset: 4px; border-radius: 8px; }

/* de pagina eronder dimmen en vervagen zolang het menu open is (header zelf heeft z-index 1001).
   Op .current-dropdown en niet op :hover: Flatsome opent het paneel met JS en een korte vertraging (toetsenbord: header.js). */
#wrapper::after {
	content: ""; position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; pointer-events: none;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .3s var(--wdh-ease), visibility .3s;
}
body:has(.header-nav-main .menu-item-design-container-width.current-dropdown) #wrapper::after { opacity: 1; visibility: visible; }

/* binnenkomen: groepen schuiven na elkaar omhoog */
@media (prefers-reduced-motion: no-preference) {
	.header-nav-main .menu-item-design-container-width.current-dropdown .wdh-mega__in > * { animation: wdh-in .5s var(--wdh-ease) both; }
	.header-nav-main .menu-item-design-container-width.current-dropdown .wdh-mega__in > :nth-child(2) { animation-delay: .03s; }
	.header-nav-main .menu-item-design-container-width.current-dropdown .wdh-mega__in > :nth-child(3) { animation-delay: .06s; }
	.header-nav-main .menu-item-design-container-width.current-dropdown .wdh-mega__in > :nth-child(4) { animation-delay: .09s; }
	.header-nav-main .menu-item-design-container-width.current-dropdown .wdh-mega__in > :nth-child(5) { animation-delay: .12s; }
	.header-nav-main .menu-item-design-container-width.current-dropdown .wdh-mega__in > :nth-child(6) { animation: wdh-vervaag .6s .18s var(--wdh-ease) both; }
}
@keyframes wdh-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes wdh-vervaag { from { opacity: 0; } }

/* kleine laptop/tablet liggend: geen bestseller, vier kolommen */
@media (max-width: 1199px) {
	.wdh-mega__in { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); column-gap: 28px; padding-top: 32px; }
	.header-nav-main .nav-dropdown a.wdh-mega__favoriet { display: none; }
	.header-nav-main .nav-dropdown .wdh-mega__lijst--groot a { font-size: 19px; }
	.header-nav-main .nav-dropdown ul.wdh-mega__meer { gap: 8px 20px; }
}

/* ------------------------------------------------------------------ mobiel */
@media (max-width: 849px) {
	#top-bar .flex-row { min-height: 32px; }
	/* De USP's wisselen elkaar af in één regel. */
	#top-bar .html_topbar_left, .header-top .html_topbar_left { flex: 1; width: 100%; }
	.wdh-usps { position: relative; display: block; width: calc(100vw - 30px); height: 32px; overflow: hidden; }
	.wdh-usps li { position: absolute; inset: 0; justify-content: center; font-size: 12px; opacity: 0; }
	.wdh-usps li:first-child { opacity: 1; }
	@media (prefers-reduced-motion: no-preference) {
		.wdh-usps li { animation: wdh-usp 12s infinite; }
		.wdh-usps li:nth-child(2) { animation-delay: 4s; }
		.wdh-usps li:nth-child(3) { animation-delay: 8s; }
		.wdh-usps li:first-child { opacity: 0; }
	}
	.header-main .mobile-nav > li > a { color: #f5f5f7 !important; }
	.header-main .mobile-nav > li { margin: 0 !important; }
	/* Twee even brede zijkanten (menu + zoeken | hartje + mandje), dan staat het logo precies in het midden. */
	.header-main .show-for-medium.flex-left, .header-main .show-for-medium.flex-right { flex: 1 1 0; }
	.header-main .mobile-nav { gap: 0; flex-wrap: nowrap; }
	.header-main .mobile-nav > li > a { display: inline-grid !important; place-items: center; width: 40px; height: 40px; padding: 0 !important; border-radius: 50%; }
	.header-main .mobile-nav > li > a:active { background: rgba(255, 255, 255, .1); }
	.header-main .mobile-nav .icon-menu { font-size: 22px !important; }
	.header-main .mobile-nav .header-search-lightbox i { font-size: 19px !important; }
}

/* Zoeken op mobiel: Flatsome-lightbox (live zoeken blijft werken), bovenin als in iOS. */
body:has(.mfp-wrap #search-lightbox) .mfp-bg.mfp-ready { background: rgba(20, 20, 20, .88); opacity: 1 !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.mfp-wrap:has(#search-lightbox) .mfp-container { padding: 0 15px; vertical-align: top; }
.mfp-wrap:has(#search-lightbox) .mfp-content { margin-top: calc(76px + env(safe-area-inset-top)); vertical-align: top; }
#search-lightbox { max-width: 640px; margin: 0 auto; }
#search-lightbox .search-field {
	height: 54px !important; padding: 0 22px !important; border: 0 !important; border-radius: 14px !important;
	background: #2c2c2e !important; box-shadow: inset 0 0 0 2px var(--wdh-paars-licht) !important; color: #fff !important; font-size: 17px !important;
}
#search-lightbox .search-field::placeholder { color: #8e8e93; }
#search-lightbox .ux-search-submit { display: none; }
#search-lightbox .flex-col + .flex-col { margin: 0 !important; }
#search-lightbox .live-search-results { margin-top: 8px; border-radius: 14px; overflow: hidden; background: #1f1f21 !important; text-align: left; }
.mfp-wrap:has(#search-lightbox) .mfp-close { top: 14px !important; right: 6px !important; color: #fff !important; opacity: .8; mix-blend-mode: normal; }

/* De zwevende WhatsApp-knop (WordPress WhatsApp Support) zit op telefoon en tablet in de weg;
   daar staan WhatsApp-links al in het menu, de productpagina en de footer. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	.wws-popup-container { display: none !important; }
}
@keyframes wdh-usp {
	0% { opacity: 0; transform: translateY(8px); }
	4%, 30% { opacity: 1; transform: none; }
	34%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* mobiel menu (Flatsome off-canvas) */
#main-menu.mobile-sidebar { background: #141414 !important; }
#main-menu .sidebar-menu { padding-top: 24px; }
#main-menu .searchform .search-field { height: 46px; border: 0 !important; border-radius: 14px !important; background: #1f1f21 !important; color: #fff !important; font-size: 16px !important; }
#main-menu .searchform .ux-search-submit { border-radius: 0 14px 14px 0 !important; background: transparent !important; }
#main-menu .nav-sidebar > li { border-color: var(--wdh-lijn) !important; }
#main-menu .nav-sidebar > li > a { padding-top: 14px; padding-bottom: 14px; color: #f5f5f7 !important; font-size: 20px; font-weight: 700; letter-spacing: -.01em; text-transform: none; }
#main-menu .nav-sidebar .sub-menu a { color: #d1d1d6 !important; font-size: 16px; text-transform: none; }
#main-menu .nav-sidebar > li.account-item > a { font-size: 16px; font-weight: 400; color: #d1d1d6 !important; }
#main-menu .html_topbar_right { padding: 20px !important; border: 0 !important; }
.wdh-mcontact { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px 14px; align-items: center; padding: 16px; border-radius: 20px; background: #1f1f21; }
.wdh-mcontact .wdh-foto { width: 52px; height: 52px; border-radius: 50%; }
.wdh-mcontact p { margin: 0; }
.wdh-mcontact__kop { color: #fff; font-size: 16px; font-weight: 700; }
.wdh-mcontact__sub { color: var(--wdh-zacht); font-size: 13px; }
.wdh-mcontact__knoppen { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wdh-mcontact__knoppen a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border-radius: 10px; background: #fff; color: #141414 !important; font-size: 13px; font-weight: 700; }
.wdh-mcontact__knoppen a + a { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); color: #fff !important; }
.wdh-mcontact__knoppen .wdh-icoon { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ iconen account en mandje (Flatsome-lettericonen → lijniconen zoals het hartje) */
.header .cart-item i[class*="icon-shopping"]::before, .header .account-item i.icon-user::before {
	content: ""; display: block; width: 24px; height: 24px; background: currentColor;
	-webkit-mask: var(--wdh-ico) center / contain no-repeat; mask: var(--wdh-ico) center / contain no-repeat;
}
.header .cart-item i[class*="icon-shopping"] { --wdh-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 8.4h12.8l-.85 10.5a2 2 0 0 1-2 1.85H8.45a2 2 0 0 1-2-1.85Z'/%3E%3Cpath d='M8.9 10.6V7.3a3.1 3.1 0 0 1 6.2 0v3.3'/%3E%3C/svg%3E"); }
.header .account-item i.icon-user { --wdh-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.3' r='3.8'/%3E%3Cpath d='M4.6 20.2c.8-3.8 3.8-6.1 7.4-6.1s6.6 2.3 7.4 6.1'/%3E%3C/svg%3E"); }
.header .cart-item i[data-icon-label="0"]::after { display: none !important; }
/* menu- en zoekicoon in dezelfde lijnstijl */
.header i.icon-menu::before, .header i.icon-search::before {
	content: ""; display: block; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: var(--wdh-ico) center / contain no-repeat; mask: var(--wdh-ico) center / contain no-repeat;
}
.header i.icon-menu { --wdh-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); }
.header i.icon-search { --wdh-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.3'/%3E%3Cpath d='m15.6 15.6 4.4 4.4'/%3E%3C/svg%3E"); }
.header .searchform i.icon-search::before { width: 18px; height: 18px; }
/* actieve pagina: lijntje onder het icoon (Flatsome) vervangen door een zacht vlak */
.header-main .account-item.active > a, .header-main .cart-item.active > a { background: rgba(255, 255, 255, .1); box-shadow: none !important; }

/* ------------------------------------------------------------------ accountmenu (templates/myaccount/account-links.php) */
.header-main .account-item.has-dropdown::before, .header-main .account-item.has-dropdown::after { display: none !important; }   /* Flatsome-pijltje */
.header-main .account-item > .nav-dropdown {
	width: 288px; min-width: 0; padding: 8px !important; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px;
	background: rgba(28, 28, 30, .96) !important; color: rgba(255, 255, 255, .82);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
	transform: translateY(-6px); transition: opacity .2s var(--wdh-ease), visibility .2s, transform .25s var(--wdh-ease);
}
.header-main .account-item.current-dropdown > .nav-dropdown, .no-js .header-main .account-item:hover > .nav-dropdown { left: auto; right: -8px; transform: none; }
.header-main .account-item .nav-dropdown > li { display: block; margin: 0 !important; padding: 0; border: 0 !important; }
.header-main .account-item .nav-dropdown > li > a {
	display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
	color: rgba(255, 255, 255, .82) !important; font-size: 14px; font-weight: 600; line-height: 1.3; text-transform: none; letter-spacing: 0;
	transition: background-color .15s, color .15s;
}
.header-main .account-item .nav-dropdown .wdh-icoon { flex: none; width: 18px; height: 18px; color: rgba(255, 255, 255, .5); transition: color .15s; }
.header-main .account-item .nav-dropdown > li > a:hover, .header-main .account-item .nav-dropdown > li > a:focus-visible { background: rgba(255, 255, 255, .08); color: #fff !important; }
.header-main .account-item .nav-dropdown > li > a:hover .wdh-icoon, .header-main .account-item .nav-dropdown > li.active > a .wdh-icoon { color: #e7b9d4; }
.header-main .account-item .nav-dropdown > li.active > a { color: #fff !important; }
.wdh-accmenu__kop { display: grid !important; gap: 2px; margin: 0 0 6px !important; padding: 10px 12px 14px !important; border-bottom: 1px solid rgba(255, 255, 255, .08) !important; }
.wdh-accmenu__naam { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; }
.wdh-accmenu__mail { overflow: hidden; color: rgba(255, 255, 255, .5); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.header-main .account-item .nav-dropdown > .wdh-accmenu__item--eerste, .header-main .account-item .nav-dropdown > .wdh-accmenu__item--uit { margin-top: 6px !important; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08) !important; }
.header-main .account-item .nav-dropdown > .wdh-accmenu__item--eerste ~ .wdh-accmenu__item--uit { margin-top: 6px !important; }
.header-main .account-item .nav-dropdown > .wdh-accmenu__item--uit > a { color: rgba(255, 255, 255, .6) !important; }

/* mobiel menu: zelfde links als submenu onder "Mijn account" */
.nav-sidebar .wdh-accmenu__kop { display: none !important; }
.nav-sidebar .wdh-accmenu__item > a { display: flex !important; align-items: center; gap: 12px; }
.nav-sidebar .wdh-accmenu__item .wdh-icoon { flex: none; width: 18px; height: 18px; opacity: .6; }

/* ------------------------------------------------------------------ mini-winkelmand (templates/cart/mini-cart.php)
   desktop: dropdown onder het mandje, zelfde donker glas als het accountmenu; mobiel: zijpaneel van Flatsome */
.header-main .cart-item.has-dropdown::before, .header-main .cart-item.has-dropdown::after { display: none !important; }   /* Flatsome-pijltje */
.header-main .cart-item > .nav-dropdown {
	width: 380px; min-width: 0; padding: 8px !important; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px;
	background: rgba(28, 28, 30, .96) !important; color: rgba(255, 255, 255, .82);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
	transform: translateY(-6px); transition: opacity .2s var(--wdh-ease), visibility .2s, transform .25s var(--wdh-ease);
}
.header-main .cart-item.current-dropdown > .nav-dropdown, .no-js .header-main .cart-item:hover > .nav-dropdown { left: auto; right: -24px; transform: none; }   /* -24px: het mandje staat 16px opgeschoven */
.header-main .cart-item .nav-dropdown > li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.header-main .cart-item .widget_shopping_cart, .header-main .cart-item .widget_shopping_cart_content { margin: 0; padding: 0; }

.wdh-mand__kop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 12px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.wdh-mand__titel { color: #fff; font-size: 15px; font-weight: 700; }
.wdh-mand__aantal { color: rgba(255, 255, 255, .5); font-size: 13px; }
ul.wdh-mand__lijst { max-height: min(360px, 52vh); margin: 0 !important; padding: 6px 0 !important; overflow-y: auto; list-style: none; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
ul.wdh-mand__lijst li.wdh-mand__item {
	position: relative; display: grid !important; grid-template-columns: 52px minmax(0, 1fr) 28px; align-items: center; gap: 12px;
	min-height: 0 !important; margin: 0 !important; padding: 8px 6px 8px 8px !important; border: 0 !important; border-radius: 12px; list-style: none;
	transition: background-color .15s;
}
ul.wdh-mand__lijst li.wdh-mand__item:hover { background: rgba(255, 255, 255, .05); }
.wdh-mand__beeld { display: block; overflow: hidden; width: 52px; aspect-ratio: 4 / 5; border-radius: 10px; background: #fff; }   /* producten altijd op wit */
.wdh-mand__beeld img { position: static !important; display: block; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; padding: 4px 0; object-fit: contain; box-shadow: none !important; }
.wdh-mand__info { display: grid; gap: 3px; min-width: 0; }
.wdh-mand__naam { display: -webkit-box; overflow: hidden; color: #fff !important; font-size: 14px; font-weight: 600; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
a.wdh-mand__naam:hover { color: #e7b9d4 !important; }
.wdh-mand__info .quantity { display: block; margin: 0 !important; color: rgba(255, 255, 255, .55) !important; font-size: 13px; opacity: 1 !important; }
.wdh-mand__info .quantity .amount { color: rgba(255, 255, 255, .82); }
.wdh-mand__info .woocommerce-Price-currencySymbol, .wdh-mand__totaal .woocommerce-Price-currencySymbol { display: inline !important; }   /* site-CSS verbergt het €-teken */
.wdh-mand__info dl.variation { margin: 0; color: rgba(255, 255, 255, .55); font-size: 12px; }
ul.wdh-mand__lijst a.remove.wdh-mand__weg {
	position: static !important; display: grid !important; place-items: center; width: 28px !important; height: 28px !important; margin: 0 !important;
	border: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .55) !important;
	font-size: 0 !important; line-height: 0 !important; opacity: 0; transition: opacity .15s, background-color .15s, color .15s;
}
ul.wdh-mand__lijst li:hover a.wdh-mand__weg, ul.wdh-mand__lijst a.wdh-mand__weg:focus-visible { opacity: 1; }
ul.wdh-mand__lijst a.wdh-mand__weg:hover { background: rgba(255, 255, 255, .14) !important; color: #fff !important; }
@media (hover: none) { ul.wdh-mand__lijst a.wdh-mand__weg { opacity: 1; } }

.wdh-mand__voet { margin: 0 !important; padding: 12px 8px 4px !important; border-top: 1px solid rgba(255, 255, 255, .08) !important; background: none !important; }
p.wdh-mand__totaal { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 12px !important; padding: 0 !important; border: 0 !important; color: rgba(255, 255, 255, .7); font-size: 14px; }
.wdh-mand__totaal strong, .wdh-mand__totaal .amount { color: #fff !important; font-size: 17px; font-weight: 700; }
p.wdh-mand__knoppen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 !important; padding: 0 !important; }
.wdh-mand__knop {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0 !important; padding: 0 16px; border-radius: 12px;
	background: #fff; color: #141414 !important; font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
	transition: background-color .2s, color .2s, transform .15s;
}
.wdh-mand__knop:hover { background: #e7b9d4; color: #141414 !important; }
.wdh-mand__knop:active { transform: scale(.98); }
.wdh-mand__knop--zacht { background: rgba(255, 255, 255, .1); color: #fff !important; }
.wdh-mand__knop--zacht:hover { background: rgba(255, 255, 255, .18); color: #fff !important; }
.wdh-mand__knop:focus-visible, .wdh-mand__weg:focus-visible, .wdh-mand__naam:focus-visible { outline: 2px solid #e7b9d4; outline-offset: 2px; }
.wdh-mand__leeg { display: grid; justify-items: center; gap: 12px; padding: 28px 20px 22px !important; text-align: center; }
.wdh-mand__leeg .wdh-icoon { width: 34px; height: 34px; color: #e7b9d4; }
.wdh-mand__leeg p { margin: 0 !important; color: rgba(255, 255, 255, .82); font-size: 15px; }
.widget_shopping_cart_content .blockUI.blockOverlay { border-radius: 18px; background: rgba(28, 28, 30, .6) !important; }

/* mobiel: zijpaneel van rechts, zelfde donkere stijl */
.mfp-content.off-canvas-cart { width: min(380px, 88vw) !important; background: #1c1c1e !important; color: rgba(255, 255, 255, .82); }
.off-canvas-cart .cart-popup-inner { padding: 56px 12px 16px !important; }
.off-canvas-cart .cart-popup-title { display: none; }   /* de kop staat in de mini-winkelmand zelf */
.off-canvas-cart .widget_shopping_cart { margin: 0; }
.off-canvas-cart ul.wdh-mand__lijst { max-height: none; }
.off-canvas-right:has(.off-canvas-cart) .mfp-close { color: #fff !important; opacity: .8; }

/* ------------------------------------------------------------------ live zoeken (Flatsome: .autocomplete-suggestions in
   .live-search-results onder het zoekveld); zelfde donker glas als het accountmenu en de mini-winkelmand, breder dan het veld */
.live-search-results { background: none !important; box-shadow: none !important; }
.autocomplete-suggestions {
	position: absolute !important; box-sizing: border-box; width: 400px !important; max-width: calc(100vw - 24px); max-height: min(70vh, 520px) !important; margin-top: 10px; padding: 8px !important;
	overflow-y: auto; border: 1px solid rgba(255, 255, 255, .08) !important; border-radius: 18px; background: rgba(28, 28, 30, .97) !important;
	color: rgba(255, 255, 255, .82); box-shadow: 0 24px 60px rgba(0, 0, 0, .35) !important;
	-webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
	overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
.autocomplete-suggestions .autocomplete-suggestion {
	display: flex !important; align-items: center; gap: 12px; padding: 8px 10px 8px 8px !important; border: 0 !important; border-radius: 12px;
	background: none !important; color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.3; cursor: pointer; transition: background-color .15s;
}
.autocomplete-suggestions .autocomplete-suggestion:hover, .autocomplete-suggestions .autocomplete-selected { background: rgba(255, 255, 255, .08) !important; }
.autocomplete-suggestion .search-image {
	flex: none; width: 44px !important; height: 55px !important; max-width: none !important; margin: 0 !important; padding: 3px 0;
	border-radius: 9px; background: #fff; object-fit: contain;   /* producten altijd op wit */
}
.autocomplete-suggestion .search-name { flex: 1; min-width: 0; color: #fff; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.autocomplete-suggestion .search-name strong { color: #e7b9d4; font-weight: 700; }
.autocomplete-suggestion .search-price { flex: none; margin: 0 !important; color: rgba(255, 255, 255, .82); font-size: 14px; font-weight: 700; white-space: nowrap; }
.autocomplete-suggestion .search-price del { margin-right: 4px; color: rgba(255, 255, 255, .4); font-weight: 400; }
.autocomplete-suggestion .search-price ins { text-decoration: none; }
.autocomplete-suggestions .woocommerce-Price-currencySymbol { display: inline !important; }   /* site-CSS verbergt het €-teken */
.autocomplete-suggestions .autocomplete-no-suggestion { padding: 14px 12px; color: rgba(255, 255, 255, .7); font-size: 14px; }
/* "Bekijk alle resultaten" (assets/header.js) */
.autocomplete-suggestions .wdh-zoek-alle {
	display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 0; padding: 12px 12px 6px;
	border-top: 1px solid rgba(255, 255, 255, .08); color: #e7b9d4; font-size: 14px; font-weight: 700; cursor: pointer;
}
.autocomplete-suggestions .wdh-zoek-alle:hover { color: #fff; }
.autocomplete-suggestions .wdh-zoek-alle .wdh-icoon { width: 18px; height: 18px; }
/* zoekveld met focus: paarse rand zoals de andere velden */
.header-main .searchform .search-field:focus { box-shadow: 0 0 0 3px rgba(231, 185, 212, .35) !important; }
