/* Cryptonly demo store branding (woocommerce-example mu-plugin). */

.cryptonly-demo-topbar {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
}

.cryptonly-demo-topbar__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	justify-content: space-between;
	min-height: 3.5rem;
	padding-bottom: 0.875rem;
	padding-top: 0.875rem;
}

.cryptonly-demo-topbar__brand {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 0.625rem 0.875rem;
	min-width: 0;
}

.cryptonly-demo-topbar__label {
	color: #333;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.3;
}

.cryptonly-demo-logo {
	align-items: center;
	display: inline-flex;
	flex-shrink: 0;
	gap: 0.75rem;
	text-decoration: none;
}

.cryptonly-demo-logo__icon {
	display: block;
	height: 20px;
	width: auto;
}

.cryptonly-demo-logo__wordmark {
	display: block;
	height: 12px;
	width: auto;
}

/* Hide default Storefront site title when top bar shows the Cryptonly brand. */
body.cryptonly-demo-site .site-header .site-branding {
	display: none;
}

body.cryptonly-demo-site .site-header {
	padding-bottom: 0.875rem;
	padding-top: 0.875rem;
}

body.cryptonly-demo-site .site-header .col-full {
	align-items: center;
	min-height: 2.75rem;
}

body.cryptonly-demo-site .main-navigation ul.menu > li > a,
body.cryptonly-demo-site .site-header .site-search {
	font-size: 1rem;
}

.cryptonly-demo-notice {
	background: #111;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: #f5f5f5;
	font-size: 0.8125rem;
	line-height: 1.4;
	padding: 0.5rem 1rem;
	text-align: center;
}

.cryptonly-demo-notice a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cryptonly-demo-notice a:hover,
.cryptonly-demo-notice a:focus {
	color: #e0e0e0;
}

.cryptonly-demo-hero {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	color: #111;
	margin: 0 auto 2rem;
	max-width: 1170px;
	min-height: 260px;
	overflow: hidden;
	padding: 2rem 1.5rem;
	position: relative;
}

.cryptonly-demo-hero__coins {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.cryptonly-demo-hero__coins::before {
	background: linear-gradient(
		90deg,
		#fff 0%,
		#fff 38%,
		rgba(255, 255, 255, 0.92) 52%,
		rgba(255, 255, 255, 0.45) 72%,
		rgba(255, 255, 255, 0.15) 100%
	);
	content: '';
	inset: 0;
	position: absolute;
	z-index: 1;
}

.cryptonly-demo-hero__content {
	max-width: 62%;
	position: relative;
	z-index: 2;
}

.cryptonly-demo-hero__coin {
	height: auto;
	object-fit: contain;
	opacity: 0.32;
	position: absolute;
	width: auto;
}

.cryptonly-demo-hero__coin--btc {
	height: 168px;
	right: 6%;
	top: -12%;
	transform: translateX(-40px);
	width: 168px;
}

.cryptonly-demo-hero__coin--eth {
	height: 148px;
	right: 28%;
	top: 8%;
	width: 148px;
}

.cryptonly-demo-hero__coin--usdt {
	height: 132px;
	right: 2%;
	top: 34%;
	width: 132px;
}

.cryptonly-demo-hero__coin--doge {
	height: 112px;
	right: 14%;
	top: 62%;
	width: 112px;
}

.cryptonly-demo-hero__title {
	color: #111;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.75rem;
}

.cryptonly-demo-hero h2.cryptonly-demo-hero__title {
	color: #111;
}

.cryptonly-demo-hero__intro {
	color: #444;
	font-size: 1rem;
	line-height: 1.55;
	margin: 0 0 1.25rem;
	max-width: 40rem;
}

.cryptonly-demo-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.cryptonly-demo-hero__btn {
	align-items: center;
	background: #111;
	border: 1px solid #111;
	border-radius: 6px;
	color: #fff;
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 600;
	gap: 0.4rem;
	line-height: 1.2;
	padding: 0.55rem 1rem;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.cryptonly-demo-hero__btn-icon {
	display: block;
	flex-shrink: 0;
	height: 16px;
	width: 16px;
}

.cryptonly-demo-hero__btn .cryptonly-demo-hero__btn-icon {
	filter: brightness(0) invert(1);
}

.cryptonly-demo-hero__btn:hover,
.cryptonly-demo-hero__btn:focus {
	background: #333;
	border-color: #333;
	color: #fff;
}

.cryptonly-demo-hero__btn--secondary {
	background: transparent;
	border-color: #ccc;
	color: #111;
}

.cryptonly-demo-hero__btn--light {
	background: #fff;
	border-color: #ccc;
	color: #111;
}

.cryptonly-demo-hero__btn--light .cryptonly-demo-hero__btn-icon {
	filter: none;
}

.cryptonly-demo-hero__btn--light:hover,
.cryptonly-demo-hero__btn--light:focus {
	background: #f5f5f5;
	border-color: #bbb;
	color: #111;
}

.cryptonly-demo-hero__btn--secondary:hover,
.cryptonly-demo-hero__btn--secondary:focus {
	background: #f5f5f5;
	border-color: #bbb;
	color: #111;
}

.cryptonly-demo-footer {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	color: #555;
	font-size: 0.875rem;
	margin-top: 2rem;
	padding: 1.25rem 0 0.5rem;
	text-align: center;
}

.cryptonly-demo-footer a {
	color: #111;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cryptonly-demo-footer a:hover,
.cryptonly-demo-footer a:focus {
	color: #000;
}

@media (min-width: 768px) {
	.cryptonly-demo-hero {
		padding: 2.5rem 2rem;
	}

	.cryptonly-demo-hero__title {
		font-size: 1.75rem;
	}
}

@media (max-width: 900px) {
	.cryptonly-demo-hero {
		min-height: 0;
	}

	.cryptonly-demo-hero__coins {
		opacity: 0.55;
	}

	.cryptonly-demo-hero__coin {
		opacity: 0.18;
	}

	.cryptonly-demo-hero__coin--btc {
		bottom: -18%;
		height: 110px;
		right: -8%;
		top: auto;
		transform: translateX(-40px);
		width: 110px;
	}

	.cryptonly-demo-hero__coin--eth,
	.cryptonly-demo-hero__coin--usdt,
	.cryptonly-demo-hero__coin--doge {
		display: none;
	}

	.cryptonly-demo-hero__content {
		max-width: none;
	}

	.cryptonly-demo-hero__intro {
		max-width: none;
	}
}

/* Storefront shows a house icon on the breadcrumb home link; label is Shop now. */
.cryptonly-demo-site .woocommerce-breadcrumb .breadcrumb-home::before {
	content: none;
	display: none;
}
