/* Store notice strip */
.ggn-store-notice {
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
	width: 100%;
}

.ggn-store-notice .ggn-store-notice__inner {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	gap: var(--wp--preset--spacing--card);
	margin-left: auto;
	margin-right: auto;
	max-width: var(--wp--style--global--wide-size);
	min-height: var(--wp--custom--control--size);
	padding-left: var(--wp--preset--spacing--gutter);
	padding-right: var(--wp--preset--spacing--gutter);
}

.ggn-store-notice p.ggn-store-notice__message.woocommerce-store-notice.demo_store {
	background-color: transparent;
	bottom: auto;
	box-shadow: none;
	color: inherit;
	display: block;
	flex: 1 1 auto;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--custom--font--notice);
	left: auto;
	margin: 0;
	max-width: none;
	min-height: 0;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 0;
	position: static;
	right: auto;
	text-align: left;
	top: auto;
	visibility: visible;
	width: auto;
	z-index: auto;
}

.ggn-store-notice .ggn-store-notice__message a {
	color: var(--wp--preset--color--on-accent);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ggn-store-notice .ggn-store-notice__dismiss {
	align-items: center;
	background-color: transparent;
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	color: var(--wp--preset--color--on-accent);
	display: inline-flex;
	flex: 0 0 auto;
	font-family: var(--wp--preset--font-family--body);
	justify-content: center;
	min-height: var(--wp--custom--control--size);
	min-width: var(--wp--custom--control--size);
	padding: var(--wp--custom--control--icon);
}

.ggn-store-notice .ggn-store-notice__dismiss:hover {
	text-decoration: underline;
}

.ggn-store-notice .ggn-store-notice__dismiss:focus-visible,
.ggn-store-notice .ggn-store-notice__message a:focus-visible {
	outline: 1px solid var(--wp--preset--color--on-accent);
	outline-offset: 1px;
}

/* WooCommerce's original JavaScript hook remains available but is not visible. */
.ggn-store-notice .ggn-store-notice__dismiss-link {
	display: none;
}

.ggn-store-notice .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px /* spacing-ok: visually hidden notice label offset */;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
	word-wrap: normal;
}

@media (max-width: 781px) {
	.ggn-store-notice .ggn-store-notice__message a {
		align-items: center;
		display: inline-flex;
		min-height: var(--wp--custom--control--size);
	}
}

