/* BHH Holiday — site header.
   Layout: left-nav | centered logo | right-nav. Mega menu on Our Rooms.
   Tokens align with DESIGN-bhh-parent.md (airbnb-inspired).
*/

.bhh-header {
	position: sticky; top: 0; z-index: 60;
	background: #fff;
	border-bottom: 1px solid #ebebeb;
	font-family: "Inter", "Airbnb Cereal VF", Circular, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
.bhh-header__inner {
	width: 90vw; max-width: 1320px;
	margin: 0 auto;
	padding: 12px 0;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}

/* Brand (centered) */
.bhh-header__brand {
	display: flex; align-items: center; justify-content: center;
	grid-column: 2;
}
.bhh-header__brand img { height: 56px; width: auto; display: block; }
.bhh-header__brand span {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 22px; color: #222; font-weight: 600;
}

/* Nav (left + right) */
.bhh-header__nav {
	display: flex; align-items: center; gap: 28px;
}
.bhh-header__nav--left  { grid-column: 1; justify-content: flex-end; }
.bhh-header__nav--right { grid-column: 3; justify-content: flex-start; }

.bhh-header__link {
	color: #222;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 4px;
	display: inline-flex; align-items: center; gap: 6px;
	border-bottom: 2px solid transparent;
	transition: border-color .15s, color .15s;
	white-space: nowrap;
}
.bhh-header__link:hover { border-bottom-color: #ff385c; color: #222; }
.bhh-header__link--mega .bhh-header__caret { transition: transform .15s; }
.bhh-header__item--has-mega { position: static; }
.bhh-header__item--has-mega.is-open .bhh-header__caret { transform: rotate(180deg); }
.bhh-header__item--has-mega.is-open .bhh-header__link--mega { border-bottom-color: #ff385c; }

/* Mega menu panel */
.bhh-header__mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0,0,0,0.10);
	border-top: 1px solid #ebebeb;
	opacity: 0; visibility: hidden; pointer-events: none;
	transform: translateY(-4px);
	transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
}
.bhh-header__item--has-mega.is-open .bhh-header__mega,
.bhh-header__item--has-mega:hover .bhh-header__mega {
	opacity: 1; visibility: visible; pointer-events: auto;
	transform: translateY(0);
}
.bhh-header__mega-inner {
	width: 90vw; max-width: 1320px; margin: 0 auto; padding: 28px 0;
	display: grid; grid-template-columns: 1fr 2fr; gap: 32px;
	align-items: start;
}
.bhh-header__mega-eyebrow {
	display: inline-block;
	font-size: 12px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase;
	color: #6a6a6a;
	margin: 0 0 8px;
}
.bhh-header__mega-title { font-size: 22px; font-weight: 700; color: #222; margin: 0 0 8px; line-height: 1.2; }
.bhh-header__mega-sub { font-size: 14px; color: #6a6a6a; line-height: 1.5; margin: 0 0 14px; }
.bhh-header__mega-cta {
	display: inline-flex; align-items: center; gap: 4px;
	color: #ff385c; font-weight: 700; font-size: 14px; text-decoration: none;
}
.bhh-header__mega-cta:hover { color: #e00b41; }

.bhh-header__mega-list {
	list-style: none; padding: 0; margin: 0;
	display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.bhh-header__mega-card {
	display: flex; gap: 12px; align-items: center;
	padding: 10px;
	border: 1px solid #ebebeb;
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	transition: border-color .15s, transform .15s, box-shadow .15s;
}
.bhh-header__mega-card:hover { border-color: #222; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.bhh-header__mega-thumb {
	flex-shrink: 0;
	width: 56px; height: 56px;
	border-radius: 10px;
	background: #f7f7f7 center/cover no-repeat;
}
.bhh-header__mega-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bhh-header__mega-name { font-size: 14px; font-weight: 700; color: #222; }
.bhh-header__mega-meta { font-size: 12px; color: #6a6a6a; font-variant-numeric: tabular-nums; }

/* Mobile toggle */
.bhh-header__toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 8px;
	cursor: pointer;
	color: #222;
	grid-column: 3;
	justify-self: end;
}

/* Drawer (mobile) */
.bhh-drawer { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 100; display: flex; justify-content: flex-end; }
.bhh-drawer[hidden] { display: none; }
.bhh-drawer__panel {
	background: #fff;
	width: min(360px, 100%);
	height: 100%;
	padding: 20px;
	display: flex; flex-direction: column; gap: 12px;
	overflow-y: auto;
}
.bhh-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid #ebebeb;
}
.bhh-drawer__close { background: transparent; border: 0; padding: 6px; cursor: pointer; color: #222; }
.bhh-drawer__nav { display: flex; flex-direction: column; gap: 2px; }
.bhh-drawer__link {
	color: #222; padding: 14px 8px; text-decoration: none;
	font-size: 16px; font-weight: 600;
	border-bottom: 1px solid #f0ece4;
}

.bhh-drawer__details {
	border-bottom: 1px solid #f0ece4;
	padding: 0;
}
.bhh-drawer__details summary {
	padding: 14px 8px;
	font-size: 16px; font-weight: 600; color: #222;
	cursor: pointer; list-style: none;
	display: flex; align-items: center; justify-content: space-between;
}
.bhh-drawer__details summary::after { content: "+"; font-size: 22px; color: #ff385c; }
.bhh-drawer__details[open] summary::after { content: "\2013"; }
.bhh-drawer__sublink {
	display: block; padding: 10px 20px;
	color: #3f3f3f; font-size: 14px; text-decoration: none;
}
.bhh-drawer__sublink:hover { color: #ff385c; }
.bhh-drawer__sublink--all { color: #ff385c; font-weight: 700; }

.bhh-drawer__nav .bhh-btn { margin-top: 12px; text-align: center; }

@media (max-width: 1020px) {
	.bhh-header__inner { grid-template-columns: auto 1fr auto; gap: 12px; }
	.bhh-header__nav { display: none; }
	.bhh-header__brand { grid-column: 1; justify-content: flex-start; }
	.bhh-header__brand img { height: 44px; }
	.bhh-header__toggle { display: inline-flex; grid-column: 3; }
}
