/*
 * HHH category + listing pages (Sunset v2, designs 3a + 4a) — styles
 * What:  Styles for tpl-archive.php and tpl-listing.php. Builds on
 *        hhh-home.css (tokens, header, footer, buttons, cards), which loads first.
 * Where: listingpro-child/hhh-home/hhh-pages.css, loaded by hhh-home/pages.php
 *        on category, tag, area and single listing pages only.
 * Undo:  See pages.php.
 * Added: 17 Nov 2026 (Claude). Mobile first; breakpoints 768px and 1200px.
 */

/* ---------- shared bits ---------- */
.hhh [hidden] { display: none !important; }
.hhh-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; font-size: 15px; font-weight: 600; color: var(--muted); }
.hhh-crumbs .ms { font-size: 18px; }
.hhh-crumbs a { color: var(--muted) !important; }
.hhh-crumbs a:hover { color: var(--plum) !important; text-decoration: underline !important; text-decoration-color: var(--coral) !important; }
.hhh-crumbs [aria-current] { color: var(--plum); font-weight: 700; }
.hhh-textbtn {
	background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
	font: 700 16px var(--sans); color: var(--plum);
	text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.hhh-textbtn .ms { font-size: 20px; }
.hhh-muted { color: var(--muted); font-weight: 600; }
.hhh-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hhh-tag { background: var(--blush); color: var(--coral-dark); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.hhh-tag-lg { padding: 7px 14px; font-size: 15px; }
.hhh-open { font-size: 15px; font-weight: 800; color: var(--ok); white-space: nowrap; }
.hhh-open.is-closed { color: var(--coral-dark); }
.hhh-open:empty { display: none; }
.hhh-prose { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.hhh-prose p { margin: 0 0 14px; }
.hhh-prose h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--plum); margin: 22px 0 8px; }
.hhh-prose strong { color: var(--plum); }
/* Links inside description text (e.g. a hotel's spa page): plum, bold, underlined so they stand out. 20 Nov 2026 */
.hhh-prose a:not([class]) { color: var(--plum); font-weight: 600; text-decoration: underline !important; text-underline-offset: 2px; }
/* 29 Nov 2026 (Tim): links in a category page's intro and "Good to know" answers look the same as links in descriptions (plum, bold, underlined), so people see they can tap them. Undo: delete this rule. */
.hhh-cat-intro a:not([class]), .hhh-faq-item p a:not([class]) { color: var(--plum); font-weight: 600; text-decoration: underline !important; text-underline-offset: 2px; }
.hhh-prose a:not([class]):hover { text-decoration-thickness: 2px !important; }
.hhh-prose ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; }

/* ================= CATEGORY (3a) ================= */
.hhh-cat-hero { padding: 8px var(--pad) 0; display: grid; gap: 24px; }
.hhh-cat-head { display: grid; gap: 12px; }
.hhh-cat-title { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1.02; margin: 0; }
.hhh-cat-intro { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 640px; }
.hhh-cat-arches { gap: 12px; align-items: flex-end; }
.hhh-cat-arch { flex: 1; height: 150px; border-radius: 999px 999px 20px 20px; overflow: hidden; background: var(--blush); }
.hhh-cat-arch.is-tall { height: 190px; }
.hhh-cat-empty { padding: 48px var(--pad); display: grid; gap: 10px; }

/* search page */
.hhh-search-hero { grid-template-columns: 1fr !important; }
.hhh-search-hero .hhh-cat-head { gap: 18px; }
.hhh-search-hero .hhh-cat-title { font-size: 34px; }
.hhh-search-inline { margin: 0; box-shadow: 0 6px 22px rgba(43,22,48,.07); }
.hhh-search-chips { gap: 8px; }
.hhh-search-chips .hhh-chip { min-height: 40px; font-size: 15px; padding: 0 14px; }
.hhh .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 768px) {
	.hhh-search-hero .hhh-cat-title { font-size: 48px; }
	.hhh-search-inline { max-width: 980px; border-radius: 999px; padding: 10px 10px 10px 14px; display: flex; align-items: center; gap: 12px; }
	.hhh-search-inline .hhh-field { height: 58px; }
	.hhh-search-inline .hhh-field-q { flex: 1; }
	.hhh-search-inline .hhh-field-area { width: 200px; flex: none; }
	.hhh-search-inline .hhh-btn { width: auto; margin: 0; min-height: 58px; flex: none; }
	.hhh-search-chips { justify-content: flex-start; }
}

.hhh-cat-quick { padding: 20px var(--pad) 0; display: grid; gap: 14px; }
.hhh-seg { display: flex; gap: 4px; background: var(--fill); padding: 4px; border-radius: 999px; }
.hhh-seg-btn {
	flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
	font: 700 15px var(--sans); color: var(--plum); white-space: nowrap;
}
.hhh-seg-btn.is-on { background: var(--plum); color: #fff; }
.hhh-quick-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
.hhh-quick-row::-webkit-scrollbar { display: none; }
.hhh-qchip {
	flex: none; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid #E6D9DA; background: #fff; cursor: pointer;
	display: inline-flex; align-items: center; gap: 6px; font: 700 16px var(--sans); color: var(--plum); white-space: nowrap;
}
.hhh-qchip .ms { font-size: 20px; }
.hhh-qchip.is-dark, .hhh-qchip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.hhh-fcount:not(:empty)::before { content: " · "; }

.hhh-cat-body { padding: 8px var(--pad) 0; display: grid; gap: 24px; }

/* filters: a bottom sheet on mobile */
.hhh-filters {
	position: fixed; inset: auto 0 0 0; z-index: 2000; max-height: 86vh; overflow-y: auto;
	background: #fff; border-radius: 28px 28px 0 0; padding: 22px 20px 20px;
	box-shadow: 0 -20px 60px rgba(43,22,48,.25); display: none; gap: 22px;
}
.hhh-filters.is-open { display: grid; }
.hhh-filters-head { display: flex; align-items: center; gap: 16px; }
.hhh-filters-title { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0; flex: 1; }
.hhh-filters-close { margin-left: 4px; }
.hhh-fgroup { display: grid; gap: 10px; }
.hhh-flabel { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--coral-dark); }
.hhh-fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.hhh-fchip { min-height: 42px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--fill); cursor: pointer; font: 700 15px var(--sans); color: var(--plum); }
.hhh-fchip.is-on { background: var(--plum); color: #fff; }
.hhh-locbtn { width: 100%; }
.hhh-locbtn .ms { font-size: 22px; }
.hhh-locbtn.is-on { background: var(--plum); color: #fff !important; }
.hhh-check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 17px; font-weight: 600; cursor: pointer; position: relative; }
.hhh-check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.hhh-box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--plum); display: grid; place-items: center; flex: none; color: transparent; }
.hhh-box .ms { font-size: 18px; }
.hhh-check input:checked + .hhh-box { background: var(--plum); color: #fff; }
.hhh-check input:focus-visible + .hhh-box { outline: 3px solid var(--coral); outline-offset: 2px; }
.hhh-filters-done { width: 100%; }
.hhh-sheet-backdrop { position: fixed; inset: 0; background: rgba(43,22,48,.45); z-index: 1999; }

/* results */
.hhh-results { display: grid; gap: 14px; align-content: start; }
.hhh-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hhh-results-count { font-size: 16px; font-weight: 700; }
.hhh-results-tools { display: flex; gap: 10px; align-items: center; }
.hhh-sort { position: relative; display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.hhh-sort select {
	-webkit-appearance: none; appearance: none; border: 0; background: transparent; cursor: pointer;
	font: 800 16px var(--sans); color: var(--plum); padding: 6px 24px 6px 2px;
}
.hhh-sort .ms { position: absolute; right: 0; font-size: 20px; pointer-events: none; }

.hhh-places { display: grid; gap: 14px; }
.hhh-place {
	background: #fff; border-radius: 24px; padding: 10px; display: flex; gap: 14px;
	box-shadow: 0 4px 18px rgba(43,22,48,.05);
}
.hhh-place[hidden] { display: none; }
.hhh-place-photo { position: relative; flex: 0 0 108px; height: 150px; border-radius: 999px 999px 16px 16px; overflow: hidden; display: block; }
.hhh-place-media { width: 100%; height: 100%; }
.hhh-place .hhh-ph { font-size: 9px; padding: 6px; }
.hhh-place .hhh-badge { display: none; }
.hhh-place-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; padding: 4px 4px 2px 0; }
.hhh-place-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.hhh-km:not(:empty)::before { content: "\00a0·\00a0"; }
.hhh-rate { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; color: var(--plum); font-weight: 700; }
.hhh-rate .ms { font-size: 17px; color: #E0A100; }
.hhh-place-title { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.1; margin: 0; }
.hhh-place-title a { color: var(--plum) !important; }
.hhh-place-title a:hover { text-decoration: underline !important; text-decoration-color: var(--coral) !important; }
.hhh-place-desc { display: none; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.hhh-place-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.hhh-from { font-size: 15px; font-weight: 800; white-space: nowrap; }
.hhh-noresults { padding: 32px 0; display: grid; gap: 14px; justify-items: start; }

.hhh-mapfab { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 900; box-shadow: 0 10px 30px rgba(43,22,48,.35); }
.hhh-mapfab:hover { transform: translateX(-50%) translateY(-1px); }
.hhh-mapsheet { position: fixed; inset: 0; z-index: 3000; background: var(--shell); display: flex; flex-direction: column; }
.hhh-mapsheet[hidden] { display: none; }
.hhh-mapsheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px var(--pad); }
.hhh-mapsheet-title { font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.hhh-mapsheet-map { flex: 1; }
.hhh-mapdot {
	position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
	background: var(--coral); border: 3px solid var(--plum); box-shadow: 0 2px 6px rgba(43,22,48,.3);
}
.hhh-mappin {
	display: none; position: absolute; left: 14px; top: -15px; height: 30px; align-items: center; padding: 0 11px;
	border-radius: 999px; white-space: nowrap; background: #fff; border: 2px solid var(--plum);
	font: 700 13px var(--sans); color: var(--plum); box-shadow: 0 3px 8px rgba(43,22,48,.2);
}
.show-labels .hhh-mappin { display: inline-flex; }

.hhh-cat-more { margin: 48px var(--pad) 0; display: grid; gap: 24px; }
.hhh-cat-guide { height: 220px; }
.hhh-faq { display: grid; gap: 10px; align-content: start; }
.hhh-faq .hhh-h2 { margin-bottom: 6px; font-size: 30px; }
.hhh-faq-item { background: #fff; border-radius: 20px; }
.hhh-faq-item summary {
	list-style: none; cursor: pointer; padding: 16px 18px; display: flex; gap: 12px; align-items: center;
	font-weight: 700; font-size: 17px; line-height: 1.35;
}
.hhh-faq-item summary::-webkit-details-marker { display: none; }
.hhh-faq-item summary span:first-child { flex: 1; }
.hhh-faq-item[open] summary .ms { transform: rotate(45deg); }
.hhh-faq-item p { padding: 0 18px 18px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.hhh-cat-claim { margin-bottom: 96px; }

/* ================= LISTING (4a) ================= */
.hhh-lst { padding-bottom: 96px; }
.hhh-lst-crumbs { display: none; padding: 8px var(--pad) 0; }

.hhh-gal { position: relative; }
.hhh-gal-main { display: block; height: 330px; overflow: hidden; background: var(--blush); }
.hhh-gal-main .hhh-gal-media, .hhh-gal-main .hhh-ph { width: 100%; height: 100%; }
.hhh-gal-thumb { display: none; }
.hhh-gal-count {
	position: absolute; right: 14px; bottom: 40px; background: rgba(43,22,48,.85); color: #fff; border-radius: 999px;
	padding: 8px 14px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; pointer-events: none;
}
.hhh-gal-count .ms { font-size: 18px; }
.hhh-gal-grid.hhh-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hhh-gal-grid.hhh-gal::-webkit-scrollbar { display: none; }
.hhh-gal-grid .hhh-gal-main, .hhh-gal-grid .hhh-gal-thumb { display: block; flex: 0 0 100%; height: 330px; scroll-snap-align: start; overflow: hidden; }

.hhh-lst-grid {
	position: relative; margin-top: -26px; background: var(--shell); border-radius: 28px 28px 0 0;
	padding: 24px var(--pad) 0; display: grid; gap: 40px;
	grid-template-areas: "a" "s" "b";
}
.hhh-lst-a { grid-area: a; display: grid; gap: 40px; min-width: 0; }
.hhh-lst-s { grid-area: s; display: grid; gap: 18px; align-content: start; min-width: 0; }
.hhh-lst-b { grid-area: b; display: grid; gap: 36px; min-width: 0; }

.hhh-lst-head { display: grid; gap: 12px; }
.hhh-lst-kicker { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* Beach badge on listings (ACF field "Beach", hhh_beach): sand-to-sea pill with a little wave along the bottom, links to Google Maps.
 * 2 Dec 2026 (Claude, for Tim). Undo: delete these .hhh-beach rules, the PHP block in tpl-listing.php, and set HHH_PAGES_VER back to 1.3.9. */
.hhh-beach { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px 6px 9px; border-radius: 999px; font-size: 15px; font-weight: 700; color: #0b4f6c; text-decoration: none; background: linear-gradient(100deg, #fdf0d2 0%, #fbe3b4 35%, #bfe6f5 70%, #8fd3ee 100%); box-shadow: inset 0 0 0 1px rgba(11, 79, 108, .15); }
.hhh-beach::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: radial-gradient(circle at 6px -2px, transparent 5px, #2fa4d4 5.5px) repeat-x; background-size: 12px 5px; opacity: .55; }
.hhh-beach .ms { font-size: 18px; color: #e07a1f; }
.hhh-beach:hover, .hhh-beach:focus-visible { color: #083d54; box-shadow: inset 0 0 0 1px rgba(11, 79, 108, .35); }
.hhh-beach:hover::after { animation: hhh-wave 1.6s linear infinite; }
@keyframes hhh-wave { to { background-position-x: 12px; } }
@media (prefers-reduced-motion: reduce) { .hhh-beach:hover::after { animation: none; } }
.hhh-conf { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; color: var(--ok); }
.hhh-conf .ms { font-size: 19px; }
.hhh-lst-title { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.02; margin: 0; }
.hhh-lst-sub { display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; font-size: 16px; font-weight: 700; }
.hhh-lst-rate { display: inline-flex; align-items: center; gap: 4px; color: var(--plum) !important; }
.hhh-lst-rate .ms { font-size: 20px; color: #E0A100; }
.hhh-lst-rate .hhh-muted { font-weight: 600; }
.hhh-share { font-size: 16px; }
.hhh-lst-lead { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.hhh-goodfor { display: flex; gap: 8px; flex-wrap: wrap; }
.hhh-goodfor li { min-height: 38px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--plum); display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.hhh-goodfor .ms { font-size: 18px; }

.hhh-lst-sec { display: grid; gap: 14px; align-content: start; min-width: 0; }
.hhh-lst-h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 0; }
.hhh-lst-h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 0; display: flex; align-items: center; gap: 10px; }

.hhh-prices-head { display: grid; gap: 14px; }
.hhh-tabs { display: flex; gap: 4px; background: var(--fill); padding: 4px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.hhh-tabs button {
	flex: 1; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
	font: 700 15px var(--sans); color: var(--plum); white-space: nowrap;
}
.hhh-tabs button[aria-selected="true"] { background: var(--plum); color: #fff; }
.hhh-price-card { background: #fff; border-radius: 22px; padding: 4px 18px; }
.hhh-price-card[hidden] { display: none; }
.hhh-price-card.hhh-prose { padding: 18px; }
.hhh-price-tabname { padding: 14px 0 0; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--coral-dark); }
.hhh-price-rows { margin: 0; }
.hhh-price-rows div { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1.5px solid #F1E7E8; }
.hhh-price-rows dt { font-size: 17px; font-weight: 600; line-height: 1.3; }
.hhh-price-rows dd { margin: 0; font-size: 18px; font-weight: 800; white-space: nowrap; }
.hhh-price-note { font-size: 15px; line-height: 1.45; color: var(--muted); padding: 12px 0 14px; }

.hhh-about.is-clamped { max-height: 9.9em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.hhh-readmore { justify-self: start; }

.hhh-lst-two { display: grid; gap: 36px; }
.hhh-facs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hhh-facs li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; min-height: 40px; line-height: 1.25; }
.hhh-fac-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; flex: none; }
.hhh-fac-ic .ms { font-size: 21px; }

.hhh-stay { background: var(--mint); border-radius: 28px; padding: 22px 20px; display: grid; gap: 10px; align-content: start; }
.hhh-stay .ms { font-size: 28px; }
.hhh-stay p { font-size: 17px; line-height: 1.5; color: #21403A; }
.hhh-video { position: relative; display: block; min-height: 196px; border-radius: 22px; overflow: hidden; background: #E6D6DA; }
.hhh-video .hhh-img { position: absolute; inset: 0; }
.hhh-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,22,48,.55), rgba(43,22,48,.05) 60%); }
.hhh-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; z-index: 1; }
.hhh-video-play .ms { font-size: 36px; }
.hhh-video-label { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff; font-size: 15px; font-weight: 700; }
.hhh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }

.hhh-panel { background: #fff; border-radius: 24px; padding: 20px; display: grid; gap: 16px; box-shadow: 0 4px 18px rgba(43,22,48,.05); }
.hhh-panel-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hhh-panel-top:has(> :only-child:empty) { display: none; }
.hhh-panel-from { display: grid; line-height: 1.2; }
.hhh-panel-from span { font-size: 14px; font-weight: 600; color: var(--muted); }
.hhh-panel-from b { font-size: 26px; }
.hhh-callbtn { width: 100%; }
.hhh-panel-btns { display: flex; gap: 10px; }
.hhh-panel-btns .hhh-btn { flex: 1; padding: 0 12px; gap: 6px; }
.hhh-panel-btns .ms { font-size: 20px; }
.hhh-hours { display: grid; gap: 10px; }
.hhh-hours dl { margin: 0; display: grid; }
.hhh-hours dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 16px; border-bottom: 1.5px solid #F4ECEB; }
.hhh-hours dl div:last-child { border-bottom: 0; }
.hhh-hours dd { margin: 0; }
.hhh-hours dd.is-muted { color: var(--muted); }
.hhh-hours div.is-today { font-weight: 800; }
.hhh-panel-map { padding: 0; overflow: hidden; gap: 0; }
.hhh-minimap { height: 180px; background: #F1ECE6; z-index: 0; }
.hhh-panel-addr { padding: 16px 20px 20px; display: grid; gap: 10px; font-size: 17px; line-height: 1.5; }
.hhh-panel-links { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.hhh-panel-links .hhh-link { font-size: 17px; }
/* card facility icons */
.hhh-facicons { display: flex; gap: 6px; flex-wrap: wrap; }
.hhh-facicons li { width: 30px; height: 30px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; color: var(--plum); }
.hhh-facicons .ms { font-size: 17px; }
.hhh-fac-mini { font-size: 19px; color: var(--muted); margin-right: -4px; }

/* facebook video */
.hhh-video-fb { background: linear-gradient(135deg, #2B1630, #4A2F51); }
.hhh-video-fb::after { display: none; }

/* photo lightbox */
.hhh-gal a { cursor: zoom-in; }
.hhh-lightbox { position: fixed; inset: 0; z-index: 4000; background: rgba(20,10,22,.94); display: flex; align-items: center; justify-content: center; }
.hhh-lightbox[hidden] { display: none !important; }
.hhh-lb-img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); width: auto !important; height: auto; object-fit: contain; border-radius: 12px; }
.hhh-lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--plum); display: grid; place-items: center; cursor: pointer; }
.hhh-lb-btn .ms { font-size: 30px; }
.hhh-lb-close { top: 16px; right: 16px; }
.hhh-lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.hhh-lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.hhh-lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 700; font-size: 15px; }
@media (max-width: 767px) { .hhh-lb-prev, .hhh-lb-next { top: auto; bottom: 8px; transform: none; } }

.hhh-tip { font-size: 16px; line-height: 1.5; color: var(--ink-2); background: var(--shell); border-radius: 14px; padding: 10px 14px; }
/* 4 Dec 2026 (Claude, for Tim): ".hhh .hhh-closed-note" instead of ".hhh-closed-note", because ".hhh p" in hhh-home.css
   set the padding to 0 and the "Permanently closed" pill looked cramped. Undo: drop the ".hhh " prefix, HHH_PAGES_VER back to 1.4.0. */
.hhh .hhh-closed-note { display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: var(--blush); color: var(--coral-dark); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 800; }
.hhh-closed-note .ms { font-size: 19px; }
.hhh-panel-claim { background: var(--blush); border-radius: 24px; padding: 20px 22px; display: grid; gap: 6px; }
.hhh-panel-claim p:not(.hhh-lst-h3) { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.hhh-panel-claim .hhh-lst-h3 { font-size: 24px; }
.hhh-panel-claim .hhh-link { justify-self: start; }

.hhh-near { display: grid; }
.hhh-near a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1.5px solid #EADFE0; color: var(--plum) !important; }
.hhh-near a:hover b { text-decoration: underline !important; text-decoration-color: var(--coral) !important; }
.hhh-near-ph { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; background: var(--blush); }
.hhh-near-ph .hhh-near-media { width: 100%; height: 100%; }
.hhh-near-ph .hhh-ph span { display: none; }
.hhh-near-txt { flex: 1; display: grid; gap: 2px; min-width: 0; }
.hhh-near-txt b { font-size: 17px; }
.hhh-near-txt span { font-size: 15px; font-weight: 600; color: var(--muted); }
.hhh-lst-foot { display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; padding-top: 18px; border-top: 1.5px solid #EADFE0; font-size: 15px; color: var(--muted); }
.hhh-lst-foot > span:last-child { display: flex; gap: 18px; }
.hhh-lst-foot .hhh-link { font-size: 15px; }

.hhh-callbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; border-top: 1px solid #EADFE0;
	padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); display: flex !important; gap: 12px; align-items: center;
}
.hhh-callbar .hhh-panel-from b { font-size: 19px; }
.hhh-callbar .hhh-btn { flex: 1; }

/* =========================================================
 * Tablet ≥ 768px
 * ========================================================= */
@media (min-width: 768px) {
	.hhh-callbar, .hhh-mapfab { display: none !important; }
	.hhh-hide-m.hhh-cat-arches { display: flex !important; }

	/* category */
	.hhh-cat-hero { padding-top: 28px; grid-template-columns: 1fr 340px; align-items: end; gap: 40px; }
	.hhh-crumbs { font-size: 16px; }
	.hhh-cat-title { font-size: 56px; }
	.hhh-cat-intro { font-size: 20px; }
	.hhh-cat-quick { display: none; }
	.hhh-cat-body { padding-top: 40px; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
	.hhh-filters {
		position: sticky; top: 24px; inset: auto; z-index: 1; max-height: none; overflow: visible;
		display: grid; border-radius: 28px; padding: 26px; gap: 24px; box-shadow: 0 4px 18px rgba(43,22,48,.05);
	}
	.hhh-filters-close, .hhh-filters-done { display: none !important; }
	.hhh-sheet-backdrop { display: none; }
	.hhh-results-count { font-size: 18px; }
	.hhh-places { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
	.hhh-place { background: transparent; box-shadow: none; padding: 0; border-radius: 0; flex-direction: column; gap: 10px; }
	.hhh-place-photo { flex: none; height: 260px; border-radius: 999px 999px 24px 24px; }
	.hhh-place .hhh-ph { font-size: 11px; }
	.hhh-place .hhh-badge { display: flex; }
	.hhh-place-body { padding: 0; gap: 8px; }
	.hhh-place-meta { font-size: 15px; }
	.hhh-place-title { font-size: 25px; }
	.hhh-place-desc { display: block; }
	.hhh-tag { font-size: 14px; padding: 4px 10px; }
	.hhh-from { font-size: 16px; }
	.hhh-mapsheet { inset: 24px; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(43,22,48,.35); }
	.hhh-mapsheet-bar { padding: 16px 16px 16px 28px; }
	.hhh-mapsheet-title { font-size: 28px; }
	.hhh-cat-more { margin-top: 72px; grid-template-columns: 1fr 1fr; align-items: start; }
	.hhh-cat-more.is-single { grid-template-columns: minmax(0, 760px); }
	.hhh-cat-guide { height: 280px; }
	.hhh-faq .hhh-h2 { font-size: 34px; }
	.hhh-faq-item summary { padding: 18px 22px; font-size: 18px; }
	.hhh-faq-item p { padding: 0 22px 20px; }
	.hhh-cat-claim { margin-top: 48px; margin-bottom: 72px; }

	/* listing */
	.hhh-lst { padding-bottom: 0; }
	.hhh-lst-crumbs { display: flex; }
	.hhh-gal { padding: 20px var(--pad) 0; }
	.hhh-gal-main { height: 420px; border-radius: 999px 999px 28px 28px; }
	.hhh-gal-one .hhh-gal-main, .hhh-gal-none .hhh-gal-main { max-width: 760px; margin: 0 auto; height: 440px; }
	.hhh-gal-grid.hhh-gal { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; overflow: visible; }
	.hhh-gal-grid .hhh-gal-main { grid-row: span 2; height: auto; border-radius: 999px 999px 28px 28px; }
	.hhh-gal-grid .hhh-gal-thumb { display: block; height: auto; border-radius: 24px; }
	.hhh-gal-grid:has(.hhh-gal-thumb:nth-of-type(3):last-of-type) .hhh-gal-thumb:last-of-type { grid-column: span 2; }
	.hhh-gal-grid .hhh-gal-thumb:hover .hhh-img, .hhh-gal-grid .hhh-gal-main:hover .hhh-img { transform: scale(1.03); }
	.hhh-gal .hhh-img { transition: transform .3s ease; }
	.hhh-lst-grid { margin-top: 0; border-radius: 0; padding-top: 40px; padding-bottom: 80px; }
	.hhh-lst-title { font-size: 52px; }
	.hhh-lst-sub { font-size: 17px; }
	.hhh-lst-lead { font-size: 20px; line-height: 1.55; max-width: 720px; }
	.hhh-goodfor li { min-height: 42px; padding: 0 14px; font-size: 16px; }
	.hhh-lst-h2 { font-size: 40px; }
	.hhh-lst-h3 { font-size: 32px; }
	.hhh-prices-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
	.hhh-tabs button { flex: none; min-height: 46px; padding: 0 22px; font-size: 16px; }
	.hhh-price-card { border-radius: 28px; padding: 8px 28px; }
	.hhh-price-rows div { padding: 18px 0; }
	.hhh-price-rows dt { font-size: 19px; }
	.hhh-price-rows dd { font-size: 20px; }
	.hhh-price-note { font-size: 16px; }
	.hhh-prose { font-size: 18px; max-width: 760px; }
	.hhh-lst-two { grid-template-columns: 1fr 1fr; gap: 40px; }
	.hhh-lst-two.is-single { grid-template-columns: 1fr; }
	.hhh-lst-two:has(.hhh-stay) { gap: 24px; }
/* Listing page: a video always gets its own full-width row (max 760px, set further down), so it isn't squeezed
 * into half a row next to "Stay & train". 30 Nov 2026 (Claude, for Tim). Undo: delete this line and set
 * HHH_PAGES_VER in pages.php back to 1.3.8. */
.hhh-lst-two:has(.hhh-video) { grid-template-columns: 1fr; }
	.hhh-stay { padding: 28px; }
	.hhh-video { min-height: 220px; border-radius: 28px; }
	.hhh-hours .hhh-lst-h3 { display: none !important; }
	.hhh-lst-sub .hhh-open { display: none !important; }
}

/* =========================================================
 * Desktop ≥ 1100px: side panel next to the content
 * ========================================================= */
@media (min-width: 1100px) {
	.hhh-cat-hero { grid-template-columns: 1fr 420px; gap: 48px; }
	.hhh-cat-title { font-size: 72px; line-height: 1; }
	.hhh-cat-intro { font-size: 21px; }
	.hhh-cat-body { grid-template-columns: 300px 1fr; gap: 40px; padding-top: 48px; }
	.hhh-places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hhh-cat-arch { height: 150px; }
	.hhh-cat-arch.is-tall { height: 200px; }
	.hhh-cat-guide { height: 100%; min-height: 300px; }

	.hhh-lst-grid { grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: "a s" "b s"; column-gap: 56px; row-gap: 44px; align-items: start; }
	.hhh-lst-s { position: sticky; top: 24px; }
	.hhh-lst-a { gap: 44px; }
	.hhh-lst-title { font-size: 64px; line-height: 1; }
	.hhh-panel { border-radius: 28px; padding: 26px; gap: 18px; box-shadow: 0 12px 40px rgba(43,22,48,.10); }
	.hhh-panel-from b { font-size: 30px; }
	.hhh-panel-map { box-shadow: 0 4px 18px rgba(43,22,48,.05); }
	.hhh-hours dl div { padding: 7px 0; border-bottom: 0; }
}

@media (min-width: 1200px) {
	.hhh-gal-grid.hhh-gal { grid-template-rows: 230px 230px; }
}

/* Link colour fixes (ListingPro prints inline link rules into the head). */
.hhh .hhh-lst-rate, .hhh .hhh-near a, .hhh .hhh-place-title a, .hhh .hhh-crumbs a { text-decoration: none !important; }
.hhh a.hhh-video, .hhh a.hhh-video * { color: #fff !important; }
/* Video box keeps the video's 16:9 shape instead of a fixed low height (a full-width box was cropping the thumbnail
 * and the player into a thin strip). Max 760px wide, like the text. 21 Nov 2026 (Claude). Undo: delete these 2 lines. */
.hhh .hhh-video { aspect-ratio: 16 / 9; min-height: 0; width: 100%; max-width: 760px; }
.hhh .hhh-video .hhh-img { width: 100%; height: 100%; object-fit: cover; }
.hhh a.hhh-btn-outline .ms { color: inherit; }
/* Facebook reels: tall 9:16 box, max 340px wide, so the reel isn't cropped into a wide strip.
 * 28 Nov 2026 (Claude). Undo: delete these 2 lines. */
.hhh .hhh-video.hhh-video-tall { aspect-ratio: 9 / 16; max-width: 340px; }
/* Facebook video with a cover picture: show the dark fade at the bottom again so the white label stays readable.
 * 28 Nov 2026 (Claude). Undo: delete these 2 lines. */
.hhh .hhh-video-fb.hhh-has-cover::after { display: block; }
/* Search results: "Also on Happy Hua Hin" rows (events, shops, guides) under the places (tpl-search.php).
 * 28 Nov 2026 (Claude). Undo: delete this block down to the next comment. */
.hhh-search-more { margin: 56px var(--pad) 0; padding: 36px 0 40px; border-top: 1px solid #E6D6DA; max-width: 1100px; display: grid; gap: 26px; }
.hhh-search-more > .hhh-h3 { margin: 0; }
.hhh-sm-group { display: grid; gap: 8px; }
.hhh-sm-h { margin: 0; font-size: 18px; font-weight: 800; color: #2B1630; }
.hhh-sm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hhh .hhh-sm-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 16px; border: 1px solid #EFE6E8; text-decoration: none !important; color: #2B1630; min-height: 56px; }
.hhh .hhh-sm-item:hover { border-color: #C9B3BA; }
.hhh-sm-item > .ms:first-child { width: 36px; height: 36px; border-radius: 50%; background: #F3E9EC; color: #4A2F51; display: grid; place-items: center; font-size: 20px; flex: none; }
.hhh-sm-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.hhh-sm-title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.hhh-sm-meta { font-size: 14px; color: var(--muted); }
.hhh-sm-go { color: var(--muted); flex: none; }
.hhh-sm-all { font-size: 15px; font-weight: 700; justify-self: start; }
.hhh-sm-jump { margin: 12px 0 0; font-size: 16px; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.hhh-sm-jump .ms { font-size: 20px; color: var(--coral-dark, #C4553A); }
#hhh-also { scroll-margin-top: 20px; }
/* end search "Also on" rows */

/* ---------- Shop rows in guides (Sports shops guide) ----------
 * What:  Compact rows for shops inside a guide: name + Thai name, what they sell, area, Google rating,
 *        and small Map / Website / Call buttons. No photo, so they don't look like place cards (listings).
 *        Also the sport jump buttons at the top (.hhh-shop-jump) and the "Train" link under each section.
 * Use:   <nav class="hhh-shop-jump">links to #section ids</nav>
 *        <ul class="hhh-g-places hhh-shops"><li class="hhh-shop">…</li></ul>  (hhh-g-places = no bullets)
 * Where: guides only (this file loads on single posts via bb-shell.php).
 * Added: 24 Nov 2026 (Claude). Undo: delete this block and set HHH_PAGES_VER in pages.php back to 1.2.3. */
.hhh.hhh-g .hhh-shop-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.hhh.hhh-g .hhh-g-body .hhh-shop-jump a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(43,22,48,.14); color: var(--plum); font-size: 15px; font-weight: 700; text-decoration: none; line-height: 1.2; }
.hhh.hhh-g .hhh-g-body .hhh-shop-jump a:hover { background: var(--blush); border-color: var(--coral); }
.hhh.hhh-g .hhh-shop-jump .ms { font-size: 18px; color: var(--coral-dark); }
.hhh.hhh-g .hhh-g-places.hhh-shops { gap: 0 !important; background: #fff; border: 1px solid rgba(43,22,48,.10); border-radius: 18px; overflow: hidden; margin: 16px 0 14px !important; }
.hhh.hhh-g .hhh-shop { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; align-items: center; padding: 14px 18px; border-top: 1px solid rgba(43,22,48,.08); margin: 0; }
.hhh.hhh-g .hhh-shop:first-child { border-top: 0; }
.hhh.hhh-g .hhh-g-body .hhh-shop p { margin: 0; line-height: 1.4; }
.hhh.hhh-g .hhh-g-body .hhh-shop-name { font-size: 18px; font-weight: 800; color: var(--plum); }
.hhh.hhh-g .hhh-shop-name .hhh-shop-th { font-weight: 500; color: var(--muted); }
.hhh.hhh-g .hhh-g-body .hhh-shop-name a { color: var(--plum); font-weight: 800; text-decoration: none; } /* name links to the shop page (24 Nov 2026) */
.hhh.hhh-g .hhh-g-body .hhh-shop-name a:hover { text-decoration: underline; text-decoration-color: var(--coral); }
/* Mall badge: shops inside Blúport or Market Village (Tim, 24 Nov 2026: everyone in Hua Hin knows the two malls). */
.hhh.hhh-g .hhh-shop-mall { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; background: var(--blush); color: var(--coral-dark); font-size: 12px; font-weight: 800; vertical-align: 2px; white-space: nowrap; }
.hhh.hhh-g .hhh-shop-mall .ms { font-size: 14px; }
.hhh.hhh-g .hhh-shop-tag { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--mint); color: var(--plum); font-size: 12px; font-weight: 800; vertical-align: 2px; }
.hhh.hhh-g .hhh-g-body .hhh-shop-sells { font-size: 15.5px; color: var(--ink-2); }
.hhh.hhh-g .hhh-g-body .hhh-shop-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--muted); }
.hhh.hhh-g .hhh-shop-meta span { display: inline-flex; align-items: center; gap: 3px; }
.hhh.hhh-g .hhh-shop-meta .ms { font-size: 16px; }
.hhh.hhh-g .hhh-shop-meta .hhh-shop-star { color: #C9861A; }
.hhh.hhh-g .hhh-shop-btns { grid-column: 2; grid-row: 1 / span 3; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hhh.hhh-g .hhh-g-body .hhh-shop-btns a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border-radius: 999px; background: var(--fill); color: var(--plum); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hhh.hhh-g .hhh-g-body .hhh-shop-btns a:hover { background: var(--blush); }
.hhh.hhh-g .hhh-shop-btns .ms { font-size: 17px; }
/* "Train / Play / Learn" callout: a plum bar joined to the bottom of the white shop box (24 Nov 2026, Tim).
 * Markup: <p class="hhh-shop-more"><a href=""><span class="ms">icon</span><span><b>Train</b>Muay Thai gyms</span><span class="ms hhh-more-go">arrow_forward</span></a></p>
 * placed straight after the <ul class="hhh-shops">. */
.hhh.hhh-g .hhh-g-places.hhh-shops:has(+ .hhh-shop-more) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0 !important; }
.hhh.hhh-g .hhh-g-body .hhh-shop-more { margin: 0 0 10px; }
.hhh.hhh-g .hhh-g-body .hhh-shop-more a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--plum); color: #fff; border-radius: 0 0 18px 18px; text-decoration: none; font-size: 17px; font-weight: 700; line-height: 1.3; transition: background .15s; }
.hhh.hhh-g .hhh-g-body .hhh-shop-more a:hover { background: var(--plum-2); }
.hhh.hhh-g .hhh-shop-more a > .ms:first-child { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: var(--plum); display: grid; place-items: center; font-size: 22px; }
.hhh.hhh-g .hhh-shop-more b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-on-dark); }
.hhh.hhh-g .hhh-shop-more .hhh-more-go { margin-left: auto; font-size: 22px; color: var(--coral-on-dark); transition: transform .15s; }
.hhh.hhh-g .hhh-shop-more a:hover .hhh-more-go { transform: translateX(4px); }
/* Editor-only flag ([hhh_flag] shortcode in snippet "HHH - Guide layout shortcodes"; visitors never get it). */
.hhh.hhh-g .hhh-shop-flag { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; background: #FFF1C2; color: #7A5300; border: 1px dashed #C9861A; font-size: 12px; font-weight: 800; vertical-align: 2px; white-space: nowrap; }
.hhh.hhh-g .hhh-shop-flag .ms { font-size: 14px; }
/* Shop page (tpl-shop.php, post type "Shops"), 24 Nov 2026 (Claude). The header and the "More … shops" section carry
 * the classes "hhh hhh-g" so the row, badge and callout styles above apply there too. Undo: delete these rules. */
.hhh .hhh-shopp-head.hhh { display: flex; gap: 20px; align-items: flex-start; margin: 18px 0 32px; padding: 28px; border-radius: 28px; background: linear-gradient(135deg, var(--blush), #fff 70%); border: 1px solid rgba(43,22,48,.08); overflow: visible; }
.hhh .hhh-shopp-icon { flex: none; width: 72px; height: 72px; border-radius: 999px 999px 22px 22px; background: var(--plum); color: var(--coral); display: grid; place-items: center; }
.hhh .hhh-shopp-icon .ms { font-size: 38px; }
.hhh .hhh-shopp-headtxt { min-width: 0; }
.hhh .hhh-shopp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-dark); margin: 0 0 8px; }
.hhh .hhh-shopp-kicker .hhh-shop-mall, .hhh .hhh-shopp-kicker .hhh-shop-tag, .hhh .hhh-shopp-kicker .hhh-shop-flag { text-transform: none; letter-spacing: 0; }
.hhh .hhh-shopp-th { font-size: 18px; color: var(--muted); margin: 6px 0 0; }
.hhh .hhh-shopp-sells { font-size: 19px; color: var(--ink-2); margin: 12px 0 0; max-width: 680px; }
.hhh .hhh-shopp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.hhh .hhh-shopp-meta span, .hhh .hhh-shopp-meta a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: inherit; }
.hhh .hhh-shopp-meta .ms { font-size: 18px; }
.hhh .hhh-shopp-meta .hhh-shop-star { color: #C9861A; }
.hhh .hhh-shopp .hhh-lst-sec.hhh { background: transparent; overflow: visible; }
/* Grey "Guide" bar on shop pages: same specificity as the plum callout rules above (0,4,x) and later, so it wins. */
.hhh.hhh-g .hhh-g-body .hhh-shop-more-guide a { border-radius: 18px; margin-top: 14px; background: var(--fill); color: var(--plum); }
.hhh.hhh-g .hhh-g-body .hhh-shop-more-guide a:hover { background: var(--blush); }
.hhh.hhh-g .hhh-g-body .hhh-shop-more-guide b, .hhh.hhh-g .hhh-g-body .hhh-shop-more-guide .hhh-more-go { color: var(--coral-dark); }
.hhh .hhh-shopp-int { background: #fff8e1; border: 1.5px dashed #e0b84c; border-radius: 18px; padding: 20px 24px; font-size: 14px; color: #4a3a1a; }
.hhh .hhh-shopp-int-h { margin: 0 0 8px; font-weight: 800; color: #7a5a00; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.hhh .hhh-shopp .hhh-panel-btns { flex-wrap: wrap; }
/* Shop photo in the shop page header (Featured image; replaces the round icon). 25 Nov 2026. */
.hhh .hhh-shopp-photo { flex: none; width: 300px; aspect-ratio: 4 / 3; margin: 0; border-radius: 22px; overflow: hidden; background: var(--blush); }
.hhh .hhh-shopp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .hhh .hhh-shopp-photo { width: 100%; } }
/* Sports shops directory page /sports-shops/ (tpl-shops.php), 25 Nov 2026. The guide layout's CSS doesn't load here,
 * so headings, text, key points and the tip box get their own simple styles. Undo: delete these rules. */
.hhh .hhh-shopdir-body.hhh { padding: 0 var(--pad) 40px; }
.hhh .hhh-shopdir-body .hhh-g-body { max-width: 980px; margin: 0 auto; }
.hhh .hhh-shopdir-body .hhh-g-body h2 { font-family: var(--serif, inherit); font-size: 32px; line-height: 1.15; color: var(--plum); margin: 52px 0 10px; scroll-margin-top: 20px; }
.hhh .hhh-shopdir-body .hhh-g-body > p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 12px; max-width: 760px; }
.hhh .hhh-shopdir-body .hhh-g-places { list-style: none; padding: 0; }
.hhh .hhh-shopdir-body .hhh-key-points { background: #fff; border: 1px solid rgba(43,22,48,.10); border-radius: 18px; padding: 18px 22px; margin: 0 0 24px; }
.hhh .hhh-shopdir-body .hhh-key-points li { list-style: disc; margin: 0 0 4px; }
.hhh .hhh-shopdir-body .hhh-key-points ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.hhh .hhh-shopdir-body .hhh-tip { background: var(--mint); border-radius: 16px; padding: 14px 18px; font-size: 16px; color: var(--plum); }
@media (max-width: 640px) { .hhh .hhh-shopdir-body .hhh-g-body h2 { font-size: 26px; margin-top: 40px; } }
/* 6 Dec 2026 (Claude, for Tim): two layout fixes on the shops pages.
 * 1. The plum "Train / Play" bar under each shop box was caught by the 760px text-width rule above (it's a <p>),
 *    so it was narrower than the white box (980px). It now runs the full width of the box.
 * 2. The "Last updated · Suggest a shop / Suggest an edit" line sat outside the page's padded column, so it ran
 *    edge to edge of the screen. It now lines up with the content: 980px column on /sports-shops/, the page's
 *    side gap on single shop pages (/shop/…), like the line at the bottom of listing pages.
 * Undo: delete these four rules and set HHH_PAGES_VER in pages.php back to 1.4.1. */
.hhh .hhh-shopdir-body .hhh-g-body > p.hhh-shop-more { max-width: none; }
.hhh-shopp > .hhh-lst-foot { margin: 40px var(--pad) 48px; }
.hhh-shopdir > .hhh-lst-foot { max-width: 980px; margin: 8px auto 48px; }
@media (max-width: 1060px) { .hhh-shopdir > .hhh-lst-foot { margin-left: var(--pad); margin-right: var(--pad); } }
/* 25 Nov 2026 (Tim: "the bike icon looks odd on the left"). The header carries class "hhh", so the site-wide rule
 * ".hhh > * { margin: auto }" (hhh-home.css, 1200px+) pushed the icon and the text apart; reset it here, and give the
 * card the page's side gap (--pad) at every width so it lines up with the crumbs and doesn't run off the right edge. */
.hhh .hhh-shopp-head.hhh { margin-left: var(--pad); margin-right: var(--pad); }
@media (min-width: 641px) { .hhh .hhh-shopp-head.hhh { align-items: center; } }
.hhh .hhh-shopp-head.hhh > * { margin-left: 0; margin-right: 0; max-width: none; }
@media (min-width: 1200px) { .hhh .hhh-shopp-head.hhh { padding: 36px 40px; gap: 28px; } }
/* "Also offers" pills (field Offers on shops): Bike rental / Rentals, Repairs, Tours. Outline style so they read
 * differently from the mall badge (blush) and "Opening soon" (mint). */
.hhh.hhh-g .hhh-shop-offer { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 9px 1px 7px; border-radius: 999px; border: 1.5px solid rgba(43,22,48,.22); background: #fff; color: var(--plum); font-size: 12px; font-weight: 800; vertical-align: 2px; white-space: nowrap; text-transform: none; letter-spacing: 0; }
.hhh.hhh-g .hhh-shop-offer .ms { font-size: 14px; color: var(--coral-dark); }
@media (max-width: 640px) {
	.hhh .hhh-shopp-head.hhh { padding: 20px; gap: 14px; flex-direction: column; margin-left: var(--pad); margin-right: var(--pad); } /* side gap like the crumbs, so the card doesn't touch the screen edge */
	.hhh .hhh-shopp-icon { width: 56px; height: 56px; }
	.hhh .hhh-shopp-icon .ms { font-size: 30px; }
}
@media (max-width: 640px) {
	.hhh.hhh-g .hhh-shop { grid-template-columns: 1fr; padding: 14px; }
	.hhh.hhh-g .hhh-shop-btns { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 4px; }
}
