/* ==========================================================================
   GorillaGear theme
   Purple #4834e1, banana yellow #FFD93D, near black #14141a.
   Light and dark modes switch on html[data-theme].
   The brand sheet (BRAND.md in the website project) explains the tokens.
   ========================================================================== */

/* ---------- fonts (self-hosted, OFL) ---------- */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jost-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/jost-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/jost-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/jost-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

/* ---------- tokens ---------- */

:root,
html[data-theme="light"] {
	color-scheme: light;
	--gg-bg: #ffffff;
	--gg-surface: #ffffff;
	--gg-surface-2: #f7f7fb;
	--gg-ink: #14141a;
	--gg-soft: #5d5d6b;
	--gg-line: #e3e3ea;
	--gg-line-strong: #cfcfda;
	--gg-purple: #4834e1;
	--gg-purple-dark: #3524b8;
	--gg-purple-pale: #f1effe;
	--gg-purple-tint: #e9e6fc;
	--gg-on-purple: #ffffff;
	--gg-yellow: #FFD93D;
	--gg-on-yellow: #111111;
	--gg-yellow-bg: #fffbe8;
	--gg-good: #1c6b34;
	--gg-good-bg: #e3f5e8;
	--gg-warn: #5c4400;
	--gg-warn-bg: #fffbe8;
	--gg-bad: #b32d2e;
	--gg-bad-bg: #fdf1f1;
	--gg-thumb: #ffffff;
	--gg-shadow: 0 10px 30px rgba(20, 20, 26, 0.10);
	--gg-scrim: rgba(15, 15, 25, 0.6);
	--gg-font-head: "Jost", "Futura", "Century Gothic", sans-serif;
	--gg-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gg-radius: 10px;
	--gg-radius-sm: 7px;
}

html[data-theme="dark"] {
	color-scheme: dark;
	--gg-bg: #0f0e1a;
	--gg-surface: #1a1830;
	--gg-surface-2: #221f3d;
	--gg-ink: #f3f1ff;
	--gg-soft: #a9a6c4;
	--gg-line: #2e2b4d;
	--gg-line-strong: #3d3960;
	--gg-purple: #7b6cff;
	--gg-purple-dark: #6657f5;
	--gg-purple-pale: #241f4a;
	--gg-purple-tint: #2d2760;
	--gg-on-purple: #ffffff;
	--gg-yellow: #FFD93D;
	--gg-on-yellow: #111111;
	--gg-yellow-bg: #2c2712;
	--gg-good: #7fd99a;
	--gg-good-bg: #1b3a26;
	--gg-warn: #ffe28a;
	--gg-warn-bg: #3a3010;
	--gg-bad: #ff8b8b;
	--gg-bad-bg: #3d1b1b;
	--gg-thumb: #ffffff;
	--gg-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	--gg-scrim: rgba(5, 4, 14, 0.72);
}

/* ---------- base ---------- */

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--gg-bg);
	color: var(--gg-ink);
	font-family: var(--gg-font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	transition: background-color 0.2s ease, color 0.2s ease;
}

h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.wp-block-query-title {
	font-family: var(--gg-font-head);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
	color: var(--gg-ink);
}

h1, .wp-block-post-title.has-x-large-font-size { font-weight: 800; font-style: italic; }

a { color: var(--gg-purple); }
a:hover { color: var(--gg-purple-dark); }

::selection { background: var(--gg-yellow); color: var(--gg-on-yellow); }

:focus-visible { outline: 3px solid var(--gg-yellow); outline-offset: 2px; }

.gg-main { padding-top: 1.5rem; padding-bottom: 3rem; }
.gg-main--home { padding-top: 0; }

.gg-page-head { margin-bottom: 1.5rem; }
.gg-page-head h1 { margin: 1rem 0 0.25rem; }
.gg-meta { color: var(--gg-soft); font-size: 0.9rem; }

/* ---------- buttons ---------- */

.gg-btn,
.wp-block-button__link,
.wp-element-button {
	display: inline-block;
	padding: 0.75em 1.4em;
	border: 2px solid var(--gg-purple);
	border-radius: var(--gg-radius-sm);
	background: var(--gg-purple);
	color: var(--gg-on-purple);
	font-family: var(--gg-font-head);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.gg-btn:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
	background: var(--gg-purple-dark);
	border-color: var(--gg-purple-dark);
	color: var(--gg-on-purple);
}

.gg-btn:active { transform: translateY(1px); }

.gg-btn--ghost,
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--gg-purple);
}

.gg-btn--ghost:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--gg-purple-pale);
	color: var(--gg-purple-dark);
}

/* ---------- header ---------- */

.gg-header {
	position: sticky;
	top: 0;
	z-index: 500;
	padding-top: 0.6rem;
	padding-bottom: 0.6rem;
	background: color-mix(in srgb, var(--gg-bg) 96%, transparent);
	border-bottom: 1px solid var(--gg-line);
}

.admin-bar .gg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .gg-header { top: 46px; } }

.gg-header__row { min-height: 56px; }

.gg-brand {
	display: inline-flex;
	align-items: center;
	color: var(--gg-ink);
	text-decoration: none;
	line-height: 0;
}

.gg-brand__mark {
	height: 30px;
	width: auto;
	display: block;
}

@media (min-width: 760px) { .gg-brand__mark { height: 44px; } }

.gg-brand:hover .gg-brand__mark { color: var(--gg-purple); }

.gg-header__right { gap: 0.75rem; }

.gg-nav a {
	font-family: var(--gg-font-head);
	font-weight: 500;
	font-size: 1rem;
	color: var(--gg-ink);
	text-decoration: none;
	padding: 0.35em 0.2em;
	border-bottom: 2px solid transparent;
}

.gg-nav a:hover,
.gg-nav .current-menu-item > a {
	color: var(--gg-purple);
	border-bottom-color: var(--gg-yellow);
}

.gg-nav .wp-block-navigation__responsive-container-open,
.gg-nav .wp-block-navigation__responsive-container-close {
	color: var(--gg-ink);
}

.gg-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--gg-surface);
	color: var(--gg-ink);
	padding: 1.5rem;
}

.gg-nav .wp-block-navigation__responsive-container.is-menu-open a {
	font-size: 1.35rem;
	padding: 0.4em 0;
}

/* the light and dark switch */

.gg-mode {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--gg-line);
	border-radius: 999px;
	background: var(--gg-surface);
	color: var(--gg-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.gg-mode:hover { border-color: var(--gg-purple); color: var(--gg-purple); }

.gg-mode__icon {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gg-mode__icon--moon { display: none; }
html[data-theme="dark"] .gg-mode__icon--moon { display: block; }
html[data-theme="dark"] .gg-mode__icon--sun { display: none; }

/* ---------- hero: the GorillaBox ---------- */

.gg-hero {
	position: relative;
	padding: 6rem var(--gg-edge) 6rem;
	color: #fff;
	/* lighter purple at the top, darkening downwards, so the base of the box
	   sits in the dark and the dark carries on down to the arrow */
	background:
		radial-gradient(ellipse at 20% 0%, rgba(123, 108, 255, 0.35) 0, rgba(123, 108, 255, 0) 50%),
		linear-gradient(180deg, #4a3c9a 0%, #3a2e80 35%, #231b5a 65%, #0f0c2a 100%);
	overflow: hidden;
}

html[data-theme="dark"] .gg-hero {
	background:
		radial-gradient(ellipse at 20% 0%, rgba(123, 108, 255, 0.25) 0, rgba(123, 108, 255, 0) 50%),
		linear-gradient(180deg, #3a2f7c 0%, #2b2266 35%, #19134a 65%, #0b0a1c 100%);
}

/* a self-healing cutting mat: the square grid, a bolder line every five
   squares, a few angle guides, and ruler marks along the top and left edge */
.gg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		url("../img/mat-ruler-x.svg?ver=2.4.0"),
		url("../img/mat-ruler-y.svg?ver=2.4.0"),
		linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(135deg, transparent calc(50% - 0.6px), rgba(255, 255, 255, 0.05) 50%, transparent calc(50% + 0.6px)),
		linear-gradient(45deg, transparent calc(50% - 0.6px), rgba(255, 255, 255, 0.035) 50%, transparent calc(50% + 0.6px));
	background-size: 3840px 26px, 26px 1440px, 240px 240px, 240px 240px, 48px 48px, 48px 48px, 100% 100%, 100% 100%;
	background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
	background-repeat: no-repeat, no-repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat;
	mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 60%, transparent 95%);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 60%, transparent 95%);
	pointer-events: none;
}

.gg-hero__inner {
	position: relative;
	width: 100%;
	max-width: 1260px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 2.5rem;
	align-items: center;
}

.gg-hero__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1rem;
	font-family: var(--gg-font-head);
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.9);
}

.gg-tag {
	display: inline-block;
	padding: 0.3em 0.75em;
	border-radius: 999px;
	background: var(--gg-yellow);
	color: var(--gg-on-yellow);
	font-family: var(--gg-font-head);
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gg-tag--live { background: #7fd99a; }

.gg-hero__title {
	margin: 0 0 1rem;
	font-family: var(--gg-font-head);
	font-weight: 800;
	font-style: italic;
	font-size: clamp(2.8rem, 7vw, 5.6rem);
	line-height: 0.98;
	letter-spacing: -0.02em;
	color: #fff;
}

.gg-hero__title span { display: block; }
.gg-hero__accent { color: var(--gg-yellow); white-space: nowrap; }

.gg-hero__sub {
	max-width: 31em;
	margin: 0 0 1.5rem;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.gg-hero__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	counter-reset: ggstep;
}

.gg-hero__steps li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.4rem 0.9rem 0.4rem 0.45rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: rgba(15, 14, 26, 0.28);
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.92);
}

.gg-hero__steps strong { font-family: var(--gg-font-head); color: #fff; }

.gg-hero__steps .gg-icon {
	width: 34px;
	height: 34px;
	padding: 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	image-rendering: auto;
}

.gg-hero__acts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* The link to the kit helper under the hero buttons (only there when the helper is on). */
.gg-hero__ask {
	margin: 1rem 0 0;
	font-size: 0.98rem;
}

.gg-hero__ask a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	line-height: 1.9;
}

.gg-hero__ask a::before {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.55em;
	margin-right: 0.5em;
	background: var(--gg-yellow);
	vertical-align: 0.05em;
}

.gg-hero__ask strong {
	white-space: nowrap;
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--gg-yellow);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.gg-hero__ask a:hover strong,
.gg-hero__ask a:focus-visible strong {
	color: var(--gg-yellow);
}

.gg-btn--yellow {
	background: var(--gg-yellow);
	border-color: var(--gg-yellow);
	color: var(--gg-on-yellow);
}

.gg-btn--yellow:hover {
	background: #ffe470;
	border-color: #ffe470;
	color: var(--gg-on-yellow);
}

.gg-btn--white {
	background: #fff;
	border-color: #fff;
	color: #14141a;
}

.gg-btn--white:hover {
	background: #ecebff;
	border-color: #ecebff;
	color: #14141a;
}

.gg-hero .gg-btn--ghost {
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.gg-hero .gg-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: #fff;
	color: #fff;
}

.gg-hero__note {
	margin: 1.1rem 0 0;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.75);
}

/* the box */

.gg-hero__box {
	display: flex;
	justify-content: center;
}

.gg-box {
	position: relative;
	width: 100%;
	max-width: 400px;
}

.gg-box--scene {
	aspect-ratio: 932 / 1006;
	max-width: 400px;
	isolation: isolate;
}

/* a soft light behind the box, as if it stands in a lit spot */
.gg-box__light {
	position: absolute;
	left: -45%;
	right: -45%;
	top: -20%;
	bottom: 0;
	z-index: -2;
	background: radial-gradient(ellipse 50% 55% at 50% 45%, rgba(140, 120, 255, 0.30) 0%, rgba(110, 90, 240, 0.12) 45%, rgba(110, 90, 240, 0) 72%);
	-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 88%);
	mask-image: linear-gradient(180deg, #000 55%, transparent 88%);
	pointer-events: none;
}

/* the floor it stands on: a grid running away from the viewer, fading out */
.gg-box__floor {
	position: absolute;
	left: -60%;
	right: -60%;
	top: 92%;
	height: 70%;
	z-index: -1;
	background-image:
		linear-gradient(rgba(170, 150, 255, 0.11) 1px, transparent 1px),
		linear-gradient(90deg, rgba(170, 150, 255, 0.11) 1px, transparent 1px);
	background-size: 40px 40px;
	background-position: center top;
	transform: perspective(520px) rotateX(-70deg);
	transform-origin: 50% 0%;
	-webkit-mask-image: radial-gradient(ellipse 44% 90% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 78%);
	mask-image: radial-gradient(ellipse 44% 90% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 78%);
	pointer-events: none;
}

/* the shadow cast across the floor: light from the front left (the headline),
   so it runs right and a little back, sharp at the base and softer further out */
.gg-box__shadow {
	position: absolute;
	left: 0;
	top: 0;
	width: 181.545%;
	height: 104.97%;
	max-width: none;
	z-index: 0;
	pointer-events: none;
}

.gg-box__locker {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	/* tone it to the room: a touch less saturated and bright than the flat art */
	filter: saturate(0.92) brightness(0.96);
}

/* shading on the box itself, cut to its outline: lit from above, darker
   towards the floor, the same way the background darkens */
.gg-box__shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(180deg, rgba(190, 175, 255, 0.10) 0%, rgba(190, 175, 255, 0) 30%, rgba(10, 7, 35, 0) 50%, rgba(10, 7, 35, 0.42) 100%);
	-webkit-mask-image: var(--gg-box-img);
	mask-image: var(--gg-box-img);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	pointer-events: none;
}

.gg-box__img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
}

.gg-box__img { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4)); }
html[data-theme="dark"] .gg-hero img { filter: none; }

.gg-hero__down {
	position: absolute;
	left: 50%;
	bottom: 3.6rem;
	transform: translateX(-50%);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #fff;
	color: #14141a;
	animation: gg-bob 1.8s ease-in-out infinite;
}

.gg-hero__down svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@keyframes gg-bob {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 6px); }
}

@media (prefers-reduced-motion: reduce) {
	.gg-hero__down { animation: none; }

	html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
	.gg-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.gg-hero__box {
		margin: 0.5rem calc(var(--gg-edge) * -1) 0;
		padding: 1.75rem var(--gg-edge) 0;
	}
	.gg-box, .gg-box--scene { max-width: 300px; }
}

@media (max-width: 600px) {
	.gg-hero { padding: 3rem var(--gg-edge) 3.75rem; }
	.gg-box, .gg-box--scene { max-width: 240px; }
	.gg-hero__title { font-size: 3rem; }
	.gg-hero__sub { font-size: 0.98rem; margin-bottom: 1.1rem; }
	.gg-hero__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; margin-bottom: 1.2rem; }
	.gg-hero__steps li { flex-direction: column; gap: 0.3rem; padding: 0.55rem 0.3rem; border-radius: 12px; font-size: 0.8rem; text-align: center; line-height: 1.25; }
	.gg-hero__steps .gg-icon { width: 30px; height: 30px; }
	.gg-hero__acts .gg-btn { flex: 1 1 auto; }
	.gg-hero__down { display: none; }
}

/* ---------- footer ---------- */

.gg-footer {
	margin-top: 3rem;
	padding-top: 2.5rem;
	padding-bottom: 2rem;
	border-top: 1px solid var(--gg-line);
	background: var(--gg-surface-2);
	color: var(--gg-soft);
	font-size: 0.95rem;
}

.gg-footer__row { gap: 2rem; }
.gg-footer__brand { gap: 1rem; color: var(--gg-ink); }
.gg-footer__badge { width: 96px; height: 96px; display: block; }
.gg-footer__mark { display: block; color: var(--gg-ink); line-height: 0; }
.gg-footer__mark svg { height: 22px; width: auto; }
.gg-footer__tag { margin: 0; color: var(--gg-soft); }

.gg-footer__h {
	margin: 0 0 0.2rem;
	font-family: var(--gg-font-head);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gg-ink);
}

.gg-footer__col p { margin: 0; }
.gg-footer__col a { color: var(--gg-soft); text-decoration: none; }
.gg-footer__col a:hover { color: var(--gg-purple); text-decoration: underline; }

.gg-footer__legal {
	margin: 2rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid var(--gg-line);
	font-size: 0.85rem;
}

/* ---------- posts, 404 ---------- */

.gg-post-card {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--gg-line);
}

.gg-post-card h2 { margin: 0 0 0.25rem; font-size: 1.4rem; }
.gg-post-card h2 a { color: var(--gg-ink); text-decoration: none; }
.gg-post-card h2 a:hover { color: var(--gg-purple); }

.gg-404 { text-align: center; padding-top: 3rem; }
.gg-404__img { width: 96px; height: 96px; margin: 0 auto 1rem; display: block; }
.gg-404 .wp-block-buttons { justify-content: center; }

/* ==========================================================================
   The booking screen and checkout from the GorillaGear Rentals plugin.
   The plugin defines --ggr-* on .ggr-book and on the checkout. Here they are
   re-pointed at the theme tokens so both modes work without editing the plugin.
   Hard-coded whites in the plugin's CSS are overridden for dark mode below.
   ========================================================================== */

.ggr-book,
body.woocommerce-checkout .woocommerce {
	--ggr-purple: var(--gg-purple);
	--ggr-purple-dark: var(--gg-purple-dark);
	--ggr-purple-pale: var(--gg-purple-pale);
	--ggr-yellow: var(--gg-yellow);
	--ggr-ink: var(--gg-ink);
	--ggr-soft: var(--gg-soft);
	--ggr-line: var(--gg-line);
	font-family: var(--gg-font-body);
}

/* Headings and buttons on the booking screen use the brand face. */
.ggr-book .ggr-book__heading,
.ggr-book .ggr-cart__title,
.ggr-book .ggr-modal__box h3,
.ggr-checkout-head .ggr-checkout-head__title,
body.woocommerce-checkout .woocommerce h2,
body.woocommerce-checkout .woocommerce h3,
.ggr-panel__head {
	font-family: var(--gg-font-head) !important;
	letter-spacing: -0.01em;
}

.ggr-book .ggr-book__heading { font-size: 2rem; font-weight: 800; font-style: italic; }

.ggr-book .ggr-btn,
.ggr-book .ggr-cart__toggle,
body.woocommerce-checkout .woocommerce .button,
body.woocommerce-checkout .woocommerce #place_order {
	font-family: var(--gg-font-head);
	font-weight: 700;
	border-radius: var(--gg-radius-sm);
}

.ggr-book .ggr-btn { color: var(--gg-on-purple); }

/* Thumbnails stay on a white tile in both modes: the kit was shot on white. */
.ggr-book .ggr-row__thumb,
.ggr-modal__img { background: var(--gg-thumb); }
.ggr-modal__img { border-radius: var(--gg-radius-sm); }

/* Step numbers and the icons */
.ggr-step { border-radius: var(--gg-radius); }
.ggr-step__n { background: var(--gg-yellow); color: var(--gg-on-yellow); font-family: var(--gg-font-head); }

/* Everything the plugin paints white or near-white, re-pointed at surfaces. */
.ggr-bar,
.ggr-cal,
.ggr-book .ggr-book__list,
.ggr-book__cart,
.ggr-step,
.ggr-book .ggr-chip,
.ggr-book .ggr-search,
.ggr-book .ggr-sort select,
.ggr-modal__box,
.ggr-panel__box,
.ggr-modal__foot,
.ggr-book .ggr-share__input,
.ggr-book .ggr-btn--ghost,
.ggr-book .ggr-chip:hover {
	background: var(--gg-surface);
	color: var(--gg-ink);
}

.ggr-book .ggr-btn--ghost { color: var(--gg-purple); }
.ggr-book .ggr-btn--ghost:hover { background: var(--gg-purple-pale); }
.ggr-book .ggr-chip.is-on { background: var(--gg-purple); color: var(--gg-on-purple); }

.ggr-row.is-in,
.ggr-group__sum { background: var(--gg-surface-2); }

.ggr-bar--empty { background: var(--gg-yellow-bg); }
.ggr-book__msg.is-error { background: var(--gg-warn-bg); color: var(--gg-warn); }
.ggr-row__note { color: var(--gg-warn); }
.ggr-pill { background: var(--gg-surface-2); color: var(--gg-soft); }
.ggr-pill--good, .ggr-group__dates .ggr-pill--good { background: var(--gg-good-bg); color: var(--gg-good); }
.ggr-pill--used { background: var(--gg-yellow-bg); color: var(--gg-warn); }
.ggr-also--modal { background: var(--gg-yellow-bg); }
.ggr-calbox__note { background: var(--gg-surface-2); border-left-color: var(--gg-line); }
.ggr-calbox__note.is-good { background: var(--gg-purple-pale); border-left-color: var(--gg-purple); }
.ggr-calbox__note.is-error { background: var(--gg-warn-bg); color: var(--gg-warn); }
.ggr-cal__note.is-error { color: var(--gg-warn); }
.ggr-book .ggr-share__input { border-color: var(--gg-line-strong); }
.ggr-modal, .ggr-panel { background: var(--gg-scrim); }
.ggr-modal__box, .ggr-panel__box { box-shadow: var(--gg-shadow); }
.ggr-modal__box { border-radius: var(--gg-radius); }
.ggr-key--off { background: repeating-linear-gradient(135deg, var(--gg-line-strong) 0 2px, var(--gg-surface-2) 2px 4px); }

/* The calendar (flatpickr ships white). */
.ggr-cal .flatpickr-calendar,
.ggr-calbox .flatpickr-calendar {
	background: var(--gg-surface);
	color: var(--gg-ink);
	border-color: var(--gg-line);
}

.ggr-cal .flatpickr-months .flatpickr-month,
.ggr-cal .flatpickr-current-month,
.ggr-cal .flatpickr-current-month input.cur-year,
.ggr-cal .flatpickr-weekday,
.ggr-cal .flatpickr-day,
.ggr-cal .flatpickr-months .flatpickr-prev-month,
.ggr-cal .flatpickr-months .flatpickr-next-month {
	color: var(--gg-ink);
	fill: var(--gg-ink);
	background: transparent;
}

.ggr-cal .flatpickr-weekday { color: var(--gg-soft); }
.ggr-cal .flatpickr-current-month .flatpickr-monthDropdown-months { background: var(--gg-surface); color: var(--gg-ink); }
.ggr-cal .flatpickr-day:hover,
.ggr-cal .flatpickr-day.prevMonthDay:hover,
.ggr-cal .flatpickr-day.nextMonthDay:hover { background: var(--gg-surface-2); border-color: var(--gg-surface-2); }
.ggr-cal .flatpickr-day.prevMonthDay,
.ggr-cal .flatpickr-day.nextMonthDay { color: var(--gg-soft); opacity: 0.6; }
.ggr-cal .flatpickr-day.flatpickr-disabled,
.ggr-cal .flatpickr-day.flatpickr-disabled:hover { color: var(--gg-line-strong); background: transparent; }
.ggr-cal .flatpickr-day.inRange {
	background: var(--gg-purple-tint);
	border-color: var(--gg-purple-tint);
	box-shadow: -5px 0 0 var(--gg-purple-tint), 5px 0 0 var(--gg-purple-tint);
	color: var(--gg-ink);
}
.ggr-cal .flatpickr-day.selected,
.ggr-cal .flatpickr-day.startRange,
.ggr-cal .flatpickr-day.endRange { color: var(--gg-on-purple); }
.ggr-cal .flatpickr-day.today { border-color: var(--gg-yellow); }

/* Checkout: the plugin's remaining hard-coded whites. */
body.woocommerce-checkout .woocommerce form.checkout #customer_details,
body.woocommerce-checkout .woocommerce form.checkout #order_review,
body.woocommerce-checkout .woocommerce .woocommerce-order,
body.woocommerce-checkout .woocommerce #payment,
body.woocommerce-checkout .woocommerce .woocommerce-info,
body.woocommerce-checkout .woocommerce .woocommerce-message,
body.woocommerce-checkout .woocommerce table.shop_table tfoot th,
body.woocommerce-checkout .woocommerce table.shop_table tfoot td,
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .woocommerce .select2-container--default .select2-selection--single {
	background: var(--gg-surface) !important;
	color: var(--gg-ink);
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .woocommerce .select2-container--default .select2-selection--single { border-color: var(--gg-line-strong) !important; }

body.woocommerce-checkout .woocommerce table.shop_table thead th { background: var(--gg-surface-2) !important; }
body.woocommerce-checkout .woocommerce table.shop_table tr.ggr-group-row td { background: var(--gg-purple-pale) !important; }
body.woocommerce-checkout .woocommerce .woocommerce-error { background: var(--gg-warn-bg) !important; color: var(--gg-warn) !important; }
.ggr-checkout-head__back { color: var(--gg-purple) !important; }
.ggr-checkout-head .ggr-checkout-head__title { color: var(--gg-ink); font-weight: 800; font-style: italic; }
.ggr-verify { background: var(--gg-yellow-bg); color: var(--gg-ink); border-color: var(--gg-line); }
.ggr-verify--yes { background: var(--gg-good-bg); border-left-color: var(--gg-good); }
.ggr-verify--no { background: var(--gg-bad-bg); border-left-color: var(--gg-bad); }

/* The checkout inside the quick checkout panel: no header or footer. */
html.ggr-embedded .gg-header,
html.ggr-embedded .gg-footer,
html.ggr-embedded .gg-hero { display: none !important; }
html.ggr-embedded .gg-main { padding-top: 0.75rem; }

/* The shop closed banner, if the plugin shows one. */
.ggr-closed-banner { background: var(--gg-yellow); color: var(--gg-on-yellow); }

/* ==========================================================================
   WooCommerce pages (product, account, orders) in both modes.
   ========================================================================== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-button {
	background: var(--gg-purple);
	color: var(--gg-on-purple);
	border: 2px solid var(--gg-purple);
	border-radius: var(--gg-radius-sm);
	font-family: var(--gg-font-head);
	font-weight: 700;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--gg-purple-dark);
	border-color: var(--gg-purple-dark);
	color: var(--gg-on-purple);
}

.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.wc-block-components-product-price { color: var(--gg-purple); font-family: var(--gg-font-head); font-weight: 700; }

.woocommerce div.product .product_title { font-weight: 800; font-style: italic; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	background: var(--gg-surface);
	color: var(--gg-ink);
	border: 1px solid var(--gg-line);
	border-top: 0;
	border-left: 5px solid var(--gg-purple);
	border-radius: var(--gg-radius-sm);
}

.woocommerce-message::before, .woocommerce-info::before { color: var(--gg-purple); }
.woocommerce-error { border-left-color: var(--gg-bad); }
.woocommerce-error::before { color: var(--gg-bad); }

.woocommerce table.shop_table,
.woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce .woocommerce-customer-details address,
.wc-block-components-order-summary,
.woocommerce-orders-table,
.woocommerce div.product .woocommerce-tabs .panel {
	background: var(--gg-surface);
	border-color: var(--gg-line) !important;
	border-radius: var(--gg-radius);
	color: var(--gg-ink);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: var(--gg-line) !important; }

.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0.5rem; border: 1px solid var(--gg-line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 0.55rem 0.8rem; border-radius: var(--gg-radius-sm); color: var(--gg-ink); text-decoration: none; font-family: var(--gg-font-head); font-weight: 500; }
.woocommerce-MyAccount-navigation li a:hover { background: var(--gg-surface-2); color: var(--gg-purple); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--gg-purple-pale); color: var(--gg-purple); }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container--default .select2-selection--single,
.woocommerce-page input[type="text"],
.woocommerce-page input[type="email"],
.woocommerce-page input[type="password"],
.woocommerce-page input[type="tel"],
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="search"], input[type="number"], textarea, select {
	background: var(--gg-surface);
	color: var(--gg-ink);
	border: 1px solid var(--gg-line-strong);
	border-radius: var(--gg-radius-sm);
	padding: 0.6em 0.8em;
	font: inherit;
}

input:focus, textarea:focus, select:focus { border-color: var(--gg-purple); outline: 2px solid color-mix(in srgb, var(--gg-purple) 25%, transparent); outline-offset: 0; }

.woocommerce div.product div.images img,
.woocommerce ul.products li.product a img { background: var(--gg-thumb); border-radius: var(--gg-radius); }

.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--gg-surface-2); border-color: var(--gg-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--gg-soft); font-family: var(--gg-font-head); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--gg-surface); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--gg-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--gg-line); }

.woocommerce-breadcrumb, .woocommerce .woocommerce-breadcrumb a { color: var(--gg-soft); }

/* Hide the leftover PayPal button on item pages until Stripe goes in. */
.ppc-button-wrapper,
.ppcp-messages { display: none !important; }

/* ---------- misc blocks ---------- */

.wp-block-separator { border-color: var(--gg-line); }
.wp-block-table td, .wp-block-table th { border-color: var(--gg-line); }
.wp-block-quote { border-left: 4px solid var(--gg-yellow); }
code, pre { background: var(--gg-surface-2); color: var(--gg-ink); border-radius: 6px; }

/* Images never get inverted; a slightly dimmer photo reads better on dark. */
html[data-theme="dark"] img { filter: brightness(0.92); }
html[data-theme="dark"] .gg-footer__badge,
html[data-theme="dark"] .ggr-row__thumb img,
html[data-theme="dark"] .ggr-modal__img,
html[data-theme="dark"] .woocommerce div.product div.images img { filter: none; }

/* ---------- header on phones ---------- */

@media (max-width: 599px) {
	.gg-header { padding-top: 0.45rem; padding-bottom: 0.45rem; }
	.gg-header__row { flex-wrap: nowrap; gap: 0.5rem; }
	.gg-header__right { flex-wrap: nowrap; gap: 0.5rem; flex: none; }
	.gg-brand { min-width: 0; }
	.gg-brand__mark { height: 28px; max-width: 58vw; }
	.gg-nav .wp-block-navigation__responsive-container-open {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border: 1px solid var(--gg-line);
		border-radius: 999px;
		background: var(--gg-surface);
	}
	.gg-nav .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; }
}

/* ---------- hero text centred on phones ---------- */

@media (max-width: 900px) {
	.gg-hero__copy { text-align: center; }
	.gg-hero__sub { margin-left: auto; margin-right: auto; }
	.gg-hero__acts { justify-content: center; }
}

/* ---------- one side margin for everything ----------
   The header, the hero and the booking screen all line up on the same edge. */

:root { --gg-edge: 2rem; }
@media (max-width: 900px) { :root { --gg-edge: 1.5rem; } }
@media (max-width: 600px) { :root { --gg-edge: 1.25rem; } }

header.gg-header,
footer.gg-footer {
	padding-left: var(--gg-edge);
	padding-right: var(--gg-edge);
}

.gg-header__row,
.gg-hero__inner,
.gg-footer__row,
.gg-footer__legal { max-width: 1260px; margin-left: auto; margin-right: auto; }

/* WordPress wraps the page content in a 1260 px box with its own padding.
   On the home page the booking screen sets its own width instead, so its
   edges match the header and the hero exactly. */
main.gg-main--home { padding-left: 0; padding-right: 0; }
main.gg-main--home > .wp-block-post-content {
	max-width: none !important;
	padding-left: 0;
	padding-right: 0;
}
main.gg-main--home > .wp-block-post-content > .ggr-book {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(1260px + var(--gg-edge) * 2) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--gg-edge);
	padding-right: var(--gg-edge);
}

@media (max-width: 600px) {
	.gg-main--home .ggr-chips { margin-left: calc(var(--gg-edge) * -1); margin-right: calc(var(--gg-edge) * -1); padding-left: var(--gg-edge); padding-right: var(--gg-edge); }
}

/* WordPress puts a 20 px gap between the header, the hero and the page.
   The hero should sit straight under the header, and the page straight under the hero. */
.wp-site-blocks > .gg-hero,
.wp-site-blocks > main { margin-block-start: 0; }

/* ---------- entrance animations ----------
   CSS only, so nothing stays hidden if a script fails. */

@keyframes gg-rise {
	from { opacity: 0; transform: translateY(34px); }
	to { opacity: 1; transform: none; }
}

@keyframes gg-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.gg-hero__title span { animation: gg-rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.gg-hero__title span:nth-child(2) { animation-delay: 0.45s; }
.gg-hero__sub { animation: gg-rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both; }
.gg-hero__acts { animation: gg-rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both; }
.gg-hero__ask { animation: gg-rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.35s both; }
.gg-hero__down { animation: gg-bob 1.8s ease-in-out infinite, gg-fade 1s ease-out 1.9s both; }

/* buttons lift slightly under the pointer */
.gg-btn { transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.gg-hero .gg-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(5, 3, 20, 0.35); }

/* sections further down fade up as they scroll into view (class added by theme.js) */
.gg-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.gg-reveal.is-in { opacity: 1; transform: none; }
.ggr-step.gg-reveal:nth-child(2) { transition-delay: 0.1s; }
.ggr-step.gg-reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
	.gg-hero__title span, .gg-hero__sub, .gg-hero__acts, .gg-hero__ask, .gg-hero__down { animation: none; }
	.gg-reveal { opacity: 1; transform: none; transition: none; }
}

/* WooCommerce's header icons, in case a saved header still has them */
.gg-header .wp-block-woocommerce-mini-cart,
.gg-header .wp-block-woocommerce-customer-account { display: none !important; }

/* ---------- texture (2.3.2): a well-used cutting mat. Fine knife cuts,
   mostly along the grid, that fade in and out where the mat has healed, and a
   few soft handling marks, with a very light grain. The box only gets the
   grain, so it sits on the same surface without looking dirty. */

.gg-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: url("../img/hero-mat.webp?ver=2.4.0");
	background-size: cover;
	background-position: center;
	opacity: 1;
	pointer-events: none;
}

html[data-theme="light"] .gg-hero::after { opacity: 0.5; }

.gg-hero__inner { z-index: 1; }


/* headline a little higher on desktop */
@media (min-width: 901px) {
	.gg-hero__copy { padding-bottom: 3.5rem; }
}

/* ---------- the box as a blueprint (2.4) ---------- */
.gg-box__plan {
	position: absolute;
	z-index: 1;
	left: -12.876%;
	top: -6.958%;
	width: 125.751%;
	height: 120.278%;
	max-width: none;
	display: block;
}
.gg-box--plan .gg-box__shadow { opacity: 0.6; }

/* ---------- hero stays put, the kit list slides up over it (2.5) ---------- */
.home .gg-hero, .gg-hero--pinned {
	position: sticky;
	top: var(--gg-hero-top, 0px);
	z-index: 0;
}
/* the dark comes up as the page covers it */
.gg-hero__dim {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: #07061a;
	opacity: 0;
	pointer-events: none;
	will-change: opacity;
}
.wp-site-blocks > .gg-main--home,
.wp-site-blocks > main.gg-main--home {
	position: relative;
	z-index: 1;
	background: var(--gg-bg);
	border-radius: 28px 28px 0 0;
	box-shadow: 0 -12px 30px rgba(4, 3, 16, 0.5);
	margin-top: -28px;
}
/* a small grab bar so it reads as a sheet sliding over */
.wp-site-blocks > main.gg-main--home::before {
	content: "";
	display: block;
	width: 46px;
	height: 5px;
	margin: 12px auto 0;
	border-radius: 3px;
	background: color-mix(in srgb, var(--gg-ink) 22%, transparent);
}
.wp-site-blocks > footer, .wp-site-blocks > .gg-footer { position: relative; z-index: 1; background: var(--gg-bg); }

/* ---------- Using the box: a plain panel under the booking steps (2.6.8) ---------- */
.gg-usebox {
	position: relative;
	margin: 1.25rem 0 1.75rem;
	border: 1px solid var(--gg-line);
	border-radius: 14px;
	color: var(--gg-ink);
	background: var(--gg-surface);
	overflow: hidden;
}
.gg-usebox__head {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 1rem;
	padding: 1.15rem 3.5rem 1.15rem 1.4rem;
	cursor: pointer;
	list-style: none;
}
.gg-usebox__head::-webkit-details-marker { display: none; }
.gg-usebox__tag {
	font-family: "Courier New", Courier, monospace;
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	color: var(--gg-on-yellow);
	background: var(--gg-yellow);
	padding: 0.15rem 0.5rem;
	border-radius: 3px;
	align-self: center;
}
.gg-usebox__title { font-size: 1.35rem; font-weight: 800; font-style: italic; }
.gg-usebox__soon {
	font-family: "Courier New", Courier, monospace;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gg-soft);
}
.gg-usebox__toggle {
	position: absolute;
	right: 1.3rem;
	top: 50%;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	border: 1px solid var(--gg-line-strong);
	border-radius: 50%;
}
.gg-usebox__toggle::before, .gg-usebox__toggle::after {
	content: "";
	position: absolute;
	left: 7px;
	right: 7px;
	top: 12px;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.25s ease;
}
.gg-usebox__toggle::after { transform: rotate(90deg); }
.gg-usebox[open] .gg-usebox__toggle::after { transform: rotate(0deg); }
.gg-usebox__body { position: relative; padding: 0 1.4rem 1.4rem; }
.gg-usebox__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.9rem;
}
.gg-usebox__step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1rem 1.1rem;
	border: 1px solid var(--gg-line);
	border-radius: 10px;
	background: var(--gg-surface-2);
}
.gg-usebox__n {
	position: absolute;
	top: 0.8rem;
	right: 0.9rem;
	font-family: "Courier New", Courier, monospace;
	font-weight: 700;
	font-size: 0.8rem;
	color: var(--gg-soft);
}
.gg-usebox__icon { width: 42px; height: 42px; color: var(--gg-purple); margin-bottom: 0.25rem; }
.gg-usebox__step strong { font-size: 1.02rem; }
.gg-usebox__step span:not(.gg-usebox__n) { font-size: 0.9rem; line-height: 1.45; color: var(--gg-soft); }
.gg-usebox__facts {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0.9rem 0 0;
	border-top: 1px solid var(--gg-line);
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 2rem;
	font-size: 0.9rem;
	color: var(--gg-soft);
}
.gg-usebox__facts strong { color: var(--gg-ink); }
.gg-usebox__facts a { color: var(--gg-purple); font-weight: 700; }
@media (max-width: 900px) {
	.gg-usebox__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.gg-usebox__steps { grid-template-columns: 1fr; }
	.gg-usebox__step { display: grid; grid-template-columns: 42px 1fr; column-gap: 0.9rem; }
	.gg-usebox__icon { grid-row: span 2; margin: 0; }
	.gg-usebox__facts { flex-direction: column; }
	.gg-usebox__head { padding-left: 1.1rem; }
	.gg-usebox__body { padding: 0 1.1rem 1.1rem; }
}

/* ---------- scroll effect, tuned for speed (2.6.1) ----------
   Only opacity and transform change while scrolling, on their own layers, so
   the browser never has to repaint the textured hero. Where the browser can
   run it from the scroll position itself (Chrome, Edge, newer Safari) no
   script runs at all; elsewhere theme.js sets the same two values. */
.home .gg-hero, .gg-hero--pinned { contain: paint; will-change: transform; }
.gg-hero__inner { will-change: opacity, transform; }
@keyframes gg-hero-out {
	to { opacity: 0; transform: translateY(-40px); }
}
@keyframes gg-hero-dim {
	to { opacity: 0.7; }
}
@supports (animation-timeline: scroll()) {
	.gg-hero--pinned .gg-hero__inner {
		animation: gg-hero-out linear both;
		animation-timeline: scroll(root);
		animation-range: 0 75vh;
	}
	.gg-hero--pinned .gg-hero__dim {
		animation: gg-hero-dim linear both;
		animation-timeline: scroll(root);
		animation-range: 0 100vh;
	}
}
@media (prefers-reduced-motion: reduce) {
	.gg-hero--pinned .gg-hero__inner { animation: none; opacity: 1; transform: none; }
}

/* ---------- notices (2.6.5): WooCommerce's own banner colours are pale, which
   left white text on pale pink in dark mode. Use the theme's surfaces instead. ---------- */
.wc-block-components-notice-banner,
.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner.is-success,
.wc-block-components-notice-banner.is-info,
.wc-block-components-notice-banner.is-warning {
	background-color: var(--gg-surface) !important;
	color: var(--gg-ink) !important;
	border-color: var(--gg-line) !important;
	border-left: 5px solid var(--gg-purple) !important;
}
.wc-block-components-notice-banner.is-error { background-color: var(--gg-bad-bg) !important; border-left-color: var(--gg-bad) !important; }
.wc-block-components-notice-banner.is-warning { background-color: var(--gg-warn-bg) !important; border-left-color: var(--gg-warn) !important; }
.wc-block-components-notice-banner .wc-block-components-notice-banner__content,
.wc-block-components-notice-banner .wc-block-components-notice-banner__content a { color: inherit !important; }
.wc-block-components-notice-banner > svg { fill: currentColor !important; background-color: transparent !important; }
.wc-block-components-notice-banner.is-error > svg { color: var(--gg-bad); }
.wc-block-components-notice-banner.is-info > svg,
.wc-block-components-notice-banner.is-success > svg { color: var(--gg-purple); }

/* ---------- My account and order pages (2.6.6): room inside the panels, and
   section headings at a sensible size ---------- */
.woocommerce-account .woocommerce-MyAccount-content {
	box-sizing: border-box;
	padding: 1.5rem 1.6rem 1.75rem;
	border: 1px solid var(--gg-line);
}
.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-account .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title,
.woocommerce .woocommerce-order h2,
.woocommerce .woocommerce-order-details__title,
.woocommerce .woocommerce-customer-details h2,
.woocommerce .woocommerce-customer-details .woocommerce-column__title {
	margin: 1.6rem 0 0.7rem;
	font-size: 1.3rem;
	line-height: 1.25;
	font-weight: 700;
	font-style: normal;
}

/* address cards */
.woocommerce .woocommerce-customer-details address,
.woocommerce-account .woocommerce-Address address {
	box-sizing: border-box;
	padding: 1rem 1.2rem;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-sm);
	font-style: normal;
	line-height: 1.6;
}
.woocommerce .woocommerce-customer-details address p { margin: 0.6rem 0 0; }
.woocommerce .woocommerce-customer-details,
.woocommerce .woocommerce-order-details { margin-bottom: 1.5rem; }

/* the two address columns on the Addresses page */
.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after { content: none; }
.woocommerce-account .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; }
.woocommerce-account .woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1rem; margin-bottom: 0.6rem; }
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 { margin: 0; float: none; }
.woocommerce-account .woocommerce-Address-title .edit { float: none; font-size: 0.9rem; }

/* tables inside the panels */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td,
.woocommerce .woocommerce-order table.shop_table th,
.woocommerce .woocommerce-order table.shop_table td { padding: 0.7rem 0.9rem; }

@media (max-width: 600px) {
	.woocommerce-account .woocommerce-MyAccount-content { padding: 1.1rem 1rem 1.3rem; }
}
.woocommerce-account .woocommerce-Address-title::before,
.woocommerce-account .woocommerce-Address-title::after { content: none; }
.woocommerce-account .woocommerce-Addresses { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }


/* ---------- 2.8: a wider My account, so bookings and their options have room ---------- */
body.woocommerce-account main > .gg-page-head,
body.woocommerce-account main > .entry-content,
body.woocommerce-account main .entry-content > .woocommerce {
	max-width: min(1180px, calc(100vw - 2.5rem)) !important;
}
body.woocommerce-account main > .gg-page-head > * { max-width: none !important; margin-left: 0 !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation { width: 210px; }
body.woocommerce-account .woocommerce-MyAccount-content { width: calc(100% - 230px); }
@media (max-width: 768px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation,
	body.woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
}

/* ==========================================================================
   2.8.2: polish pass 1 (formatting fixes, no new motion)
   ========================================================================== */

/* The footer's top margin used to poke out through its wrapper, leaving a
   band where the pinned hero showed through. flow-root keeps the margin
   inside the wrapper, which already has the page background. */
.wp-site-blocks > footer { display: flow-root; margin-block-start: 0; }

/* "In the kit", "Works with" and "Good for" (item page and the details
   pop-up). The plugin paints these near-white. */
.ggr-kit {
	background: var(--gg-surface);
	border-color: var(--gg-line);
	color: var(--gg-ink);
	border-radius: var(--gg-radius);
}
.ggr-kit .ggr-kit__title,
.ggr-modal__sub { color: var(--gg-soft); }
.ggr-kit__list li { border-bottom-color: var(--gg-line); }
.ggr-kit__qty { color: var(--gg-ink); }
.ggr-kit__tags li {
	background: var(--gg-surface-2);
	border-color: var(--gg-line);
	color: var(--gg-ink);
}

/* On the item page the kit box matches the description's width. */
.single-product main .ggr-kit {
	box-sizing: border-box;
	max-width: var(--wp--style--global--wide-size, 1260px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* The hire dates picker on the item page. */
.ggr-picker__summary {
	background: var(--gg-purple-pale);
	border-left-color: var(--gg-purple);
	color: var(--gg-ink);
}
.ggr-picker__sooner { color: var(--gg-soft); font-size: 0.9rem; }

.ggr-picker .flatpickr-calendar {
	background: var(--gg-surface);
	color: var(--gg-ink);
	border-color: var(--gg-line);
}
.ggr-picker .flatpickr-months .flatpickr-month,
.ggr-picker .flatpickr-current-month,
.ggr-picker .flatpickr-current-month input.cur-year,
.ggr-picker .flatpickr-weekday,
.ggr-picker .flatpickr-day,
.ggr-picker .flatpickr-months .flatpickr-prev-month,
.ggr-picker .flatpickr-months .flatpickr-next-month {
	color: var(--gg-ink);
	fill: var(--gg-ink);
	background: transparent;
}
.ggr-picker .flatpickr-weekday { color: var(--gg-soft); }
.ggr-picker .flatpickr-current-month .flatpickr-monthDropdown-months { background: var(--gg-surface); color: var(--gg-ink); }
.ggr-picker .flatpickr-day:hover { background: var(--gg-surface-2); border-color: var(--gg-surface-2); }
.ggr-picker .flatpickr-day.prevMonthDay,
.ggr-picker .flatpickr-day.nextMonthDay { color: var(--gg-soft); opacity: 0.6; }
.ggr-picker .flatpickr-day.flatpickr-disabled,
.ggr-picker .flatpickr-day.flatpickr-disabled:hover { color: var(--gg-line-strong); background: transparent; }
.ggr-picker .flatpickr-day.inRange {
	background: var(--gg-purple-tint);
	border-color: var(--gg-purple-tint);
	box-shadow: -5px 0 0 var(--gg-purple-tint), 5px 0 0 var(--gg-purple-tint);
	color: var(--gg-ink);
}
.ggr-picker .flatpickr-day.selected,
.ggr-picker .flatpickr-day.startRange,
.ggr-picker .flatpickr-day.endRange {
	background: var(--gg-purple);
	border-color: var(--gg-purple);
	color: var(--gg-on-purple);
}
.ggr-picker .flatpickr-day.today { border-color: var(--gg-yellow); }

/* Map controls (Find a GorillaBox and the mini map in "Using the box"). */
.leaflet-bar { border-color: var(--gg-line) !important; box-shadow: var(--gg-shadow) !important; }
.leaflet-bar a,
.leaflet-bar a:hover,
.leaflet-touch .leaflet-bar a {
	background: var(--gg-surface);
	color: var(--gg-ink);
	border-bottom-color: var(--gg-line);
}
.leaflet-bar a:hover { background: var(--gg-surface-2); color: var(--gg-purple); }
.leaflet-container .leaflet-control-attribution {
	background: color-mix(in srgb, var(--gg-surface) 85%, transparent);
	color: var(--gg-soft);
}
.leaflet-container .leaflet-control-attribution a { color: var(--gg-soft); }

/* Related products on the item page: buttons line up, titles in ink. */
.wc-block-product-template > li.wc-block-product {
	display: flex;
	flex-direction: column;
}
.wc-block-product-template > li.wc-block-product .ggr-choose-dates,
.wc-block-product-template > li.wc-block-product .wp-block-button {
	margin-top: auto;
}
.wc-block-product .wp-block-post-title a,
.wc-block-product h3 a {
	color: var(--gg-ink);
	text-decoration: none;
}
.wc-block-product .wp-block-post-title a:hover,
.wc-block-product h3 a:hover { color: var(--gg-purple); }
.wc-block-product a.button.ggr-choose-dates {
	align-self: center;
	display: inline-block;
	padding: 0.6em 1.2em;
	border: 1px solid var(--gg-purple);
	border-radius: var(--gg-radius-sm);
	background: var(--gg-purple);
	color: var(--gg-on-purple);
	font-family: var(--gg-font-head);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
}
.wc-block-product a.button.ggr-choose-dates:hover,
.wc-block-product a.button.ggr-choose-dates:focus-visible {
	background: var(--gg-purple-dark);
	border-color: var(--gg-purple-dark);
}

/* Tablets: the scroll arrow sat on top of the box drawing. Phones already hide it. */
@media (max-width: 900px) {
	.gg-hero__down { display: none; }
}

/* ==========================================================================
   2.8.4: motion pass 1. Only opacity and transform move; colours fade.
   Everything here is switched off for people who ask for less motion.
   ========================================================================== */

:root {
	--gg-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--gg-fast: 150ms;
	--gg-mid: 250ms;
}

/* Buttons, chips and the choices at checkout: colours fade, a small lift
   under the pointer, a small press when clicked. */
.ggr-book .ggr-btn,
.ggr-book .ggr-chip,
.ggr-modal .ggr-btn,
.ggr-panel .ggr-btn,
.ggr-day,
.ggr-hour,
.ggr-boxopt,
.gg-btn,
.gg-mode,
[data-gg-mode] {
	transition:
		background-color var(--gg-fast) ease,
		border-color var(--gg-fast) ease,
		color var(--gg-fast) ease,
		box-shadow var(--gg-fast) ease,
		transform var(--gg-fast) var(--gg-ease);
}

@media (hover: hover) {
	.ggr-book .ggr-btn:hover,
	.ggr-modal .ggr-btn:hover,
	.ggr-book .ggr-chip:hover,
	.ggr-day:hover,
	.ggr-hour:hover {
		transform: translateY(-1px);
	}
}

.ggr-book .ggr-btn:active,
.ggr-modal .ggr-btn:active,
.ggr-panel .ggr-btn:active,
.ggr-book .ggr-chip:active,
.ggr-day:active,
.ggr-hour:active,
.gg-btn:active,
[data-gg-mode]:active {
	transform: scale(0.97);
	transition-duration: 60ms;
}

.ggr-book .ggr-btn[disabled],
.ggr-book .ggr-btn[disabled]:hover,
.ggr-book .ggr-btn[disabled]:active { transform: none; }

/* Kit rows: a soft highlight under the pointer and the photo leans in. */
.ggr-book .ggr-row { transition: background-color var(--gg-fast) ease; }
.ggr-book .ggr-row__thumb { overflow: hidden; }
.ggr-book .ggr-row__thumb img { transition: transform var(--gg-mid) var(--gg-ease); }

@media (hover: hover) {
	.ggr-book .ggr-row:not(.is-off):hover { background: var(--gg-surface-2); }
	.ggr-book .ggr-row:not(.is-off):hover .ggr-row__thumb img { transform: scale(1.06); }
}

/* Pop-ups (item details and the dates calendar): the backdrop fades in and
   the box rises into place. They use [hidden], so this runs each time one opens. */
@keyframes gg-scrim-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes gg-box-in {
	from { opacity: 0; transform: translateY(14px) scale(0.98); }
	to { opacity: 1; transform: none; }
}

.ggr-modal:not([hidden]) { animation: gg-scrim-in 200ms ease-out both; }
.ggr-modal:not([hidden]) .ggr-modal__box,
.ggr-modal--cal:not([hidden]) > * { animation: gg-box-in var(--gg-mid) var(--gg-ease) both; }

/* The quick checkout already rises in (plugin); fade its backdrop too. */
.ggr-panel:not([hidden]) { animation: gg-scrim-in 200ms ease-out both; }

/* Using the box: the plus turns into a minus smoothly, and the inside
   fades up when it opens. */
.gg-usebox__toggle::after { transition: transform var(--gg-mid) var(--gg-ease); }
.gg-usebox__head { transition: background-color var(--gg-fast) ease; }
.gg-usebox[open] .gg-usebox__body { animation: gg-box-in 350ms var(--gg-ease) both; }
.gg-usebox[open] .gg-usebox__step { animation: gg-box-in 400ms var(--gg-ease) both; }
.gg-usebox[open] .gg-usebox__step:nth-child(2) { animation-delay: 50ms; }
.gg-usebox[open] .gg-usebox__step:nth-child(3) { animation-delay: 100ms; }
.gg-usebox[open] .gg-usebox__step:nth-child(4) { animation-delay: 150ms; }

/* Header and footer links: colour fades rather than snapping. */
.gg-header a,
.gg-footer a { transition: color var(--gg-fast) ease; }

/* Light and dark: theme.js swaps them inside a view transition, which
   cross-fades a snapshot of the page. Keep it short. */
::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 280ms;
	animation-timing-function: ease;
}

@media (prefers-reduced-motion: reduce) {
	.ggr-book .ggr-btn,
	.ggr-book .ggr-chip,
	.ggr-modal .ggr-btn,
	.ggr-panel .ggr-btn,
	.ggr-day,
	.ggr-hour,
	.ggr-boxopt,
	.gg-btn,
	[data-gg-mode],
	.ggr-book .ggr-row,
	.ggr-book .ggr-row__thumb img,
	.gg-usebox__toggle::after { transition: none; }

	.ggr-book .ggr-btn:hover, .ggr-book .ggr-btn:active,
	.ggr-book .ggr-chip:hover, .ggr-book .ggr-chip:active,
	.ggr-day:hover, .ggr-day:active,
	.ggr-hour:hover, .ggr-hour:active,
	.gg-btn:active, [data-gg-mode]:active,
	.ggr-book .ggr-row:hover .ggr-row__thumb img { transform: none; }

	.ggr-modal:not([hidden]),
	.ggr-modal:not([hidden]) .ggr-modal__box,
	.ggr-modal--cal:not([hidden]) > *,
	.ggr-panel:not([hidden]),
	.gg-usebox[open] .gg-usebox__body,
	.gg-usebox[open] .gg-usebox__step { animation: none; }
}

/* ==========================================================================
   2.8.5: sticky category chips, the phone menu, map pins
   ========================================================================== */

/* ---------- 2.8.7: search and sort on their own row above the chips ----------
   (Stops them pushing the last chips onto a third line on desktop.) */
.ggr-book .ggr-book__filters .ggr-book__tools {
	order: -2;
	flex: 1 1 100%;
	justify-content: flex-end;
}
.ggr-book .ggr-book__filters .ggr-asksearch { order: -1; flex: 1 1 100%; }
.ggr-book .ggr-book__filters .ggr-chips { flex: 1 1 100%; }
@media (max-width: 860px) {
	.ggr-book .ggr-book__filters .ggr-book__tools { justify-content: stretch; }
}

/* ---------- 2.8.7: the pinned shop bar ----------
   theme.js builds it from copies of the plugin's own controls and shows it
   (.is-on) once the real ones have scrolled off the top. */
.gg-shopbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 400;
	background: color-mix(in srgb, var(--gg-bg) 96%, transparent);
	border-bottom: 1px solid var(--gg-line);
	box-shadow: 0 10px 24px rgba(4, 3, 16, 0.32);
	transform: translateY(calc(-100% - 30px));
	visibility: hidden;
	transition: transform 260ms var(--gg-ease), visibility 0s linear 260ms;
}
html[data-theme="light"] .gg-shopbar { box-shadow: 0 8px 20px rgba(20, 20, 26, 0.08); }
.gg-shopbar.is-on {
	transform: none;
	visibility: visible;
	transition: transform 260ms var(--gg-ease), visibility 0s;
}

.gg-shopbar__in {
	box-sizing: border-box;
	max-width: calc(1260px + var(--gg-edge) * 2);
	margin: 0 auto;
	padding: 0.55rem var(--gg-edge) 0.5rem;
	display: grid;
	gap: 0.45rem;
}

.gg-shopbar__row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

/* the dates: one line, then the Change dates button */
.gg-shopbar__dates {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-width: 0;
	flex: 1 1 auto;
}
.gg-shopbar__range {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-family: var(--gg-font-head);
	font-weight: 700;
	font-size: 0.98rem;
	color: var(--gg-ink);
}
.gg-shopbar__range .ggr-pill { font-size: 0.75rem; vertical-align: 0.1em; }
.ggr-book .gg-shopbar__dates .ggr-btn {
	flex: none;
	padding: 0.4em 0.9em;
	font-size: 0.88rem;
	white-space: nowrap;
}
/* no dates yet: the yellow points at the button */
.gg-shopbar__dates.is-empty::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	background: var(--gg-yellow);
}

.gg-shopbar__tools {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex: none;
}
.ggr-book .gg-shopbar__tools .ggr-search { width: 220px; padding: 0.4em 0.75em; }
.ggr-book .gg-shopbar__tools .ggr-sort select { padding-top: 0.4em; padding-bottom: 0.4em; }

/* the chips: always one line, swipe or use the arrows, and a soft fade on
   any side that has more chips */
.gg-shopbar__chips { position: relative; min-width: 0; }
.ggr-book .gg-shopbar__chips .ggr-chips {
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
	margin: 0;
	padding: 0 0 2px;
	--gg-fade-l: 0px;
	--gg-fade-r: 0px;
	-webkit-mask: linear-gradient(to right, transparent 0, #000 var(--gg-fade-l), #000 calc(100% - var(--gg-fade-r)), transparent 100%);
	mask: linear-gradient(to right, transparent 0, #000 var(--gg-fade-l), #000 calc(100% - var(--gg-fade-r)), transparent 100%);
}
.gg-shopbar__chips.can-left .ggr-chips { --gg-fade-l: 56px; }
.gg-shopbar__chips.can-right .ggr-chips { --gg-fade-r: 56px; }

.gg-shopbar__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-top: -16px;
	padding: 0;
	border: 1px solid var(--gg-line-strong);
	border-radius: 999px;
	background: var(--gg-surface);
	color: var(--gg-ink);
	box-shadow: 0 2px 8px rgba(4, 3, 16, 0.35);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: scale(0.8);
	transition: opacity var(--gg-fast) ease, transform var(--gg-fast) var(--gg-ease), background-color var(--gg-fast) ease, color var(--gg-fast) ease;
}
.gg-shopbar__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gg-shopbar__arrow--left { left: 0; }
.gg-shopbar__arrow--right { right: 0; }
.gg-shopbar__chips.can-left .gg-shopbar__arrow--left,
.gg-shopbar__chips.can-right .gg-shopbar__arrow--right {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}
.gg-shopbar__arrow:hover { background: var(--gg-purple); border-color: var(--gg-purple); color: var(--gg-on-purple); }
.gg-shopbar__arrow:active { transform: scale(0.92); }
html[data-theme="light"] .gg-shopbar__arrow { box-shadow: 0 2px 8px rgba(20, 20, 26, 0.12); }
.ggr-book .gg-shopbar__chips .ggr-chips::-webkit-scrollbar { display: none; }
.ggr-book .gg-shopbar__chips .ggr-chip { flex: none; white-space: nowrap; }

/* phones: dates, then search and sort, then the chips */
@media (max-width: 700px) {
	.gg-shopbar__row { flex-wrap: wrap; gap: 0.45rem; }
	.gg-shopbar__dates { flex: 1 1 100%; }
	.gg-shopbar__tools { flex: 1 1 100%; }
	.ggr-book .gg-shopbar__tools .ggr-search { flex: 1 1 auto; width: auto; min-width: 0; }
	.gg-shopbar__tools .ggr-sort > span { display: none; }
	.gg-shopbar__range { font-size: 0.92rem; }
}

/* "Your booking" on desktop sits below the bar while it is showing. */
@media (min-width: 861px) {
	.ggr-book .ggr-book__cart { transition: top 260ms var(--gg-ease); }
	html.gg-shopbar-on .ggr-book .ggr-book__cart { top: calc(var(--gg-shopbar-h, 0px) + 1rem); }
	html.gg-shopbar-on body.admin-bar .ggr-book .ggr-book__cart { top: calc(var(--gg-shopbar-h, 0px) + 1rem + 32px); }
}

@media (prefers-reduced-motion: reduce) {
	.gg-shopbar, .gg-shopbar.is-on, .ggr-book .ggr-book__cart, .gg-shopbar__arrow { transition: none; }
}

/* ---------- the phone menu ---------- */

/* "Book your kit" lives in the menu but only shows in the phone menu. */
.gg-nav .gg-nav-cta { display: none; }

.gg-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.1rem var(--gg-edge) 2rem;
	animation: gg-menu-in 280ms var(--gg-ease) both;
}
@keyframes gg-menu-in {
	from { opacity: 0; transform: translateX(28px); }
	to { opacity: 1; transform: none; }
}

/* the wordmark at the top, painted in the text colour */
.gg-nav .is-menu-open .wp-block-navigation__responsive-dialog { position: relative; }
.gg-nav .is-menu-open .wp-block-navigation__responsive-dialog::before {
	content: "";
	position: absolute;
	top: 0.35rem;
	left: 0;
	width: 168px;
	height: 26px;
	background: var(--gg-ink);
	-webkit-mask: url("../img/wordmark.svg") no-repeat left center / contain;
	mask: url("../img/wordmark.svg") no-repeat left center / contain;
}

.gg-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch !important;
	padding-top: 3.25rem;
}
.gg-nav .is-menu-open .wp-block-navigation__container {
	align-items: stretch !important;
	gap: 0 !important;
	width: 100%;
}
.gg-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid var(--gg-line);
	animation: gg-box-in 320ms var(--gg-ease) both;
}
.gg-nav .is-menu-open .wp-block-navigation-item:nth-child(1) { animation-delay: 60ms; }
.gg-nav .is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: 100ms; }
.gg-nav .is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: 140ms; }
.gg-nav .is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: 180ms; }
.gg-nav .is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: 220ms; }
.gg-nav .is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: 270ms; }

.gg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
	box-sizing: border-box;
	display: block;
	width: 100%;
	padding: 0.6em 0 !important;
	border-bottom: 0;
	font-size: 1.55rem;
	font-weight: 700;
	text-align: left;
}
.gg-nav .is-menu-open .current-menu-item > a { color: var(--gg-purple); }

.gg-nav .is-menu-open .gg-nav-cta {
	display: block;
	margin-top: 1.75rem;
	border-bottom: 0;
}
.gg-nav .wp-block-navigation__responsive-container.is-menu-open .gg-nav-cta a {
	padding: 0.85em 1em !important;
	border-radius: var(--gg-radius);
	background: var(--gg-purple);
	color: var(--gg-on-purple);
	font-size: 1.1rem;
	text-align: center;
}
.gg-nav .wp-block-navigation__responsive-container.is-menu-open .gg-nav-cta a:hover { background: var(--gg-purple-dark); }

/* ---------- map pins drop in when a map opens ----------
   Leaflet moves the marker itself with transform, so the drop uses the
   separate translate property on the pin inside it. */
@keyframes gg-pin-drop {
	from { translate: 0 -22px; opacity: 0; }
	60% { translate: 0 3px; opacity: 1; }
	to { translate: 0 0; opacity: 1; }
}
.gg-usebox[open] .ggr-pin span,
.ggr-boxmap .ggr-pin span { animation: gg-pin-drop 460ms var(--gg-ease) both; }
.leaflet-marker-pane > .ggr-pin:nth-child(2) span { animation-delay: 40ms; }
.leaflet-marker-pane > .ggr-pin:nth-child(3) span { animation-delay: 80ms; }
.leaflet-marker-pane > .ggr-pin:nth-child(4) span { animation-delay: 120ms; }
.leaflet-marker-pane > .ggr-pin:nth-child(5) span { animation-delay: 160ms; }
.leaflet-marker-pane > .ggr-pin:nth-child(6) span { animation-delay: 200ms; }
.leaflet-marker-pane > .ggr-pin:nth-child(7) span { animation-delay: 240ms; }
.leaflet-marker-pane > .ggr-pin:nth-child(8) span { animation-delay: 280ms; }
.leaflet-marker-pane > .ggr-pin:nth-child(9) span { animation-delay: 320ms; }
.leaflet-marker-pane > .ggr-pin:nth-child(10) span { animation-delay: 360ms; }
.leaflet-marker-pane > .ggr-pin:nth-child(n+11) span { animation-delay: 400ms; }
/* a pin that has just been picked pops straight away */
.leaflet-marker-pane > .ggr-pin.is-on span { animation-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
	.gg-nav .wp-block-navigation__responsive-container.is-menu-open,
	.gg-nav .is-menu-open .wp-block-navigation-item,
	.gg-usebox[open] .ggr-pin span,
	.ggr-boxmap .ggr-pin span { animation: none; }
}

/* ---------- 2.8.9: the box plots itself in (secondary motion added in 2.8.10) ----------
   The hero drawing is in the page itself (gg_box_picture), so its parts can
   be timed. Each part says when it starts (--d) and how long it takes (--t)
   in the drawing (tools/make_blueprint_svg.py); this section is only how it
   moves. The entrance only runs when the wrapper has gg-plot-run, which is
   set by the "Drawing the box" choice in Appearance, Customize, GorillaBox.
   Only stroke-dashoffset, opacity, transform, clip-path and fill change, on
   a drawing about 400 px wide. The story:
   0.1s floor, 0.35s outline, 1.1s light, 1.25s the shadow is cast,
   1.2 to 2s details, 1.7s the keypad lands with a bounce and the box takes
   the knock, 1.9s the antenna springs, dimensions spring out, 2.2s the status
   panel boots, 2.85s rings leave the antenna as it comes online, 3.6s the
   panel flickers, 3.7s a PIN is typed, 4.6s the handle drops, 4.8s the door
   swings ajar (overshoots, settles), the speakers beep, the antenna quivers,
   the glints shift and the lock reads OPEN, 6.2s it swings shut with a thud.
   Afterwards (and on visits where the entrance is not played): the light
   breathes, a ring leaves the antenna now and then, the glints shift. */
@keyframes bp-draw { from { stroke-dasharray: 1 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1 1; stroke-dashoffset: 0; } }
@keyframes bp-fade { from { opacity: 0; } }
@keyframes bp-type { from { clip-path: inset(-30% 100% -30% 0); } to { clip-path: inset(-30% 0 -30% 0); } }
@keyframes bp-pad {
	0% { opacity: 0; transform: translate(64px, -20px); }
	55% { opacity: 1; transform: translate(-5px, 1.5px); }
	78% { transform: translate(2px, -0.5px); }
	100% { transform: none; }
}
@keyframes bp-dim { from { opacity: 0; transform: scale(0.55); } }
@keyframes bp-hit { 0% { fill-opacity: 0; } 20% { fill-opacity: 0.8; } 100% { fill-opacity: 0; } }
@keyframes bp-show { 0% { opacity: 0; } 8% { opacity: 1; } 84% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bp-hide { 0% { opacity: 1; } 8% { opacity: 0; } 84% { opacity: 0; } 100% { opacity: 1; } }
@keyframes bp-boot { from { fill: #8f8aa8; } }
@keyframes bp-cast { from { opacity: 0; clip-path: inset(0 72% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* knocks and springs */
@keyframes bp-nudge { 30% { transform: translate(-6px, 1px); } 62% { transform: translate(2.5px, 0); } 85% { transform: translate(-1px, 0); } }
@keyframes bp-thud { 30% { transform: translate(4px, 0); } 65% { transform: translate(-1.5px, 0); } }
@keyframes bp-wobble { 14% { transform: rotate(9deg); } 34% { transform: rotate(-6.5deg); } 54% { transform: rotate(4deg); } 72% { transform: rotate(-2deg); } 88% { transform: rotate(0.8deg); } }
@keyframes bp-quiver { 20% { transform: rotate(-4deg); } 45% { transform: rotate(3deg); } 70% { transform: rotate(-1.5deg); } }
@keyframes bp-quiver2 { 20% { transform: rotate(3.5deg); } 45% { transform: rotate(-2.5deg); } 70% { transform: rotate(1deg); } }
@keyframes bp-ring { from { opacity: 0.85; transform: scale(1); } to { opacity: 0; transform: scale(6.5); } }
@keyframes bp-ring-idle { 0% { opacity: 0.7; transform: scale(1); } 20% { opacity: 0; transform: scale(6.5); } 100% { opacity: 0; transform: scale(6.5); } }
@keyframes bp-handle { 45% { transform: translate(0, 10px); } }
@keyframes bp-door {
	0% { transform: none; }
	13% { transform: var(--over); }
	22% { transform: var(--ajar); }
	74% { transform: var(--ajar); }
	90% { transform: none; }
	100% { transform: none; }
}
@keyframes bp-beep { 50% { transform: scale(1.7); } }
@keyframes bp-flick { 0%, 100% { opacity: 1; } 10% { opacity: 0.25; } 22% { opacity: 1; } 34% { opacity: 0.5; } 46% { opacity: 1; } 62% { opacity: 0.75; } 74% { opacity: 1; } }
@keyframes bp-sheen { 0%, 16%, 100% { transform: none; opacity: 1; } 8% { transform: translate(30px, 26px); opacity: 0.2; } }
@keyframes gg-breathe { 50% { opacity: 0.72; } }

/* always: the quiet motion once the box is there */
.gg-box--plan .gg-box__light { animation: gg-breathe 7s ease-in-out infinite; }
.gg-box--plan .bp-ring-idle { animation: bp-ring-idle 6.5s ease-out 2s infinite; }
.gg-box--plan .bp-sheen { animation: bp-sheen 9s ease-in-out 4s infinite; }

/* the entrance */
.gg-plot-run .bp-draw { animation: bp-draw var(--t, 0.6s) cubic-bezier(0.55, 0, 0.25, 1) var(--d, 0s) backwards; }
.gg-plot-run .bp-fade,
.gg-plot-run .bp-fills { animation: bp-fade var(--t, 0.5s) ease-out var(--d, 0s) backwards; }
.gg-plot-run .bp-type { animation: bp-type var(--t, 0.4s) steps(var(--n, 10), end) var(--d, 0s) backwards; }
.gg-plot-run .bp-pad { animation: bp-pad 0.6s cubic-bezier(0.3, 0, 0.3, 1) var(--d, 0s) backwards; }
.gg-plot-run .bp-body { animation: bp-nudge 0.5s ease-out var(--d, 0s), bp-thud 0.4s ease-out calc(var(--open, 4.8s) + 1.68s); }
.gg-plot-run .bp-ant { animation: bp-wobble 1s ease-out var(--d, 0s), bp-quiver 0.6s ease-out calc(var(--open, 4.8s) + 0.08s), bp-quiver2 0.6s ease-out calc(var(--open, 4.8s) + 1.7s); }
.gg-plot-run .bp-ring { animation: bp-ring 1.2s ease-out var(--d, 0s); }
.gg-plot-run .bp-ring-idle { animation: bp-ring-idle 6.5s ease-out var(--d, 0s) infinite; }
.gg-plot-run .bp-dim { transform-box: fill-box; transform-origin: center; animation: bp-dim 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s) backwards; }
.gg-plot-run .bp-hit { animation: bp-hit 0.45s ease-out var(--d, 0s) both; }
.gg-plot-run .bp-panel { animation: bp-flick 0.55s linear var(--d, 0s); }
.gg-plot-run .bp-handle { animation: bp-handle 0.3s ease-in-out var(--d, 0s); }
.gg-plot-run .bp-door { animation: bp-door 1.9s cubic-bezier(0.3, 0, 0.2, 1) var(--d, 0s); }
.gg-plot-run .bp-gap,
.gg-plot-run .bp-alt { animation: bp-show 1.75s ease var(--d, 0s) both; }
.gg-plot-run .bp-lock { animation: bp-type var(--t, 0.4s) steps(var(--n, 10), end) var(--d, 0s) backwards, bp-hide 1.75s ease var(--open, 4.8s) both; }
.gg-plot-run .bp-spk { animation: bp-draw var(--t, 0.6s) cubic-bezier(0.55, 0, 0.25, 1) var(--d, 0s) backwards, bp-beep 0.22s ease-in-out calc(var(--open, 4.8s) + 0.05s) 2; }
.gg-plot-run .bp-sheen { animation: bp-sheen 9s ease-in-out calc(var(--open, 4.8s) + 0.1s) infinite; }
.gg-plot-run .bp-dot { animation: bp-fade 0.2s ease var(--d, 0s) backwards, bp-boot 0.4s ease calc(var(--d, 0s) + 0.35s) backwards, bp-blink 2.4s ease-in-out calc(var(--d, 0s) + 1.2s) infinite; }
.gg-plot-run .bp-cur { animation: bp-fade 0.01s linear var(--d, 0s) backwards, bp-cur 1.1s steps(1, end) var(--d, 0s) infinite; }
.gg-plot-run .bp-scan { animation-delay: 8s; }
.gg-plot-run .gg-box__floor { animation: bp-fade 0.9s ease-out 0.1s backwards; }
.gg-plot-run .gg-box__light { animation: bp-fade 1.6s ease-out 1.1s backwards, gg-breathe 7s ease-in-out 3.2s infinite; }
.gg-plot-run .gg-box__shadow { animation: bp-cast 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 1.25s backwards; }

@media (prefers-reduced-motion: reduce) {
	.gg-box--plan .gg-box__plan *,
	.gg-box--plan .gg-box__floor,
	.gg-box--plan .gg-box__light,
	.gg-box--plan .gg-box__shadow { animation: none !important; }
}

/* ==========================================================================
   2.8.11: the footer and the header no longer cover pop-ups
   --------------------------------------------------------------------------
   On the home page the kit list (main) sits on layer 1 so it slides over the
   pinned hero (layer 0). The footer was on layer 1 too, and comes later in
   the page, so it was drawn over everything inside main: the item pop-up,
   the dates calendar and the phone's booking bar, which all live inside
   main and cannot rise above it however high their own z-index is. The
   header (500) covered them at the top of the page in the same way.
   ========================================================================== */

/* Layer 0, the same as the hero: the footer still covers the hero, because
   it comes after it, but never anything in main. */
.wp-site-blocks > footer,
.wp-site-blocks > .gg-footer { z-index: 0; }

/* While a pop-up is open, lift main above the header. The plugin already
   does this for the quick checkout (html.ggr-locked); this covers the rest. */
.wp-site-blocks > main:has(.ggr-modal:not([hidden])),
.wp-site-blocks > main:has(.ggr-panel:not([hidden])) {
	position: relative;
	z-index: 100001;
}
@media (max-width: 860px) {
	/* the booking panel that opens up from the bar on phones */
	.wp-site-blocks > main:has(.ggr-book__cart.is-open) {
		position: relative;
		z-index: 100001;
	}
}

/* ==========================================================================
   2.8.12: a close button you can see on the item pop-up
   --------------------------------------------------------------------------
   The plugin's close button was a light "x" with no background, sitting in
   the top corner over the white product photo, so it could not be seen; and
   it scrolled away with the details. On a phone the pop-up fills the screen,
   so there was no way out. It is now a solid round button pinned to the top
   right of the pop-up while the details scroll underneath.
   ========================================================================== */
.ggr-book [data-ggr-modal] .ggr-modal__box > .ggr-modal__close {
	position: sticky;
	top: 0;
	right: auto;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	/* -10 + 40 - 30 = 0, so the photo starts exactly where it did */
	margin: -10px -10px -30px auto;
	padding: 0 0 2px;
	border: 1px solid var(--gg-line-strong);
	border-radius: 999px;
	background: var(--gg-surface);
	color: var(--gg-ink);
	font-size: 26px;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(4, 3, 16, 0.35);
	cursor: pointer;
	transition: background-color var(--gg-fast) ease, border-color var(--gg-fast) ease, color var(--gg-fast) ease, transform var(--gg-fast) var(--gg-ease);
}
html[data-theme="light"] .ggr-book [data-ggr-modal] .ggr-modal__box > .ggr-modal__close { box-shadow: 0 4px 12px rgba(20, 20, 26, 0.18); }
.ggr-book [data-ggr-modal] .ggr-modal__box > .ggr-modal__close:hover,
.ggr-book [data-ggr-modal] .ggr-modal__box > .ggr-modal__close:focus-visible {
	background: var(--gg-purple);
	border-color: var(--gg-purple);
	color: var(--gg-on-purple);
}
.ggr-book [data-ggr-modal] .ggr-modal__box > .ggr-modal__close:active { transform: scale(0.92); }
@media (prefers-reduced-motion: reduce) {
	.ggr-book [data-ggr-modal] .ggr-modal__box > .ggr-modal__close { transition: none; }
}

/* ---------- 2.9.0: the Hire / Buy switch ----------
   The plugin draws the switch (two links, /#book and /#buy) and swaps the kit list.
   Here it is styled for the header and for the pinned shop bar. Purple is hiring,
   banana yellow is buying. The plugin puts .ggr-mode-buy on <html> while buying. */

.gg-header .ggr-modes,
.ggr-book .gg-shopbar .ggr-modes {
	flex: none;
	display: inline-flex;
	gap: 3px;
	margin: 0;
	padding: 3px;
	border: 1px solid var(--gg-line-strong);
	border-radius: 999px;
	background: var(--gg-surface);
}

.gg-header .ggr-modes__opt,
.ggr-book .gg-shopbar .ggr-modes__opt {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.42em 0.95em;
	border-radius: 999px;
	color: var(--gg-soft);
	font-family: var(--gg-font-head);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color var(--gg-fast) ease, color var(--gg-fast) ease;
}

.gg-header .ggr-modes__opt:hover,
.ggr-book .gg-shopbar .ggr-modes__opt:hover { color: var(--gg-ink); }

.gg-header .ggr-modes__opt.is-on,
.ggr-book .gg-shopbar .ggr-modes__opt.is-on { background: var(--gg-purple); color: var(--gg-on-purple); }

.gg-header .ggr-modes__opt[data-ggr-mode="buy"].is-on,
.ggr-book .gg-shopbar .ggr-modes__opt[data-ggr-mode="buy"].is-on { background: var(--gg-yellow); color: var(--gg-on-yellow); }

.gg-header .ggr-modes__n {
	display: inline-block;
	min-width: 1.5em;
	padding: 0.05em 0.4em;
	border-radius: 999px;
	background: var(--gg-yellow);
	color: var(--gg-on-yellow);
	font-size: 0.72em;
	font-weight: 800;
	line-height: 1.4;
	text-align: center;
}
.gg-header .ggr-modes__n[hidden] { display: none; }
.gg-header .ggr-modes__opt.is-on .ggr-modes__n { background: var(--gg-on-yellow); color: var(--gg-yellow); }

/* While buying there are no dates to show in the pinned bar. */
html.ggr-mode-buy .gg-shopbar__dates { display: none; }
html.ggr-mode-buy .ggr-book .gg-shopbar .ggr-chip.is-on { background: var(--gg-yellow); border-color: var(--gg-yellow); color: var(--gg-on-yellow); }

@media (max-width: 599px) {
	.gg-header .ggr-modes__opt { padding: 0.36em 0.7em; font-size: 0.88rem; }
	.gg-brand__mark { max-width: 40vw; }
}

@media (max-width: 700px) {
	.ggr-book .gg-shopbar .ggr-modes { order: -1; }
	.ggr-book .gg-shopbar .ggr-modes__opt { padding: 0.3em 0.85em; font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
	.gg-header .ggr-modes__opt,
	.ggr-book .gg-shopbar .ggr-modes__opt { transition: none; }
}

html.ggr-mode-buy .gg-shopbar__tools { margin-left: auto; }

@media (max-width: 700px) {
	/* The switch shares the first line with the dates. */
	.gg-shopbar__dates { flex: 1 1 0; }
	html.ggr-mode-buy .gg-shopbar__tools { margin-left: 0; }
}

/* ---------- 2.9.1: phone list fixes and bigger photos ----------
   Suhail, 29 Nov: formatting errors on the phone, and bigger product photos. */

/* The pinned bar is solid, so the list never shows through it. */
.gg-shopbar { background: var(--gg-bg); }

/* The sort box shrinks to fit instead of running off the right edge. */
.ggr-book .ggr-sort { min-width: 0; max-width: 100%; }
.ggr-book .ggr-sort select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.ggr-book .gg-shopbar__tools { min-width: 0; }
@media (max-width: 700px) {
	.ggr-book .gg-shopbar__tools .ggr-sort { flex: 0 1 auto; }
	.ggr-book .gg-shopbar__tools .ggr-sort select { max-width: 40vw; }
}

/* Bigger photos in the hire list. (The Buy list already has its own, larger ones.) */
.ggr-book .ggr-row:not(.ggr-row--buy) { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 0.3em 1em; }
.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__thumb { width: 80px; height: 80px; border-radius: 8px; }
@media (max-width: 860px) {
	.ggr-book .ggr-row:not(.ggr-row--buy) { grid-template-columns: 76px minmax(0, 1fr); }
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__thumb { width: 76px; height: 76px; }
}

/* The Add (and Buy) buttons always sit on the right, whether or not a price is showing beside them. */
.ggr-book .ggr-row__side > :last-child { margin-left: auto; }

/* ---------- 2.9.2: Add always in the same place ----------
   Suhail, 29 Nov: on rows that are also for sale, Buy goes just before Add, so the purple
   Add button sits in the same spot on every row. Order: price, Buy, Add. */
.ggr-book .ggr-row--also .ggr-row__side { flex-wrap: nowrap; justify-content: flex-end; }
.ggr-book .ggr-row--also .ggr-row__side > :last-child { order: 1; margin-left: auto; }
.ggr-book .ggr-row--also .ggr-row__side > :nth-last-child(2) { order: 2; margin-left: 0; }
@media (max-width: 400px) {
	.ggr-book .ggr-row--also .ggr-row__side { gap: 0.4em; }
	.ggr-book .ggr-row--also .ggr-row__side .ggr-btn--buy { padding-left: 0.8em; padding-right: 0.8em; }
}

/* ---------- 2.9.4: price, Buy and Add in fixed columns on computers ---------- */
@media (min-width: 861px) {
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side {
		display: grid;
		grid-template-columns: 4.5em 7.5em 6.5em;
		column-gap: 0.6em;
		align-items: center;
		justify-items: end;
	}
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > * {
		grid-row: 1;
		grid-column: 3;
		margin: 0;
		order: 0;
		white-space: nowrap;
	}
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-row__total { grid-column: 1; }
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-btn--buy,
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-row__bought { grid-column: 2; }
}

/* ---------- 2.9.5: Buy, then price, then Add ---------- */
@media (min-width: 861px) {
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side { grid-template-columns: 7.5em 4.5em 6.5em; }
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-row__total { grid-column: 2; }
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-btn--buy,
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-row__bought { grid-column: 1; }
}
@media (max-width: 860px) {
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side { flex-wrap: nowrap; justify-content: flex-end; }
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > * { order: 3; margin: 0; white-space: nowrap; }
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-row__total { order: 2; }
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-btn--buy,
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-row__bought { order: 1; margin-right: auto; }
}

/* ---------- 2.9.6: price close to Add, same gap on every row ---------- */
@media (min-width: 861px) {
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side { grid-template-columns: 7.5em 4.5em 4em; column-gap: 0.75em; }
}
@media (max-width: 860px) {
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side { gap: 0.6em; }
}

/* ---------- 2.9.7/2.9.8: phones, price on the left, Buy right next to Add, full row width ---------- */
@media (max-width: 860px) {
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side { gap: 0.5em; grid-column: 1 / -1; }
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-row__total { order: 1; margin-right: auto; }
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-btn--buy,
	.ggr-book .ggr-row:not(.ggr-row--buy) .ggr-row__side > .ggr-row__bought { order: 2; margin-right: 0; }
}
