/* Hospedus Frontend — public site chrome + section styles.
   Mobile-first: base rules target small screens, larger breakpoints are
   added with min-width media queries. Consumes the --hsp-* design tokens
   published by Hospedus (b-easy-stays); this file adds no colors of its
   own outside that palette. */

.bdw-fe-body {
	margin: 0;
	background: var( --hsp-surface-base );
	color: var( --hsp-text-primary );
	font-family: var( --hsp-font-ui );
	font-size: var( --hsp-text-base );
	line-height: var( --hsp-lh-normal );
	-webkit-font-smoothing: antialiased;
}

.bdw-fe-body *,
.bdw-fe-body *::before,
.bdw-fe-body *::after {
	box-sizing: border-box;
}

.bdw-fe-body img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Visually hidden but still read by screen readers. WordPress' own themes
   ship this class and templates here assume it exists; the plugin replaces
   the theme's stylesheet entirely, so it has to define it itself. */
.screen-reader-text:not( .bdw-fe-skip-link ) {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect( 0 0 0 0 );
	clip-path: inset( 50% );
	white-space: nowrap;
}

.bdw-fe-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
	background: var( --hsp-surface-raised );
	color: var( --hsp-text-primary );
	padding: var( --hsp-space-2 ) var( --hsp-space-4 );
	border-radius: var( --hsp-radius-sm );
}

.bdw-fe-skip-link:focus {
	left: var( --hsp-space-4 );
	top: var( --hsp-space-4 );
}

.bdw-fe-body :focus-visible {
	outline: none;
	box-shadow: var( --hsp-focus-ring );
	border-radius: var( --hsp-radius-sm );
}

/* ---- layout ---- */

.bdw-fe-section {
	max-width: var( --hsp-container );
	margin-left: auto;
	margin-right: auto;
	padding-left: var( --hsp-space-4 );
	padding-right: var( --hsp-space-4 );
}

.bdw-fe-main {
	display: block;
}

.bdw-fe-section {
	padding-top: var( --hsp-space-7 );
	padding-bottom: var( --hsp-space-7 );
}

.bdw-fe-section__heading {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-2xl );
	line-height: var( --hsp-lh-tight );
	margin: 0 0 var( --hsp-space-5 );
}

/* ---- header / nav ----
   .header / .nav / .nav-link / .header-logo come from bdw-fe-design-system.css
   (ported from the approved HTML models). The pieces below have no model
   equivalent: a real, accessible mobile menu toggle + collapsible dropdown,
   vs. the model's own "just hide the nav under 480px" placeholder. */

.bdw-fe-header__actions {
	display: flex;
	align-items: center;
	gap: var( --hsp-space-3 );
}

.bdw-fe-header__toggle {
	background: none;
	border: 1px solid var( --hsp-border-strong );
	border-radius: var( --hsp-radius-md );
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var( --hsp-text-primary );
	display: flex;
}

.bdw-fe-header__toggle .icon {
	width: 20px;
	height: 20px;
}

.bdw-fe-header__nav {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	background: var( --hsp-surface-raised );
	border-bottom: 1px solid var( --hsp-border-subtle );
	box-shadow: var( --hsp-shadow-md );
	padding: var( --hsp-space-2 ) var( --hsp-space-4 ) var( --hsp-space-4 );
}

.bdw-fe-header__nav.is-open {
	display: flex;
}

.bdw-fe-header__nav .nav-link {
	padding: var( --hsp-space-3 );
}

/* ---- account menu (avatar + first name, opens a dropdown) ---- */

.bdw-fe-account-menu {
	position: relative;
}

.bdw-fe-account-menu__trigger {
	display: flex;
	align-items: center;
	gap: var( --hsp-space-2 );
	padding: var( --hsp-space-1 ) var( --hsp-space-2 ) var( --hsp-space-1 ) var( --hsp-space-1 );
	background: none;
	border: 1px solid transparent;
	border-radius: var( --hsp-radius-pill, 999px );
	cursor: pointer;
	color: var( --hsp-text-primary );
	font: inherit;
	line-height: 1;
}

.bdw-fe-account-menu__trigger:hover,
.bdw-fe-account-menu__trigger[aria-expanded="true"] {
	border-color: var( --hsp-border-subtle );
	background: var( --hsp-surface-sunken, rgba( 0, 0, 0, 0.04 ) );
}

.bdw-fe-account-menu__trigger:focus-visible {
	outline: 2px solid var( --hsp-action );
	outline-offset: 2px;
}

.bdw-fe-avatar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	overflow: hidden;
	background: var( --hsp-text-primary );
	color: var( --hsp-surface-raised );
	font-size: var( --hsp-text-xs, 0.75rem );
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* The photo sits *over* the initials rather than replacing them, so a user
   with no Gravatar (or a request that fails) falls back to the initials
   already painted underneath instead of a broken-image icon. */
.bdw-fe-avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bdw-fe-avatar--lg {
	width: 44px;
	height: 44px;
	font-size: var( --hsp-text-sm, 0.875rem );
}

.bdw-fe-account-menu__name {
	font-weight: 500;
	white-space: nowrap;
}

.bdw-fe-account-menu__dropdown {
	position: absolute;
	right: 0;
	top: calc( 100% + var( --hsp-space-2 ) );
	z-index: 60;
	min-width: 264px;
	max-width: min( 320px, calc( 100vw - var( --hsp-space-4 ) * 2 ) );
	max-height: min( 78vh, 640px );
	overflow-y: auto;
	padding: var( --hsp-space-2 );
	background: var( --hsp-surface-raised );
	border: 1px solid var( --hsp-border-subtle );
	border-radius: var( --hsp-radius-lg, 12px );
	box-shadow: var( --hsp-shadow-lg, var( --hsp-shadow-md ) );
}

.bdw-fe-account-menu__header {
	display: flex;
	align-items: center;
	gap: var( --hsp-space-3 );
	padding: var( --hsp-space-3 );
}

.bdw-fe-account-menu__identity {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.bdw-fe-account-menu__display-name,
.bdw-fe-account-menu__email {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bdw-fe-account-menu__email {
	color: var( --hsp-text-muted, var( --hsp-text-secondary ) );
	font-size: var( --hsp-text-sm, 0.875rem );
}

.bdw-fe-account-menu__group {
	padding-top: var( --hsp-space-2 );
	border-top: 1px solid var( --hsp-border-subtle );
}

.bdw-fe-account-menu__group:first-of-type {
	border-top: none;
}

.bdw-fe-account-menu__group-label {
	margin: 0 0 var( --hsp-space-1 );
	padding: 0 var( --hsp-space-3 );
	color: var( --hsp-text-muted, var( --hsp-text-secondary ) );
	font-size: var( --hsp-text-xs, 0.75rem );
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bdw-fe-account-menu__item {
	display: flex;
	align-items: center;
	gap: var( --hsp-space-3 );
	padding: var( --hsp-space-3 );
	border-radius: var( --hsp-radius-md );
	color: var( --hsp-text-primary );
	text-decoration: none;
}

.bdw-fe-account-menu__item:hover,
.bdw-fe-account-menu__item:focus-visible {
	background: var( --hsp-surface-sunken, rgba( 0, 0, 0, 0.04 ) );
}

.bdw-fe-account-menu__item .icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	color: var( --hsp-text-muted, var( --hsp-text-secondary ) );
}

/* Below 782px the first name is dropped so the trigger shrinks to just the
   avatar next to the menu toggle — name + hamburger side by side gets tight
   on a narrow phone. */
@media ( max-width: 781px ) {
	.bdw-fe-account-menu__name {
		display: none;
	}

	.bdw-fe-account-menu__trigger {
		padding: var( --hsp-space-1 );
	}

	.bdw-fe-account-menu__dropdown {
		position: fixed;
		right: var( --hsp-space-4 );
		left: var( --hsp-space-4 );
		top: auto;
		min-width: 0;
		max-width: none;
	}
}

@media ( min-width: 782px ) {
	.bdw-fe-header__toggle {
		display: none;
	}

	.bdw-fe-header__nav {
		display: flex;
		position: static;
		flex-direction: row;
		background: none;
		border: none;
		box-shadow: none;
		padding: 0;
	}
}

/* ---- buttons ---- */

.bdw-fe-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var( --hsp-space-3 ) var( --hsp-space-5 );
	border-radius: var( --hsp-radius-md );
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
}

.bdw-fe-button--accent {
	background: var( --hsp-accent );
	color: var( --hsp-on-accent );
}

.bdw-fe-button--accent:hover {
	background: var( --hsp-accent-text );
	color: var( --hsp-on-accent );
}

/* ---- hero ---- */

.bdw-fe-hero {
	max-width: none;
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: var( --hsp-space-8 );
	padding-bottom: var( --hsp-space-8 );
	overflow: hidden;
}

.bdw-fe-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.bdw-fe-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bdw-fe-hero:has( .bdw-fe-hero__media img ) {
	color: var( --hsp-neutral-0 );
}

.bdw-fe-hero:has( .bdw-fe-hero__media img )::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient( 180deg, rgba( 14, 27, 36, .55 ) 0%, rgba( 14, 27, 36, .65 ) 100% );
	z-index: -1;
}

.bdw-fe-hero__content {
	max-width: 800px;
	text-align: center;
	animation: bdw-fade-in-up .8s ease;
}

.bdw-fe-hero--left .bdw-fe-hero__content {
	text-align: left;
	margin-left: 0;
	margin-right: auto;
}

.bdw-fe-hero__eyebrow {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-sm );
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 var( --hsp-space-3 );
	opacity: .9;
}

.bdw-fe-hero__heading {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-4xl );
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 var( --hsp-space-4 );
	text-shadow: 0 2px 8px rgba( 0, 0, 0, .35 );
}

.bdw-fe-hero__subheading {
	font-family: var( --hsp-font-ui );
	font-size: var( --hsp-text-lg );
	line-height: 1.6;
	margin: 0 0 var( --hsp-space-6 );
	opacity: .95;
	text-shadow: 0 1px 6px rgba( 0, 0, 0, .3 );
}

.bdw-fe-hero__actions {
	display: flex;
	gap: var( --hsp-space-4 );
	justify-content: center;
	flex-wrap: wrap;
}

.bdw-fe-hero--left .bdw-fe-hero__actions {
	justify-content: flex-start;
}

@media ( max-width: 768px ) {
	.bdw-fe-hero__heading {
		font-size: var( --hsp-text-3xl );
	}

	.bdw-fe-hero__actions {
		flex-direction: column;
	}

	.bdw-fe-hero__actions .btn {
		width: 100%;
	}
}

@keyframes bdw-fade-in-up {
	from {
		opacity: 0;
		transform: translateY( 20px );
	}
	to {
		opacity: 1;
		transform: translateY( 0 );
	}
}

/* ---- property teaser (compact homepage rail) ---- */

.bdw-fe-property-teaser__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var( --hsp-space-3 );
	margin-bottom: var( --hsp-space-5 );
}

.bdw-fe-property-teaser__head .bdw-fe-section__heading {
	margin-bottom: 0;
}

.bdw-fe-property-teaser__viewall {
	font-size: var( --hsp-text-sm );
	font-weight: 600;
	color: var( --hsp-action );
	white-space: nowrap;
	text-decoration: none;
}

.bdw-fe-property-teaser__viewall:hover {
	text-decoration: underline;
}

.bdw-fe-property-teaser__grid {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: var( --hsp-space-5 );
}

@media ( min-width: 640px ) {
	.bdw-fe-property-teaser__grid {
		grid-template-columns: repeat( 4, 1fr );
	}
}

.property-teaser-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.property-teaser-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var( --hsp-radius-md );
	overflow: hidden;
	background: var( --hsp-surface-sunken );
	margin-bottom: var( --hsp-space-2 );
}

.bdw-fe-property-teaser__grid .property-teaser-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .2s ease;
}

.property-teaser-card:hover .property-teaser-card__image {
	transform: scale( 1.03 );
}

.property-teaser-card__image--empty {
	background: var( --hsp-surface-placeholder );
}

.property-teaser-card__title {
	display: block;
	font-size: var( --hsp-text-sm );
	font-weight: 600;
	color: var( --hsp-text-primary );
	margin-bottom: 2px;
}

.property-teaser-card__price {
	display: block;
	font-size: var( --hsp-text-sm );
	color: var( --hsp-text-secondary );
}

.property-teaser-card__price-unit {
	color: var( --hsp-text-muted );
}

/* ---- gallery ---- */

.bdw-fe-gallery__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var( --hsp-space-3 );
}

.bdw-fe-gallery__item img {
	border-radius: var( --hsp-radius-lg );
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@media ( min-width: 600px ) {
	.bdw-fe-gallery__grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( min-width: 1024px ) {
	.bdw-fe-gallery__grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

/* ---- testimonials ---- */

.bdw-fe-testimonials__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var( --hsp-space-4 );
}

@media ( min-width: 782px ) {
	.bdw-fe-testimonials__grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

/* ---- search bar ---- */

.bdw-fe-search-bar {
	padding-top: 0;
	padding-bottom: 0;
}

.bdw-fe-search-bar .search-bar {
	background: var( --hsp-surface-raised );
	border-radius: var( --hsp-radius-lg );
	padding: var( --hsp-space-4 );
	box-shadow: var( --hsp-shadow-lg );
	margin-top: calc( var( --hsp-space-8 ) * -1 );
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 10;
}

.bdw-fe-search-bar .search-form {
	display: flex;
	flex-direction: row;
	gap: var( --hsp-space-3 );
	align-items: end;
	flex-wrap: wrap;
	margin-bottom: 0;
}

.bdw-fe-search-bar .search-form .form-group {
	flex: 1;
	min-width: 150px;
	margin-bottom: 0;
}

@media ( max-width: 768px ) {
	.bdw-fe-search-bar .search-form {
		flex-direction: column;
	}

	.bdw-fe-search-bar .search-form .form-group {
		min-width: 100%;
	}

	.bdw-fe-search-bar .search-form .btn {
		width: 100%;
	}
}

/* ---- property grid ---- */

.bdw-fe-property-grid {
	padding-top: var( --hsp-space-8 );
}

.bdw-fe-property-grid .property-image {
	height: 260px;
}

/* ---- blog highlights ---- */

.bdw-fe-blog-highlights .blog-card {
	background: var( --hsp-surface-raised );
	border-radius: var( --hsp-radius-lg );
	overflow: hidden;
	box-shadow: var( --hsp-shadow-sm );
	transition: all .2s ease;
}

.bdw-fe-blog-highlights .blog-card:hover {
	box-shadow: var( --hsp-shadow-md );
}

.bdw-fe-blog-highlights .blog-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.bdw-fe-blog-highlights .blog-thumbnail {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
}

.bdw-fe-blog-highlights .blog-thumbnail--empty {
	background: var( --hsp-surface-placeholder );
}

.bdw-fe-blog-highlights .blog-content {
	padding: var( --hsp-space-4 );
}

.bdw-fe-blog-highlights .blog-title {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-lg );
	font-weight: 600;
	margin-bottom: var( --hsp-space-2 );
	color: var( --hsp-text-primary );
	transition: color .2s ease;
}

.bdw-fe-blog-highlights .blog-card:hover .blog-title {
	color: var( --hsp-action );
}

.bdw-fe-blog-highlights .blog-date {
	font-family: var( --hsp-font-ui );
	font-size: var( --hsp-text-xs );
	color: var( --hsp-text-muted );
	margin-bottom: var( --hsp-space-2 );
}

.bdw-fe-blog-highlights .blog-excerpt {
	font-family: var( --hsp-font-ui );
	font-size: var( --hsp-text-sm );
	color: var( --hsp-text-secondary );
	line-height: 1.5;
}

.bdw-fe-testimonial {
	margin: 0;
	background: var( --hsp-surface-raised );
	border: 1px solid var( --hsp-border-subtle );
	border-radius: var( --hsp-radius-lg );
	padding: var( --hsp-space-5 );
	position: relative;
}

.bdw-fe-testimonial__quote {
	margin: 0 0 var( --hsp-space-4 );
	font-family: var( --hsp-font-ui );
	font-size: var( --hsp-text-base );
	line-height: 1.6;
	font-style: italic;
	color: var( --hsp-text-primary );
}

.bdw-fe-testimonial__author {
	display: block;
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-sm );
	font-weight: 600;
	color: var( --hsp-text-primary );
	font-style: normal;
}

.bdw-fe-testimonial__location {
	display: block;
	font-family: var( --hsp-font-ui );
	font-size: var( --hsp-text-xs );
	color: var( --hsp-text-secondary );
}

/* ---- cta ---- */

.bdw-fe-cta {
	background: var( --hsp-surface-inverse );
	color: var( --hsp-text-on-inverse );
	border-radius: var( --hsp-radius-lg );
	text-align: center;
	max-width: var( --hsp-container );
	margin: var( --hsp-space-6 ) auto;
	padding: var( --hsp-space-7 ) var( --hsp-space-4 );
}

.bdw-fe-cta--gradient {
	background: linear-gradient( 135deg, var( --hsp-action ), var( --hsp-action-hover ) );
	color: var( --hsp-on-action );
	border-radius: 0;
	max-width: none;
	margin: var( --hsp-space-6 ) 0 0;
	padding: var( --hsp-space-8 ) var( --hsp-space-4 );
}

.bdw-fe-cta--left {
	text-align: left;
}

.bdw-fe-cta--right {
	text-align: right;
}

.bdw-fe-cta__heading {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-2xl );
	margin: 0 0 var( --hsp-space-3 );
	color: var( --hsp-text-on-inverse );
}

.bdw-fe-cta--gradient .bdw-fe-cta__heading {
	font-size: var( --hsp-text-3xl );
}

.bdw-fe-cta__text {
	margin: 0 0 var( --hsp-space-5 );
	opacity: .9;
}

/* ---- text + image ---- */

.bdw-fe-text-image {
	display: grid;
	grid-template-columns: 1fr;
	gap: var( --hsp-space-5 );
	align-items: center;
}

.bdw-fe-text-image__media img {
	border-radius: var( --hsp-radius-lg );
	width: 100%;
}

@media ( min-width: 782px ) {
	.bdw-fe-text-image {
		grid-template-columns: 1fr 1fr;
	}

	.bdw-fe-text-image--left .bdw-fe-text-image__media {
		order: -1;
	}
}

/* ---- contact ---- */

.bdw-fe-contact__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var( --hsp-space-2 );
}

/* ---- faq ---- */

.bdw-fe-faq__list {
	display: flex;
	flex-direction: column;
	gap: var( --hsp-space-2 );
}

.bdw-fe-faq__item {
	border: 1px solid var( --hsp-border-subtle );
	border-radius: var( --hsp-radius-md );
	padding: var( --hsp-space-3 ) var( --hsp-space-4 );
}

.bdw-fe-faq__question {
	font-weight: 600;
	cursor: pointer;
}

.bdw-fe-faq__answer {
	margin-top: var( --hsp-space-2 );
	color: var( --hsp-text-secondary );
}

/* ---- blog ---- */

.bdw-fe-blog-archive__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var( --hsp-space-5 );
}

.bdw-fe-blog-card {
	background: var( --hsp-surface-raised );
	border: 1px solid var( --hsp-border-subtle );
	border-radius: var( --hsp-radius-lg );
	overflow: hidden;
}

.bdw-fe-blog-card__link {
	text-decoration: none;
	color: inherit;
}

.bdw-fe-blog-card__thumbnail img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.bdw-fe-blog-card__title,
.bdw-fe-blog-card__meta,
.bdw-fe-blog-card__excerpt {
	padding-left: var( --hsp-space-4 );
	padding-right: var( --hsp-space-4 );
}

.bdw-fe-blog-card__title {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-lg );
	margin: var( --hsp-space-3 ) 0 0;
}

.bdw-fe-blog-card__meta {
	color: var( --hsp-text-muted );
	font-size: var( --hsp-text-sm );
	margin: var( --hsp-space-1 ) 0 0;
}

.bdw-fe-blog-card__excerpt {
	margin: var( --hsp-space-2 ) 0 var( --hsp-space-4 );
	color: var( --hsp-text-secondary );
}

@media ( min-width: 600px ) {
	.bdw-fe-blog-archive__grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( min-width: 1024px ) {
	.bdw-fe-blog-archive__grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

/* ---- experiences ---- */

.bdw-fe-experience-card__price {
	padding: 0 var( --hsp-space-4 ) var( --hsp-space-4 );
	margin: 0;
	font-weight: 600;
	color: var( --hsp-accent-text, var( --hsp-action ) );
}

.bdw-fe-experience__cover img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var( --hsp-radius-lg );
	margin: var( --hsp-space-4 ) 0;
}

.bdw-fe-experience__gallery {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: var( --hsp-space-3 );
	margin-bottom: var( --hsp-space-5 );
}

.bdw-fe-experience__gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var( --hsp-radius-md );
}

@media ( min-width: 640px ) {
	.bdw-fe-experience__gallery {
		grid-template-columns: repeat( 4, 1fr );
	}
}

.bdw-fe-experience__price {
	display: inline-block;
	font-size: var( --hsp-text-lg );
	font-weight: 700;
	color: var( --hsp-accent-text, var( --hsp-action ) );
	margin: 0 0 var( --hsp-space-5 );
}

.bdw-fe-experience__content {
	max-width: var( --hsp-measure );
	margin-bottom: var( --hsp-space-6 );
}

.bdw-fe-post__thumbnail img {
	border-radius: var( --hsp-radius-lg );
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.bdw-fe-post__title {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-2xl );
	margin: var( --hsp-space-4 ) 0 var( --hsp-space-2 );
}

.bdw-fe-post__meta {
	color: var( --hsp-text-muted );
	font-size: var( --hsp-text-sm );
}

/* ---- search / 404 ---- */

.bdw-fe-search__results {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var( --hsp-space-4 );
}

.bdw-fe-404 {
	text-align: center;
}

/* ---- footer ----
   .footer comes from bdw-fe-design-system.css; footer.php builds its columns
   with .container/.grid/.nav-link, so no page-specific rules are needed here. */

.bdw-fe-footer {
	margin-top: 0;
}

/* ---- account area ---- */

.bdw-fe-account {
	max-width: var( --hsp-measure );
	margin: var( --hsp-space-7 ) auto;
	padding: 0 var( --hsp-space-4 );
}

.bdw-fe-account__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var( --hsp-space-3 );
	margin-bottom: var( --hsp-space-5 );
}

.bdw-fe-account__heading {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-2xl );
	margin: 0 0 var( --hsp-space-4 );
}

.bdw-fe-account__header .bdw-fe-account__heading {
	margin-bottom: 0;
}

.bdw-fe-account__notice {
	padding: var( --hsp-space-3 ) var( --hsp-space-4 );
	border-radius: var( --hsp-radius-md );
	margin-bottom: var( --hsp-space-4 );
}

.bdw-fe-account__notice--error {
	background: var( --hsp-danger-bg );
	color: var( --hsp-danger );
}

.bdw-fe-account__notice--success {
	background: var( --hsp-success-bg );
	color: var( --hsp-success );
}

.bdw-fe-account__form {
	display: flex;
	flex-direction: column;
	gap: var( --hsp-space-4 );
	max-width: 360px;
}

.bdw-fe-account__form .bdw-fe-field__label {
	display: block;
	font-weight: 600;
	margin-bottom: var( --hsp-space-1 );
	font-size: var( --hsp-text-sm );
}

.bdw-fe-account__form input[type="text"],
.bdw-fe-account__form input[type="email"],
.bdw-fe-account__form input[type="password"] {
	width: 100%;
	padding: var( --hsp-space-2 ) var( --hsp-space-3 );
	border: 1px solid var( --hsp-border-strong );
	border-radius: var( --hsp-radius-md );
}

.bdw-fe-account__remember {
	display: flex;
	align-items: center;
	gap: var( --hsp-space-2 );
	font-size: var( --hsp-text-sm );
}

.bdw-fe-account__hint {
	color: var( --hsp-text-muted );
	font-size: var( --hsp-text-sm );
}

.bdw-fe-account__bookings {
	display: flex;
	flex-direction: column;
	gap: var( --hsp-space-3 );
}

.bdw-fe-booking-card {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var( --hsp-space-4 );
	padding: var( --hsp-space-4 );
	border: 1px solid var( --hsp-border-subtle );
	border-radius: var( --hsp-radius-lg );
	background: var( --hsp-surface-raised );
}

.bdw-fe-booking-card__title {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-lg );
	margin: 0 0 var( --hsp-space-1 );
}

.bdw-fe-booking-card__dates {
	margin: 0 0 var( --hsp-space-2 );
	color: var( --hsp-text-secondary );
}

.bdw-fe-booking-card__status {
	display: inline-block;
	font-size: var( --hsp-text-xs );
	font-weight: 600;
	text-transform: uppercase;
	padding: var( --hsp-space-1 ) var( --hsp-space-2 );
	border-radius: var( --hsp-radius-sm );
	background: var( --hsp-info-bg );
	color: var( --hsp-info );
}

.bdw-fe-booking-card__status--confirmed { background: var( --hsp-booking-confirmed-bg ); color: var( --hsp-booking-confirmed ); }
.bdw-fe-booking-card__status--cancelled { background: var( --hsp-booking-cancelled-bg ); color: var( --hsp-booking-cancelled ); }
.bdw-fe-booking-card__status--checked_in,
.bdw-fe-booking-card__status--checked_out { background: var( --hsp-booking-cleaning-bg ); color: var( --hsp-booking-cleaning ); }

.bdw-fe-booking-card__aside {
	text-align: right;
}

.bdw-fe-booking-card__total {
	font-weight: 700;
	margin: 0 0 var( --hsp-space-2 );
}

/* ---- login / forgot / reset ----
   A single centred card over a soft brand wash. The card owns its own
   surface, so it reads the same whether the page around it is the site
   shell or a bare page template. */

/* This page has no site header or footer around it (see page.php), so the
   login container is the whole screen: it owns the full viewport height and
   draws its own way back to the site. */
.bdw-fe-login {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var( --hsp-space-4 );
	min-height: 100vh;
	min-height: 100dvh;
	padding: var( --hsp-space-6 ) var( --hsp-space-4 );
	position: relative;
	isolation: isolate;
	/* The wash below is pulled out to full viewport width; clipping here
	   keeps that bleed from adding horizontal page scroll. */
	overflow-x: clip;
}

/* Sits above the card and stays out of its way: quiet by default, and only
   picks up the action colour on hover/focus. */
.bdw-fe-login__home {
	display: inline-flex;
	align-items: center;
	gap: var( --hsp-space-1 );
	align-self: center;
	width: 100%;
	max-width: 420px;
	color: var( --hsp-text-muted );
	font-size: var( --hsp-text-sm );
	font-weight: 500;
	text-decoration: none;
	border-radius: var( --hsp-radius-sm );
	transition: color .15s ease;
}

.bdw-fe-login__home:hover,
.bdw-fe-login__home:focus-visible {
	color: var( --hsp-action );
}

.bdw-fe-login__home-icon {
	width: 16px;
	height: 16px;
	flex: none;
	transition: transform .15s ease;
}

.bdw-fe-login__home:hover .bdw-fe-login__home-icon {
	transform: translateX( -2px );
}

/* Brand wash: two very soft radial tints spanning the viewport, so the card
   floats over a full-bleed background rather than sitting in a box. Width is
   centred off the element rather than set by a vw inset on both sides — a
   two-sided vw bleed measures against the viewport *including* the
   scrollbar, and that overhang is what adds horizontal page scroll. */
.bdw-fe-login::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX( -50% );
	z-index: -1;
	background:
		radial-gradient( 60% 55% at 15% 10%, var( --hsp-primary-100 ) 0%, transparent 60% ),
		radial-gradient( 50% 50% at 88% 85%, var( --hsp-secondary-100 ) 0%, transparent 62% ),
		var( --hsp-surface-base );
}

.bdw-fe-login__card {
	width: 100%;
	max-width: 420px;
	background: var( --hsp-surface-raised );
	border: 1px solid var( --hsp-border-subtle );
	border-radius: var( --hsp-radius-lg );
	box-shadow: var( --hsp-shadow-lg );
	padding: var( --hsp-space-6 ) var( --hsp-space-5 ) var( --hsp-space-5 );
}

@media ( min-width: 480px ) {
	.bdw-fe-login__card {
		padding: var( --hsp-space-7 ) var( --hsp-space-6 ) var( --hsp-space-6 );
	}
}

/* ---- brand ---- */

.bdw-fe-login__brand {
	display: flex;
	justify-content: center;
	margin-bottom: var( --hsp-space-5 );
}

.bdw-fe-login__brand-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: var( --hsp-text-primary );
	border-radius: var( --hsp-radius-sm );
}

.bdw-fe-login__logo {
	max-height: 48px;
	width: auto;
}

.bdw-fe-login__wordmark {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-lg );
	font-weight: 600;
	letter-spacing: -0.01em;
}

/* ---- headings ---- */

.bdw-fe-login__head {
	text-align: center;
	margin-bottom: var( --hsp-space-5 );
}

.bdw-fe-login__heading {
	font-family: var( --hsp-font-brand );
	font-size: var( --hsp-text-xl );
	line-height: var( --hsp-lh-tight );
	margin: 0;
}

.bdw-fe-login__subheading {
	margin: var( --hsp-space-2 ) 0 0;
	color: var( --hsp-text-secondary );
	font-size: var( --hsp-text-sm );
	line-height: var( --hsp-lh-normal );
}

/* ---- notices ---- */

.bdw-fe-login__notice {
	display: flex;
	align-items: flex-start;
	gap: var( --hsp-space-2 );
	margin: 0 0 var( --hsp-space-4 );
	padding: var( --hsp-space-3 ) var( --hsp-space-4 );
	border-radius: var( --hsp-radius-md );
	font-size: var( --hsp-text-sm );
	line-height: var( --hsp-lh-normal );
}

.bdw-fe-login__notice-icon {
	width: 18px;
	height: 18px;
	flex: none;
	margin-top: 2px;
}

.bdw-fe-login__notice--error {
	background: var( --hsp-danger-bg );
	color: var( --hsp-danger );
}

.bdw-fe-login__notice--success {
	background: var( --hsp-success-bg );
	color: var( --hsp-success );
}

/* ---- form ---- */

.bdw-fe-login__form {
	display: flex;
	flex-direction: column;
	gap: var( --hsp-space-4 );
}

.bdw-fe-login .bdw-fe-field {
	display: block;
}

.bdw-fe-login .bdw-fe-field__label {
	display: block;
	font-size: var( --hsp-text-sm );
	font-weight: 600;
	margin-bottom: var( --hsp-space-2 );
}

.bdw-fe-login .bdw-fe-field__input {
	width: 100%;
	padding: var( --hsp-space-3 );
	font: inherit;
	font-size: var( --hsp-text-base );
	color: var( --hsp-text-primary );
	background: var( --hsp-surface-base );
	border: 1px solid var( --hsp-border-strong );
	border-radius: var( --hsp-radius-md );
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.bdw-fe-login .bdw-fe-field__input::placeholder {
	color: var( --hsp-text-disabled );
}

.bdw-fe-login .bdw-fe-field__input:hover {
	border-color: var( --hsp-border-hover );
}

.bdw-fe-login .bdw-fe-field__input:focus {
	outline: none;
	background: var( --hsp-surface-raised );
	border-color: var( --hsp-action );
	box-shadow: 0 0 0 3px var( --hsp-primary-100 );
}

/* ---- remember / forgot row ---- */

.bdw-fe-login__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var( --hsp-space-3 );
	font-size: var( --hsp-text-sm );
}

.bdw-fe-login__remember {
	display: inline-flex;
	align-items: center;
	gap: var( --hsp-space-2 );
	cursor: pointer;
	color: var( --hsp-text-secondary );
}

.bdw-fe-login__remember input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var( --hsp-action );
	cursor: pointer;
}

.bdw-fe-login__link {
	color: var( --hsp-action );
	text-decoration: none;
	font-weight: 600;
	border-radius: var( --hsp-radius-sm );
}

.bdw-fe-login__link:hover {
	color: var( --hsp-action-hover );
	text-decoration: underline;
}

/* ---- submit ---- */

.bdw-fe-login__submit {
	width: 100%;
	padding-top: var( --hsp-space-3 );
	padding-bottom: var( --hsp-space-3 );
	font-size: var( --hsp-text-base );
	cursor: pointer;
	transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}

.bdw-fe-login__submit:hover {
	box-shadow: var( --hsp-shadow-md );
}

.bdw-fe-login__submit:active {
	transform: translateY( 1px );
	box-shadow: none;
}

/* ---- footer link ---- */

.bdw-fe-login__foot {
	margin: var( --hsp-space-5 ) 0 0;
	text-align: center;
	font-size: var( --hsp-text-sm );
}

.bdw-fe-login__back {
	display: inline-flex;
	align-items: center;
	gap: var( --hsp-space-1 );
	color: var( --hsp-text-secondary );
	text-decoration: none;
	font-weight: 600;
	border-radius: var( --hsp-radius-sm );
}

.bdw-fe-login__back:hover {
	color: var( --hsp-action );
}

.bdw-fe-login__back-icon {
	width: 16px;
	height: 16px;
	flex: none;
}

@media ( prefers-reduced-motion: reduce ) {
	.bdw-fe-login .bdw-fe-field__input,
	.bdw-fe-login__submit,
	.bdw-fe-login__home,
	.bdw-fe-login__home-icon {
		transition: none;
	}

	.bdw-fe-login__submit:active,
	.bdw-fe-login__home:hover .bdw-fe-login__home-icon {
		transform: none;
	}
}
