.hlu-map {
	--hlu-bg: #fefbf6;
	--hlu-surface: #fff;
	--hlu-surface-alt: #f3f1ed;
	--hlu-text: #333;
	--hlu-muted: #6f6f6f;
	--hlu-border: #ddd8d0;
	--hlu-primary: var(--e-global-color-accent, #ed1c24);
	--hlu-partial: #fff4cd;
	--hlu-full: #e3f3e9;
	--hlu-occupied: #287552;
	background: transparent;
	color: var(--hlu-text);
	font-family: inherit;
	padding: 0;
}

.hlu-map *, .hlu-map *::before, .hlu-map *::after { box-sizing: border-box; }
.hlu-map__header { margin-bottom: 18px; }
.hlu-map__title { color: #54595f; font-family: Nunito, sans-serif; font-size: 2rem; font-weight: 900; line-height: 1.2; margin: 0 0 7px; }
.hlu-map__intro { color: var(--hlu-muted); font-size: .95rem; line-height: 1.5; margin: 0; }

.hlu-map__nights {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 7px;
	margin-bottom: 16px;
}

.hlu-map__night {
	appearance: none;
	background: var(--hlu-surface);
	border: 1px solid var(--hlu-border);
	border-radius: 6px;
	color: var(--hlu-text);
	cursor: pointer;
	font: inherit;
	line-height: 1.25;
	min-height: 44px;
	padding: 9px 8px;
}

.hlu-map__night:hover, .hlu-map__night:focus-visible { border-color: var(--hlu-primary); }
.hlu-map__night[aria-selected="true"] { background: var(--hlu-primary); border-color: var(--hlu-primary); color: #fff; }
.hlu-map__night-short { display: none; }

.hlu-map__summary {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	background: var(--hlu-surface);
	border-left: 4px solid var(--hlu-primary);
	margin-bottom: 14px;
	padding: 10px 12px;
}

.hlu-map__summary strong { font-weight: 600; }
.hlu-map__summary span { color: var(--hlu-muted); font-size: .88rem; }

.hlu-map__areas {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
	gap: 14px;
	align-items: start;
}

.hlu-map__area {
	background: var(--hlu-surface);
	border: 1px solid var(--hlu-border);
	border-radius: 8px;
	padding: 14px;
}

.hlu-map__area-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hlu-map__area-heading h3 { color: var(--hlu-text); font-size: 1.08rem; font-weight: 600; line-height: 1.3; margin: 0; }
.hlu-map__area-heading span { color: var(--hlu-muted); font-size: .8rem; }
.hlu-map__section + .hlu-map__section { border-top: 1px solid var(--hlu-border); margin-top: 15px; padding-top: 14px; }
.hlu-map__section h4 { color: var(--hlu-muted); font-size: .76rem; font-weight: 600; letter-spacing: .06em; line-height: 1.3; margin: 0 0 8px; text-transform: uppercase; }
.hlu-map__rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }

.hlu-room { background: var(--hlu-surface-alt); border: 1px solid var(--hlu-border); border-radius: 6px; min-width: 0; padding: 10px; }
.hlu-room--partial { background: var(--hlu-partial); }
.hlu-room--full { background: var(--hlu-full); border-color: var(--hlu-occupied); }
.hlu-room__heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hlu-room__heading strong { color: var(--hlu-text); font-size: .88rem; font-weight: 600; }
.hlu-room__heading span { color: var(--hlu-muted); font-size: .76rem; font-variant-numeric: tabular-nums; }
.hlu-room__beds { display: grid; grid-template-columns: repeat(auto-fit, minmax(10px, 1fr)); gap: 4px; margin-top: 9px; }
.hlu-room__bed { background: var(--hlu-surface); border: 1px solid var(--hlu-border); border-radius: 2px; height: 16px; }
.hlu-room__bed.is-occupied { background: var(--hlu-occupied); border-color: var(--hlu-occupied); }
.hlu-room__orders { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; min-height: 21px; }
.hlu-room__orders > span:not(.hlu-room__free) { background: var(--hlu-surface); border: 1px solid var(--hlu-border); border-radius: 999px; color: var(--hlu-text); font-size: .72rem; font-variant-numeric: tabular-nums; line-height: 1.35; padding: 2px 6px; }
.hlu-room__free { color: var(--hlu-muted); font-size: .75rem; }
.hlu-map [hidden] { display: none !important; }

@media (min-width: 821px) {
	.hlu-map__areas:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); }
}

@media (max-width: 600px) {
	.hlu-map__night-short { display: inline; }
	.hlu-map__night-long { display: none; }
	.hlu-map__rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
	.hlu-map__summary { align-items: flex-start; flex-direction: column; gap: 3px; }
	.hlu-map__rooms { grid-template-columns: 1fr; }
}
