#wrapper {
	min-height: 100vh;
	background: #f7fbf9;
}

body:not(.page-template-template-dashboard) #wrapper {
	padding-top: 0 !important;
}

body.casa-hedy-homepage #wrapper {
	padding-top: calc(76px + env(safe-area-inset-top)) !important;
}

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

#header-container {
	position: sticky;
	top: 0;
	z-index: 80;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(11, 79, 74, 0.1);
	backdrop-filter: blur(18px);
}

#header-container.hws-wrapper {
	padding-top: env(safe-area-inset-top);
}

.admin-bar #header-container {
	top: 32px;
}

#header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	gap: 24px;
}

.left-side,
.right-side {
	display: flex;
	align-items: center;
	gap: 24px;
	min-width: 0;
}

#logo a {
	display: inline-flex;
	align-items: center;
	color: #0b4f4a;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

#logo img,
.menu-logo img {
	display: block;
	width: auto;
	max-width: 148px;
	max-height: 48px;
	object-fit: contain;
}

#navigation ul {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#navigation li {
	position: relative;
	margin: 0;
}

#navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 12px;
	border-radius: 999px;
	color: #31534d;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

#navigation a:hover,
#navigation .current-menu-item > a {
	background: rgba(11, 79, 74, 0.08);
	color: #0b4f4a;
}

.header-widget .sign-in {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 7px 18px 7px 8px;
	border: 1px solid rgba(11, 79, 74, 0.16);
	border-radius: 999px;
	background: #fff;
	color: #0b4f4a;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(11, 79, 74, 0.05);
}

.sign-in-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 999px;
	box-shadow: 0 0 0 3px rgba(11, 79, 74, 0.08);
}

.sign-in-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sign-in-copy,
.sign-in-label {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.desktop-mmenu-trigger,
.menu-icon-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(11, 79, 74, 0.16);
	border-radius: 999px;
	background: #fff;
	color: #0b4f4a;
	cursor: pointer;
}

.hmb-ico,
.hmb-ico::before,
.hmb-ico::after,
.menu-icon-toggle::before,
.menu-icon-toggle::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	content: "";
}

.hmb-ico {
	position: relative;
}

.hmb-ico::before,
.hmb-ico::after {
	position: absolute;
	left: 0;
}

.hmb-ico::before {
	top: -6px;
}

.hmb-ico::after {
	top: 6px;
}

.menu-icon-toggle::before,
.menu-icon-toggle::after {
	position: absolute;
}

.menu-icon-toggle::before {
	transform: rotate(45deg);
}

.menu-icon-toggle::after {
	transform: rotate(-45deg);
}

.mobile-navigation-wrapper {
	position: fixed;
	inset: 0 0 auto auto;
	z-index: 120;
	display: none;
	grid-template-rows: auto 1fr auto;
	gap: 22px;
	width: min(360px, 100vw);
	min-height: 100vh;
	padding: 20px 22px;
	background: #fff;
	box-shadow: -18px 0 54px rgba(11, 79, 74, 0.16);
	overflow-y: auto;
}

.nahuis-mobile-menu-open .mobile-navigation-wrapper,
.mobile-nav-open .mobile-navigation-wrapper {
	display: grid;
}

body.nahuis-mobile-menu-open,
body.mobile-nav-open {
	overflow: hidden;
}

.mobile-nav-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 62px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(11, 79, 74, 0.1);
}

.mobile-navigation-list {
	align-self: start;
}

.mobile-navigation-list ul {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-navigation-list a {
	display: flex;
	align-items: center;
	padding: 15px 2px;
	border-bottom: 1px solid rgba(11, 79, 74, 0.1);
	color: #0b4f4a;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	letter-spacing: 0;
}

.mobile-navigation-list a:hover,
.mobile-navigation-list .current-menu-item > a {
	color: #0b4f4a;
	padding-left: 10px;
	background: rgba(11, 79, 74, 0.05);
}

.mobile-navigation-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-self: end;
	justify-content: center;
	padding-top: 16px;
	border-top: 1px solid rgba(11, 79, 74, 0.1);
	color: rgba(11, 79, 74, 0.7);
	font-size: 12px;
	line-height: 1.35;
}

.mobile-navigation-footer a {
	color: inherit;
	text-decoration: none;
}

.mobile-navigation-footer a:hover {
	color: #0b4f4a;
	text-decoration: underline;
}

.ns-page {
	padding: 96px 0;
}

.ns-page__inner {
	display: grid;
	gap: 24px;
	max-width: 900px;
}

.ns-page h1,
.ns-entry h1 {
	margin: 0 0 14px;
	color: #0b4f4a;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.05;
}

.ns-site-footer {
	padding: 28px 0;
	background: #0b4f4a;
	color: #fff;
}

.ns-site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
}

body.page-template-template-dashboard {
	--nahuis-dashboard-header-offset: 76px;

	background: #f1f6f4;
}

body.page-template-template-dashboard #wrapper {
	background: #f1f6f4;
	padding-top: calc(var(--nahuis-dashboard-header-offset) + env(safe-area-inset-top));
}

.ns-dashboard {
	display: grid !important;
	grid-template-columns: 280px minmax(0, 1fr);
	min-height: calc(100vh - 76px);
	padding-top: 0 !important;
}

.dashboard-responsive-nav-trigger {
	display: none;
	align-items: center;
	gap: 8px;
	margin: 16px 20px 0;
	padding: 12px 14px;
	border: 1px solid rgba(11, 79, 74, 0.14);
	border-radius: 14px;
	background: #fff;
	color: #0b4f4a;
	font-weight: 800;
	text-decoration: none;
}

.dashboard-nav {
	position: sticky;
	top: calc(var(--nahuis-dashboard-header-offset) + env(safe-area-inset-top));
	align-self: start;
	height: calc(100vh - var(--nahuis-dashboard-header-offset) - env(safe-area-inset-top));
	overflow: auto;
	border-right: 1px solid rgba(11, 79, 74, 0.1);
	background: #fff;
}

.admin-bar .dashboard-nav {
	top: 108px;
	height: calc(100vh - 108px);
}

.dashboard-content {
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	margin-left: 0 !important;
	padding: 34px clamp(22px, 2.6vw, 40px) 48px;
}

#titlebar {
	margin: 0 0 26px;
}

#titlebar h1,
#titlebar h2 {
	margin: 0;
	color: #0b4f4a;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.08;
}

#breadcrumbs ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	color: #6b7f79;
	font-size: 13px;
	font-weight: 700;
}

body.page-template-template-dashboard #dashboard #titlebar.casa-dashboard-titlebar--managed #breadcrumbs {
	position: static !important;
	width: auto !important;
	height: auto !important;
}

#breadcrumbs li + li::before {
	margin-right: 8px;
	color: #9aaba6;
	content: "/";
}

.dashboard-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.dashboard-content textarea,
.dashboard-content select,
.ns-page input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.ns-page textarea,
.ns-page select {
	width: 100%;
	min-height: 44px;
	padding: 10px 13px;
	border: 1px solid rgba(11, 79, 74, 0.18);
	border-radius: 12px;
	background: #fff;
	color: #0b4f4a;
	font: inherit;
}

.dashboard-content textarea,
.ns-page textarea {
	min-height: 120px;
	resize: vertical;
}

.copyrights {
	margin-top: 32px;
	color: #6b7f79;
	font-size: 13px;
}

.notification,
.notice {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid rgba(11, 79, 74, 0.14);
	border-radius: 14px;
	background: #fff;
	color: #31534d;
}

.notification.error {
	border-color: rgba(231, 91, 76, 0.3);
	background: #fff4ef;
	color: #9f2f24;
}

.notification.success {
	border-color: rgba(47, 123, 73, 0.25);
	background: #e7f5eb;
	color: #2f7b49;
}

.mfp-bg,
.mfp-wrap {
	z-index: 99999;
}

.casa-app-refresh-button {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 9998;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: var(--ch-teal-dark, #0b4f4a);
	color: #fff;
	box-shadow: 0 16px 34px rgba(11, 79, 74, 0.3);
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease;
}

.casa-app-refresh-button:hover,
.casa-app-refresh-button:focus-visible {
	background: var(--ch-coral, #f1513f);
	color: #fff;
	outline: none;
	transform: translateY(-1px);
}

.casa-app-refresh-button__icon {
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
}

body.casa-hedy-homepage .casa-app-refresh-button {
	right: max(14px, env(safe-area-inset-right));
	bottom: max(14px, env(safe-area-inset-bottom));
	width: 48px;
	height: 48px;
}

body.casa-hedy-homepage .casa-app-refresh-button__icon {
	width: 24px;
	height: 24px;
	stroke-width: 3.25;
}

.rating-validator {
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.casa-coupons-page .submit-coupon .add-listing-section.row > .woocommerce_options_panel {
	display: grid !important;
	grid-column: 1 / -1 !important;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 0 18px;
	width: 100% !important;
	min-width: 0;
}

body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-md-4,
body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-sm-4 {
	grid-column: span 4;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	flex: none !important;
}

body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-md-6,
body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-sm-6 {
	grid-column: span 6;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	flex: none !important;
}

body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-md-12,
body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-sm-12 {
	grid-column: 1 / -1;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	flex: none !important;
}

body.casa-coupons-page .submit-coupon .woocommerce_options_panel .form-field,
body.casa-coupons-page .submit-coupon .woocommerce_options_panel .select2-container {
	width: 100% !important;
	min-width: 0;
}

body.casa-coupons-page .submit-coupon .woocommerce_options_panel input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
body.casa-coupons-page .submit-coupon .woocommerce_options_panel textarea,
body.casa-coupons-page .submit-coupon .woocommerce_options_panel select:not(.select2-hidden-accessible) {
	width: 100% !important;
	max-width: 100%;
}

.dashboard-content .select2-hidden-accessible {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
}

@media (max-width: 1020px) {
	body.page-template-template-dashboard {
		--nahuis-dashboard-header-offset: 88px;
	}

	body.casa-hedy-homepage #wrapper {
		padding-top: calc(88px + env(safe-area-inset-top)) !important;
	}

	#navigation {
		display: none;
	}

	.desktop-mmenu-trigger {
		display: inline-flex;
	}

	.mobile-navigation-wrapper {
		inset: 0;
		width: 100vw;
		min-height: 100dvh;
		padding: max(18px, env(safe-area-inset-top)) 22px max(18px, env(safe-area-inset-bottom));
		background: #fff;
		box-shadow: none;
	}

	.header-widget .sign-in span {
		display: none;
	}

	.header-widget .sign-in {
		display: none;
		justify-content: center;
		width: 48px;
		height: 48px;
		min-height: 48px;
		padding: 4px;
	}

	.header-widget .sign-in .sign-in-avatar {
		display: inline-flex;
		flex-basis: 38px;
		width: 38px;
		height: 38px;
	}

	.header-widget .sign-in .sign-in-copy {
		display: none;
	}

	.ns-dashboard {
		display: block !important;
		grid-template-columns: none !important;
	}

	.dashboard-responsive-nav-trigger {
		display: inline-flex;
	}

	.dashboard-nav {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 100;
		width: min(360px, 92vw);
		height: 100vh;
		transform: translateX(-105%);
		transition: transform 0.22s ease;
	}

	.admin-bar .dashboard-nav {
		top: 0;
		height: 100vh;
	}

	.ns-dashboard.is-nav-open .dashboard-nav {
		transform: translateX(0);
	}

	body.light-dashboard.page-template-template-dashboard .dashboard-nav ul li a i {
		color: #7a8984 !important;
	}
}

@media (max-width: 782px) {
	.admin-bar #header-container {
		top: 46px;
	}

	#header .container {
		min-height: 68px;
	}

	.container {
		width: min(100% - 28px, 1180px);
	}

	.ns-page {
		padding: 72px 0;
	}

	.dashboard-content {
		padding: 24px 16px 40px;
	}

	body.page-template-template-dashboard #dashboard,
	body.page-template-template-dashboard .dashboard-content {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box;
	}

	body.page-template-template-dashboard .dashboard-content {
		padding-right: max(8px, env(safe-area-inset-right)) !important;
		padding-left: max(8px, env(safe-area-inset-left)) !important;
		overflow-x: clip;
	}

	body.page-template-template-dashboard .dashboard-responsive-nav-trigger {
		margin-right: 8px;
		margin-left: 8px;
	}

	body.page-template-template-dashboard .dashboard-content > .row,
	body.page-template-template-dashboard #titlebar .row {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.page-template-template-dashboard .dashboard-content > .row > [class*="col-"],
	body.page-template-template-dashboard #titlebar .row > [class*="col-"] {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	body.page-template-template-dashboard .casa-dashboard-home-overview,
	body.page-template-template-dashboard .casa-dashboard-home-head,
	body.page-template-template-dashboard .casa-dashboard-home-grid,
	body.page-template-template-dashboard .casa-dashboard-home-card,
	body.page-template-template-dashboard .casa-dashboard-home-next,
	body.page-template-template-dashboard .dashboard-list-box,
	body.page-template-template-dashboard .booking-card {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.page-template-template-dashboard .dashboard-list-box,
	body.page-template-template-dashboard .booking-card,
	body.page-template-template-dashboard .booking-card::before,
	body.page-template-template-dashboard .booking-card::after,
	body.page-template-template-dashboard .booking-card > .booking-card-header,
	body.page-template-template-dashboard .booking-card > .booking-card-footer,
	body.page-template-template-dashboard .booking-card > .casa-booking-card-marker,
	body.page-template-template-dashboard .booking-card > .casa-booking-card-marker::before,
	body.page-template-template-dashboard .booking-card > .casa-booking-card-marker::after,
	body.page-template-template-dashboard .booking-card > .casa-booking-top-payment,
	body.page-template-template-dashboard .booking-card > .casa-booking-payment-summary,
	body.page-template-template-dashboard .add-listing-section,
	body.page-template-template-dashboard .my_account_orders,
	body.page-template-template-dashboard .woocommerce.dashboard-list-box,
	body.page-template-template-dashboard .casa-dashboard-home-card,
	body.page-template-template-dashboard .casa-finance-metric,
	body.page-template-template-dashboard .casa-finance-card,
	body.page-template-template-dashboard .casa-finance-next-card,
	body.page-template-template-dashboard .casa-finance-table-wrap,
	body.page-template-template-dashboard .casa-guest-card,
	body.page-template-template-dashboard .casa-guests-stat,
	body.page-template-template-dashboard .casa-guest-booking,
	body.page-template-template-dashboard .casa-guests-table,
	body.page-template-template-dashboard .casa-email-card,
	body.page-template-template-dashboard .casa-contact-message-card,
	body.page-template-template-dashboard .casa-email-template-card,
	body.page-template-template-dashboard .nahuis-coupons__panel,
	body.page-template-template-dashboard .nahuis-coupons__panel--merged,
	body.page-template-template-dashboard .nahuis-reviews__panel,
	body.page-template-template-dashboard .nahuis-reviews__panel--merged {
		box-shadow: none !important;
		filter: none !important;
	}

	body.page-template-template-dashboard .booking-card:hover,
	body.page-template-template-dashboard .booking-card:focus-within {
		box-shadow: none !important;
		filter: none !important;
		transform: none !important;
	}

	body.page-template-template-dashboard .booking-card {
		border: 1px solid #d8e8e3 !important;
		border-radius: 18px !important;
		background: #fff !important;
		overflow: hidden !important;
	}

	body.page-template-template-dashboard .booking-card > .casa-booking-card-marker {
		border-top: 1px solid #d8e8e3 !important;
		border-right: 1px solid #d8e8e3 !important;
		border-radius: 18px 18px 0 0 !important;
	}

	body.page-template-template-dashboard .booking-card > .booking-card-footer {
		border-right: 0 !important;
		border-bottom: 0 !important;
		border-left: 0 !important;
		border-radius: 0 0 18px 18px !important;
	}

	body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-md-4,
	body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-sm-4,
	body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-md-6,
	body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-sm-6,
	body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-md-12,
	body.casa-coupons-page .submit-coupon .woocommerce_options_panel > .col-sm-12 {
		grid-column: 1 / -1;
	}
}
