/* Locations index option B: a store locator. Direction A's chrome and
   tokens, Option A's shared location pieces (l-pill, l-circle-arrow,
   --l-tear) from location.css; everything here is lxb- prefixed and scoped
   to body.acs-locations-b. Mobile first; the split starts at 1024. */

body.acs-locations-b {
	--lxb-panel-w: clamp(22rem, 34vw, 32rem);
	--lxb-map-h: 20rem;                     /* phone map height */
	--lxb-tile-filter: grayscale(1) sepia(0.14) contrast(0.92) brightness(1.04);
	--lxb-crab-w: 3rem;
}

body.acs-locations-b .lxb *,
body.acs-locations-b .lxb *::before,
body.acs-locations-b .lxb *::after {
	box-sizing: border-box;
}

body.acs-locations-b .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* The split ends the page now that the Own a shack strip is gone: the
   footer takes Direction A's section gap so it clears the list and map */
body.acs-locations-b .acs-footer {
	position: relative;
	margin-top: var(--acs-section-gap);
}

/* ---------- Layout ---------- */

body.acs-locations-b .lxb {
	display: flex;
	flex-direction: column;
	margin-top: -0.5rem; /* tucked under the logo row, as the other red bands */
}

body.acs-locations-b .lxb-panel {
	display: contents;
}

body.acs-locations-b .lxb-controls {
	order: 0;
}

body.acs-locations-b .lxb-switch {
	order: 1;
}

body.acs-locations-b .lxb-mapcol {
	order: 2;
	padding: 1.25rem var(--acs-gutter) 0;
}

body.acs-locations-b .lxb-list {
	order: 3;
}

/* Phones and tablets: Locations / Map, one view at a time, the switch
   pinned flush under the location bar so either is a tap away. Once pinned
   (locations-b.js adds is-stuck and body.acs-bar-pinned) the bar's torn edge
   steps aside and the switch tears into the list itself, so nothing
   scrolling under it shows through (designer, 2026-09-29; it used to pin
   below the bar's torn edge, whose gaps showed the list) */
body.acs-locations-b .lxb-switch {
	position: sticky;
	top: calc(var(--acs-sticky-h) - 3px); /* 3px under the bar (z 50), so no sub-pixel seam lets the list show between them */
	z-index: 40;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	padding: 0.75rem var(--acs-gutter);
	background: var(--acs-bg);
	box-shadow: 0 1px 0 var(--acs-line);
}

body.acs-locations-b .lxb-switch.is-stuck {
	box-shadow: none;
}

body.acs-locations-b .lxb-switch.is-stuck::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% - 1px);
	height: var(--acs-tear-h);
	background: var(--acs-bg);
	-webkit-mask: url("../directions/a/media/masks/hero-top.png") 0 0 / 100% 100% no-repeat;
	mask: url("../directions/a/media/masks/hero-top.png") 0 0 / 100% 100% no-repeat;
	pointer-events: none;
}

body.acs-locations-b .lxb-switch[hidden] {
	display: none;
}

body.acs-locations-b .lxb-switch__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.75rem;
	border: 1px solid var(--acs-ink);
	border-radius: var(--acs-radius);
	background: var(--acs-white);
	color: var(--acs-ink);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

body.acs-locations-b .lxb-switch__btn[aria-pressed="true"] {
	border-color: var(--acs-red);
	background: var(--acs-red);
	color: var(--acs-white);
}

@media (max-width: 1023px) {
	body.acs-locations-b .lxb.is-view-list .lxb-mapcol,
	body.acs-locations-b .lxb.is-view-map .lxb-list {
		display: none;
	}

	body.acs-locations-b .lxb.is-view-map .lxb-mapcol {
		padding: 0.25rem var(--acs-gutter) 1.5rem;
	}

	/* 50px shorter than the screen's room (user, 2026-10-08), so the
	   footer peeks in under it and the page reads as one that scrolls on */
	body.acs-locations-b .lxb.is-view-map .lxb-map {
		height: calc(100svh - var(--acs-pin-h) - 4.25rem - var(--acs-nav-h) - 1.75rem - 3.125rem);
		min-height: 22rem;
	}

	body.acs-locations-b .lxb.is-view-list .lxb-list {
		padding-top: 1rem;
	}
}

/* ---------- Controls: a red band torn into the paper top and bottom ---------- */

body.acs-locations-b .lxb-controls {
	position: relative;
	padding: 4.5rem var(--acs-gutter) calc(var(--l-tear) + 1.575rem); /* the heading clears the hanging logo */
	background: var(--acs-red);
	color: var(--acs-white);
}

body.acs-locations-b .lxb-controls::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: var(--l-tear);
	background: url("../directions/a/media/masks/hero-top.png") 0 0 / 100% 100% no-repeat;
	pointer-events: none;
}

body.acs-locations-b .lxb-controls::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px; /* 3px over the red: no red hairline under the tear on any zoom or width (user, 2026-10-21) */
	height: var(--l-tear);
	background: url("../directions/a/media/masks/hero-bottom.png") 0 0 / 100% 100% no-repeat;
	pointer-events: none;
}

body.acs-locations-b .lxb-title {
	margin: 0 0 1.125rem;
	font-family: var(--acs-font-display);
	text-transform: uppercase;
	font-weight: 400;
	font-size: clamp(2rem, 1.6rem + 1.8vw, 2.7rem);
	line-height: 1;
	color: var(--acs-white);
}

body.acs-locations-b .lxb-intro {
	margin: -0.5rem 0 1.125rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

body.acs-locations-b .lxb-search {
	display: flex;
	align-items: center;
	gap: 0.5625rem;
	height: 2.7rem;
	padding: 0 0.9rem;
	border-radius: var(--acs-radius);
	background: var(--acs-white);
	color: var(--acs-red);
}

body.acs-locations-b .lxb-search svg {
	flex-shrink: 0;
}

body.acs-locations-b .lxb-search input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: none;
	color: var(--acs-ink);
	font: inherit;
	font-size: 0.9375rem;
	outline: none;
}

body.acs-locations-b .lxb-search input::placeholder {
	color: var(--acs-ink-soft);
}

body.acs-locations-b .lxb-search:focus-within,
body.acs-locations-b .lxb-select:focus-within {
	outline: 3px solid var(--acs-yellow);
	outline-offset: 2px;
}

body.acs-locations-b .lxb-selects {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.675rem;
	margin-top: 0.675rem;
}

body.acs-locations-b .lxb-select {
	position: relative;
	display: block;
	border-radius: var(--acs-radius);
	background: var(--acs-white);
}

body.acs-locations-b .lxb-select select {
	appearance: none;
	width: 100%;
	height: 2.7rem;
	padding: 0 2.25rem 0 0.9rem;
	border: 0;
	border-radius: inherit;
	background: none;
	color: var(--acs-ink);
	font: inherit;
	font-size: 0.875rem;
	cursor: pointer;
	outline: none;
}

body.acs-locations-b .lxb-select svg {
	position: absolute;
	top: 50%;
	right: 0.875rem;
	color: var(--acs-red);
	transform: translateY(-50%);
	pointer-events: none;
}

/* ---------- List ---------- */

/* No bottom padding: the footer's section gap is the space under the last
   shack, as under the last section of every page (designer, 2026-09-29; the
   list's own 3rem put London 120px above the footer where other pages sit
   at 72) */
body.acs-locations-b .lxb-list {
	padding: 1.5rem var(--acs-gutter) 0;
}

body.acs-locations-b .lxb-empty {
	margin: 0 0 1.5rem;
	padding: 1.25rem;
	border: 1px dashed var(--acs-ctrl-line);
	border-radius: 0.75rem;
	text-align: center;
}

body.acs-locations-b .lxb-empty[hidden],
body.acs-locations-b .lxb-group[hidden],
body.acs-locations-b .lxb-item[hidden],
body.acs-locations-b .lxb-item__dist[hidden] {
	display: none;
}

body.acs-locations-b .lxb-group + .lxb-group {
	margin-top: 1.5rem;
}

/* The hidden Nearest first group sits before the first state, which must
   not take the between-groups gap from it */
body.acs-locations-b .lxb-group[hidden] + .lxb-group {
	margin-top: 0;
}

body.acs-locations-b .lxb-group__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0;
	/* black at 10%, not solid ink (designer, 2026-10-05) */
	border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

body.acs-locations-b .lxb-group__title {
	margin: 0;
	font-family: var(--acs-font-display);
	text-transform: uppercase;
	font-weight: 400;
	font-size: 1.75rem;
	line-height: 1.1;
}

body.acs-locations-b .lxb-clear {
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	color: var(--acs-ink);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

body.acs-locations-b .lxb-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* State lists open and close (locations-b.js): the chevron at the row's
   end, the whole row clickable, pointing up while open */
body.acs-locations-b .lxb-group__head.is-toggle {
	cursor: pointer;
}

body.acs-locations-b .lxb-toggle {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	margin: -0.5rem -0.5rem -0.5rem auto;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--acs-ink);
	cursor: pointer;
}

body.acs-locations-b .lxb-toggle[hidden] {
	display: none;
}

body.acs-locations-b .lxb-toggle svg {
	rotate: 180deg;
	transition: rotate 0.2s ease;
}

body.acs-locations-b .lxb-group.is-collapsed .lxb-toggle svg {
	rotate: 0deg;
}

body.acs-locations-b .lxb-toggle:hover {
	background: var(--acs-line);
}

body.acs-locations-b .lxb-toggle:focus-visible {
	outline: 2px solid var(--acs-red);
	outline-offset: 2px;
}

body.acs-locations-b .lxb-group.is-collapsed .lxb-items {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	body.acs-locations-b .lxb-toggle svg {
		transition: none;
	}
}

body.acs-locations-b .lxb-item {
	position: relative;
	padding: 1.25rem 0.75rem 1.25rem 1rem;
	border-bottom: 1px solid var(--acs-line);
	transition: background-color 0.15s ease;
}

/* The selected shack: a red rule at the left, a white wash */
body.acs-locations-b .lxb-item::before {
	content: "";
	position: absolute;
	top: 0; /* the card's full height, edge to edge (designer, 2026-10-05) */
	bottom: 0;
	left: 0;
	width: 4px;
	background: transparent;
	transition: background-color 0.15s ease;
}

body.acs-locations-b .lxb-item.is-hover {
	background: var(--acs-hover);
}

body.acs-locations-b .lxb-item.is-selected {
	background: var(--acs-white);
}

body.acs-locations-b .lxb-item__name {
	margin: 0;
	font-family: var(--acs-font-body);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.5;
}

/* Underlined so it reads as a link: it finds the shack on the map */
body.acs-locations-b .lxb-item__name a {
	color: var(--acs-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

body.acs-locations-b .lxb-item__name a:hover {
	color: var(--acs-red);
}

body.acs-locations-b .lxb-item__status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: var(--acs-ink-soft);
}

body.acs-locations-b .lxb-item__addr {
	margin: 0.25rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--acs-ink-soft);
}

/* The distance (Nearest first): a tag on the hours' line, after them, in
   the Closed tag's style (lx-status: grey fill, light ring, the text on its
   centre; designer, 2026-10-07; was an ink-ringed pill on its own line).
   The unit stays lower case. */
body.acs-locations-b .lxb-item__dist {
	text-transform: none;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

/* A shack with no hours: the line holds only the distance, so it takes no
   room until there is one */
body.acs-locations-b .lxb-item__status:not(:has(> :not([hidden]))) {
	display: none;
}

/* Coming soon: the pill sits beside the name, a clear gap between them */
body.acs-locations-b .lxb-item--soon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.875rem;
}

body.acs-locations-b .lxb-item--soon .lxb-item__name {
	color: var(--acs-ink-soft);
}

/* ---------- Map ---------- */

body.acs-locations-b .lxb-map {
	position: relative;
	height: var(--lxb-map-h);
	overflow: hidden;
	border-radius: 0.75rem;
	background: var(--acs-hover);
	touch-action: none;
	cursor: grab;
	user-select: none;
}

body.acs-locations-b .lxb-map.is-dragging {
	cursor: grabbing;
}

body.acs-locations-b .lxb-map__fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	color: var(--acs-ink);
	font-weight: 700;
	text-align: center;
}

body.acs-locations-b .lxb-map.is-live .lxb-map__fallback {
	display: none;
}

body.acs-locations-b .lxb-map__tiles,
body.acs-locations-b .lxb-map__pins {
	position: absolute;
	inset: 0;
}

body.acs-locations-b .lxb-map__tiles img {
	position: absolute;
	top: 0;
	left: 0;
	width: 256px;
	height: 256px;
	max-width: none;
	filter: var(--lxb-tile-filter);
	-webkit-user-drag: none;
	pointer-events: none;
}

/* Crab pins: the badge crab with its fork (assets/img/crab-badge.png,
   350 x 280) standing on a red dot */
body.acs-locations-b .lxb-pin {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--lxb-crab-w);
	height: calc(var(--lxb-crab-w) * 0.8 + 0.5rem);
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	translate: -50% calc(-100% + 0.25rem); /* the dot's centre sits on the place */
	transform-origin: 50% 100%;
}

body.acs-locations-b .lxb-pin__crab {
	position: absolute;
	left: 0;
	bottom: 0.5rem;
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
	transition: scale 0.18s ease;
	transform-origin: 50% 100%;
	pointer-events: none;
}

body.acs-locations-b .lxb-pin__dot {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0.5rem; /* a true circle (was a 10 x 6 oval; designer, 2026-10-05) */
	height: 0.5rem;
	border-radius: 50%;
	background: var(--acs-red);
	box-shadow: 0 0 0 2px var(--acs-white);
	translate: -50% 0;
}

body.acs-locations-b .lxb-pin:hover .lxb-pin__crab,
body.acs-locations-b .lxb-pin.is-hover .lxb-pin__crab {
	scale: 1.18;
}

body.acs-locations-b .lxb-pin:hover,
body.acs-locations-b .lxb-pin.is-hover {
	z-index: 2;
}

body.acs-locations-b .lxb-pin.is-active {
	z-index: 3;
}

body.acs-locations-b .lxb-pin.is-active .lxb-pin__crab {
	scale: 1.45;
	filter: drop-shadow(0 0 0 var(--acs-yellow)) drop-shadow(0 3px 4px rgba(0, 0, 0, 0.4));
}

body.acs-locations-b .lxb-pin.is-active .lxb-pin__dot {
	background: var(--acs-yellow);
	box-shadow: 0 0 0 2px var(--acs-ink);
}

body.acs-locations-b .lxb-pin[hidden] {
	display: none;
}

body.acs-locations-b .lxb-me {
	position: absolute;
	top: 0;
	left: 0;
	width: 1rem;
	height: 1rem;
	border: 3px solid var(--acs-white);
	border-radius: 50%;
	background: var(--acs-ink);
	box-shadow: 0 0 0 6px var(--acs-ctrl-line);
	translate: -50% -50%;
	pointer-events: none;
}

body.acs-locations-b .lxb-me[hidden] {
	display: none;
}

body.acs-locations-b .lxb-map__controls {
	position: absolute;
	top: calc(0.75rem + var(--acs-tear-h)); /* clear of the header's torn edge */
	right: 0.75rem;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

body.acs-locations-b .lxb-map__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 0;
	border-radius: var(--acs-radius);
	background: var(--acs-white);
	color: var(--acs-ink);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	font: inherit;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

body.acs-locations-b .lxb-map__btn:hover {
	background: var(--acs-hover);
}

body.acs-locations-b .lxb-map__all {
	position: absolute;
	top: calc(0.75rem + var(--acs-tear-h)); /* level with the zoom buttons */
	left: 0.75rem;
	z-index: 5;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.acs-locations-b .lxb-map__note {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 5;
	margin: 0;
	padding: 0.125rem 0.375rem;
	background: var(--acs-white);
	font-size: 0.75rem;
}

body.acs-locations-b .lxb-map__note a {
	color: var(--acs-ink);
}

body.acs-locations-b .lxb-pop {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 6;
	min-width: 12rem;
	max-width: 16rem;
	padding: 0.75rem 2.25rem 0.875rem 0.875rem;
	border-radius: 0.75rem;
	background: var(--acs-white);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
	translate: -50% calc(-100% - 4.25rem);
	cursor: default;
}

body.acs-locations-b .lxb-pop[hidden] {
	display: none;
}

body.acs-locations-b .lxb-pop__name {
	display: block;
	font-family: var(--acs-font-display);
	text-transform: uppercase;
	font-size: 1.125rem;
	line-height: 1.1;
}

body.acs-locations-b .lxb-pop__status {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.8125rem;
	color: var(--acs-ink-soft);
}

body.acs-locations-b .lxb-pop__close {
	position: absolute;
	top: 0.375rem;
	right: 0.375rem;
	width: 1.75rem;
	height: 1.75rem;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--acs-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
}

body.acs-locations-b .lxb-pop__close:hover {
	background: var(--acs-hover);
}

/* ================= Desktop: the split ================= */

@media (min-width: 1024px) {
	body.acs-locations-b .lxb {
		display: grid;
		grid-template-columns: var(--lxb-panel-w) minmax(0, 1fr);
		height: calc(100svh - var(--acs-header-h));
		min-height: 36rem;
		margin-top: 0;
		border-bottom: 1px solid var(--acs-line); /* the list scrolls inside; a clean edge before the footer's gap */
	}

	/* The panel is its own column: controls on top, the list scrolls */
	body.acs-locations-b .lxb-panel {
		display: flex;
		flex-direction: column;
		min-height: 0;
		border-right: 1px solid var(--acs-line);
	}

	body.acs-locations-b .lxb-controls {
		flex-shrink: 0;
		padding: 4.5rem 1.8rem calc(var(--l-tear) + 1.35rem);
	}

	body.acs-locations-b .lxb-list {
		flex: 1;
		min-height: 0;
		padding: 0.5rem 2rem 2.5rem; /* tight under the red band, so more shacks show (designer, 2026-10-05) */
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		/* Cards fade out at the bottom edge instead of being cut off hard;
		   the fade matches the bottom padding, so the last card still shows
		   in full when scrolled to the end */
		-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 2.5rem), transparent);
		mask-image: linear-gradient(to bottom, #000 calc(100% - 2.5rem), transparent);
	}

	body.acs-locations-b .lxb-mapcol {
		padding: 0;
	}

	body.acs-locations-b .lxb-switch {
		display: none;
	}

	body.acs-locations-b .lxb-map {
		height: 100%;
		border-radius: 0;
	}
}

/* ---------- Locations B: the style guide applied (2026-09-29) ----------
   Every text role takes the scale in assets/css/tokens.css, fluid from the
   phone value at 375 to the desktop value at 1440, as on the home page and
   option A (the header, footer and logo follow from direction.css). Button
   labels, View shack, the popup link, pills and badges are UI labels and keep
   their sizes. The search field and the state and city menus are 16px at every
   width so phones do not zoom into them. */
/* Find your shack. takes H1 / Blog (36/44 desktop, 30/40 phones; designer,
   2026-09-29), on this page only, so it sits on one line and the scrolling
   shack list gets the room (was H1, 70/78, two lines in the desktop panel) */
body.acs-locations-b .lxb-title {
	font-size: var(--acs-h1-blog-size);
	line-height: var(--acs-h1-blog-lh);
}

/* Nearest first and the state headings: headings inside the list (h2 in
   the outline), H2 / Blog: 26/34 desktop, 22/30 phones (designer,
   2026-10-05; was 30/38 and 24/32) */
body.acs-locations-b .lxb-group__title {
	font-size: var(--acs-h2-blog-size);
	line-height: var(--acs-h2-blog-lh);
}

/* The shack's name (h3 in the outline) is Body XL: 20/28 desktop, 18/26
   phones (designer, 2026-10-05; was H5 in the display face) */
body.acs-locations-b .lxb-item__name {
	font-size: var(--acs-text-xl-size);
	line-height: var(--acs-text-xl-lh);
}

/* The map popup: the shack's name is Body XL (20/28 desktop, 18/26
   phones), bold in the body face as in the list (designer, 2026-10-07; was
   H5, then H2 / Blog, in the display face), on two lines at most. The name
   is the link to the shack's page, underlined (View shack is gone from the
   popup). Under the hours, the shack's phone in link blue, opening the
   dialler (designer, 2026-10-05; the palette has no blue, so this one is
   the popup's own: 6.9:1 on white), then a small Get directions link
   that opens Google Maps in a new tab (designer, 2026-10-07). */
body.acs-locations-b .lxb-pop__name {
	font-family: var(--acs-font-body);
	font-size: var(--acs-text-xl-size);
	line-height: var(--acs-text-xl-lh);
	font-weight: 700;
	text-transform: none;
	text-wrap: balance;
}

/* Spacing inside the popup (designer, 2026-10-07): 16px of padding all
   round (the right side keeps room for the x). The name, hours and phone
   look evenly spaced: 16px from each row's text (or its underline) to the
   capitals of the next (margins 7px and 4px, making up for the underline).
   Get directions sits 8px further under the phone (24px), beside its
   arrow: 28px from 1024, 24px below (designer, 2026-10-07; was 32px). The x is as far
   from the popup's top as from its right side (its lines 20px from each,
   level with the top of the name's capitals; designer, 2026-10-07), in a
   32px circle that fills grey on hover; the popup is 16px wider so the
   name has 24px of air before it. */
body.acs-locations-b .lxb-pop {
	width: max-content;
	max-width: min(21rem, calc(100vw - 4rem));
	padding: 1rem 4rem 1rem 1rem;
}

body.acs-locations-b .lxb-pop__status {
	margin-top: 0.4375rem;
}

body.acs-locations-b .lxb-pop__close {
	top: 0.5rem;
	right: 0.5rem;
	width: 2rem;
	height: 2rem;
	transition: background-color 0.2s ease;
}

body.acs-locations-b .lxb-pop__close:hover,
body.acs-locations-b .lxb-pop__close:focus-visible {
	background: var(--acs-line);
}

body.acs-locations-b .lxb-pop__name a {
	color: var(--acs-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

body.acs-locations-b .lxb-pop__name a:hover {
	color: var(--acs-red);
}

body.acs-locations-b .lxb-pop__phone {
	display: block;
	width: fit-content;
	margin-top: 0.25rem;
	color: #1558b0;
	font-size: 0.875rem;
	line-height: 1.375rem;
	font-weight: 700;
	text-underline-offset: 0.2em;
}

body.acs-locations-b .lxb-pop__phone[hidden] {
	display: none;
}

/* A text link with the round red arrow (the blog's Crack into the story
   style; designer, 2026-10-07): ink label, the arrow white in a red circle,
   always pointing up and out. The label sits on the circle's centre (down by
   Century Gothic's 0.125em cap offset). */
body.acs-locations-b .lxb-pop__cta {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 0.625rem;
	margin-top: 0.8125rem;
	color: var(--acs-ink);
	font-size: 0.875rem;
	line-height: 1.375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

body.acs-locations-b .lxb-pop__cta[hidden] {
	display: none;
}

body.acs-locations-b .lxb-pop__cta > span:first-child {
	position: relative;
	top: 0.125em;
}

body.acs-locations-b .lxb-pop__cta-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--acs-red);
	color: var(--acs-white);
	transition: background-color 0.2s ease;
}

/* The arrow is half the circle: 12px in 24, 14px in 28 */
body.acs-locations-b .lxb-pop__cta-arrow svg {
	width: 50%;
	height: 50%;
}

@media (min-width: 1024px) {
	/* 2px less above, so the label keeps its place beside the taller arrow */
	body.acs-locations-b .lxb-pop__cta {
		margin-top: 0.6875rem;
	}

	body.acs-locations-b .lxb-pop__cta-arrow {
		width: 1.75rem;
		height: 1.75rem;
	}
}

/* Hover: the circle goes deep red and the arrow moves up and out */
body.acs-locations-b .lxb-pop__cta-arrow svg {
	transition: transform 0.2s ease;
}

body.acs-locations-b .lxb-pop__cta:hover .lxb-pop__cta-arrow,
body.acs-locations-b .lxb-pop__cta:focus-visible .lxb-pop__cta-arrow {
	background: var(--acs-red-deep);
}

body.acs-locations-b .lxb-pop__cta:hover .lxb-pop__cta-arrow svg,
body.acs-locations-b .lxb-pop__cta:focus-visible .lxb-pop__cta-arrow svg {
	transform: translate(2px, -2px);
}

body.acs-locations-b .lxb-empty,
body.acs-locations-b .lxb-map__fallback {
	font-size: var(--acs-text-base-size);
	line-height: var(--acs-text-base-lh);
}

/* The address is 16/24 and the hours 14/22 at every width (designer,
   2026-10-05); the Open / Closed tag keeps its label size */
body.acs-locations-b .lxb-item__addr {
	font-size: 1rem;
	line-height: 1.5rem;
}

body.acs-locations-b .lxb-item__status {
	font-size: 0.875rem;
	line-height: 1.375rem;
}

/* The hours sit on the tag's centre: Century Gothic's figures ride high
   in the line, so they come down by the cap offset */
body.acs-locations-b .lxb-item__hours {
	position: relative;
	top: 0.11em;
}

body.acs-locations-b .lxb-clear,
body.acs-locations-b .lxb-pop__status {
	font-size: var(--acs-text-sm-size);
	line-height: var(--acs-text-sm-lh);
}

body.acs-locations-b .lxb-map__note {
	font-size: var(--acs-text-sm-size-mobile);
	line-height: var(--acs-text-sm-lh-mobile);
}

body.acs-locations-b .lxb-search input,
body.acs-locations-b .lxb-select select {
	font-size: 1rem;
}

/* Buttons: text centred on the container, as every button (line height the
   font size + 8px, text down by Century Gothic's 0.125em cap offset, icons
   back up). Heights as before: the Locations / Map switch 44px, the map
   buttons 40px. */
body.acs-locations-b .lxb-switch__btn,
body.acs-locations-b .lxb-map__all {
	line-height: calc(1em + 8px);
	padding-top: 0.25em;
	padding-bottom: 0;
}

body.acs-locations-b .lxb-switch__btn svg {
	position: relative;
	top: -0.125em;
}

/* Colours and type: the pins and the popup's close button took the
   browser's black and system font */
body.acs-locations-b .lxb-pin,
body.acs-locations-b .lxb-pop__close {
	color: var(--acs-ink);
	font-family: var(--acs-font-body);
}

/* The zoom buttons carry a drawn icon (locations-b.js), centred on the
   button with no text offset */
body.acs-locations-b .lxb-map__controls .lxb-map__btn {
	width: 2.5rem;
	padding: 0;
}

body.acs-locations-b .lxb-map__btn svg {
	display: block;
	flex-shrink: 0;
}

/* Find my location sits above the zoom pair, set apart from it */
body.acs-locations-b .lxb-map__controls .lxb-map__locate {
	margin-bottom: 0.375rem;
}

body.acs-locations-b .lxb-map__locate svg {
	width: 1.375rem;
	height: 1.375rem;
}

/* One City, State, or ZIP field, the search icon at its right end as the
   submit button (designer, 2026-10-05) */
body.acs-locations-b .lxb-search {
	padding-right: 0.25rem;
}

body.acs-locations-b .lxb-search__go {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: var(--acs-radius);
	background: none;
	color: var(--acs-red);
	cursor: pointer;
}

body.acs-locations-b .lxb-search__go:hover {
	background: var(--acs-hover);
}

/* Typing swaps the magnifier for our red x (icon set, same stroke); the
   browser's own clear button is hidden */
body.acs-locations-b .lxb-search__go[hidden] {
	display: none;
}

body.acs-locations-b .lxb-search input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	display: none;
}

/* Nearby (use my location) sits in the field, after the search icon and a
   divider (designer, 2026-10-05; was a yellow Use my location button under
   the field). The line of messages under the field is for screen readers
   only. */

/* Nearby runs the field's full height to its right edge, so the
   divider touches the top and the bottom of the field */
body.acs-locations-b .lxb-search:has(.lxb-geo:not([hidden])) {
	padding-right: 0;
}

/* The typed text and the placeholder on the field's centre: Century
   Gothic's caps ride high in the line, so they come down 1.75px */
body.acs-locations-b .lxb-search input {
	padding-top: 0.21875rem;
	padding-bottom: 0;
}

body.acs-locations-b .lxb-geo {
	display: flex;
	align-items: center;
	align-self: stretch;
	flex-shrink: 0;
	margin-left: -0.1875rem;
	padding: 0 0.875rem 0 0.75rem;
	border: 0;
	border-radius: 0 var(--acs-radius) var(--acs-radius) 0;
	background: none;
	color: var(--acs-ink);
	font: inherit;
	font-size: 0.75rem;
	line-height: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;
	position: relative;
}

/* The divider between the search icon and Use my location */
body.acs-locations-b .lxb-geo::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1px;
	background: var(--acs-line);
}

body.acs-locations-b .lxb-geo:hover {
	background: var(--acs-hover);
}

body.acs-locations-b .lxb-geo[hidden] {
	display: none;
}

body.acs-locations-b .lxb-geo__label {
	position: relative;
	top: 0.125em; /* Century Gothic caps sit high */
	white-space: nowrap;
}

body.acs-locations-b .lxb-geo.is-busy .lxb-geo__label {
	animation: lxb-locate 1s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
	body.acs-locations-b .lxb-geo.is-busy .lxb-geo__label {
		animation: none;
	}
}

/* ---------- State areas and jump buttons (client, 2026-10-01) ----------
   The whole-map view: every state with a shack is a light red area with no
   border, every shack a crab where it stands (designer, 2026-10-05). A
   click zooms to the state and drops its tint. A call-out map at the
   bottom left shows the other country (the UK on the US, the US on the
   UK). */
body.acs-locations-b .lxb-map__states {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

body.acs-locations-b .lxb-state {
	fill: var(--acs-red);
	fill-opacity: 0.16;
	stroke: none;
	transition: fill-opacity 0.15s ease;
}

body.acs-locations-b .lxb-state.is-hover {
	fill-opacity: 0.28;
}

body.acs-locations-b .lxb-state.is-off {
	display: none;
}

body.acs-locations-b .lxb-map.is-over-state:not(.is-dragging) {
	cursor: pointer;
}

body.acs-locations-b .lxb-map__regions {
	position: absolute;
	left: 0.75rem;
	bottom: 0.75rem;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	max-width: calc(100% - 1.5rem);
}

@media (max-width: 1023px) {
	body.acs-locations-b .lxb-map__regions {
		bottom: 1.75rem; /* clear of the map credit */
	}
}

/* The call-out maps (option 2, made final 2026-10-14; the country buttons
   removed): framed boxes like the Alaska and Hawaii insets on a US map, at
   the map's bottom left with the same space at the left and the bottom.
   The UK shows while the US fills the map, the US while the UK does; a
   click swaps them. */
body.acs-locations-b .lxb-map__regions.has-insets {
	--lxb-inset-k: 1;
	bottom: 0.75rem;
}

body.acs-locations-b .lxb-inset {
	position: relative;
	display: block;
	flex: none;
	width: calc(var(--lxb-inset-w) * var(--lxb-inset-k));
	height: calc(var(--lxb-inset-h) * var(--lxb-inset-k));
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 2px solid var(--acs-white);
	border-radius: 4px;
	background: #f2efe9;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transition: box-shadow 0.18s ease;
}

body.acs-locations-b .lxb-inset[hidden] {
	display: none;
}

body.acs-locations-b .lxb-inset:hover,
body.acs-locations-b .lxb-inset:focus-visible {
	box-shadow: 0 0 0 2px var(--acs-red), 0 2px 8px rgba(0, 0, 0, 0.18);
}

body.acs-locations-b .lxb-inset__stage {
	position: absolute;
	top: 0;
	left: 0;
	transform: scale(calc(var(--lxb-inset-s) * var(--lxb-inset-k)));
	transform-origin: 0 0;
}

/* The crabs keep their size (2.25rem, or the box's own) whatever the
   stage's scale */
body.acs-locations-b .lxb-inset__pin {
	--lxb-crab-w: calc(var(--lxb-inset-pin) / var(--lxb-inset-s));
	pointer-events: none;
}

body.acs-locations-b .lxb-inset__pin .lxb-pin__dot {
	width: calc(0.5rem / var(--lxb-inset-s));
	height: calc(0.5rem / var(--lxb-inset-s));
}

body.acs-locations-b .lxb-inset__label {
	position: absolute;
	top: 0.375rem;
	left: 0.375rem;
	padding: 0.125rem 0.375rem 0;
	border-radius: 2px;
	background: var(--acs-white);
	color: var(--acs-ink);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Phones: smaller boxes (the stage scaled); the caption stays, tucked
   closer to the corner, so the box still says which country it is (user,
   2026-10-08; it was hidden) */
@media (max-width: 767px) {
	body.acs-locations-b .lxb-map__regions.has-insets {
		--lxb-inset-k: 0.6667;
	}

	body.acs-locations-b .lxb-inset__pin {
		--lxb-crab-w: calc(var(--lxb-inset-pin) * 0.78 / var(--lxb-inset-s) / var(--lxb-inset-k));
	}

	body.acs-locations-b .lxb-inset__label {
		top: 0.25rem;
		left: 0.25rem;
		padding: 0.0625rem 0.25rem 0;
		letter-spacing: 0.04em;
	}
}

/* Desktop: a shack's row is a click target that finds it on the map (the
   name does it at every width) */
@media (min-width: 1024px) {
	body.acs-locations-b .lxb-item.is-findable {
		cursor: pointer;
	}
}

/* Find my location: red while it is on, pulsing while the browser looks,
   with its message beside it on the map */
body.acs-locations-b .lxb-map__locate[aria-pressed="true"] {
	background: var(--acs-red);
	color: var(--acs-white);
}

body.acs-locations-b .lxb-map__locate.is-busy {
	animation: lxb-locate 1s ease-in-out infinite alternate;
}

@keyframes lxb-locate {
	to {
		opacity: 0.45;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.acs-locations-b .lxb-map__locate.is-busy {
		animation: none;
	}
}

body.acs-locations-b .lxb-map__msg {
	position: absolute;
	top: calc(0.75rem + var(--acs-tear-h));
	right: 3.75rem;
	z-index: 5;
	max-width: calc(100% - 11.5rem);
	margin: 0;
	padding: 0.625rem 0.75rem;
	border-radius: var(--acs-radius);
	background: var(--acs-white);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	color: var(--acs-ink);
	font-size: var(--acs-text-sm-size);
	line-height: var(--acs-text-sm-lh);
	font-weight: 700;
}

body.acs-locations-b .lxb-map__msg[hidden] {
	display: none;
}

/* The cards start 10px under the state heading's line, and the hovered and
   selected card take the buttons' corner radius (designer, 2026-10-05). */
body.acs-locations-b .lxb-items {
	padding-top: 0.625rem;
}

/* Cards sit 20px apart with the divider in the middle of that gap, so it
   shows beside a hovered or selected card as well (designer, 2026-10-05). */
body.acs-locations-b .lxb-item {
	border-bottom: 0;
	border-radius: var(--acs-radius);
}

body.acs-locations-b .lxb-item::before {
	content: none;
}

/* The selected card is the white card alone: the red band at its left
   edge is gone (designer, 2026-10-05) */

body.acs-locations-b .lxb-item:has(~ .lxb-item:not([hidden])) {
	margin-bottom: 1.25rem;
}

body.acs-locations-b .lxb-item:has(~ .lxb-item:not([hidden]))::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: calc(-0.625rem - 0.5px);
	left: 0;
	height: 1px;
	background: var(--acs-line);
}

/* ---------- State cards (client, 2026-10-08) ----------
   Each state is a highlighted white card, so the states read first on
   landing: the site's link card (white, light ring, soft shadow, red ring
   and a small lift on hover) with the chevron in the red circle of the
   site's circle arrows. Opening a state drops its shacks inside the same
   card under a divider; the open card keeps the red ring; the circle stays
   red, 32px, its chevron turned up (designer). Nearest first is not a state and stays a plain heading. */
body.acs-locations-b .lxb-group[data-lxb-group] {
	border: 1px solid var(--acs-line);
	border-radius: var(--acs-radius);
	background: var(--acs-white);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.acs-locations-b .lxb-group[data-lxb-group] + .lxb-group[data-lxb-group] {
	margin-top: 1rem;
}

body.acs-locations-b .lxb-group[data-lxb-group] > .lxb-group__head {
	padding: 1rem 1rem 1rem 1.25rem;
	border-bottom: 0;
}

/* The state's name takes H5: 24/32 desktop, 20/28 phones (designer,
   2026-10-08; was H2 / Blog). Nearest first keeps H2 / Blog. */
body.acs-locations-b .lxb-group[data-lxb-group] .lxb-group__title {
	font-size: var(--acs-h5-size);
	line-height: var(--acs-h5-lh);
}

body.acs-locations-b .lxb-group[data-lxb-group]:not(.is-collapsed) > .lxb-group__head {
	border-bottom: 1px solid var(--acs-line);
}

body.acs-locations-b .lxb-group[data-lxb-group]:hover,
body.acs-locations-b .lxb-group[data-lxb-group]:not(.is-collapsed) {
	border-color: var(--acs-red);
}

body.acs-locations-b .lxb-group[data-lxb-group].is-collapsed:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

body.acs-locations-b .lxb-group[data-lxb-group] .lxb-toggle {
	width: 2rem; /* 32px (designer, 2026-10-08) */
	height: 2rem;
	margin: 0 0 0 auto;
	background: var(--acs-red);
	color: var(--acs-white);
	transition: background-color 0.2s ease;
}

body.acs-locations-b .lxb-group[data-lxb-group].is-collapsed > .lxb-group__head:hover .lxb-toggle {
	background: var(--acs-red-deep);
}

/* The shacks inside the card: full width rows, edge to edge with no gaps,
   a divider between them; the hovered and the selected shack in a 10%
   red wash (designer, 2026-10-08; was inset rounded cards in grey). The
   card clips the last row to its corners. */
body.acs-locations-b .lxb-group[data-lxb-group] {
	overflow: clip;
}

body.acs-locations-b .lxb-group[data-lxb-group] > .lxb-items {
	padding: 0;
}

body.acs-locations-b .lxb-group[data-lxb-group] .lxb-item {
	margin-bottom: 0;
	padding-right: 1.25rem;
	padding-left: 1.25rem;
	border-radius: 0;
}

body.acs-locations-b .lxb-group[data-lxb-group] .lxb-item:has(~ .lxb-item:not([hidden]))::after {
	bottom: 0;
}

body.acs-locations-b .lxb-group[data-lxb-group] .lxb-item.is-hover,
body.acs-locations-b .lxb-group[data-lxb-group] .lxb-item.is-selected {
	background: color-mix(in srgb, var(--acs-red) 10%, var(--acs-white));
}

@media (prefers-reduced-motion: reduce) {
	body.acs-locations-b .lxb-group[data-lxb-group],
	body.acs-locations-b .lxb-group[data-lxb-group] .lxb-toggle {
		transition: none;
	}

	body.acs-locations-b .lxb-group[data-lxb-group].is-collapsed:hover {
		transform: none;
	}
}

/* Phones and tablets: the map is a card under the switch, clear of the
   header's torn edge, so Show all, the find-me and zoom buttons (and the
   locate message) sit as far from its top as from its sides (designer,
   2026-10-09; both locations options) */
@media (max-width: 1023px) {
	body.acs-locations-b .lxb-map__controls,
	body.acs-locations-b .lxb-map__all,
	body.acs-locations-b .lxb-map__msg {
		top: 0.75rem;
	}
}
