/**
 * Codehive Product Manager: The one header: logo, menu with the page title under it, buttons, More list, phone menu.
 *
 * From Codehive WARC Manager 1.0.287, made Codehive's own.
 *
 * Build:     1.0.63
 * Changelog:
 * 1.0.5 New.
 * 1.0.6 Menu text size from Website → Header (--chpm-hd-menu-size).
 * 1.0.59 The cart icon and its count, bigger search and cart icons, and the Added to Cart message.
 * 1.0.60 Added to Cart in the website's accent colour (edge, tick and View Cart button), not green. The cart icon
 *        bigger still (34 px on a 52 px button; 28 px on phones).
 * 1.0.63 The cart count's ring takes the header bar's colour.
 */

header.chpm-hd,
header.chpm-hd *,
header.chpm-hd *::before,
header.chpm-hd *::after {
	box-sizing: border-box;
}

header.chpm-hd {
	position: sticky; /* Stays at the top of the screen while the page scrolls (under a Breaking News bar on the news page). */
	top: var(--chn-bc-stick, var(--wp-admin--admin-bar--height, 0px));
	z-index: 50;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: var(--chpm-hd-h, 96px);
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	background: var(--chpm-hd-bg, #fff);
	color: var(--chpm-hd-text, #1d2327);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	font-family: inherit;
	line-height: 1.2;
}

/* Menu row, above the title. Thin, so the header stays the same height. */
header.chpm-hd .chpm-hd-top {
	position: relative;
	z-index: 3;
	display: flex;
	flex: 0 0 26px;
	align-items: flex-end;
	justify-content: center;
	height: 26px;
	margin: 0;
	padding: 5px 16px 0;
	pointer-events: none;
}

header.chpm-hd .chpm-hd-top .chpm-hd-menu {
	max-width: 100%;
	pointer-events: auto;
}

header.chpm-hd .chpm-hd-top .chpm-hd-menu-list {
	gap: 0 14px;
}

header.chpm-hd .chpm-hd-top .chpm-hd-menu-list a {
	padding-top: 0;
	padding-bottom: 0;
	font-size: var(--chpm-hd-menu-size, 12px);
}

header.chpm-hd .chpm-hd-inner {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	height: auto;
	min-height: 0;
	max-width: none;
	margin: 0;
	padding: 0 32px;
}

/* Left: the logo and the website name. */
header.chpm-hd .chpm-hd-logo {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

header.chpm-hd .chpm-hd-logo img,
header.chpm-hd .chpm-hd-logo-img {
	display: block;
	flex: 0 0 auto;
	width: auto;
	max-width: 260px;
	height: var(--chpm-hd-logo-h, 60px);
	margin: 0;
	object-fit: contain;
}

header.chpm-hd .chpm-hd-logo-text {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

header.chpm-hd .chpm-hd-logo-name {
	display: block;
	max-width: 190px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.1;
	text-transform: uppercase;
}

/* Centre: the page title, level with the buttons. The menu is the row above. */
header.chpm-hd .chpm-hd-centre {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	pointer-events: none; /* Only its menu and title take clicks: the logo and buttons stay usable beside them. */
}

header.chpm-hd .chpm-hd-centre > * {
	max-width: 56%;
	pointer-events: auto;
}

header.chpm-hd .chpm-hd-menu-list {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 0 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

header.chpm-hd .chpm-hd-menu-list li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

header.chpm-hd .chpm-hd-menu-list a {
	display: block;
	margin: 0;
	padding: 4px 0;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	color: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: none;
}

header.chpm-hd .chpm-hd-menu-list a:hover,
header.chpm-hd .chpm-hd-menu-list a:focus-visible {
	border-bottom-color: currentColor;
}

header.chpm-hd .chpm-hd-menu-list .current-menu-item > a,
header.chpm-hd .chpm-hd-menu-list .current-menu-ancestor > a,
header.chpm-hd .chpm-hd-menu-list .current_page_item > a,
header.chpm-hd .chpm-hd-menu-list .current_page_parent > a {
	border-bottom-color: var(--chpm-hd-line, #d63638);
}

/* Drop-down for a menu item with items under it. */
header.chpm-hd .chpm-hd-menu-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 60;
	display: none;
	min-width: 200px;
	margin: 0;
	padding: 6px 0;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	background: var(--chpm-hd-bg, #fff);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	list-style: none;
	text-align: left;
	transform: translateX(-50%);
}

header.chpm-hd .chpm-hd-menu-list li:hover > .sub-menu,
header.chpm-hd .chpm-hd-menu-list li:focus-within > .sub-menu {
	display: block;
}

header.chpm-hd .chpm-hd-menu-list .sub-menu a {
	padding: 8px 16px;
	border-bottom: 0;
	letter-spacing: 0;
	text-transform: none;
}

header.chpm-hd .chpm-hd-menu-list .sub-menu .current-menu-item > a {
	color: var(--chpm-hd-line, #d63638);
}

header.chpm-hd .chpm-hd-title {
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: inherit;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Right: the buttons, on one line at the right edge. */
header.chpm-hd .chpm-hd-tools {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 0 0 auto;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0 0 0 auto;
}

header.chpm-hd .chpm-hd-own,
header.chpm-hd .chpm-hd-own > .chn-bc-tools {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	margin: 0;
}

/* The Marketplace's own buttons (search, List an Item), as the designed ones. */
header.chpm-hd .chpm-mk-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

header.chpm-hd .chpm-mk-icon:hover,
header.chpm-hd .chpm-mk-icon[aria-expanded="true"] {
	background: rgba(0, 0, 0, 0.06);
}

header.chpm-hd .chpm-mk-btn1 {
	display: inline-flex;
	align-items: center;
	height: 40px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 6px;
	background: var(--chpm-hd-accent, #2e7d32);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

/* ---------- Designed buttons ---------- */
.chpm-hd-b {
	--chpm-hd-b-bg: var(--chpm-hd-accent, #2e7d32);
	--chpm-hd-b-fg: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	margin: 0;
	padding: 0 18px;
	border: 2px solid var(--chpm-hd-b-bg);
	border-radius: 6px;
	background: var(--chpm-hd-b-bg);
	color: var(--chpm-hd-b-fg);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: filter 0.15s ease, background-color 0.15s ease;
}

.chpm-hd-b:hover,
.chpm-hd-b:focus-visible {
	color: var(--chpm-hd-b-fg);
	filter: brightness(0.92);
}

.chpm-hd-b--outline {
	--chpm-hd-b-fg: var(--chpm-hd-b-bg);
	background: transparent;
}

.chpm-hd-b--outline[style*="--chpm-hd-b-fg"] {
	color: var(--chpm-hd-b-fg);
}

.chpm-hd-b--plain {
	--chpm-hd-b-fg: currentColor;
	border-color: transparent;
	background: transparent;
	color: var(--chpm-hd-text, #1d2327);
}

.chpm-hd-b--plain[style*="--chpm-hd-b-fg"] {
	color: var(--chpm-hd-b-fg);
}

.chpm-hd-b--plain:hover,
.chpm-hd-b--plain:focus-visible,
.chpm-hd-b--plain[aria-expanded="true"] {
	background: rgba(0, 0, 0, 0.06);
	filter: none;
}

.chpm-hd-b--square {
	border-radius: 0;
}

.chpm-hd-b--rounded {
	border-radius: 6px;
}

.chpm-hd-b--pill {
	border-radius: 999px;
}

.chpm-hd-b--icon {
	width: 40px;
	padding: 0;
}

.chpm-hd-b .chpm-hd-svg {
	display: block;
	flex: 0 0 auto;
}

/* More: buttons with no room go into this list (header.js). */
header.chpm-hd .chpm-hd-more {
	position: relative;
	display: inline-flex;
}

header.chpm-hd .chpm-hd-more[hidden] {
	display: none;
}

header.chpm-hd .chpm-hd-more-list {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 70;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	min-width: 200px;
	padding: 8px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	background: var(--chpm-hd-bg, #fff);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

header.chpm-hd .chpm-hd-more-list[hidden] {
	display: none;
}

header.chpm-hd .chpm-hd-more-list .chpm-hd-b {
	justify-content: flex-start;
	width: auto;
	padding: 0 14px;
}

/* The menu button: tablets and phones, or when the menu has no room. */
header.chpm-hd .chpm-hd-menu-toggle {
	display: none;
}

header.chpm-hd .chpm-hd-burger,
header.chpm-hd .chpm-hd-burger::before,
header.chpm-hd .chpm-hd-burger::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

header.chpm-hd .chpm-hd-burger {
	position: relative;
}

header.chpm-hd .chpm-hd-burger::before,
header.chpm-hd .chpm-hd-burger::after {
	content: "";
	position: absolute;
	left: 0;
}

header.chpm-hd .chpm-hd-burger::before {
	top: -6px;
}

header.chpm-hd .chpm-hd-burger::after {
	top: 6px;
}

/* Search boxes (the website's, the Marketplace's, the news page's) open over the page, under the header. */
header.chpm-hd .chpm-hd-drop,
header.chpm-hd .chpm-hd-drops > form {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 40;
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 14px 32px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	background: var(--chpm-hd-bg, #fff);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

header.chpm-hd .chpm-hd-drop[hidden],
header.chpm-hd .chpm-hd-drops > form[hidden] {
	display: none;
}

header.chpm-hd .chpm-hd-drop input[type="search"],
header.chpm-hd .chpm-hd-drops > form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #fff;
	color: #1d2327;
	font: inherit;
}

header.chpm-hd .chpm-hd-drop button[type="submit"],
header.chpm-hd .chpm-hd-drops > form button[type="submit"] {
	height: 42px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 6px;
	background: var(--chpm-hd-accent, #2e7d32);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* No room for the menu beside the logo and buttons (header.js): it opens from the menu button; the title stays. */
header.chpm-hd.is-compact .chpm-hd-menu-toggle {
	display: inline-flex;
}

header.chpm-hd.is-compact .chpm-hd-centre > .chpm-hd-menu {
	max-width: none;
}

header.chpm-hd.is-compact .chpm-hd-menu {
	position: fixed;
	top: calc(var(--chn-bc-stick, var(--wp-admin--admin-bar--height, 0px)) + var(--chpm-hd-h, 96px));
	right: 0;
	left: 0;
	z-index: 45;
	display: none;
	max-height: calc(100vh - var(--chpm-hd-h, 96px));
	overflow: auto;
	padding: 6px 24px 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	background: var(--chpm-hd-bg, #fff);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
	color: var(--chpm-hd-text, #1d2327);
}

header.chpm-hd.is-compact .chpm-hd-menu.is-open {
	display: block;
}

header.chpm-hd.is-compact .chpm-hd-menu-list {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	text-align: left;
}

header.chpm-hd.is-compact .chpm-hd-menu-list a {
	padding: 12px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

header.chpm-hd.is-compact .chpm-hd-menu-list .current-menu-item > a,
header.chpm-hd.is-compact .chpm-hd-menu-list .current_page_item > a {
	color: var(--chpm-hd-line, #d63638);
}

header.chpm-hd.is-compact .chpm-hd-menu-list .sub-menu {
	position: static;
	display: block;
	min-width: 0;
	padding: 0 0 0 16px;
	border: 0;
	box-shadow: none;
	transform: none;
}

/* Tablets and phones: logo and buttons on the top line, the title on the line under them (one height on all pages). */
@media (max-width: 1000px) {
	header.chpm-hd {
		height: 112px;
	}

	header.chpm-hd .chpm-hd-top {
		flex-basis: 0;
		height: 0;
		padding: 0;
		overflow: visible;
	}

	header.chpm-hd .chpm-hd-inner {
		align-items: flex-start;
		padding: 10px 16px 0;
	}

	header.chpm-hd .chpm-hd-logo img,
	header.chpm-hd .chpm-hd-logo-img {
		max-width: 140px;
		height: 44px;
	}

	header.chpm-hd .chpm-hd-logo-name {
		max-width: 150px;
		font-size: 12px;
	}

	header.chpm-hd .chpm-hd-centre {
		justify-content: flex-end;
		padding-bottom: 10px;
	}

	header.chpm-hd .chpm-hd-centre > * {
		max-width: calc(100% - 32px);
	}

	header.chpm-hd .chpm-hd-title {
		font-size: 20px;
	}

	header.chpm-hd .chpm-hd-menu-toggle {
		display: inline-flex;
	}

	header.chpm-hd .chpm-hd-centre > .chpm-hd-menu {
		max-width: none;
	}

	header.chpm-hd .chpm-hd-menu {
		position: fixed;
		top: calc(var(--chn-bc-stick, var(--wp-admin--admin-bar--height, 0px)) + 112px);
		right: 0;
		left: 0;
		z-index: 45;
		display: none;
		max-height: calc(100vh - 112px);
		overflow: auto;
		padding: 6px 16px 12px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		background: var(--chpm-hd-bg, #fff);
		box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
		color: var(--chpm-hd-text, #1d2327);
		text-align: left;
	}

	header.chpm-hd .chpm-hd-menu.is-open {
		display: block;
	}

	header.chpm-hd .chpm-hd-menu-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	header.chpm-hd .chpm-hd-menu-list a {
		padding: 12px 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	}

	header.chpm-hd .chpm-hd-menu-list .current-menu-item > a,
	header.chpm-hd .chpm-hd-menu-list .current_page_item > a {
		color: var(--chpm-hd-line, #d63638);
	}

	header.chpm-hd .chpm-hd-menu-list .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 16px;
		border: 0;
		box-shadow: none;
		transform: none;
	}

	header.chpm-hd .chpm-hd-tools {
		gap: 4px;
	}

	header.chpm-hd .chpm-hd-drop,
	header.chpm-hd .chpm-hd-drops > form {
		padding: 12px 16px;
	}
}

@media (max-width: 600px) {
	.chpm-hd-b {
		height: 36px;
		padding: 0 12px;
		font-size: 13px;
	}

	.chpm-hd-b--icon,
	header.chpm-hd .chpm-mk-icon {
		width: 36px;
		height: 36px;
	}

	header.chpm-hd .chpm-hd-logo-name {
		display: none;
	}
}

/* Short of room (header.js): a page's own buttons smaller, so the menu button stays in sight. */
header.chpm-hd.is-squeezed .chpm-hd-own,
header.chpm-hd.is-squeezed .chpm-hd-own > .chn-bc-tools {
	gap: 4px;
}

header.chpm-hd.is-squeezed .chpm-hd-own a:not(.chn-bc-icon) {
	padding-right: 10px;
	padding-left: 10px;
	font-size: 13px;
	white-space: nowrap;
}

/* A page's own text buttons in the More list: full width, their own look. */
header.chpm-hd .chpm-hd-more-list > a {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: auto;
	margin: 0;
	white-space: nowrap;
}

/* The logo and website name at the top of the sidebar (class-header.php); the header's own is hidden on wide
   screens, so the header holds only the menu, the title and the buttons. */
.chpm-side-logo-wrap {
	flex: 0 0 auto;
	padding: 16px 16px 14px 48px; /* More on the left: the logo and name sit a little right of centre. */
}

.chpm-side-logo {
	display: flex;
	align-items: center;
	justify-content: center; /* The logo and name together, centred across the sidebar. */
	gap: 12px;
	min-width: 0;
	color: inherit;
	text-align: left;
	text-decoration: none;
}

.chpm-side-logo img,
.chpm-side-logo-img {
	display: block;
	flex: 0 0 auto;
	width: auto;
	max-width: 50%;
	height: var(--chpm-side-logo-h, 60px);
	margin: 0;
	object-fit: contain;
}

.chpm-side-logo-name {
	display: block;
	min-width: 0;
	max-width: 190px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-transform: uppercase;
}

.chpm-side-logo,
.chpm-side-logo:hover,
.chpm-side-logo:focus,
.chpm-side-logo * {
	text-decoration: none !important; /* Never underlined, whatever the theme does with links. */
	box-shadow: none;
}

@media (min-width: 1001px) {
	header.chpm-hd.has-side-logo .chpm-hd-logo {
		display: none;
	}

	/* No logo beside it: the menu may use the header's width (header.js keeps it clear of the buttons). */
	header.chpm-hd.has-side-logo .chpm-hd-centre > * {
		max-width: none;
	}
}

@media (max-width: 1000px) {
	.chpm-side-logo-wrap {
		display: none;
	}
}

/* Build 1.0.206: the news page's filters, made like the other pages' (FILTERS, Search, Category). */
.chn-bc-side-nav.chpm-news-nav,
.chn-bc-top-nav.chpm-news-nav {
	padding: 0;
	background: transparent;
	color: inherit;
}

.chpm-news-nav .chpm-mk-filters form.chpm-dir-search {
	display: flex; /* Not the filters' grid on smaller screens: the box and its button stay together. */
	gap: 0;
}

.chpm-news-nav .chpm-mk-filter select {
	cursor: pointer;
}

/* Events location buttons: the same boxes as Repeaters, one per line, All UK last. */
.chpm-news-nav .chpm-events-loc {
	grid-column: 1 / -1;
	min-width: 0;
	background: transparent;
}

.chpm-news-nav .chpm-dir-locs {
	display: grid;
	width: 100%;
	min-width: 0;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
}

.chpm-news-nav a.chpm-dir-loc {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 6px 8px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	color: #1d2327;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	white-space: normal;
}

.chpm-news-nav a.chpm-dir-loc:hover,
.chpm-news-nav a.chpm-dir-loc:focus-visible {
	border-color: var(--chpm-mk-accent, #2e7d32);
	color: var(--chpm-mk-accent, #2e7d32);
}

.chpm-news-nav a.chpm-dir-loc.is-active {
	border-color: var(--chpm-mk-accent, #2e7d32);
	background: var(--chpm-mk-accent, #2e7d32);
	color: #fff;
}

/* Location filters make Filters taller than News: scroll them like Marketplace side-top so About stays at the foot. */
body.chpm-events-page .chn-bc-side-nav {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
}

body.chpm-events-page .chn-arc {
	display: none;
}

@media (max-width: 1000px) {
	.chn-bc-top-nav.chpm-news-nav .chpm-mk-filters {
		border-radius: 6px;
	}
}

/* ---------- 1.0.59: the cart icon, bigger search and cart icons, Added to Cart ---------- */
header.chpm-hd .chpm-hd-b--icon[data-chpm-hd-search],
header.chpm-hd .chpm-hd-cart {
	width: 46px;
	height: 46px;
}
header.chpm-hd .chpm-hd-cart {
	position: relative;
}
header.chpm-hd .chpm-hd-cart-count {
	position: absolute;
	top: 1px;
	right: 0;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--chpm-hd-accent, #2e7d32);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 16px;
	text-align: center;
	box-sizing: border-box;
}
header.chpm-hd .chpm-hd-cart-count[hidden] {
	display: none;
}
@media (max-width: 600px) {
	header.chpm-hd .chpm-hd-b--icon[data-chpm-hd-search],
	header.chpm-hd .chpm-hd-cart {
		width: 40px;
		height: 40px;
	}
	header.chpm-hd .chpm-hd-b--icon[data-chpm-hd-search] .chpm-hd-svg,
	header.chpm-hd .chpm-hd-cart .chpm-hd-svg {
		width: 23px;
		height: 23px;
	}
}
.chpm-cart-toast {
	position: fixed;
	right: 20px;
	z-index: 100000;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px 12px 18px;
	border-left: 4px solid var(--chpm-cart-accent, var(--chpm-hd-accent, #2e7d32));
	border-radius: 6px;
	background: #1d2327;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.chpm-cart-toast.is-shown {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.chpm-cart-toast.is-error {
	border-left-color: #d63638;
}
.chpm-cart-toast-text::before {
	content: "\2713";
	margin-right: 8px;
	color: var(--chpm-cart-accent, var(--chpm-hd-accent, #2e7d32));
}
.chpm-cart-toast.is-error .chpm-cart-toast-text::before {
	content: none;
}
.chpm-cart-toast a.chpm-cart-toast-link {
	padding: 6px 12px;
	border-radius: 4px;
	background: var(--chpm-cart-accent, var(--chpm-hd-accent, #2e7d32));
	color: #fff !important;
	font-size: 13px;
	text-decoration: none !important;
	white-space: nowrap;
}
a.chpm-shop-btn.is-adding,
a.chpm-mk-card-btn.is-adding {
	opacity: 0.6;
	cursor: progress;
}

/* 1.0.60: the cart icon bigger still. */
header.chpm-hd .chpm-hd-cart {
	width: 52px;
	height: 52px;
}
header.chpm-hd .chpm-hd-cart .chpm-hd-svg {
	width: 34px;
	height: 34px;
}
header.chpm-hd .chpm-hd-cart-count {
	top: 2px;
	right: 1px;
}
@media (max-width: 600px) {
	header.chpm-hd .chpm-hd-cart {
		width: 44px;
		height: 44px;
	}
	header.chpm-hd .chpm-hd-cart .chpm-hd-svg {
		width: 28px;
		height: 28px;
	}
}

/* 1.0.63: the cart count's ring in the header bar's colour (the footer's). */
header.chpm-hd .chpm-hd-cart-count {
	border-color: var(--chpm-hd-bg, #fff);
}
