/*
 * OG Nexus: the shop notice pop-up (assets/js/og-notices.js). The page's own notice banners are hidden only once the
 * script has started (html.og-notices-on), so without JavaScript they still show.
 */
html.og-notices-on .woocommerce-notices-wrapper .woocommerce-error,
html.og-notices-on .woocommerce-notices-wrapper .woocommerce-message,
html.og-notices-on .woocommerce-notices-wrapper .woocommerce-info,
html.og-notices-on .woocommerce > .woocommerce-error,
html.og-notices-on .woocommerce > .woocommerce-message,
html.og-notices-on .woocommerce > .woocommerce-info,
html.og-notices-on .wc-block-components-notice-banner {
	display: none !important;
}
html.og-pop-open { overflow: hidden; }

.og-pop {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(3, 8, 20, .72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.og-pop[hidden] { display: none; }

.og-pop__card {
	--og-pop-accent: #4aa8ff;
	position: relative;
	width: min(520px, 100%);
	max-height: 90vh;
	overflow: auto;
	padding: 28px 28px 24px;
	border: 1px solid rgba(125, 184, 255, .28);
	border-top: 4px solid var(--og-pop-accent);
	border-radius: 22px;
	background: #0b1530;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .55), 0 0 40px rgba(74, 168, 255, .12);
	color: #f5f7fb;
	font-size: 15px;
	line-height: 1.5;
}
.og-pop[data-kind="error"] .og-pop__card { --og-pop-accent: #ff5d6c; }
.og-pop[data-kind="warning"] .og-pop__card { --og-pop-accent: #ffc94a; }
.og-pop[data-kind="success"] .og-pop__card { --og-pop-accent: #19c37d; }

.og-pop__x {
	position: absolute;
	right: 14px;
	top: 14px;
	width: 36px;
	height: 36px;
	padding: 0 !important;
	border-radius: 10px !important;
	border: 1px solid rgba(255, 255, 255, .16) !important;
	background: rgba(255, 255, 255, .04) !important;
	color: #f5f7fb !important;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}
.og-pop__eye {
	margin: 0 0 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--og-pop-accent);
}
.og-pop__title {
	margin: 0 0 14px;
	padding-right: 40px;
	font-family: Orbitron, sans-serif;
	font-size: 22px;
	line-height: 1.2;
	color: #fff;
}
.og-pop__list { display: grid; gap: 10px; }
.og-pop__item {
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-left: 3px solid var(--og-pop-accent);
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	color: #f5f7fb !important;
}
.og-pop__item--error { border-left-color: #ff5d6c; }
.og-pop__item--warning { border-left-color: #ffc94a; }
.og-pop__item--success { border-left-color: #19c37d; }
.og-pop__item--info { border-left-color: #4aa8ff; }
.og-pop__item *,
.og-pop__item p,
.og-pop__item li { color: #f5f7fb !important; }
.og-pop__item p,
.og-pop__item ul { margin: 0; padding: 0; list-style: none; }
.og-pop__item li + li { margin-top: 6px; }
.og-pop__item a,
.og-pop__item a.button,
.og-pop__item .wc-forward {
	float: none !important;
	display: inline-block;
	margin: 6px 8px 0 0;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: #9fd0ff !important;
	font-weight: 700;
	text-decoration: underline !important;
}
.og-pop__ok {
	display: block;
	width: 100%;
	margin-top: 20px;
	padding: 13px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, #2f7dff, #4aa8ff) !important;
	color: #fff !important;
	font-size: 15.5px;
	font-weight: 700;
	cursor: pointer;
}
.og-pop__ok:focus-visible,
.og-pop__x:focus-visible { outline: 2px solid #9fd0ff; outline-offset: 2px; }
