/* Mobile menu v3 — self-contained component styles (bhr- prefixed), kept in
   its own file rather than merged into theme.css since it's a distinct,
   drop-in replacement for the old .mobile-drawer markup in header.php. */

:root {
	--bhr-menu-bg: #f7f3ed;
	--bhr-menu-surface: #fffdf9;
	--bhr-menu-surface-soft: #f1ebe3;
	--bhr-menu-text: #211d1a;
	--bhr-menu-muted: #746c64;
	--bhr-menu-line: #e4dcd2;
	--bhr-menu-accent: #9c725b;
	--bhr-menu-accent-soft: #efe3da;
	--bhr-menu-dark: #211d1a;
	--bhr-menu-white: #ffffff;
	--bhr-menu-radius: 18px;
	--bhr-menu-shadow: 0 24px 80px rgba(33, 29, 26, .22);
	--bhr-menu-ease: cubic-bezier(.22, 1, .36, 1);
}

body.bhr-menu-is-open { overflow: hidden; }

.bhr-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 999999;
	visibility: hidden;
	pointer-events: none;
}

.bhr-mobile-menu[data-open="true"] {
	visibility: visible;
	pointer-events: auto;
}

.bhr-menu-backdrop {
	position: absolute;
	inset: 0;
	opacity: 0;
	background: rgba(22, 18, 16, .42);
	backdrop-filter: blur(7px);
	transition: opacity .28s ease;
}

.bhr-mobile-menu[data-open="true"] .bhr-menu-backdrop { opacity: 1; }

.bhr-menu-sheet {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	width: min(100%, 420px);
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	color: var(--bhr-menu-text);
	background:
		radial-gradient(circle at 100% 0%, rgba(156, 114, 91, .11), transparent 19rem),
		var(--bhr-menu-bg);
	box-shadow: var(--bhr-menu-shadow);
	transform: translate3d(102%, 0, 0);
	transition: transform .38s var(--bhr-menu-ease);
}

.bhr-mobile-menu[data-open="true"] .bhr-menu-sheet {
	transform: translate3d(0, 0, 0);
}

.bhr-menu-header {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 74px;
	padding: max(12px, env(safe-area-inset-top)) 18px 10px;
	border-bottom: 1px solid rgba(33, 29, 26, .08);
	background: rgba(247, 243, 237, .92);
	backdrop-filter: blur(16px);
}

.bhr-menu-brand {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	gap: 11px;
}

.bhr-menu-brand-mark {
	display: grid;
	place-items: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(33, 29, 26, .15);
	border-radius: 50%;
	background: rgba(255, 253, 249, .82);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	letter-spacing: -.03em;
}

/* Real logo is a wide wordmark, not a square icon — same non-circular
   treatment as the desktop header's own .brand-logo (theme.css), just
   sized for this narrower header. */
.bhr-menu-brand-logo-img {
	display: block;
	height: 34px;
	width: auto;
	max-width: 170px;
	object-fit: contain;
	/* The uploaded logo file is white-on-transparent, made for the site's
	   dark hero banners — invisible against this menu's light cream
	   header. brightness(0) turns its white pixels solid black instead
	   of needing a separate dark-colored logo asset. */
	filter: brightness(0);
}

.bhr-menu-brand-copy {
	display: grid;
	min-width: 0;
	line-height: 1;
}

.bhr-menu-brand-copy strong {
	overflow: hidden;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -.03em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bhr-menu-brand-copy span {
	margin-top: 6px;
	color: var(--bhr-menu-muted);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .20em;
	text-transform: uppercase;
}

.bhr-menu-close {
	display: grid;
	place-items: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(33, 29, 26, .10);
	border-radius: 50%;
	color: var(--bhr-menu-text);
	background: var(--bhr-menu-surface);
	box-shadow: 0 7px 18px rgba(33, 29, 26, .06);
	cursor: pointer;
	transition: transform .18s ease, background-color .18s ease;
}

.bhr-menu-close:active { transform: scale(.94); }

.bhr-menu-scroll {
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 16px 16px 28px;
	scrollbar-width: thin;
	scrollbar-color: rgba(33, 29, 26, .20) transparent;
}

.bhr-menu-scroll::after {
	content: "";
	display: block;
	height: 2px;
}

/* High-priority offer */
.bhr-menu-feature {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 36px;
	align-items: center;
	gap: 12px;
	min-height: 88px;
	padding: 14px;
	overflow: hidden;
	border-radius: 20px;
	color: #fff;
	background:
		radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .15), transparent 9rem),
		linear-gradient(135deg, #2d2824, #1d1a18);
	box-shadow: 0 14px 36px rgba(33, 29, 26, .17);
	transition: transform .18s ease;
}

.bhr-menu-feature:active { transform: scale(.985); }

.bhr-menu-feature-icon,
.bhr-menu-feature-arrow {
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .10);
	border: 1px solid rgba(255, 255, 255, .14);
}

.bhr-menu-feature-icon {
	width: 48px;
	height: 48px;
}

.bhr-menu-feature-arrow {
	width: 36px;
	height: 36px;
}

.bhr-menu-feature-copy {
	display: grid;
	min-width: 0;
}

.bhr-menu-feature-copy small {
	margin-bottom: 4px;
	color: rgba(255, 255, 255, .68);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.bhr-menu-feature-copy strong {
	font-size: 17px;
	font-weight: 780;
	line-height: 1.14;
	letter-spacing: -.015em;
}

.bhr-menu-feature-copy span {
	margin-top: 4px;
	color: rgba(255, 255, 255, .76);
	font-size: 12px;
	line-height: 1.25;
}

.bhr-menu-section-label {
	margin: 22px 4px 9px;
	color: var(--bhr-menu-muted);
	font-size: 10px;
	font-weight: 820;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.bhr-menu-nav-card {
	overflow: hidden;
	border: 1px solid var(--bhr-menu-line);
	border-radius: 20px;
	background: rgba(255, 253, 249, .84);
	box-shadow: 0 10px 28px rgba(33, 29, 26, .045);
}

.bhr-menu-row,
.bhr-menu-sub-link {
	position: relative;
	display: grid;
	align-items: center;
	width: 100%;
	border: 0;
	color: var(--bhr-menu-text);
	background: transparent;
	text-align: left;
	cursor: pointer;
}

.bhr-menu-row {
	grid-template-columns: 42px minmax(0, 1fr) 30px;
	gap: 10px;
	min-height: 61px;
	padding: 8px 13px;
}

.bhr-menu-row + .bhr-menu-row,
.bhr-menu-group + .bhr-menu-row,
.bhr-menu-row + .bhr-menu-group {
	border-top: 1px solid var(--bhr-menu-line);
}

.bhr-menu-group > .bhr-menu-row { border-top: 0; }

.bhr-menu-row-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 13px;
	color: var(--bhr-menu-muted);
	background: var(--bhr-menu-surface-soft);
	transition: color .18s ease, background-color .18s ease;
}

.bhr-menu-row-copy {
	display: grid;
	min-width: 0;
}

.bhr-menu-row-copy strong {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.012em;
}

.bhr-menu-row-copy span {
	margin-top: 4px;
	color: var(--bhr-menu-muted);
	font-size: 11px;
	line-height: 1.2;
}

.bhr-menu-row-arrow {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	color: var(--bhr-menu-muted);
	border-radius: 50%;
	transition: transform .25s var(--bhr-menu-ease), background-color .18s ease;
}

.bhr-menu-row:hover,
.bhr-menu-row:focus-visible {
	background: rgba(239, 227, 218, .58);
}

.bhr-menu-row:hover .bhr-menu-row-icon,
.bhr-menu-row:focus-visible .bhr-menu-row-icon {
	color: var(--bhr-menu-accent);
	background: var(--bhr-menu-accent-soft);
}

.bhr-menu-row[aria-current="page"] {
	background: linear-gradient(90deg, rgba(239, 227, 218, .90), rgba(255, 253, 249, .70));
}

.bhr-menu-row[aria-current="page"]::before {
	content: "";
	position: absolute;
	top: 15px;
	bottom: 15px;
	left: 0;
	width: 3px;
	border-radius: 0 4px 4px 0;
	background: var(--bhr-menu-accent);
}

.bhr-menu-row[aria-current="page"] .bhr-menu-row-icon {
	color: var(--bhr-menu-accent);
	background: rgba(255, 255, 255, .62);
}

.bhr-menu-group[data-expanded="true"] > .bhr-menu-row {
	background: rgba(239, 227, 218, .56);
}

.bhr-menu-group[data-expanded="true"] .bhr-menu-row-arrow {
	transform: rotate(180deg);
	background: rgba(156, 114, 91, .12);
}

/* Split "Behandelingen" row: a real <a> (icon + copy, navigates to the
   main treatments page) plus a separate toggle <button> (just the
   chevron, expands the category list) — instead of one element that
   only ever expanded the accordion with no way to visit the page
   directly. Reuses .bhr-menu-row's own grid/hover rules above (this
   still carries that class too) and just fills its 3 columns with 2
   children instead of the row's usual inline content. */
.bhr-menu-row--split {
	padding: 0;
}

.bhr-menu-row-link {
	display: grid;
	grid-column: 1 / 3;
	grid-template-columns: 42px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 8px 0 8px 13px;
	color: inherit;
	text-decoration: none;
}

.bhr-menu-row-toggle {
	grid-column: 3;
	display: grid;
	place-items: center;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	padding: 0;
	padding-right: 13px;
}

/* Accessible animated accordion */
.bhr-menu-submenu {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .34s var(--bhr-menu-ease);
}

.bhr-menu-group[data-expanded="true"] .bhr-menu-submenu {
	grid-template-rows: 1fr;
}

.bhr-menu-submenu-inner {
	min-height: 0;
	overflow: hidden;
	background: #f3ede6;
}

.bhr-menu-submenu-list {
	padding: 8px 10px 10px 63px;
}

.bhr-menu-sub-link {
	grid-template-columns: minmax(0, 1fr) 24px;
	gap: 8px;
	min-height: 44px;
	padding: 8px 8px 8px 11px;
	border-radius: 12px;
	font-size: 13.5px;
	font-weight: 650;
	line-height: 1.2;
	transition: background-color .18s ease, color .18s ease;
}

.bhr-menu-sub-link:hover,
.bhr-menu-sub-link:focus-visible {
	color: var(--bhr-menu-accent);
	background: rgba(255, 253, 249, .78);
}

.bhr-menu-sub-link + .bhr-menu-sub-link { margin-top: 2px; }

.bhr-menu-sub-link--all {
	margin-top: 6px !important;
	color: #fff;
	background: var(--bhr-menu-accent);
}

.bhr-menu-sub-link--all:hover,
.bhr-menu-sub-link--all:focus-visible {
	color: #fff;
	background: #865f4b;
}

/* Compact practical information */
.bhr-menu-info {
	display: grid;
	gap: 8px;
	margin-top: 14px;
}

.bhr-menu-info-row {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 8px 10px;
	border: 1px solid var(--bhr-menu-line);
	border-radius: 16px;
	background: rgba(255, 253, 249, .68);
}

.bhr-menu-info-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	color: var(--bhr-menu-accent);
	background: var(--bhr-menu-accent-soft);
}

.bhr-menu-info-copy {
	display: grid;
	min-width: 0;
}

.bhr-menu-info-copy strong {
	font-size: 12.5px;
	font-weight: 760;
	line-height: 1.1;
}

.bhr-menu-info-copy span {
	margin-top: 3px;
	color: var(--bhr-menu-muted);
	font-size: 10.5px;
	line-height: 1.2;
}

.bhr-menu-info-action {
	min-height: 34px;
	padding: 0 10px;
	border: 1px solid var(--bhr-menu-line);
	border-radius: 999px;
	background: #fff;
	font-size: 11px;
	font-weight: 760;
	white-space: nowrap;
}

/* Sticky conversion actions */
.bhr-menu-actions {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: minmax(92px, .48fr) minmax(0, 1fr);
	gap: 8px;
	padding: 10px 14px max(10px, env(safe-area-inset-bottom));
	border-top: 1px solid rgba(33, 29, 26, .10);
	background: rgba(247, 243, 237, .94);
	box-shadow: 0 -14px 32px rgba(33, 29, 26, .07);
	backdrop-filter: blur(18px);
}

.bhr-menu-action-icon,
.bhr-menu-book-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	border-radius: 15px;
	font-weight: 780;
	cursor: pointer;
	transition: transform .18s ease, background-color .18s ease;
}

.bhr-menu-action-icon {
	width: auto;
	gap: 8px;
	padding: 0 14px;
	border: 1px solid var(--bhr-menu-line);
	color: var(--bhr-menu-text);
	background: var(--bhr-menu-surface);
	font-size: 13px;
	white-space: nowrap;
}

.bhr-menu-book-button {
	gap: 9px;
	min-width: 0;
	padding: 0 15px;
	color: #fff;
	background: var(--bhr-menu-dark);
	box-shadow: 0 10px 24px rgba(33, 29, 26, .16);
	font-size: 14px;
	white-space: nowrap;
}

.bhr-menu-action-icon:active,
.bhr-menu-book-button:active { transform: scale(.97); }

.bhr-menu-close:focus-visible,
.bhr-menu-feature:focus-visible,
.bhr-menu-row:focus-visible,
.bhr-menu-sub-link:focus-visible,
.bhr-menu-info-row:focus-visible,
.bhr-menu-info-action:focus-visible,
.bhr-menu-action-icon:focus-visible,
.bhr-menu-book-button:focus-visible {
	outline: 3px solid rgba(156, 114, 91, .34);
	outline-offset: 3px;
}

@media (min-width: 481px) {
	.bhr-menu-sheet { border-radius: 28px 0 0 28px; }
}

@media (max-width: 340px) {
	.bhr-menu-header { padding-left: 14px; padding-right: 14px; }
	.bhr-menu-scroll { padding-left: 12px; padding-right: 12px; }
	.bhr-menu-brand-copy strong { font-size: 18px; }
	.bhr-menu-feature { grid-template-columns: 44px minmax(0, 1fr) 34px; gap: 9px; padding: 12px; }
	.bhr-menu-feature-icon { width: 44px; height: 44px; }
	.bhr-menu-feature-copy strong { font-size: 16px; }
	.bhr-menu-row { grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 8px; padding-left: 10px; padding-right: 10px; }
	.bhr-menu-submenu-list { padding-left: 55px; }
	.bhr-menu-action-icon { padding-inline: 11px; font-size: 12.5px; }
	.bhr-menu-book-button { font-size: 13px; padding-inline: 11px; }
}

@media (min-width: 1221px) {
	/* Desktop already has its own nav bar — this component is mobile-only. */
	.bhr-mobile-menu { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.bhr-mobile-menu *,
	.bhr-mobile-menu *::before,
	.bhr-mobile-menu *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
