/* Brawlerz — w3K LLC
   Layout + components that theme.json can't express. Tokens come from theme.json presets. */

:root {
	--bbx-gold: var(--wp--preset--color--gold);
	--bbx-blaze: var(--wp--preset--color--blaze);
	--bbx-flame: var(--wp--preset--color--flame);
	--bbx-corner: var(--wp--preset--color--corner);
	--bbx-night: var(--wp--preset--color--night);
	--bbx-canvas: var(--wp--preset--color--canvas);
	--bbx-ropes: var(--wp--preset--color--ropes);
	--bbx-line: var(--wp--preset--color--line);
	--bbx-smoke: var(--wp--preset--color--smoke);
	--bbx-tape: var(--wp--preset--color--tape);
	--bbx-display: var(--wp--preset--font-family--display);
	--bbx-gutter: clamp(1rem, 4vw, 3rem);
	--bbx-header-h: 76px;
	--bbx-arrow-ne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12 12 4M5.5 4H12v6.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
	/* The logo's sunset: four bands, thinning toward the bottom. */
	--bbx-stripes: linear-gradient(180deg,
		var(--bbx-gold) 0 26%, transparent 26% 36%,
		var(--bbx-blaze) 36% 56%, transparent 56% 65%,
		var(--bbx-flame) 65% 79%, transparent 79% 87%,
		var(--bbx-corner) 87% 96%, transparent 96%);
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
::selection { background: var(--bbx-gold); color: var(--bbx-night); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--bbx-gold);
	outline-offset: 3px;
}
img { height: auto; }
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(.wp-block-group.alignfull) + :where(.wp-block-group.alignfull) { margin-block-start: 0; }
.is-layout-constrained > .alignfull { margin-block-start: 0; margin-block-end: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 800; }

/* ---------- Header ---------- */
.bbx-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(0, 0, 0, 0.88);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--bbx-line);
	transition: background-color .25s ease, border-color .25s ease;
}
.admin-bar .bbx-site-header { top: var(--wp-admin--admin-bar--height, 0); }
.bbx-site-header.is-overlay {
	position: fixed;
	inset-inline: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,0));
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom-color: transparent;
}
body.bbx-scrolled .bbx-site-header.is-overlay {
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom-color: var(--bbx-line);
}
.bbx-site-header.is-overlay .bbx-topbar { background: transparent !important; }
body.bbx-scrolled .bbx-site-header .bbx-topbar { display: none; }

.bbx-topbar { border-bottom: 1px solid rgba(255,255,255,.08); }
.bbx-topbar p { margin: 0; }
.bbx-topbar a { color: inherit; text-decoration: none; }
/* Links stand out by color and weight, never underline; the hand shows on anything clickable. */
a[href], button, summary, label[for], [role="button"] { cursor: pointer; }
.bbx-topbar a:hover { color: var(--bbx-tape); }
.bbx-topbar a:hover { color: var(--bbx-tape); }
.bbx-topbar__contact a + a { margin-left: 1.25rem; }
.bbx-live::before {
	content: "";
	display: inline-block;
	width: .5rem; height: .5rem;
	margin-right: .55rem;
	border-radius: 50%;
	background: var(--bbx-gold);
	vertical-align: .05em;
}

.bbx-header__row { min-height: var(--bbx-header-h); gap: 1.5rem; }
.bbx-logo { display: block; flex: 0 0 auto; line-height: 0; }
.bbx-logo img { width: clamp(132px, 14vw, 178px); height: auto; }
.bbx-header__nav { gap: clamp(1rem, 2vw, 1.75rem); }
.bbx-nav .wp-block-navigation-item__content { color: var(--bbx-tape); padding-block: .4rem; position: relative; }
.bbx-nav .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--bbx-gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.bbx-nav .wp-block-navigation-item__content:hover::after,
.bbx-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.bbx-header__cta .wp-block-button__link { padding: .8rem 1.2rem; white-space: nowrap; }
.bbx-cart-link { position: relative; display: inline-flex; padding: .4rem; color: var(--bbx-tape); line-height: 0; }
.bbx-cart-link:hover { color: var(--bbx-gold); }
.bbx-cart-count {
	position: absolute; top: -.1rem; right: -.35rem;
	min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem;
	border-radius: 999px; background: var(--bbx-gold); color: var(--bbx-night);
	font-size: .7rem; font-weight: 800; line-height: 1.1rem; text-align: center;
}

/* Mobile menu overlay */
.bbx-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: calc(var(--bbx-header-h) + 1rem) var(--bbx-gutter) 2rem;
	background: var(--bbx-night) !important;
}
.bbx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--bbx-display);
	font-size: clamp(2.5rem, 12vw, 4rem);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1;
	padding-block: .2rem;
}
.bbx-nav .wp-block-navigation__responsive-container-open svg,
.bbx-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

@media (max-width: 781px) {
	:root { --bbx-header-h: 64px; }
	.bbx-topbar__contact { display: none; }
	.bbx-header__cta { display: none !important; }
	.bbx-topbar { font-size: .75rem !important; }
}

/* ---------- Shared ---------- */
.bbx-section { padding-block: var(--wp--preset--spacing--60); }
.bbx-section > * { max-width: 1320px; }
.bbx-section__head { margin-bottom: var(--wp--preset--spacing--50); }
.bbx-section__head h2 { margin: 0; }
.bbx-section__head--split { gap: var(--wp--preset--spacing--40); }
.bbx-section__head--split p { margin: 0; max-width: 46ch; }

.bbx-eyebrow {
	display: flex;
	align-items: center;
	gap: .9rem;
	margin: 0 0 1.1rem;
	color: var(--bbx-gold);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: .01em;
}
.bbx-eyebrow::after {
	content: "";
	flex: 0 0 56px;
	height: 2px;
	background: linear-gradient(90deg, var(--bbx-gold), var(--bbx-corner));
}
.bbx-split { gap: var(--wp--preset--spacing--50) !important; }
.bbx-split h2 { margin-top: 0; margin-bottom: 1.5rem; }

.bbx-textlink a {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	padding-bottom: .35rem;
	color: var(--bbx-tape);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid var(--bbx-gold);
}
.bbx-textlink a::after {
	content: "";
	width: .55rem; height: .55rem;
	border-top: 2px solid currentColor; border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s ease;
}
.bbx-textlink a:hover::after { transform: translateX(3px) rotate(45deg); }

.bbx-photo { margin: 0; }
.bbx-photo img { width: 100%; display: block; }
.bbx-photo figcaption {
	display: flex; justify-content: space-between;
	margin: .7rem 0 0; padding-top: .7rem;
	border-top: 1px solid var(--bbx-line);
	color: var(--bbx-smoke);
}

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--bbx-tape);
	border: 2px solid rgba(245, 242, 238, .55);
	padding: calc(1rem - 2px) calc(1.6rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--bbx-gold); color: var(--bbx-gold); background: transparent;
}
.wp-block-button.is-style-ink > .wp-block-button__link { background: var(--bbx-night); color: var(--bbx-tape); }
.wp-block-button.is-style-ink > .wp-block-button__link:hover { background: var(--bbx-tape); color: var(--bbx-night); }
.wp-block-button__link { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }

/* Sunset stripes: rule + block style */
.bbx-stripes-rule { height: 22px; background: var(--bbx-stripes); }
.bbx-checkout-header + .bbx-stripes-rule { height: 10px; }
.is-style-stripes { position: relative; }
.is-style-stripes::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 22px; background: var(--bbx-stripes);
}

/* Lists with ticks */
.is-style-ticks { list-style: none; padding: 0; margin: 1.5rem 0; }
.is-style-ticks li { position: relative; padding: .55rem 0 .55rem 1.8rem; border-top: 1px solid var(--bbx-line); }
.is-style-ticks li::before {
	content: ""; position: absolute; left: .15rem; top: 1.05rem;
	width: .8rem; height: .45rem;
	border-left: 2px solid var(--bbx-gold); border-bottom: 2px solid var(--bbx-gold);
	transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.bbx-hero, .bbx-page-hero { padding-inline: var(--bbx-gutter) !important; }
.bbx-hero { padding-top: calc(var(--bbx-header-h) + 5rem) !important; padding-bottom: var(--wp--preset--spacing--50) !important; }
.bbx-hero .wp-block-cover__inner-container,
.bbx-page-hero .wp-block-cover__inner-container { width: 100%; max-width: 1320px; margin-inline: auto; }
.bbx-hero .wp-block-cover__inner-container > *,
.bbx-page-hero .wp-block-cover__inner-container > *,
.bbx-section .wp-block-column > *,
.bbx-cta__inner > * { margin-left: 0 !important; margin-right: 0 !important; }
.bbx-hero__title {
	margin: 0 0 1.5rem;
	font-size: clamp(4.75rem, 13.5vw, 12.5rem) !important;
	line-height: .82 !important;
	letter-spacing: -.01em;
	animation: bbx-rise .9s cubic-bezier(.2,.7,.2,1) both;
}
.bbx-hero .bbx-eyebrow { animation: bbx-rise .9s .05s cubic-bezier(.2,.7,.2,1) both; }
.bbx-hero__lede { max-width: 38ch; color: rgba(245,242,238,.86); margin: 0 0 2rem; }
.bbx-hero__actions { margin-bottom: var(--wp--preset--spacing--50); }
.bbx-hero__facts {
	list-style: none; margin: 0; padding: 1.4rem 0 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
	border-top: 1px solid rgba(245,242,238,.22);
	font-size: var(--wp--preset--font-size--small);
	color: rgba(245,242,238,.75);
}
.bbx-hero__facts strong {
	display: block;
	font-family: var(--bbx-display);
	font-size: clamp(2rem, 3.4vw, 3rem);
	line-height: 1;
	color: var(--bbx-tape);
	margin-bottom: .2rem;
}
@media (max-width: 781px) {
	.bbx-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
}
@keyframes bbx-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.bbx-page-hero { padding-top: calc(var(--bbx-header-h) + 4rem) !important; padding-bottom: var(--wp--preset--spacing--50) !important; }
.bbx-page-hero h1 { margin: 0 0 1rem; line-height: .85; }
.bbx-page-hero .bbx-hero__lede { margin: 0; }

/* ---------- Ticker ---------- */
.bbx-ticker { overflow: hidden; padding: 0 !important; border-block: 1px solid var(--bbx-night); }
.bbx-ticker__text {
	margin: 0;
	padding: .95rem 0;
	white-space: nowrap;
	font-family: var(--bbx-display);
	font-weight: 800;
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
	line-height: 1;
	text-transform: uppercase;
}
.bbx-ticker__track { display: inline-flex; align-items: center; animation: bbx-marquee 38s linear infinite; }
.bbx-ticker__item { display: inline-flex; align-items: center; }
.bbx-ticker__item::after {
	content: "";
	display: inline-block;
	width: 1.6rem; height: 1.6rem;
	margin: 0 1.6rem;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--bbx-night) 0 30%, transparent 30% 42%, var(--bbx-night) 42% 62%, transparent 62% 72%, var(--bbx-night) 72% 100%);
	opacity: .9;
}
.bbx-ticker:hover .bbx-ticker__track { animation-play-state: paused; }
@keyframes bbx-marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.bbx-intro h2 { font-size: var(--wp--preset--font-size--xx-large); }

/* ---------- Training accordion ---------- */
.bbx-sticky { position: sticky; top: calc(var(--bbx-header-h) + 1.5rem); }
.bbx-accordion { border-top: 1px solid var(--bbx-line); margin-top: 2rem; }
.bbx-accordion .wp-block-details { position: relative; margin: 0; padding-inline: 1.25rem; transition: background-color .2s ease; }
.bbx-accordion .wp-block-details summary {
	list-style: none;
	cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--large);
}
.bbx-accordion .wp-block-details summary::-webkit-details-marker { display: none; }
.bbx-accordion .wp-block-details summary::after {
	content: "";
	flex: 0 0 14px; height: 14px;
	background:
		linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
	transition: transform .2s ease;
}
.bbx-accordion .wp-block-details[open] { background: var(--bbx-ropes); }
.bbx-accordion .wp-block-details[open]::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--wp--preset--gradient--sunset);
}
.bbx-accordion .wp-block-details[open] summary { color: var(--bbx-gold); }
.bbx-accordion .wp-block-details[open] summary::after {
	background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat;
}
.bbx-accordion .wp-block-details > p { color: var(--bbx-smoke); margin: .6rem 0 .2rem; max-width: 56ch; }

/* ---------- Steps ---------- */
.bbx-steps { position: relative; }
.bbx-steps__list {
	list-style: none; margin: 0; padding: 0;
	counter-reset: step;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--wp--preset--spacing--40);
}
.bbx-steps__list li {
	counter-increment: step;
	position: relative;
	padding-top: 2.25rem;
	color: var(--bbx-smoke);
	font-size: var(--wp--preset--font-size--small);
}
.bbx-steps__list li::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	font-family: var(--bbx-display);
	font-weight: 900;
	font-size: clamp(4rem, 7vw, 6.5rem);
	line-height: .8;
	margin-bottom: 1.25rem;
	background: var(--wp--preset--gradient--sunset);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.bbx-steps__list li::after {
	content: ""; position: absolute; top: 0; left: 0; right: calc(-1 * var(--wp--preset--spacing--40)); height: 2px; background: var(--bbx-line);
}
.bbx-steps__list li:first-child::after { background: linear-gradient(90deg, var(--bbx-gold), var(--bbx-line)); }
.bbx-steps__list li:last-child::after { right: 0; }
.bbx-steps__list li strong {
	display: block; margin-bottom: .5rem;
	color: var(--bbx-tape);
	font-size: var(--wp--preset--font-size--large);
}
@media (max-width: 960px) { .bbx-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bbx-steps__list { grid-template-columns: 1fr; } }

/* ---------- Plans ---------- */
.bbx-plans__grid { gap: var(--wp--preset--spacing--30) !important; }
.bbx-plan {
	position: relative;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--bbx-night);
	border: 1px solid var(--bbx-line);
	display: flex; flex-direction: column;
}
.bbx-plan.is-featured::before {
	content: ""; position: absolute; inset: -1px -1px auto -1px; height: 6px; background: var(--wp--preset--gradient--sunset-across);
}
.bbx-plan h3 { margin: 0 0 1rem; font-size: var(--wp--preset--font-size--x-large); }
.bbx-plan .wp-block-buttons { margin-top: auto; padding-top: 1rem; }
.bbx-price { margin: 0 0 .25rem; color: var(--bbx-smoke); }
.bbx-price strong {
	font-family: var(--bbx-display);
	font-size: clamp(4rem, 7vw, 6rem);
	font-weight: 900;
	line-height: .9;
	color: var(--bbx-tape);
	margin-right: .35rem;
}
.bbx-plan.is-featured .bbx-price strong { color: var(--bbx-gold); }

.bbx-passes { margin-top: var(--wp--preset--spacing--50); border-top: 1px solid var(--bbx-line); }
.bbx-passes__intro { margin: 1.5rem 0; color: var(--bbx-smoke); }
.bbx-passes__intro strong { color: var(--bbx-tape); }
.bbx-passes__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	border-block: 1px solid var(--bbx-line);
}
.bbx-passes__list li + li { border-left: 1px solid var(--bbx-line); }
.bbx-passes__list a {
	position: relative;
	display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
	padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1rem, 2.5vw, 2rem);
	color: var(--bbx-tape);
	text-decoration: none;
	transition: background-color .2s ease;
}
.bbx-passes__list em {
	font-style: normal;
	font-family: var(--bbx-display);
	font-weight: 800;
	text-transform: uppercase;
	font-size: clamp(3rem, 6vw, 5.5rem);
	line-height: .9;
}
.bbx-passes__list strong { font-size: var(--wp--preset--font-size--large); color: var(--bbx-gold); }
.bbx-passes__list a::after {
	content: ""; position: absolute; top: 1.3rem; right: 1.3rem;
	width: 1rem; height: 1rem;
	background: var(--bbx-gold);
	-webkit-mask: var(--bbx-arrow-ne) center / contain no-repeat;
	mask: var(--bbx-arrow-ne) center / contain no-repeat;
	transition: transform .2s ease;
}
.bbx-passes__list a:hover { background: var(--bbx-ropes); }
.bbx-passes__list a:hover::after { transform: translate(3px, -3px); }
@media (max-width: 781px) {
	.bbx-passes__list { grid-template-columns: 1fr; }
	.bbx-passes__list li + li { border-left: 0; border-top: 1px solid var(--bbx-line); }
}

/* PT ladder */
.bbx-ladder { list-style: none; padding: 0; margin: 1.75rem 0; border-top: 1px solid var(--bbx-line); }
.bbx-ladder li {
	display: flex; justify-content: space-between; gap: 1rem;
	padding: .8rem 0; border-bottom: 1px solid var(--bbx-line);
	color: var(--bbx-smoke);
}
.bbx-ladder strong { color: var(--bbx-tape); font-weight: 700; }

/* ---------- Gallery mosaic ---------- */
.bbx-mosaic {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(180px, 22vw, 300px);
	gap: .75rem;
}
.bbx-tile { position: relative; margin: 0 !important; overflow: hidden; }
.bbx-tile.is-wide { grid-column: span 2; }
.bbx-tile.is-tall { grid-row: span 2; }
.bbx-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.bbx-tile:hover img { transform: scale(1.03); }
.bbx-tile figcaption {
	position: absolute; left: 0; bottom: 0;
	margin: 0; padding: .55rem .9rem;
	background: rgba(0,0,0,.78);
	border-left: 3px solid var(--bbx-gold);
	color: var(--bbx-tape);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}
@media (max-width: 781px) {
	.bbx-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; }
	.bbx-tile.is-tall { grid-row: span 1; }
}

/* ---------- Schedule ---------- */
.bbx-week {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	border-top: 1px solid var(--bbx-line);
	border-left: 1px solid var(--bbx-line);
}
.bbx-day {
	position: relative;
	margin: 0 !important;
	padding: 1.25rem 1rem 1.5rem;
	border-right: 1px solid var(--bbx-line);
	border-bottom: 1px solid var(--bbx-line);
	background: var(--bbx-night);
	min-height: 15rem;
}
.bbx-day__name { margin: 0 0 1.1rem; font-size: var(--wp--preset--font-size--x-large) !important; }
.bbx-day.is-today { background: var(--bbx-ropes); }
.bbx-day.is-today::before { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 4px; background: var(--wp--preset--gradient--sunset-across); }
.bbx-day.is-today .bbx-day__name::after {
	content: "Today";
	display: block;
	margin-top: .35rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: .75rem; font-weight: 700; letter-spacing: 0; text-transform: none;
	color: var(--bbx-gold);
}
.bbx-classes { list-style: none; margin: 0; padding: 0; }
.bbx-classes li {
	padding: .65rem 0;
	border-top: 1px solid var(--bbx-line);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1.35;
}
.bbx-classes li strong {
	display: block;
	color: var(--bbx-gold);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.bbx-classes li em { display: block; font-style: normal; font-weight: 400; color: var(--bbx-smoke); }
.bbx-day__open { color: var(--bbx-smoke); font-size: var(--wp--preset--font-size--small); }
@media (max-width: 1100px) {
	.bbx-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.bbx-week { grid-template-columns: 1fr; }
	.bbx-day { min-height: 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
	.bbx-day__name { font-size: var(--wp--preset--font-size--large) !important; }
}

/* ---------- Reviews ---------- */
.bbx-quote { margin: 0 0 2rem !important; padding-left: 1.5rem; }
.bbx-quote p { margin: 0 0 .8rem; color: var(--bbx-tape); font-size: var(--wp--preset--font-size--medium); }
.bbx-quote.is-lead { border-left-width: 0 !important; padding-left: 0; margin-bottom: 2.75rem !important; }
.bbx-quote.is-lead p {
	font-family: var(--bbx-display);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	line-height: 1.02;
}
.bbx-quote.is-lead p::before { content: "“"; color: var(--bbx-gold); }
.bbx-quote.is-lead p::after { content: "”"; color: var(--bbx-gold); }
.bbx-quote cite { font-style: normal; font-weight: 700; font-size: var(--wp--preset--font-size--small); color: var(--bbx-smoke); }
.bbx-quote cite::before { content: ""; display: inline-block; width: 1.5rem; height: 2px; margin-right: .6rem; background: var(--bbx-gold); vertical-align: middle; }
.bbx-reviews .wp-block-column:last-child { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.bbx-reviews .bbx-quote.is-lead { grid-column: 1 / -1; }
@media (max-width: 781px) { .bbx-reviews .wp-block-column:last-child { grid-template-columns: 1fr; } }

/* ---------- Location ---------- */
.bbx-address { margin: 0 0 1.5rem; font-weight: 700; line-height: 1.35; }
.bbx-facts { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--bbx-line); }
.bbx-facts li { padding: .75rem 0; border-bottom: 1px solid var(--bbx-line); color: var(--bbx-smoke); font-size: var(--wp--preset--font-size--small); }
.bbx-facts strong { display: inline-block; min-width: 5.5rem; color: var(--bbx-tape); }
.bbx-facts a { color: var(--bbx-tape); font-weight: 600; }
.bbx-facts a:hover { color: var(--bbx-gold); }
.bbx-map { position: relative; aspect-ratio: 16 / 10; background: var(--bbx-ropes); margin-bottom: .75rem; overflow: hidden; }
.bbx-map iframe {
	position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
	filter: grayscale(1) invert(.92) contrast(.9) brightness(.95);
}

/* ---------- CTA ---------- */
.bbx-cta {
	position: relative;
	padding-top: var(--wp--preset--spacing--60) !important;
	padding-bottom: calc(var(--wp--preset--spacing--60) + 9rem) !important;
	background: var(--wp--preset--gradient--sunset);
	color: var(--bbx-night);
	overflow: hidden;
}
.bbx-cta::after {
	/* the sun's horizon lines cut across the band */
	content: ""; position: absolute; inset: auto 0 0 0; height: 8.5rem;
	background: repeating-linear-gradient(180deg, transparent 0 14px, #000 14px calc(14px + var(--bbx-band, 3px)));
	-webkit-mask: linear-gradient(180deg, rgba(0,0,0,.25), #000);
	mask: linear-gradient(180deg, rgba(0,0,0,.25), #000);
	pointer-events: none;
}
.bbx-cta__inner { position: relative; z-index: 1; max-width: 1320px; }
.bbx-cta h2, .bbx-cta p { color: var(--bbx-night); }
.bbx-cta h2 { margin: 0 0 1rem; max-width: 12ch; }
.bbx-cta p { max-width: 42ch; font-weight: 600; }

/* ---------- Facilities rows ---------- */
.bbx-room { gap: var(--wp--preset--spacing--50) !important; margin-block: 0 var(--wp--preset--spacing--60) !important; }
.bbx-room:last-child { margin-bottom: 0 !important; }
.bbx-room h2 { margin: 0 0 1rem; }
@media (min-width: 782px) {
	.bbx-room.is-flipped { flex-direction: row-reverse; }
}

/* ---------- About ---------- */
.bbx-story > .bbx-split { margin-bottom: var(--wp--preset--spacing--50); }
.bbx-story h2 { font-size: var(--wp--preset--font-size--xx-large); }
.bbx-why { margin-top: var(--wp--preset--spacing--50); gap: var(--wp--preset--spacing--40) !important; }
.bbx-why .wp-block-column { border-top: 2px solid var(--bbx-line); padding-top: 1.25rem; }
.bbx-why .wp-block-column:first-child { border-top-color: var(--bbx-gold); }
.bbx-why h3 { margin: 0 0 .75rem; }

/* ---------- Footer ---------- */
body:has(main .bbx-cta:last-child) .bbx-footer .bbx-stripes-rule { display: none; }
.bbx-footer { border-top: 0; }
.bbx-footer__mark { width: 72px; height: 72px; display: block; margin-bottom: 1.25rem; }
.bbx-footer__title { margin: 0 0 1rem; }
.bbx-footer h3 { margin: 0 0 1rem; color: var(--bbx-smoke); letter-spacing: .02em; }
.bbx-footer a { color: var(--bbx-tape); text-decoration: none; }
.bbx-footer a:hover { color: var(--bbx-gold); }
.bbx-footer__links { list-style: none; padding: 0; margin: 0; }
.bbx-footer__links li { padding: .2rem 0; }
.bbx-footer__legal { border-top: 1px solid var(--bbx-line); }
.bbx-footer__legal p { margin: 0; }
.bbx-footer__legal a { color: var(--bbx-smoke); }
.bbx-footer__legal a + a { margin-left: 1.25rem; }
.bbx-social { gap: .9rem !important; margin-top: 1.5rem !important; }

/* ---------- Inner pages ---------- */
.bbx-page-title { margin-bottom: var(--wp--preset--spacing--40); }
.bbx-prose > p, .bbx-prose > ul, .bbx-prose > ol, .bbx-prose > h2, .bbx-prose > h3 { max-width: 72ch; margin-left: 0 !important; }
.bbx-prose > h2 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.05; margin-top: 3rem; margin-bottom: 0; }
.bbx-prose > h2 + * { margin-top: .75rem; }
.bbx-prose > :is(ul, ol) { padding-left: 1.25rem; }
.bbx-prose > :is(ul, ol) > li { margin-bottom: .5rem; color: rgba(245,242,238,.82); }
.bbx-prose > :is(ul, ol) > li strong { color: var(--bbx-tape); }
.bbx-prose > p { color: rgba(245,242,238,.82); }

/* ---------- WooCommerce ---------- */
.woocommerce-page main, .woocommerce main { color: var(--bbx-tape); }
.wc-block-components-product-name, .wp-block-post-title a { color: var(--bbx-tape); text-decoration: none; }
.wc-block-grid__product, .wc-block-product, .wp-block-woocommerce-product-template > li { text-align: left; }
.wp-block-woocommerce-product-template .wc-block-components-product-image,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-image { background: var(--bbx-canvas); margin-bottom: .9rem; }
.wp-block-woocommerce-product-template .wp-block-post-title { font-family: var(--bbx-display); text-transform: uppercase; font-weight: 800; font-size: 1.6rem !important; line-height: 1; }
.wp-block-woocommerce-product-price, .wc-block-components-product-price, .woocommerce-Price-amount { color: var(--bbx-gold); font-weight: 700; }
.wp-block-woocommerce-product-template del .woocommerce-Price-amount { color: var(--bbx-smoke); }
.wc-block-components-product-sale-badge, .onsale { background: var(--bbx-corner) !important; color: var(--bbx-tape) !important; border: 0 !important; border-radius: 0 !important; }
.wp-block-button.wc-block-components-product-button .wp-block-button__link,
.wc-block-components-product-button__button {
	background: transparent !important; color: var(--bbx-tape) !important;
	border: 2px solid rgba(245,242,238,.45) !important; border-radius: 0 !important;
}
.wc-block-components-product-button__button:hover { border-color: var(--bbx-gold) !important; color: var(--bbx-gold) !important; }
.wp-block-woocommerce-product-collection .wc-block-components-product-image img,
.wp-block-woocommerce-product-image img { aspect-ratio: 4/5; object-fit: cover; }
.wp-block-woocommerce-product-image img { aspect-ratio: auto; }

/* Forms on dark */
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.woocommerce form .input-text, .woocommerce select, .wc-block-components-quantity-selector,
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea, select {
	background-color: var(--bbx-canvas) !important;
	color: var(--bbx-tape) !important;
	border: 1px solid var(--bbx-line) !important;
	border-radius: 0 !important;
}
.wc-block-components-text-input label, .wc-block-components-combobox label, .wc-blocks-components-select__label { color: var(--bbx-smoke) !important; }
.wc-block-components-quantity-selector input { border: 0 !important; background: transparent !important; }
.wc-block-components-quantity-selector__button { color: var(--bbx-tape) !important; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button,
.single_add_to_cart_button, .woocommerce button.button, .woocommerce a.button {
	background: var(--bbx-gold) !important; color: var(--bbx-night) !important;
	border-radius: 0 !important; border: 0 !important; font-weight: 800 !important;
}
.wc-block-components-button:not(.is-link):hover, .single_add_to_cart_button:hover { background: var(--bbx-tape) !important; }
.wc-block-components-panel, .wc-block-components-totals-wrapper, .wc-block-components-order-summary,
.wc-block-components-radio-control__option, .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option {
	border-color: var(--bbx-line) !important;
}
.wc-block-components-notice-banner { border-radius: 0; }
.wc-block-mini-cart__drawer .components-modal__content, .wc-block-mini-cart__drawer .wc-block-mini-cart__template-part { background: var(--bbx-night); color: var(--bbx-tape); }
.wc-block-components-drawer { background: var(--bbx-night) !important; color: var(--bbx-tape); }
.wc-block-components-sidebar-layout .wc-block-components-main, .wp-block-woocommerce-checkout-order-summary-block {
	color: var(--bbx-tape);
}
.wc-block-checkout__sidebar, .wp-block-woocommerce-checkout-order-summary-block { background: var(--bbx-canvas); padding: 1.25rem; }
.woocommerce-breadcrumb, .wc-block-breadcrumbs { color: var(--bbx-smoke); font-size: var(--wp--preset--font-size--x-small); }
.woocommerce-breadcrumb a, .wc-block-breadcrumbs a { color: var(--bbx-smoke); }
.wc-block-components-product-metadata, .wp-block-woocommerce-product-meta { color: var(--bbx-smoke); font-size: var(--wp--preset--font-size--small); }
.single-product main h1.wp-block-post-title { font-size: clamp(2.75rem, 5vw, 5rem) !important; line-height: .9; margin-top: 0; }
.wp-block-woocommerce-product-details .wc-tabs li a, .woocommerce-tabs .tabs a { color: var(--bbx-tape); }
.woocommerce-tabs ul.tabs li.active a, .wp-block-woocommerce-product-details .wc-tabs li.active a { color: var(--bbx-gold); }
.woocommerce div.product form.cart .variations select { min-width: 16rem; padding: .7rem; }
.woocommerce-variation-price .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--bbx-gold) !important; font-size: 1.6rem; font-weight: 800; }
.subscription-details { color: var(--bbx-smoke); font-size: .95rem; }
.woocommerce-store-notice, p.demo_store { background: var(--bbx-corner); }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { background: var(--bbx-canvas); border-color: var(--bbx-line); }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--bbx-gold); }
.wc-block-components-radio-control__input { background: var(--bbx-canvas) !important; border-color: var(--bbx-smoke) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--bbx-gold) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border-top: 1px solid var(--bbx-line); }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--bbx-line); }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: .7rem 0; color: var(--bbx-tape); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color: var(--bbx-gold); }
.woocommerce table.shop_table { border-color: var(--bbx-line); border-radius: 0; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--bbx-line); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.bbx-ticker__track { animation: none; transform: none; }
}

/* ---------- Welcome checklist ---------- */
.bbx-checklist { list-style: none; margin: 0 0 2rem; padding: 0; counter-reset: chk; border-top: 1px solid var(--bbx-line); }
.bbx-checklist li {
	counter-increment: chk;
	position: relative;
	padding: 1.25rem 0 1.25rem 3.25rem;
	border-bottom: 1px solid var(--bbx-line);
	color: var(--bbx-smoke);
}
.bbx-checklist li::before {
	content: counter(chk);
	position: absolute; left: 0; top: 1.1rem;
	width: 2.1rem; height: 2.1rem;
	display: grid; place-items: center;
	background: var(--bbx-gold); color: var(--bbx-night);
	font-family: var(--bbx-display); font-weight: 900; font-size: 1.3rem;
}
.bbx-checklist li strong { display: block; color: var(--bbx-tape); font-size: var(--wp--preset--font-size--large); margin-bottom: .25rem; }

/* ---------- Pickup note (shop) ---------- */
.bbx-pickup-note {
	margin: 1rem 0;
	padding: .9rem 1rem .9rem 1.1rem;
	background: var(--bbx-ropes);
	border-left: 3px solid var(--bbx-gold);
	color: var(--bbx-tape);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.5;
}

/* ---------- Front desk scanner (WooCommerce Order Barcodes) ---------- */
#barcode-scan-form { max-width: 640px; }
#barcode-scan-form form { display: grid; gap: .75rem; text-align: left; }
#barcode-scan-form label { font-weight: 700; }
#barcode-scan-form select,
#barcode-scan-form #scan-code {
	width: 100% !important;
	min-height: 3.5rem;
	padding: .8rem 1rem !important;
	font-size: 1.25rem !important;
	font-family: var(--wp--preset--font-family--body);
	letter-spacing: .04em;
}
#barcode-scan-form #scan-code:focus { border-color: var(--bbx-gold) !important; outline: 2px solid var(--bbx-gold); outline-offset: 2px; }
#barcode-scan-form input[type="submit"] {
	justify-self: start;
	min-width: 10rem;
	min-height: 3.25rem;
	padding: .9rem 1.6rem;
	border: 0;
	background: var(--bbx-gold);
	color: var(--bbx-night);
	font-weight: 800;
	font-size: 1rem;
	cursor: pointer;
}
#barcode-scan-form input[type="submit"]:hover { background: var(--bbx-tape); }
#barcode-scan-errors:not(:empty), .woocommerce-message, .woocommerce-error {
	margin: 1rem 0;
	padding: .9rem 1rem;
	background: var(--bbx-ropes);
	border-left: 3px solid var(--bbx-gold);
	color: var(--bbx-tape);
}
#barcode-scan-result h2 { font-size: var(--wp--preset--font-size--x-large); text-align: left; }
#barcode-scan-result { text-align: left; }
.woocommerce mark, #barcode-scan-result mark { background: none; color: var(--bbx-gold); font-weight: 700; }
#barcode-scan-result .order-again { display: none; }

/* ---------- Shop account ---------- */
.woocommerce-account main h2 { font-size: var(--wp--preset--font-size--x-large); margin-bottom: 1rem; }
.woocommerce-account .woocommerce-form, .woocommerce-account .u-column1, .woocommerce-account .u-column2 { color: var(--bbx-tape); }
.woocommerce form.login, .woocommerce form.register { border-color: var(--bbx-line) !important; border-radius: 0 !important; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--bbx-tape);
	-webkit-box-shadow: 0 0 0 1000px var(--bbx-canvas) inset;
	caret-color: var(--bbx-tape);
}
.bbx-account-note { margin-bottom: 2rem; }
.wc-block-components-notice-banner, .woocommerce-info {
	background: var(--bbx-ropes) !important;
	border: 1px solid var(--bbx-line) !important;
	border-left: 3px solid var(--bbx-gold) !important;
	color: var(--bbx-tape) !important;
	border-radius: 0 !important;
}
.wc-block-components-notice-banner > svg { fill: var(--bbx-gold) !important; background: transparent !important; }
.wc-block-components-notice-banner a, .woocommerce-info a { color: var(--bbx-gold) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation a { padding: .85rem 0 !important; font-weight: 600; }
.wc-block-components-notice-banner button, .wc-block-components-notice-banner .wc-forward { color: var(--bbx-gold) !important; opacity: 1 !important; font-weight: 600; text-decoration: none; }

/* ---------- Footer credit: w3K glyph (inherits link colour) ---------- */
.bbx-credit { display: inline-flex; align-items: center; gap: .4em; }
.bbx-w3k {
	display: inline-block;
	width: 2.9em;
	height: 1.45em;
	background-color: currentColor;
	-webkit-mask: url("../img/w3k.svg") center / contain no-repeat;
	mask: url("../img/w3k.svg") center / contain no-repeat;
	/* The raised 3 makes flex centring sit the letters high; this puts the W and K on the text baseline. */
	transform: translateY(.1em);
}
