/* Services */
.h-services__filter { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.h-w .h-services__filter .h-chip { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.h-services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.h-services__card {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--h-surface); border: 1px solid var(--h-line); border-radius: var(--h-r-md);
}
.h-services__card[hidden] { display: none; }
.h-services__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--h-ph); }
.h-services__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 20px 22px; }
.h-w .h-services__name { font-size: 19px; line-height: 1.3; }
.h-services__desc { flex: 1; font-size: 14px; line-height: 1.6; color: var(--h-muted); }
.h-services__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--h-line); }
.h-services__price { font-size: 15px; font-weight: 500; }
.h-services__links { display: flex; gap: 14px; font-size: 13px; }
.h-w .h-services__details { color: var(--h-muted); }
.h-w .h-services__book { font-weight: 500; }
.h-services__links a { display: inline-flex; align-items: center; min-height: 32px; }

/* Whole card clickable: the main link's hit area covers the card. */
/* position: static beats Booknetic's .bnktc_booking_popup_btn { position: relative }, which the popup
   script adds on the first click and which would shrink the hit area back to the link. */
.h-w .h-services__card .h-stretch { position: static; }
.h-w .h-services__card .h-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.h-w .h-services__card { border-radius: var(--h-r-md); }
.h-w .h-services__card .h-services__links a:not(.h-stretch) { position: relative; z-index: 2; }
/* The link label underlines when the card is hovered — same left-to-right line as the menu. */
.h-services__label {
	background: linear-gradient(currentColor, currentColor) no-repeat right 0 bottom 0 / 0 1px;
	transition: background-size .2s var(--h-ease-out);
}
@media (hover: hover) and (pointer: fine) {
	.h-services__card:hover .h-stretch .h-services__label,
	.h-services__links a:not(.h-stretch):hover .h-services__label { background-size: 100% 1px; background-position: left 0 bottom 0; transition-duration: .25s; }
	.h-services__card:has(.h-services__links a:not(.h-stretch):hover) .h-stretch .h-services__label { background-size: 0 1px; }
}
/* Keyboard: the focus ring goes round the whole card. */
@supports selector(:has(*)) {
	.h-w .h-services__card:has(.h-stretch:focus-visible) { outline: 2px solid var(--h-accent); outline-offset: 3px; }
	.h-w .h-services__card .h-stretch:focus-visible { outline: none; }
}
@media (prefers-reduced-motion: reduce) { .h-services__label { transition: none; } }

/* No photo for anyone: text cards (visitors never see an empty photo box). */
.h-services__grid--text .h-services__body { gap: 12px; padding: 26px 24px 22px; }
.h-services__grid--text .h-services__body::before {
	content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--h-accent);
}
.h-w .h-services__grid--text .h-services__name { font-size: 21px; }

/* Some photos missing: a monogram tile in the look's tint. */
.h-w .h-services__media .h-mono {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	background: var(--h-tint);
	background-image: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--h-surface) 55%, transparent), transparent 60%);
}
.h-w .h-services__media .h-mono__letters {
	font-family: var(--h-font-head); font-weight: var(--h-head-weight, 600); text-transform: var(--h-head-case, none);
	font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: .02em;
	color: color-mix(in srgb, var(--h-accent) 72%, var(--h-ink));
}

/* Phones: one card per row, so a monogram tile needs less height than a photo. */
@media (max-width: 640px) {
	.h-services__media:has(> .h-mono) { aspect-ratio: 16 / 7; }
}
