/* FONTS
   Self-hosted variable fonts (SIL Open Font License), latin subset.
   Space Grotesk for headings, Inter for body and figures. */

@font-face {
	font-family: "Space Grotesk";
	src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* DESIGN TOKENS
   Two themes. data-theme is set on <html> before first paint by the
   script in functions.php (saved choice, else the system setting).
   Dark is the default when JavaScript is off.
   To change a colour, edit it here: these tokens drive the whole site. */

:root,
:root[data-theme="dark"] {
	color-scheme: dark;

	--bcb-bg: #0b0e11;
	--bcb-surface: #151a21;
	--bcb-surface-2: #1c232c;
	--bcb-border: #2a3340;
	--bcb-heading: #f5f7fa;
	--bcb-text: #b8c4d0;
	--bcb-muted: #8b98a5;

	/* Fills (buttons, badges background) */
	--bcb-green: #00e676;
	--bcb-gold: #f5b700;
	--bcb-red: #ff3d57;
	--bcb-on-accent: #0b0e11;

	/* Accent colours used as text, AA on the page background */
	--bcb-green-text: #00e676;
	--bcb-gold-text: #f5b700;
	--bcb-red-text: #ff5c72;

	--bcb-header-bg: rgba(11, 14, 17, 0.82);
	--bcb-grid-line: rgba(42, 51, 64, 0.45);
	--bcb-shadow: 0 20px 60px -24px rgba(0, 0, 0, 0.7);
}

:root[data-theme="light"] {
	color-scheme: light;

	--bcb-bg: #f5f7fa;
	--bcb-surface: #ffffff;
	--bcb-surface-2: #eef2f6;
	--bcb-border: #d9e0e8;
	--bcb-heading: #0b0e11;
	--bcb-text: #3a4552;
	--bcb-muted: #5a6573;

	--bcb-green: #00e676;
	--bcb-gold: #f5b700;
	--bcb-red: #e11d48;
	--bcb-on-accent: #0b0e11;

	--bcb-green-text: #00703c;
	--bcb-gold-text: #8a5d00;
	--bcb-red-text: #be123c;

	--bcb-header-bg: rgba(245, 247, 250, 0.86);
	--bcb-grid-line: rgba(11, 14, 17, 0.06);
	--bcb-shadow: 0 20px 50px -28px rgba(15, 23, 42, 0.35);

	/* Divi global colours follow the theme too */
	--gcid-heading-color: #0b0e11;
	--gcid-body-color: #3a4552;
	--gcid-link-color: #00703c;
}

:root {
	--bcb-font-heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	--bcb-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--bcb-radius: 14px;
	--bcb-radius-s: 8px;
	--bcb-ease: cubic-bezier(.2, .7, .2, 1);
	--bcb-duration: 200ms;
}

/* BASE
   "html body" and "html body h1" beat the colours Divi prints from the
   Customizer, so both themes work. Divi module settings (classes) still win. */

html body,
html body.custom-background,
html #page-container,
html #main-content,
html body:not(.et_pb_pagebuilder_layout) #main-content {
	background-color: var(--bcb-bg);
	color: var(--bcb-text);
}

html body {
	font-family: var(--bcb-font-body);
	-webkit-font-smoothing: antialiased;
	transition: background-color var(--bcb-duration) var(--bcb-ease);
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6 {
	color: var(--bcb-heading);
	font-family: var(--bcb-font-heading);
	letter-spacing: -0.02em;
	line-height: 1.15;
}

html body a {
	color: var(--bcb-green-text);
}

html body strong {
	color: var(--bcb-heading);
}

/* Divi paints sections white by default: let the page background show
   unless a background is set on the section in Divi. */
.et_pb_section {
	background-color: transparent;
}

:where(table, .bcb-num) {
	font-variant-numeric: tabular-nums;
}

:where(a, button, input, select, textarea, .et_pb_button):focus-visible {
	outline: 2px solid var(--bcb-gold);
	outline-offset: 3px;
}

::selection {
	background: var(--bcb-green);
	color: var(--bcb-on-accent);
}

/* No sidebar anywhere: Divi draws a sidebar rule on shop and account pages */
#main-content .container::before {
	display: none;
}

#sidebar {
	display: none;
}

body.et_right_sidebar #left-area,
body.et_left_sidebar #left-area {
	float: none;
	padding: 0;
	width: 100%;
}

/* BUTTONS
   Green CTA in both themes (dark text on green: 13:1). */

:where(.et_pb_button, .button, button[type="submit"], input[type="submit"]) {
	background-color: var(--bcb-green);
	border: 0;
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-on-accent);
	font-family: var(--bcb-font-heading);
	font-weight: 700;
	transition: background-color var(--bcb-duration) var(--bcb-ease), box-shadow var(--bcb-duration) var(--bcb-ease), transform var(--bcb-duration) var(--bcb-ease);
}

html body #page-container .et_pb_button,
html body .woocommerce .button,
html body button[type="submit"] {
	background-color: var(--bcb-green);
	border-color: var(--bcb-green);
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-on-accent);
	font-size: 16px;
	padding: 12px 22px;
}

html body #page-container .et_pb_button:hover,
html body .woocommerce .button:hover,
html body button[type="submit"]:hover {
	background-color: color-mix(in srgb, var(--bcb-green) 82%, white);
	border-color: transparent;
	box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--bcb-green) 70%, transparent);
	color: var(--bcb-on-accent);
	padding: 12px 22px;
	transform: translateY(-1px);
}

/* Secondary button. Divi 5 puts the module class on the <a> itself. */
html body #page-container .et_pb_button.bcb-btn-ghost {
	background-color: transparent;
	box-shadow: inset 0 0 0 1px var(--bcb-border);
	color: var(--bcb-heading);
}

html body #page-container .et_pb_button.bcb-btn-ghost:hover {
	background-color: var(--bcb-surface-2);
	box-shadow: inset 0 0 0 1px var(--bcb-green-text);
	color: var(--bcb-heading);
}

.et_pb_button::after {
	display: none;
}

/* HEADER (Theme Builder: section .bcb-header, columns .bcb-header__logo,
   .bcb-header__nav, .bcb-header__actions) */

html body #page-container .bcb-header {
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	background: var(--bcb-header-bg);
	border-bottom: 1px solid var(--bcb-border);
	position: sticky;
	top: 0;
	z-index: 99;
}

html body.admin-bar #page-container .bcb-header {
	top: 32px;
}

html body #page-container .bcb-header .et_pb_row.bcb-header__row {
	align-items: center;
	display: flex;
	gap: 16px;
	max-width: 1240px;
	padding: 10px 0;
	width: 90%;
}

html body #page-container .bcb-header .et_pb_row.bcb-header__row > .et_pb_column {
	margin: 0;
	width: auto;
}

html body #page-container .bcb-header .et_pb_column.bcb-header__nav {
	flex: 1 1 auto;
}

.bcb-logo img {
	border-radius: 10px;
	display: block;
	height: 44px;
	width: 44px;
}

html body #page-container .bcb-header .et_pb_menu,
html body #page-container .bcb-footer .et_pb_menu {
	background-color: transparent;
}

html body #page-container .bcb-header .et_pb_menu .et_pb_menu__menu {
	justify-content: center;
}

html body #page-container .bcb-header .et-menu > li {
	padding: 0 4px;
}

html body #page-container .bcb-header .et-menu > li > a {
	border-radius: 999px;
	color: var(--bcb-text);
	font-family: var(--bcb-font-heading);
	font-size: 15px;
	font-weight: 600;
	padding: 8px 14px;
	transition: background-color var(--bcb-duration) var(--bcb-ease), color var(--bcb-duration) var(--bcb-ease);
}

html body #page-container .bcb-header .et-menu > li > a:hover,
html body #page-container .bcb-header .et-menu > li.current-menu-item > a {
	background-color: var(--bcb-surface-2);
	color: var(--bcb-heading);
	opacity: 1;
}

html body #page-container .bcb-header .et-menu > li.current-menu-item > a {
	box-shadow: inset 0 -2px 0 var(--bcb-green);
}

/* Mobile menu */
html body #page-container .bcb-header .mobile_menu_bar::before {
	color: var(--bcb-heading);
	font-size: 30px;
}

html body #page-container .bcb-header .et_mobile_menu {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	box-shadow: var(--bcb-shadow);
	left: auto;
	padding: 10px;
	right: 0;
	top: calc(100% + 14px);
	width: min(320px, 90vw);
}

html body #page-container .bcb-header .et_mobile_menu li a {
	border-bottom: 0;
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-heading);
	font-family: var(--bcb-font-heading);
	font-size: 17px;
	font-weight: 600;
	padding: 14px 16px;
}

html body #page-container .bcb-header .et_mobile_menu li a:hover {
	background: var(--bcb-surface-2);
	opacity: 1;
}

html body #page-container .bcb-header .et_pb_column.bcb-header__actions {
	align-items: center;
	display: flex;
	flex-direction: row;
	gap: 10px;
	justify-content: flex-end;
}

html body #page-container .bcb-header .bcb-header__actions .et_pb_module {
	margin: 0;
}

/* Theme toggle (Code module in the header) */
.bcb-theme-toggle {
	align-items: center;
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: 999px;
	color: var(--bcb-heading);
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	transition: border-color var(--bcb-duration) var(--bcb-ease);
	width: 44px;
}

.bcb-theme-toggle:hover {
	border-color: var(--bcb-green-text);
}

.bcb-theme-toggle svg {
	height: 20px;
	width: 20px;
}

.bcb-theme-toggle .bcb-icon-sun,
:root[data-theme="light"] .bcb-theme-toggle .bcb-icon-moon {
	display: none;
}

:root[data-theme="light"] .bcb-theme-toggle .bcb-icon-sun {
	display: block;
}

@media (max-width: 980px) {
	html body #page-container .bcb-header .et_pb_column.bcb-header__nav {
		order: 3;
		flex: 0 0 auto;
	}

	html body #page-container .bcb-header .et_pb_column.bcb-header__logo {
		flex: 1 1 auto;
	}
}

@media (max-width: 480px) {
	html body #page-container .bcb-header .et_pb_button {
		font-size: 14px;
		padding: 10px 14px;
		white-space: nowrap;
	}

	html body #page-container .bcb-header .et_pb_row.bcb-header__row {
		gap: 8px;
		width: 92%;
	}
}

@media (max-width: 782px) {
	html body.admin-bar #page-container .bcb-header {
		top: 46px;
	}
}

/* PAGE BLOCKS */

.bcb-hero h1 {
	font-size: clamp(40px, 4.6vw, 66px);
	font-weight: 700;
	line-height: 1.02;
}

.bcb-section h2 {
	font-size: clamp(28px, 3.6vw, 46px);
	font-weight: 700;
}

.bcb-lead {
	color: var(--bcb-heading);
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.55;
	max-width: 44em;
}

.bcb-small {
	color: var(--bcb-muted);
	font-size: 14px;
}

/* Buttons side by side in hero and CTA columns (Divi 5 columns stack modules) */
.bcb-hero .et_pb_row {
	align-items: center;
}

.bcb-hero .et_pb_column,
.bcb-cta {
	align-items: center;
	flex-flow: row wrap;
}

.bcb-hero .et_pb_column > .et_pb_module,
.bcb-cta > .et_pb_module {
	flex: 1 1 100%;
}

.bcb-hero .et_pb_column > .et_pb_button_module_wrapper,
.bcb-cta > .et_pb_button_module_wrapper {
	flex: 0 0 auto;
	margin: 8px 12px 8px 0;
}

/* Eyebrow above a heading */
html body .bcb-eyebrow {
	color: var(--bcb-green-text);
	font-family: var(--bcb-font-heading);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Subtle grid background for hero sections */
.bcb-grid-bg {
	background-image:
		radial-gradient(ellipse at 70% 0%, color-mix(in srgb, var(--bcb-green) 12%, transparent), transparent 55%),
		linear-gradient(var(--bcb-grid-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--bcb-grid-line) 1px, transparent 1px);
	background-size: auto, 48px 48px, 48px 48px;
}

/* Photo frame (Image module with class bcb-photo) */
.bcb-photo img {
	aspect-ratio: 4 / 3;
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	box-shadow: var(--bcb-shadow);
	object-fit: cover;
	width: 100%;
}

.bcb-photo--wide img {
	aspect-ratio: 16 / 9;
}

/* Card: surface, thin border */
.bcb-card {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	padding: 28px;
	transition: border-color var(--bcb-duration) var(--bcb-ease), transform var(--bcb-duration) var(--bcb-ease);
}

.bcb-card:hover {
	border-color: color-mix(in srgb, var(--bcb-green) 50%, var(--bcb-border));
	transform: translateY(-2px);
}

.bcb-card--gold {
	border-color: color-mix(in srgb, var(--bcb-gold) 55%, var(--bcb-border));
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--bcb-gold) 25%, transparent), var(--bcb-shadow);
}

/* Image at the top of a card */
.bcb-card .bcb-photo img {
	aspect-ratio: 16 / 9;
	border: 0;
	box-shadow: none;
}

.bcb-card .bcb-photo {
	margin-bottom: 18px;
}

.bcb-card h3 {
	font-size: 22px;
	margin: 12px 0 10px;
}

.bcb-price {
	color: var(--bcb-heading);
	font-family: var(--bcb-font-heading);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.1;
}

.bcb-card ul,
.bcb-prose ul,
.bcb-list {
	list-style: none;
	padding: 0;
}

.bcb-card li,
.bcb-prose li,
.bcb-list li {
	padding: 5px 0 5px 24px;
	position: relative;
}

.bcb-card li::before,
.bcb-prose li::before,
.bcb-list li::before {
	color: var(--bcb-green-text);
	content: "→";
	left: 0;
	position: absolute;
}

/* Risk badges: Core / Venture / Moonshot */
.bcb-badge {
	border: 1px solid currentColor;
	border-radius: 999px;
	display: inline-block;
	font-family: var(--bcb-font-heading);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 3px 11px;
	text-transform: uppercase;
}

.bcb-badge--core { color: var(--bcb-green-text); }
.bcb-badge--venture { color: var(--bcb-gold-text); }
.bcb-badge--moon { color: var(--bcb-red-text); }

/* Gain / loss figures */
.bcb-up { color: var(--bcb-green-text); }
.bcb-down { color: var(--bcb-red-text); }

/* Allocation bar (barbell visual) */
.bcb-alloc {
	border-radius: 999px;
	display: flex;
	height: 14px;
	margin: 18px 0 10px;
	overflow: hidden;
}

.bcb-alloc span:nth-child(1) { background: var(--bcb-green); flex: 65; }
.bcb-alloc span:nth-child(2) { background: var(--bcb-gold); flex: 30; }
.bcb-alloc span:nth-child(3) { background: var(--bcb-red); flex: 5; }

.bcb-alloc-legend {
	color: var(--bcb-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 6px 18px;
}

/* Numbered steps */
.bcb-step {
	color: var(--bcb-green-text);
	font-family: var(--bcb-font-heading);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

/* Comparison table */
.bcb-table {
	border-collapse: collapse;
	width: 100%;
}

.bcb-table th,
.bcb-table td {
	border-bottom: 1px solid var(--bcb-border);
	padding: 14px 12px;
	text-align: left;
	vertical-align: top;
}

.bcb-table th {
	color: var(--bcb-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bcb-table td:first-child {
	color: var(--bcb-heading);
	font-weight: 600;
}

.bcb-table .bcb-num {
	text-align: right;
}

.bcb-table-wrap {
	overflow-x: auto;
}

/* Long-form text */
.bcb-prose {
	max-width: 46em;
}

.bcb-prose h2 {
	font-size: 30px;
	margin: 52px 0 14px;
}

.bcb-prose p {
	font-size: 17px;
	line-height: 1.75;
	margin-bottom: 1.1em;
}

.bcb-prose blockquote {
	border-left: 3px solid var(--bcb-green);
	color: var(--bcb-heading);
	font-family: var(--bcb-font-heading);
	font-size: 22px;
	margin: 32px 0;
	padding-left: 20px;
}

.bcb-refs li::before {
	content: none;
}

.bcb-refs li {
	color: var(--bcb-muted);
	font-size: 14px;
	padding-left: 0;
}

.bcb-faq h3 {
	font-size: 19px;
	margin: 30px 0 8px;
}

/* Risk disclaimer block */
.bcb-disclaimer {
	border-left: 3px solid var(--bcb-gold);
	color: var(--bcb-muted);
	font-size: 13px;
	line-height: 1.6;
	padding-left: 14px;
}

/* MOBILE
   Divi 5 rows stay in a line by default: stack page columns on phones. */

@media (max-width: 767px) {
	.bcb-hero .et_pb_row,
	.bcb-section .et_pb_row,
	html body #page-container .bcb-footer .et_pb_row.bcb-footer__row {
		flex-direction: column;
		gap: 20px;
	}

	.bcb-hero .et_pb_row > .et_pb_column,
	.bcb-section .et_pb_row > .et_pb_column,
	html body #page-container .bcb-footer .et_pb_row.bcb-footer__row > .et_pb_column {
		margin-right: 0;
		width: 100%;
	}

	.bcb-hero .et_pb_column > .et_pb_button_module_wrapper,
	.bcb-cta > .et_pb_button_module_wrapper {
		flex: 1 1 100%;
		margin-right: 0;
	}

	html body #page-container .bcb-hero .et_pb_button,
	html body #page-container .bcb-cta .et_pb_button {
		display: block;
		text-align: center;
	}

	.bcb-card {
		padding: 22px;
	}

	/* Hero photo is decorative: skip it on phones so the first screen is text only */
	.bcb-hero .bcb-photo {
		display: none;
	}

	.bcb-prose p {
		font-size: 16px;
	}
}

/* FOOTER (Theme Builder, class bcb-footer on the section) */

html body #page-container .bcb-footer {
	background: var(--bcb-surface);
	border-top: 1px solid var(--bcb-border);
}

html body #page-container .bcb-footer .et_pb_row.bcb-footer__row {
	padding: 56px 0 24px;
}

html body #page-container .bcb-footer h2.bcb-footer__tagline {
	font-size: 22px;
	margin-top: 8px;
}

html body #page-container .bcb-footer h2.bcb-footer__title {
	font-size: 16px;
	margin-bottom: 12px;
}

html body #page-container .bcb-footer .bcb-footer__menu .et_pb_menu__menu {
	display: flex;
}

html body #page-container .bcb-footer .bcb-footer__menu .et_mobile_nav_menu {
	display: none;
}

html body #page-container .bcb-footer .et-menu {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

html body #page-container .bcb-footer .et-menu > li {
	padding: 0;
}

html body #page-container .bcb-footer .et-menu a {
	color: var(--bcb-text);
	padding: 0;
}

html body #page-container .bcb-footer .et-menu a:hover {
	color: var(--bcb-green-text);
	opacity: 1;
}

html body #page-container .bcb-footer .bcb-footer__legal {
	border-top: 1px solid var(--bcb-border);
	padding: 24px 0 32px;
}

html body #page-container .bcb-footer__copy {
	color: var(--bcb-muted);
	font-size: 13px;
	margin-top: 12px;
}

/* NEWSLETTER FORM (Infomaniak webform, native markup) */

.bcb-optin {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bcb-optin input[type="email"] {
	background: var(--bcb-bg);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-heading);
	flex: 1 1 220px;
	font-size: 16px;
	min-height: 50px;
	padding: 0 14px;
}

.bcb-optin input[type="email"]::placeholder {
	color: var(--bcb-muted);
}

html body .bcb-optin button {
	flex: 0 0 auto;
	font-size: 16px;
	min-height: 50px;
	padding: 0 22px;
}

.bcb-optin__status {
	color: var(--bcb-green-text);
	flex-basis: 100%;
	font-size: 14px;
	min-height: 1em;
}

.bcb-sr-only {
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* MARKETS TABLE ([bcb_top100], BCB Tools plugin) */

.bcb-markets__bar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.bcb-markets__search {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-heading);
	font-size: 16px;
	min-height: 46px;
	padding: 0 14px;
	width: min(320px, 100%);
}

.bcb-markets .bcb-table-wrap {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
}

.bcb-markets__table th button {
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	letter-spacing: inherit;
	padding: 0;
	text-transform: inherit;
}

.bcb-markets__table th[aria-sort="ascending"] button::after { content: " ↑"; }
.bcb-markets__table th[aria-sort="descending"] button::after { content: " ↓"; }

.bcb-markets__table tbody tr:hover {
	background: var(--bcb-surface-2);
}

.bcb-markets__coin {
	color: var(--bcb-heading);
	font-weight: 600;
}

.bcb-markets__symbol,
.bcb-muted {
	color: var(--bcb-muted);
	font-size: 13px;
}

@media (max-width: 767px) {
	.bcb-markets__wide {
		display: none;
	}

	.bcb-markets__table th,
	.bcb-markets__table td {
		font-size: 14px;
		padding: 12px 8px;
	}
}

/* SIMULATOR ([bcb_simulator], BCB Tools plugin) */

.bcb-sim {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	box-shadow: var(--bcb-shadow);
	padding: 28px;
}

.bcb-sim p {
	margin: 0;
	padding: 0;
}

.bcb-sim__top {
	align-items: flex-end;
	border-bottom: 1px solid var(--bcb-border);
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	padding-bottom: 20px;
}

.bcb-sim__balance {
	color: var(--bcb-heading);
	font-family: var(--bcb-font-heading);
	font-size: 44px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	line-height: 1.1;
}

.bcb-sim__stats {
	display: flex;
	gap: 24px;
}

.bcb-sim__stats p {
	display: flex;
	flex-direction: column;
}

.bcb-sim__stats strong {
	font-size: 20px;
	font-variant-numeric: tabular-nums;
}

.bcb-sim__form {
	align-items: end;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 24px 0;
}

.bcb-sim__field label {
	color: var(--bcb-muted);
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
}

.bcb-sim__field select,
.bcb-sim__field input {
	background: var(--bcb-bg);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-heading);
	font-size: 16px;
	min-height: 48px;
	padding: 0 12px;
	width: 100%;
}

.bcb-sim__price-value {
	color: var(--bcb-heading);
	font-family: var(--bcb-font-heading);
	font-size: 24px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.bcb-sim__actions {
	display: grid;
	gap: 12px;
	grid-column: 1 / -1;
	grid-template-columns: 1fr 1fr;
}

.bcb-sim__actions button {
	border: 0;
	border-radius: var(--bcb-radius-s);
	cursor: pointer;
	font-family: var(--bcb-font-heading);
	font-size: 20px;
	font-weight: 700;
	min-height: 60px;
	transition: transform var(--bcb-duration) var(--bcb-ease), opacity var(--bcb-duration) var(--bcb-ease);
}

html body .bcb-sim__up {
	background: var(--bcb-green);
	color: var(--bcb-on-accent);
}

html body .bcb-sim__down {
	background: var(--bcb-red);
	color: #ffffff;
}

.bcb-sim__actions button:hover {
	transform: translateY(-1px);
}

.bcb-sim__actions button:disabled {
	cursor: not-allowed;
	opacity: 0.4;
	transform: none;
}

.bcb-sim__live {
	background: var(--bcb-surface-2);
	border-radius: var(--bcb-radius-s);
	padding: 16px;
}

.bcb-sim__live-text {
	color: var(--bcb-heading);
	font-weight: 600;
}

.bcb-sim__countdown {
	color: var(--bcb-gold-text);
	font-family: var(--bcb-font-heading);
	font-size: 28px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.bcb-sim .bcb-sim__message {
	color: var(--bcb-heading);
	font-weight: 600;
	min-height: 1.6em;
	padding: 14px 0;
}

.bcb-sim__history ol {
	font-size: 14px;
	list-style: none;
	margin: 8px 0 16px;
	padding: 0;
}

.bcb-sim__history li {
	border-bottom: 1px solid var(--bcb-border);
	padding: 8px 0;
}

.bcb-sim__reset {
	background: none;
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-text);
	cursor: pointer;
	font-size: 14px;
	padding: 8px 14px;
}

@media (max-width: 767px) {
	.bcb-sim {
		padding: 20px;
	}

	.bcb-sim__form {
		grid-template-columns: 1fr 1fr;
	}

	.bcb-sim__price {
		grid-column: 1 / -1;
	}

	.bcb-sim__balance {
		font-size: 36px;
	}
}

/* DEGEN TEST ([bcb_degen_test], BCB Funnel plugin) */

.bcb-quiz {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	box-shadow: var(--bcb-shadow);
	margin: 0 auto;
	max-width: 760px;
	min-height: 420px;
	padding: clamp(24px, 4vw, 48px);
	position: relative;
}

.bcb-quiz__screen:not([hidden]) {
	animation: bcb-in 360ms var(--bcb-ease) both;
}

.bcb-quiz__title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	margin-bottom: 12px;
}

.bcb-quiz__q {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	margin: 8px 0 24px;
	outline: none;
}

.bcb-quiz__progress {
	background: var(--bcb-surface-2);
	border-radius: 999px;
	height: 6px;
	margin-bottom: 14px;
	overflow: hidden;
}

.bcb-quiz__progress span {
	background: linear-gradient(90deg, var(--bcb-green), var(--bcb-gold));
	display: block;
	height: 100%;
	transition: width 400ms var(--bcb-ease);
	width: 0;
}

.bcb-quiz__answers {
	display: grid;
	gap: 12px;
}

.bcb-quiz__answers.is-in > * {
	animation: bcb-in 320ms var(--bcb-ease) both;
}

.bcb-quiz__answers.is-in > :nth-child(2) { animation-delay: 50ms; }
.bcb-quiz__answers.is-in > :nth-child(3) { animation-delay: 100ms; }
.bcb-quiz__answers.is-in > :nth-child(4) { animation-delay: 150ms; }

html body .bcb-quiz__answer {
	background: var(--bcb-bg);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-heading);
	cursor: pointer;
	font-family: var(--bcb-font-body);
	font-size: 17px;
	font-weight: 500;
	padding: 16px 18px;
	text-align: left;
	transition: border-color var(--bcb-duration) var(--bcb-ease), transform var(--bcb-duration) var(--bcb-ease), background-color var(--bcb-duration) var(--bcb-ease);
}

html body .bcb-quiz__answer:hover {
	border-color: var(--bcb-green-text);
	transform: translateX(4px);
}

html body .bcb-quiz__answer.is-picked {
	background: color-mix(in srgb, var(--bcb-green) 16%, var(--bcb-bg));
	border-color: var(--bcb-green);
}

html body .bcb-quiz__start,
html body .bcb-quiz__primary {
	background: var(--bcb-green);
	border: 0;
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-on-accent);
	cursor: pointer;
	display: inline-block;
	font-family: var(--bcb-font-heading);
	font-size: 18px;
	font-weight: 700;
	margin-top: 16px;
	padding: 16px 26px;
	text-decoration: none;
	transition: box-shadow var(--bcb-duration) var(--bcb-ease), transform var(--bcb-duration) var(--bcb-ease);
}

html body .bcb-quiz__start:hover,
html body .bcb-quiz__primary:hover {
	box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--bcb-green) 70%, transparent);
	transform: translateY(-1px);
}

html body .bcb-quiz__secondary {
	background: none;
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-heading);
	cursor: pointer;
	display: inline-block;
	font-size: 15px;
	font-weight: 600;
	padding: 12px 18px;
	text-decoration: none;
}

html body .bcb-quiz__back,
html body .bcb-quiz__skip {
	background: none;
	border: 0;
	color: var(--bcb-muted);
	cursor: pointer;
	font-size: 14px;
	margin-top: 18px;
	padding: 4px 0;
	text-decoration: underline;
}

.bcb-quiz__skip {
	margin-left: 6px;
}

.bcb-quiz .bcb-optin {
	margin: 20px 0 8px;
}

.bcb-quiz__emoji {
	animation: bcb-pop 600ms var(--bcb-ease) both;
	font-size: 64px;
	line-height: 1;
	margin: 8px 0;
}

.bcb-quiz__mix {
	display: grid;
	gap: 8px;
	margin: 20px 0;
}

.bcb-quiz__mixrow {
	align-items: center;
	display: grid;
	font-size: 14px;
	gap: 12px;
	grid-template-columns: minmax(130px, 180px) 1fr 44px;
}

.bcb-quiz__mixbar {
	background: var(--bcb-surface-2);
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
}

.bcb-quiz__mixbar span {
	background: var(--bcb-green);
	display: block;
	height: 100%;
	transition: width 900ms var(--bcb-ease);
	width: 0;
}

.bcb-quiz__facts {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, 1fr);
	margin: 8px 0 24px;
}

.bcb-quiz__facts > div {
	background: var(--bcb-bg);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	padding: 16px;
}

.bcb-quiz__facts p {
	margin: 0;
	padding-bottom: 6px;
}

.bcb-quiz__cta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}

.bcb-quiz__cta .bcb-quiz__primary {
	margin-top: 0;
}

.bcb-greeting {
	color: var(--bcb-heading);
	font-family: var(--bcb-font-heading);
	font-size: 22px;
}

@media (max-width: 767px) {
	.bcb-quiz__facts {
		grid-template-columns: 1fr;
	}

	.bcb-quiz__mixrow {
		grid-template-columns: 1fr 1fr 40px;
	}
}

/* MICRO-INTERACTIONS
   .bcb-reveal elements fade up when they enter the screen (script in
   functions.php). Without JavaScript, or with reduced motion, they just show. */

@keyframes bcb-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

@keyframes bcb-pop {
	0% { opacity: 0; transform: scale(0.4) rotate(-12deg); }
	70% { transform: scale(1.12) rotate(4deg); }
	100% { opacity: 1; transform: none; }
}

.bcb-js .bcb-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 600ms var(--bcb-ease), transform 600ms var(--bcb-ease);
}

.bcb-js .bcb-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Allocation bars below the first screen fill up when they come into view;
   the one in the hero is drawn at once (no late change on first paint). */
.bcb-alloc.bcb-reveal {
	opacity: 1;
	transform: none;
}

.bcb-alloc.bcb-reveal span {
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 900ms var(--bcb-ease);
}

.bcb-alloc.bcb-reveal.is-visible span {
	transform: none;
}

.bcb-alloc span:nth-child(2) { transition-delay: 150ms; }
.bcb-alloc span:nth-child(3) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
	.bcb-js .bcb-reveal,
	.bcb-alloc span {
		opacity: 1;
		transform: none;
	}
}

/* BLOCKCHAIN LOOK
   Terminal-style eyebrows, chain dividers between sections, node pattern
   in hero grids, monospaced figures. */

:root {
	--bcb-font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
	--bcb-gold-grad: linear-gradient(135deg, #f8e08e 0%, #d4a017 45%, #f5b700 60%, #a8790b 100%);
}

html body .bcb-eyebrow,
.bcb-step,
.bcb-badge {
	font-family: var(--bcb-font-mono);
}

html body .bcb-eyebrow::before {
	color: var(--bcb-muted);
	content: "> ";
}

.bcb-price,
.bcb-dh__big,
.bcb-sim__balance,
.bcb-table td.bcb-num {
	font-family: var(--bcb-font-mono);
	letter-spacing: -0.02em;
}

/* Chain divider between consecutive content sections */
.bcb-section + .bcb-section::before,
.bcb-hero + .bcb-section::before {
	background:
		radial-gradient(circle, var(--bcb-green) 0 3px, transparent 4px) center / 120px 8px repeat-x,
		linear-gradient(90deg, transparent, var(--bcb-border) 15%, var(--bcb-border) 85%, transparent) center / 100% 1px no-repeat;
	content: "";
	display: block;
	height: 8px;
	margin: 0 auto 0;
	max-width: 1080px;
	opacity: 0.55;
	position: relative;
	top: -4px;
	width: 90%;
}

/* Nodes on the hero grid */
.bcb-grid-bg {
	background-image:
		radial-gradient(ellipse at 70% 0%, color-mix(in srgb, var(--bcb-green) 12%, transparent), transparent 55%),
		radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--bcb-green) 35%, transparent) 1.5px, transparent 2px),
		linear-gradient(var(--bcb-grid-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--bcb-grid-line) 1px, transparent 1px);
	background-size: auto, 48px 48px, 48px 48px, 48px 48px;
}

/* VIP / PREMIUM
   .bcb-card--vip: black and gold card, stays dark in both themes. */

.bcb-card.bcb-card--vip {
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(245, 183, 0, 0.18), transparent 60%),
		linear-gradient(160deg, #1b160a 0%, #0b0e11 65%);
	border: 1px solid transparent;
	box-shadow: 0 0 0 1px rgba(245, 183, 0, 0.55), 0 30px 80px -30px rgba(245, 183, 0, 0.45);
	color: #d9cfae;
	position: relative;
}

.bcb-card--vip::before {
	background: var(--bcb-gold-grad);
	border-radius: 999px;
	color: #0b0e11;
	content: "VIP";
	font-family: var(--bcb-font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	padding: 4px 12px;
	position: absolute;
	right: 18px;
	top: -12px;
}

html body .bcb-card--vip h3,
html body .bcb-card--vip .bcb-price,
html body .bcb-card--vip strong {
	color: #fff4d0;
}

html body .bcb-card--vip .bcb-price {
	background: var(--bcb-gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

html body .bcb-card--vip li::before {
	color: #f5b700;
}

html body .bcb-card--vip .bcb-small {
	color: #b9ad8a;
}

html body #page-container .bcb-card--vip .et_pb_button {
	background: var(--bcb-gold-grad);
	color: #0b0e11;
}

/* ROCKET BACK-TO-TOP */

.bcb-rocket {
	align-items: center;
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: 999px;
	bottom: 22px;
	box-shadow: var(--bcb-shadow);
	color: var(--bcb-heading);
	cursor: pointer;
	display: flex;
	gap: 8px;
	padding: 8px 16px 8px 10px;
	position: fixed;
	right: 22px;
	z-index: 98;
}

.bcb-rocket[hidden] {
	display: none;
}

.bcb-rocket svg {
	height: 30px;
	transform: rotate(0deg);
	transition: transform var(--bcb-duration) var(--bcb-ease);
	width: 30px;
}

.bcb-rocket__body { fill: var(--bcb-heading); }
.bcb-rocket__window { fill: var(--bcb-green); }
.bcb-rocket__fin { fill: var(--bcb-red); }
.bcb-rocket__flame { fill: var(--bcb-gold); opacity: 0; transform-origin: 32px 46px; }

.bcb-rocket__label {
	font-family: var(--bcb-font-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.bcb-rocket:hover svg {
	transform: translateY(-3px);
}

.bcb-rocket:hover .bcb-rocket__flame {
	animation: bcb-flame 160ms linear infinite alternate;
	opacity: 1;
}

.bcb-rocket.is-launching {
	animation: bcb-launch 1100ms cubic-bezier(.5, 0, .2, 1) forwards;
}

.bcb-rocket.is-launching .bcb-rocket__flame {
	animation: bcb-flame 120ms linear infinite alternate;
	opacity: 1;
}

@keyframes bcb-flame {
	from { transform: scaleY(0.7); }
	to { transform: scaleY(1.3); }
}

@keyframes bcb-launch {
	0% { transform: translateY(0); }
	15% { transform: translateY(6px); }
	100% { opacity: 0; transform: translateY(-110vh); }
}

@media (max-width: 767px) {
	.bcb-rocket {
		bottom: 14px;
		padding: 8px;
		right: 14px;
	}

	.bcb-rocket__label {
		display: none;
	}
}

/* DIAMOND HANDS ([bcb_diamond_hands]) */

.bcb-dh {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	padding: clamp(20px, 3vw, 32px);
}

.bcb-dh p {
	margin: 0;
	padding: 0;
}

.bcb-dh__controls {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 260px));
	margin-bottom: 20px;
}

.bcb-dh__stats {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 18px;
}

.bcb-dh__big {
	color: var(--bcb-heading);
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 700;
}

.bcb-dh__chart svg {
	display: block;
	height: auto;
	width: 100%;
}

.bcb-dh__chart text {
	fill: var(--bcb-muted);
	font-family: var(--bcb-font-mono);
	font-size: 12px;
}

.bcb-dh__line {
	fill: none;
	stroke-linejoin: round;
	stroke-width: 2.5;
	vector-effect: non-scaling-stroke;
}

.bcb-dh__line--basket { stroke: var(--bcb-green); }
.bcb-dh__line--btc { stroke: var(--bcb-gold); stroke-dasharray: 5 4; }
.bcb-dh__area { fill: color-mix(in srgb, var(--bcb-green) 10%, transparent); }
.bcb-dh__base { stroke: var(--bcb-border); stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }

.bcb-dh .bcb-dh__legend {
	color: var(--bcb-muted);
	font-size: 13px;
	margin: 10px 0 18px;
}

.bcb-dh__key {
	border-radius: 2px;
	display: inline-block;
	height: 3px;
	margin: 0 6px 3px 14px;
	vertical-align: middle;
	width: 18px;
}

.bcb-dh__key--basket { background: var(--bcb-green); margin-left: 0; }
.bcb-dh__key--btc { background: var(--bcb-gold); }

@media (max-width: 767px) {
	.bcb-dh__controls,
	.bcb-dh__stats {
		grid-template-columns: 1fr 1fr;
	}
}

/* CURRENCY PICKER (markets) */

.bcb-currency {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: 999px;
	display: inline-flex;
	gap: 2px;
	padding: 4px;
}

html body .bcb-currency a {
	border-radius: 999px;
	color: var(--bcb-text);
	font-family: var(--bcb-font-mono);
	font-size: 13px;
	font-weight: 700;
	padding: 6px 12px;
	text-decoration: none;
}

html body .bcb-currency a[aria-current="true"] {
	background: var(--bcb-green);
	color: var(--bcb-on-accent);
}

/* Premium catalogue: no sorting dropdown, no result count */
.woocommerce-ordering,
.woocommerce-result-count {
	display: none;
}

/* MEMBERS AREA ([bcb_members]) */

.bcb-tabs {
	border-bottom: 1px solid var(--bcb-border);
	display: flex;
	gap: 4px;
	margin: 16px 0 24px;
	overflow-x: auto;
}

html body .bcb-tab {
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	color: var(--bcb-text);
	cursor: pointer;
	font-family: var(--bcb-font-heading);
	font-size: 15px;
	font-weight: 600;
	padding: 12px 16px;
	white-space: nowrap;
}

html body .bcb-tab[aria-selected="true"] {
	border-bottom-color: var(--bcb-green);
	color: var(--bcb-heading);
}

html body .bcb-tab.is-locked {
	color: var(--bcb-muted);
}

.bcb-members__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, 1fr);
}

.bcb-locked,
.bcb-empty {
	background: var(--bcb-surface);
	border: 1px dashed var(--bcb-border);
	border-radius: var(--bcb-radius);
	padding: 40px 24px;
	text-align: center;
}

.bcb-locked__icon {
	font-size: 40px;
}

.bcb-status {
	border-radius: 999px;
	font-family: var(--bcb-font-mono);
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	white-space: nowrap;
}

.bcb-status--buy { background: color-mix(in srgb, var(--bcb-green) 18%, transparent); color: var(--bcb-green-text); }
.bcb-status--hold { background: var(--bcb-surface-2); color: var(--bcb-heading); }
.bcb-status--trim { background: color-mix(in srgb, var(--bcb-gold) 20%, transparent); color: var(--bcb-gold-text); }
.bcb-status--sold { background: var(--bcb-surface-2); color: var(--bcb-muted); }
.bcb-status--watch { border: 1px solid var(--bcb-border); color: var(--bcb-muted); }

.bcb-thesis summary {
	cursor: pointer;
	list-style: none;
}

.bcb-thesis[open] {
	min-width: 260px;
}

.bcb-files {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.bcb-files li {
	align-items: center;
	border-bottom: 1px solid var(--bcb-border);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px 0;
}

.bcb-files__name {
	color: var(--bcb-heading);
	flex: 1 1 240px;
	font-weight: 600;
}

@media (max-width: 767px) {
	.bcb-members__grid {
		grid-template-columns: 1fr;
	}
}

/* LEAD MAGNETS AND UPSELL */

.bcb-lead-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.bcb-lead-grid .bcb-panel {
	margin: 0;
}

.bcb-lead-card {
	border-top: 3px solid var(--bcb-green);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bcb-lead-card h3 {
	margin: 0;
}

.bcb-lead-card .bcb-optin {
	margin-top: auto;
}

.bcb-download,
.bcb-upsell {
	margin-inline: auto;
	max-width: 720px;
	text-align: center;
}

.bcb-download .bcb-files {
	text-align: left;
}

.bcb-upsell {
	border: 1px solid var(--bcb-gold);
	margin-block: 24px;
}

.bcb-upsell .bcb-list {
	display: inline-block;
	text-align: left;
}

/* HEADER CTA (Code module in .bcb-header__actions) */

.bcb-header__actions .et_pb_code_inner {
	align-items: center;
	display: flex;
	gap: 10px;
}

.bcb-header-cta {
	align-items: center;
	background: linear-gradient(135deg, var(--bcb-green) 0%, color-mix(in srgb, var(--bcb-green) 70%, #00b0ff) 100%);
	border-radius: 12px;
	box-shadow: 0 8px 24px -12px color-mix(in srgb, var(--bcb-green) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	color: var(--bcb-on-accent);
	display: inline-flex;
	gap: 10px;
	min-height: 44px;
	padding: 6px 14px 6px 16px;
	text-decoration: none;
	transition: box-shadow var(--bcb-duration) var(--bcb-ease), transform var(--bcb-duration) var(--bcb-ease);
	white-space: nowrap;
}

.bcb-header-cta:hover,
.bcb-header-cta:focus-visible {
	box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--bcb-green) 90%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	color: var(--bcb-on-accent);
	transform: translateY(-1px);
}

.bcb-header-cta:focus-visible {
	outline: 2px solid var(--bcb-heading);
	outline-offset: 3px;
}

.bcb-cta__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.bcb-cta__label {
	font-family: var(--bcb-font-heading);
	font-size: 15px;
	font-weight: 700;
}

.bcb-cta__meta {
	font-family: var(--bcb-font-mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	opacity: 0.75;
	text-transform: uppercase;
}

.bcb-cta__arrow {
	transition: transform var(--bcb-duration) var(--bcb-ease);
}

.bcb-header-cta:hover .bcb-cta__arrow {
	transform: translateX(3px);
}

@media (max-width: 480px) {
	.bcb-header-cta {
		padding: 6px 12px;
	}

	.bcb-cta__meta,
	.bcb-cta__arrow {
		display: none;
	}
}

/* LANGUAGE SWITCHER ([bcb_lang_switcher], header and footer) */

.bcb-lang {
	position: relative;
}

.bcb-lang summary {
	align-items: center;
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: 999px;
	color: var(--bcb-heading);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--bcb-font-mono);
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
	height: 44px;
	justify-content: center;
	list-style: none;
	min-width: 44px;
	padding: 0 12px;
	transition: border-color var(--bcb-duration) var(--bcb-ease);
}

.bcb-lang summary::-webkit-details-marker {
	display: none;
}

.bcb-lang summary::after {
	border-bottom: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	content: "";
	height: 6px;
	transform: rotate(45deg) translateY(-2px);
	width: 6px;
}

.bcb-lang summary:hover,
.bcb-lang[open] summary {
	border-color: var(--bcb-green-text);
}

.bcb-lang ul {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	box-shadow: var(--bcb-shadow);
	list-style: none;
	margin: 0;
	min-width: 160px;
	padding: 6px;
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 100;
}

.bcb-lang li {
	padding: 0;
}

.bcb-lang a {
	border-radius: 6px;
	color: var(--bcb-text);
	display: block;
	font-size: 15px;
	padding: 10px 12px;
	text-decoration: none;
}

.bcb-lang a:hover,
.bcb-lang a[aria-current="true"] {
	background: var(--bcb-surface-2);
	color: var(--bcb-heading);
}

.bcb-lang a[aria-current="true"] {
	box-shadow: inset 2px 0 0 var(--bcb-green);
}

.bcb-footer .bcb-lang ul {
	bottom: calc(100% + 8px);
	top: auto;
}

/* FOOTER v2: CTA band, 5-column grid, legal bar */

html body #page-container .bcb-footer .et_pb_row.bcb-footer__cta {
	max-width: 1240px;
	padding: 48px 0 0;
	width: 90%;
}

.bcb-footer__band {
	align-items: center;
	background:
		radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--bcb-green) 18%, transparent) 0%, transparent 55%),
		var(--bcb-bg);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: space-between;
	padding: 32px;
}

.bcb-footer__band-text {
	flex: 1 1 380px;
}

.bcb-footer__band-text p:last-child {
	margin: 0;
}

html body #page-container .bcb-footer h2.bcb-footer__band-title {
	font-size: clamp(24px, 3vw, 32px);
	margin: 6px 0 8px;
}

.bcb-footer__band-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

html body #page-container .bcb-footer__band-actions .bcb-quiz__primary {
	margin-top: 0;
}

html body #page-container .bcb-footer .et_pb_row.bcb-footer__grid {
	display: grid;
	gap: 32px;
	grid-template-columns: 1.6fr 1fr 1fr 1fr 1.6fr;
	max-width: 1240px;
	padding: 48px 0 32px;
	width: 90%;
}

html body #page-container .bcb-footer .et_pb_row.bcb-footer__grid > .et_pb_column {
	margin: 0;
	width: auto;
}

.bcb-footer__brand {
	align-items: center;
	color: var(--bcb-heading);
	display: inline-flex;
	font-family: var(--bcb-font-heading);
	font-size: 18px;
	font-weight: 700;
	gap: 10px;
	text-decoration: none;
}

.bcb-footer__brand img {
	border-radius: 10px;
	height: 40px;
	width: 40px;
}

.bcb-footer p.bcb-footer__tagline {
	color: var(--bcb-heading);
	font-family: var(--bcb-font-heading);
	font-weight: 600;
	margin: 14px 0 6px;
}

.bcb-footer__trust {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.bcb-footer__trust li {
	align-items: flex-start;
	color: var(--bcb-text);
	display: flex;
	font-size: 14px;
	gap: 8px;
	padding: 0;
}

.bcb-footer__trust li::before {
	color: var(--bcb-green-text);
	content: "✓";
	font-weight: 700;
}

html body #page-container .bcb-footer h2.bcb-footer__title {
	color: var(--bcb-muted);
	font-family: var(--bcb-font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	margin: 6px 0 14px;
	text-transform: uppercase;
}

.bcb-footer__links {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bcb-footer__links li {
	padding: 0;
}

.bcb-footer__links a {
	color: var(--bcb-text);
	font-size: 15px;
	text-decoration: none;
	transition: color var(--bcb-duration) var(--bcb-ease);
}

.bcb-footer__links a:hover,
.bcb-footer__links a:focus-visible {
	color: var(--bcb-green-text);
}

html body #page-container .bcb-footer .et_pb_row.bcb-footer__legal {
	max-width: 1240px;
	padding: 20px 0 32px;
	width: 90%;
}

.bcb-footer__bottom {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 14px;
}

html body #page-container .bcb-footer .bcb-footer__copy {
	margin: 0;
}

@media (max-width: 1100px) {
	html body #page-container .bcb-footer .et_pb_row.bcb-footer__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	html body #page-container .bcb-footer .bcb-footer__col--brand,
	html body #page-container .bcb-footer .bcb-footer__col--news {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	html body #page-container .bcb-footer .et_pb_row.bcb-footer__grid {
		gap: 28px 20px;
		grid-template-columns: 1fr 1fr;
	}

	.bcb-footer__band {
		padding: 24px;
	}

	.bcb-footer__band-actions,
	.bcb-footer__band-actions a {
		width: 100%;
	}

	html body #page-container .bcb-footer__band-actions a {
		text-align: center;
	}
}

/* Divi text modules add list bullets and padding: plain link lists in the footer */
html body #page-container .bcb-footer ul.bcb-footer__links,
html body #page-container .bcb-footer ul.bcb-footer__trust {
	list-style: none;
	padding: 0;
}

/* 404 GAME: Rug or Moon? */

.bcb-game {
	margin-inline: auto;
	max-width: 860px;
}

.bcb-game__hud {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 12px;
}

.bcb-game__hud > div {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	padding: 10px 14px;
}

.bcb-game__hud span {
	color: var(--bcb-muted);
	display: block;
	font-family: var(--bcb-font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bcb-game__hud strong {
	color: var(--bcb-heading);
	font-family: var(--bcb-font-mono);
	font-size: clamp(16px, 2.6vw, 22px);
	font-variant-numeric: tabular-nums;
}

.bcb-game__hud strong.bcb-up {
	color: var(--bcb-green-text);
}

.bcb-game__hud strong.bcb-down {
	color: var(--bcb-red-text);
}

.bcb-game__stage {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	overflow: hidden;
	position: relative;
}

.bcb-game__canvas {
	aspect-ratio: 720 / 340;
	display: block;
	height: auto;
	width: 100%;
}

.bcb-game__overlay {
	align-items: center;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	background: color-mix(in srgb, var(--bcb-surface) 82%, transparent);
	display: flex;
	flex-direction: column;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: absolute;
	text-align: center;
}

.bcb-game__overlay[hidden] {
	display: none;
}

.bcb-game__overlay p {
	margin: 0 auto 8px;
	max-width: 520px;
}

html body #page-container .bcb-game h2.bcb-game__title {
	font-size: clamp(24px, 4vw, 36px);
	margin: 4px 0 8px;
}

html body #page-container .bcb-game__overlay .bcb-quiz__primary {
	margin-top: 8px;
}

.bcb-game__learn {
	font-size: 15px;
	margin-top: 12px;
}

.bcb-game__alert {
	border-radius: 999px;
	font-family: var(--bcb-font-mono);
	font-size: 14px;
	font-weight: 700;
	left: 50%;
	margin: 0;
	padding: 8px 16px;
	position: absolute;
	top: 14px;
	transform: translateX(-50%);
	white-space: nowrap;
}

.bcb-game__alert[data-tone="warn"] {
	background: var(--bcb-gold);
	color: #0b0e11;
}

.bcb-game__alert[data-tone="rug"] {
	animation: bcb-shake 0.4s linear 2;
	background: var(--bcb-red);
	color: #fff;
}

.bcb-game__alert[data-tone="pump"] {
	background: var(--bcb-green);
	color: #0b0e11;
}

@keyframes bcb-shake {
	0%, 100% { transform: translateX(-50%); }
	25% { transform: translateX(calc(-50% - 6px)); }
	75% { transform: translateX(calc(-50% + 6px)); }
}

@media (prefers-reduced-motion: reduce) {
	.bcb-game__alert[data-tone="rug"] {
		animation: none;
	}
}

.bcb-game__trade {
	border: 0;
	border-radius: var(--bcb-radius);
	cursor: pointer;
	display: block;
	font-family: var(--bcb-font-heading);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-top: 12px;
	padding: 18px;
	transition: transform 0.08s var(--bcb-ease), box-shadow var(--bcb-duration) var(--bcb-ease);
	width: 100%;
}

.bcb-game__trade[data-side="buy"] {
	background: var(--bcb-green);
	box-shadow: 0 10px 30px -14px var(--bcb-green);
	color: #0b0e11;
}

.bcb-game__trade[data-side="sell"] {
	background: var(--bcb-red);
	box-shadow: 0 10px 30px -14px var(--bcb-red);
	color: #fff;
}

.bcb-game__trade:active {
	transform: scale(0.98);
}

.bcb-game__trade:disabled {
	cursor: default;
	opacity: 0.4;
}

.bcb-game__trade:focus-visible {
	outline: 3px solid var(--bcb-heading);
	outline-offset: 3px;
}

.bcb-game__help {
	margin-top: 8px;
	text-align: center;
}

@media (max-width: 600px) {
	.bcb-game__hud {
		grid-template-columns: repeat(2, 1fr);
	}

	.bcb-game__canvas {
		aspect-ratio: 1 / 1;
	}

	.bcb-game__overlay {
		font-size: 15px;
		padding: 14px;
	}
}

/* LEGAL PAGES (.bcb-legal inside .bcb-prose): compact headings, readable width */
.bcb-legal {
	max-width: 760px;
}

html body #page-container .bcb-legal h2 {
	font-size: clamp(19px, 2.2vw, 22px);
	margin: 36px 0 10px;
}

.bcb-legal mark.bcb-todo {
	background: var(--bcb-gold);
	border-radius: 4px;
	color: #0b0e11;
	padding: 0 4px;
}

/* WOOCOMMERCE CONTRAST: breadcrumb and prices use theme colours (WooCommerce greys and greens fail AA on light) */
html body #page-container .woocommerce-breadcrumb,
html body #page-container .woocommerce-breadcrumb a {
	color: var(--bcb-text);
}

html body #page-container div.product p.price,
html body #page-container div.product span.price,
html body #page-container ul.products li.product .price,
html body #page-container #main-content ul.products li.product span.price {
	color: var(--bcb-green-text);
}

html body #page-container .product_meta,
html body #page-container .product_meta > span {
	color: var(--bcb-text);
}

html body #page-container .product_meta a {
	color: var(--bcb-green-text);
}

html body #page-container .price bdi,
html body #page-container .price .woocommerce-Price-currencySymbol {
	color: inherit;
}

/* Divi prints the loop price colour (#666) with !important inline: !important is the only way to beat it */
html body #page-container ul.products li.product .price {
	color: var(--bcb-green-text) !important;
}

/* Divi gives table headers #555 (unreadable on dark): use the theme's muted colour */
html body #page-container .bcb-table th,
html body #page-container .bcb-dh table th {
	color: var(--bcb-muted);
}

/* Divi also forces notice text to white with !important: !important needed, or the coupon notice is white on white in light mode */
html body .woocommerce-info,
html body .woocommerce-message,
html body .woocommerce-error {
	color: var(--bcb-text) !important;
}

html body .woocommerce-info a,
html body .woocommerce-message a {
	color: var(--bcb-green-text) !important;
}

html body .woocommerce form .form-row .required,
html body .woocommerce a.remove {
	color: var(--bcb-red-text) !important; /* Divi/WooCommerce dark red fails contrast on dark */
}

/* HEADER LAYOUT: logo never shrinks, menu stays on one line, actions keep their size */
html body #page-container .bcb-header .et_pb_column.bcb-header__logo,
html body #page-container .bcb-header .et_pb_column.bcb-header__actions {
	flex: 0 0 auto;
}

html body #page-container .bcb-header .bcb-logo,
html body #page-container .bcb-header .bcb-logo img {
	flex-shrink: 0;
	max-width: none;
	min-width: 44px;
}

html body #page-container .bcb-header .et_pb_column.bcb-header__nav {
	min-width: 0;
}

html body #page-container .bcb-header .et-menu {
	flex-wrap: nowrap;
	white-space: nowrap;
}

@media (min-width: 981px) and (max-width: 1240px) {
	html body #page-container .bcb-header .et-menu > li {
		padding: 0 1px;
	}

	html body #page-container .bcb-header .et-menu > li > a {
		font-size: 14px;
		padding: 8px 10px;
	}
}

@media (max-width: 980px) {
	html body #page-container .bcb-header .et_pb_row.bcb-header__row > .et_pb_column.bcb-header__logo {
		margin-right: auto;
	}
}

/* TABLET: rows of four cards wrap to two per line; long words never push a column out */
html body #page-container .et_pb_row > .et_pb_column {
	min-width: 0;
}

.bcb-card h2,
.bcb-card h3 {
	overflow-wrap: break-word;
}

@media (min-width: 768px) and (max-width: 980px) {
	html body #page-container .bcb-section .et_pb_row:has(> .et_pb_column:nth-child(4)) {
		flex-wrap: wrap;
		gap: 20px;
	}

	html body #page-container .bcb-section .et_pb_row:has(> .et_pb_column:nth-child(4)) > .et_pb_column {
		flex: 1 1 calc(50% - 10px);
		margin-right: 0;
	}
}

.bcb-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

.bcb-footer__legal-links a {
	color: var(--bcb-muted);
	font-size: 13px;
	text-decoration: none;
}

.bcb-footer__legal-links a:hover,
.bcb-footer__legal-links a:focus-visible {
	color: var(--bcb-green-text);
	text-decoration: underline;
}

/* Links inside running text are underlined, not only coloured (WCAG 1.4.1) */
p.bcb-small a,
.bcb-disclaimer a,
.bcb-legal a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Card titles right after the hero are h2 for a clean heading order, styled like h3 */
html body #page-container h2.bcb-h3 {
	font-size: 22px;
	margin: 12px 0 10px;
	padding-bottom: 0;
}

html body #page-container .bcb-lead-card h2.bcb-h3 {
	margin: 0;
}

html body #page-container .bcb-card--vip h2.bcb-h3 {
	color: #fff4d0;
}

/* PRICE TICKER ([bcb_ticker]): live scrolling banner, pauses on hover and focus */

.bcb-ticker {
	align-items: stretch;
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--bcb-green) 8%, transparent), transparent 30%),
		var(--bcb-surface);
	border-bottom: 1px solid var(--bcb-border);
	border-top: 1px solid var(--bcb-border);
	display: flex;
	font-family: var(--bcb-font-mono);
	overflow: hidden;
	position: relative;
}

.bcb-ticker__head {
	align-items: center;
	border-right: 1px solid var(--bcb-border);
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
	padding: 0 14px;
	position: relative;
	z-index: 2;
}

.bcb-ticker__live {
	align-items: center;
	color: var(--bcb-green-text);
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	gap: 6px;
	letter-spacing: 0.12em;
}

.bcb-ticker__dot {
	background: var(--bcb-green);
	border-radius: 50%;
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--bcb-green) 60%, transparent);
	height: 8px;
	width: 8px;
	animation: bcb-pulse 1.8s ease-out infinite;
}

@keyframes bcb-pulse {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bcb-green) 60%, transparent); }
	70% { box-shadow: 0 0 0 8px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}

.bcb-ticker__vs {
	background: var(--bcb-bg);
	border: 1px solid var(--bcb-border);
	border-radius: 999px;
	display: inline-flex;
	padding: 2px;
}

.bcb-ticker__vs button {
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--bcb-muted);
	cursor: pointer;
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	min-height: 28px;
	padding: 0 9px;
	transition: background-color var(--bcb-duration) var(--bcb-ease), color var(--bcb-duration) var(--bcb-ease);
}

.bcb-ticker__vs button[aria-pressed="true"] {
	background: var(--bcb-green);
	color: var(--bcb-on-accent);
}

.bcb-ticker__vs button:focus-visible {
	outline: 2px solid var(--bcb-heading);
	outline-offset: 1px;
}

.bcb-ticker__viewport {
	flex: 1 1 auto;
	mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
	min-width: 0;
	overflow: hidden;
}

html body #page-container ul.bcb-ticker__track {
	animation: bcb-marquee calc(var(--bcb-ticker-items, 18) * 3.2s) linear infinite;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	width: max-content;
}

.bcb-ticker:hover .bcb-ticker__track,
.bcb-ticker.is-paused .bcb-ticker__track {
	animation-play-state: paused;
}

@keyframes bcb-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

html body #page-container .bcb-ticker__item {
	padding: 0;
}

.bcb-ticker__item a {
	align-items: baseline;
	border-right: 1px solid var(--bcb-border);
	color: var(--bcb-text);
	display: flex;
	font-size: 13px;
	gap: 8px;
	padding: 12px 18px;
	text-decoration: none;
	transition: background-color var(--bcb-duration) var(--bcb-ease);
	white-space: nowrap;
}

.bcb-ticker__item a:hover,
.bcb-ticker__item a:focus-visible {
	background: var(--bcb-surface-2);
	outline: none;
}

.bcb-ticker__sym {
	color: var(--bcb-heading);
	font-weight: 700;
}

.bcb-ticker__price {
	color: var(--bcb-heading);
	font-variant-numeric: tabular-nums;
}

.bcb-ticker__chg {
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.bcb-ticker__chg.bcb-up {
	color: var(--bcb-green-text);
}

.bcb-ticker__chg.bcb-down {
	color: var(--bcb-red-text);
}

/* Price change flash after a live refresh */
.bcb-ticker__item.is-up a {
	animation: bcb-flash-up 1.2s var(--bcb-ease);
}

.bcb-ticker__item.is-down a {
	animation: bcb-flash-down 1.2s var(--bcb-ease);
}

@keyframes bcb-flash-up {
	from { background: color-mix(in srgb, var(--bcb-green) 28%, transparent); }
	to { background: transparent; }
}

@keyframes bcb-flash-down {
	from { background: color-mix(in srgb, var(--bcb-red) 28%, transparent); }
	to { background: transparent; }
}

@media (max-width: 600px) {
	.bcb-ticker__head {
		gap: 6px;
		padding: 0 8px;
	}

	.bcb-ticker__live {
		font-size: 0;
		gap: 0;
	}

	.bcb-ticker__vs button {
		padding: 0 7px;
	}

	.bcb-ticker__item a {
		padding: 10px 14px;
	}
}

/* Reduced motion: no scrolling, swipe through the list instead */
@media (prefers-reduced-motion: reduce) {
	html body #page-container ul.bcb-ticker__track {
		animation: none;
	}

	.bcb-ticker__viewport {
		overflow-x: auto;
	}

	.bcb-ticker__dot,
	.bcb-ticker__item.is-up a,
	.bcb-ticker__item.is-down a {
		animation: none;
	}
}

/* Newsletter confirmation toast (?subscribed=1) */
.bcb-toast {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-green);
	border-radius: var(--bcb-radius-s);
	bottom: 24px;
	box-shadow: var(--bcb-shadow);
	color: var(--bcb-heading);
	left: 50%;
	margin: 0;
	padding: 14px 20px;
	position: fixed;
	transform: translateX(-50%);
	z-index: 1000;
	animation: bcb-in 360ms var(--bcb-ease) both;
}

/* Ticker strip on the home page: full width, no Divi padding */
html body #page-container .bcb-ticker-section,
html body #page-container .bcb-ticker-section .et_pb_row.bcb-ticker-row {
	max-width: none;
	padding: 0;
	width: 100%;
}

html body #page-container .bcb-ticker-section .et_pb_column {
	margin: 0;
	width: 100%;
}

/* 404 */

.bcb-404 h1 {
	font-size: clamp(64px, 14vw, 160px);
	line-height: 1;
}

/* SHOP, PRODUCT, CART, CHECKOUT */

.bcb-steps {
	counter-reset: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.bcb-steps li {
	align-items: center;
	color: var(--bcb-muted);
	display: flex;
	font-weight: 600;
	gap: 10px;
}

.bcb-steps span {
	align-items: center;
	border: 1px solid var(--bcb-border);
	border-radius: 999px;
	display: inline-flex;
	font-size: 13px;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.bcb-steps li.is-active {
	color: var(--bcb-heading);
}

.bcb-steps li.is-active span {
	background: var(--bcb-green);
	border-color: var(--bcb-green);
	color: var(--bcb-on-accent);
}

.bcb-steps--stack {
	flex-direction: column;
	gap: 14px;
}

.bcb-trust {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.bcb-trust li {
	color: var(--bcb-text);
	font-size: 14px;
	padding: 6px 0 6px 28px;
	position: relative;
}

.bcb-trust li::before {
	color: var(--bcb-green-text);
	content: "✓";
	font-weight: 700;
	left: 4px;
	position: absolute;
}

.bcb-panel {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	margin-bottom: 20px;
	padding: 24px;
}

/* Product grid ([products] and shop archive) */
html body .woocommerce ul.products {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	margin: 0;
}

html body .woocommerce ul.products::before,
html body .woocommerce ul.products::after {
	display: none;
}

html body .woocommerce ul.products[class] li.product {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	display: flex;
	flex-direction: column;
	float: none;
	margin: 0;
	overflow: hidden;
	padding: 0 0 22px;
	transition: border-color var(--bcb-duration) var(--bcb-ease), transform var(--bcb-duration) var(--bcb-ease), box-shadow var(--bcb-duration) var(--bcb-ease);
	width: 100%;
}

html body .woocommerce ul.products li.product:hover {
	border-color: color-mix(in srgb, var(--bcb-green) 50%, var(--bcb-border));
	box-shadow: var(--bcb-shadow);
	transform: translateY(-3px);
}

html body .woocommerce ul.products li.product a img {
	aspect-ratio: 16 / 10;
	margin: 0 0 18px;
	object-fit: cover;
	transition: transform 600ms var(--bcb-ease);
	width: 100%;
}

html body .woocommerce ul.products li.product:hover a img {
	transform: scale(1.04);
}

html body .woocommerce ul.products li.product .et_shop_image {
	display: block;
	overflow: hidden;
}

html body .woocommerce ul.products li.product .et_overlay {
	display: none;
}

html body .woocommerce ul.products li.product .woocommerce-loop-product__title,
html body .woocommerce ul.products li.product .price,
html body .woocommerce ul.products li.product .bcb-loop-excerpt,
html body .woocommerce ul.products li.product .button {
	margin-left: 22px;
	margin-right: 22px;
}

html body .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--bcb-font-heading);
	font-size: 22px;
	padding: 0 0 6px;
}

html body .woocommerce ul.products li.product .price {
	color: var(--bcb-heading);
	font-family: var(--bcb-font-heading);
	font-size: 22px;
	font-weight: 700;
}

html body .woocommerce ul.products li.product .price del {
	color: var(--bcb-muted);
	font-size: 15px;
}

.bcb-loop-excerpt {
	color: var(--bcb-text);
	flex: 1 1 auto;
	font-size: 15px;
	line-height: 1.55;
	margin-top: 8px;
}

html body .woocommerce ul.products li.product .button {
	align-self: flex-start;
	margin-top: 16px;
}

html body .woocommerce span.onsale {
	background: var(--bcb-gold);
	border-radius: 999px;
	color: var(--bcb-on-accent);
	font-weight: 700;
	left: 14px;
	min-height: 0;
	padding: 4px 12px;
	top: 14px;
}

/* Single product */
html body.single-product .product_title {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
}

html body.single-product .summary .price {
	color: var(--bcb-heading);
	font-family: var(--bcb-font-heading);
	font-size: 32px;
	font-weight: 700;
}

html body.single-product div.product .woocommerce-product-gallery img {
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
}

html body.single-product .woocommerce-tabs ul.tabs {
	border-bottom: 1px solid var(--bcb-border);
	padding: 0;
}

html body.single-product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
}

html body.single-product .woocommerce-tabs ul.tabs li.active {
	border-bottom: 2px solid var(--bcb-green);
}

html body.single-product .woocommerce-tabs ul.tabs li a {
	color: var(--bcb-heading);
}

html body.single-product .woocommerce-tabs .panel {
	background: transparent;
	color: var(--bcb-text);
}

html body.single-product .quantity {
	display: none;
}

/* Checkout */
html body .woocommerce form .form-row label {
	color: var(--bcb-heading);
	font-weight: 600;
}

html body .woocommerce form .form-row input.input-text,
html body .woocommerce form .form-row select,
html body .select2-container--default .select2-selection--single {
	background: var(--bcb-bg);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-heading);
	min-height: 48px;
	padding: 10px 14px;
}

html body .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--bcb-heading);
	line-height: 26px;
}

html body .select2-dropdown {
	background: var(--bcb-surface);
	border-color: var(--bcb-border);
	color: var(--bcb-heading);
}

html body .woocommerce form .form-row input.input-text:focus {
	border-color: var(--bcb-green-text);
	outline: none;
}

html body .woocommerce-checkout #payment {
	border-radius: var(--bcb-radius-s);
}

html body .woocommerce-checkout #payment div.payment_box {
	background: var(--bcb-surface-2);
	color: var(--bcb-text);
}

html body .woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--bcb-surface-2);
}

html body .woocommerce #payment #place_order {
	font-size: 18px;
	min-height: 56px;
	width: 100%;
}

html body .woocommerce table.shop_table th,
html body .woocommerce table.shop_table td {
	border-color: var(--bcb-border);
	color: var(--bcb-text);
}

html body .woocommerce table.shop_table .order-total td,
html body .woocommerce table.shop_table .order-total th {
	color: var(--bcb-heading);
	font-size: 18px;
}

html body .woocommerce-info,
html body .woocommerce-message,
html body .woocommerce-error {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-left: 3px solid var(--bcb-green);
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-text);
}

html body .woocommerce-info::before,
html body .woocommerce-message::before {
	color: var(--bcb-green-text);
}

/* Two-column checkout: details left, order and payment right */
.bcb-checkout form.checkout {
	align-items: start;
	display: grid;
	gap: 0 32px;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.bcb-checkout form.checkout > * {
	grid-column: 1;
}

.bcb-checkout form.checkout #customer_details {
	grid-row: 1 / span 6;
}

html body .woocommerce .woocommerce-info,
html body .woocommerce-page .woocommerce-info,
html body .woocommerce-error,
html body .woocommerce-message {
	background: var(--bcb-surface) !important; /* Divi paints notices with the accent colour and !important */
	color: var(--bcb-text);
}

.bcb-checkout form.checkout #order_review_heading {
	grid-column: 2;
	grid-row: 1;
	margin: 0 0 12px;
}

.bcb-checkout form.checkout #order_review {
	grid-column: 2;
	grid-row: 2 / span 4;
}

.bcb-checkout #customer_details,
.bcb-checkout #order_review,
.bcb-cart .woocommerce-cart-form,
.bcb-cart .cart-collaterals .cart_totals {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius);
	padding: 24px;
}

html body .bcb-checkout .col2-set .col-1,
html body .bcb-checkout .col2-set .col-2 {
	float: none;
	width: 100%;
}

html body .woocommerce form .form-row {
	padding: 0;
	width: 100%;
}

.bcb-trust li {
	list-style: none;
}

@media (max-width: 980px) {
	.bcb-checkout form.checkout {
		grid-template-columns: 1fr;
	}

	.bcb-checkout form.checkout #order_review_heading,
	.bcb-checkout form.checkout #order_review {
		grid-column: 1;
		grid-row: auto;
		margin-top: 24px;
	}
}

.bcb-checkout-note {
	margin-top: 12px;
	text-align: center;
}

/* My account */
html body .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 8px;
}

html body .woocommerce-MyAccount-navigation li a {
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-heading);
	display: block;
	padding: 10px 14px;
}

html body .woocommerce-MyAccount-navigation li.is-active a,
html body .woocommerce-MyAccount-navigation li a:hover {
	background: var(--bcb-surface-2);
}

/* WOOCOMMERCE */

html body .woocommerce input.input-text,
html body .woocommerce select,
html body .woocommerce textarea {
	background: var(--bcb-surface);
	border: 1px solid var(--bcb-border);
	border-radius: var(--bcb-radius-s);
	color: var(--bcb-heading);
}

html body .woocommerce table.shop_table,
html body .woocommerce-checkout #payment,
html body .woocommerce-MyAccount-navigation,
html body .woocommerce .woocommerce-info,
html body .woocommerce .woocommerce-message {
	background: var(--bcb-surface);
	border-color: var(--bcb-border);
	color: var(--bcb-text);
}

html body .woocommerce ul.products li.product .woocommerce-loop-product__title,
html body .woocommerce .price {
	color: var(--bcb-heading);
}

/* MOTION */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important; /* override Divi animations for users who ask for less motion */
		transition-duration: 0.01ms !important;
	}

	.bcb-card:hover {
		transform: none;
	}
}
