:root {
	--st13-primary: #101936;
	--st13-accent: #e8542f;
}

/* Hard isolation — theme/Elementor styles must not leak into the banner */
.st13-cookie-banner,
.st13-cookie-banner * {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Heebo", "Assistant", Arial, sans-serif !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.st13-cookie-banner {
	position: fixed;
	inset-inline-end: 20px;
	bottom: 20px;
	z-index: 999999;
	width: min(420px, calc(100vw - 32px));
	background: var(--st13-primary);
	color: #fff;
	border-radius: 14px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	font-size: 14px;
	line-height: 1.6;
	animation: st13-slide-up 0.35s ease;
}

.st13-cookie-banner::before {
	content: "";
	display: block;
	height: 3px;
	background: linear-gradient(90deg, var(--st13-accent), color-mix(in srgb, var(--st13-accent) 40%, var(--st13-primary)));
}

@keyframes st13-slide-up {
	from { transform: translateY(16px); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

.st13-cookie-inner { padding: 20px 22px 14px; }

.st13-cookie-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.st13-cookie-head strong { font-size: 16px !important; font-weight: 700 !important; color: #fff !important; margin: 0 !important; }
.st13-cookie-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: color-mix(in srgb, #fff 8%, transparent);
	color: var(--st13-accent);
	flex-shrink: 0;
}

.st13-cookie-text { margin: 0 0 16px !important; padding: 0 !important; font-size: 14px !important; color: rgba(255, 255, 255, 0.78) !important; }
.st13-cookie-text .st13-policy-link {
	color: #fff !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-decoration-color: var(--st13-accent) !important;
	white-space: nowrap;
	background: none !important;
}
.st13-cookie-text .st13-policy-link:hover { color: #fff !important; opacity: 0.85; }

.st13-cookie-actions { display: flex; gap: 10px; }

.st13-btn {
	flex: 1;
	padding: 11px 16px !important;
	border-radius: 9px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: filter 0.15s ease, background 0.15s ease;
}
.st13-btn.st13-accept {
	background: var(--st13-accent) !important;
	color: #fff !important;
	border: none !important;
}
.st13-btn.st13-accept:hover { filter: brightness(1.1); background: var(--st13-accent) !important; }
.st13-btn.st13-decline {
	background: transparent !important;
	color: rgba(255, 255, 255, 0.85) !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.st13-btn.st13-decline:hover { background: rgba(255, 255, 255, 0.08) !important; color: #fff !important; }

.st13-credit { margin-top: 10px; text-align: start; }
.st13-credit a {
	font-size: 10px;
	color: rgba(255, 255, 255, 0.35);
	text-decoration: none;
	letter-spacing: 0.02em;
}
.st13-credit a:hover { color: rgba(255, 255, 255, 0.6); }

/* Footer shortcode link */
a.st13-cookie-open { cursor: pointer; }

/* Consent checkbox (checkout / forms) — fully isolated from theme/Elementor styles */
.st13-consent-field {
	width: 100% !important;
	flex: 0 0 100% !important;
	max-width: 100% !important;
	margin: 12px 0 0 !important;
	padding: 0 !important;
	order: 999;
	text-align: start !important;
}
.st13-consent-label {
	display: inline-flex !important;
	align-items: flex-start !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: var(--st13-consent-text, #5a6472) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer;
}
.st13-consent-label span { color: inherit !important; font: inherit !important; }
.st13-consent-label input[type="checkbox"] {
	-webkit-appearance: auto !important;
	appearance: auto !important;
	margin: 2px 0 0 !important;
	accent-color: var(--st13-accent) !important;
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0;
	border: 1px solid #9aa3af !important;
	background: #fff !important;
	box-shadow: none !important;
}

/* Floating reopen (optional mode) — hardened against theme/Elementor button styles */
button.st13-cookie-reopen,
.st13-cookie-reopen {
	position: fixed !important;
	inset-inline-end: 20px !important;
	bottom: 20px !important;
	z-index: 999998;
	width: 40px !important;
	height: 40px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	border: none !important;
	outline: none !important;
	background: var(--st13-primary) !important;
	background-image: none !important;
	color: #fff !important;
	font-size: 0 !important;
	line-height: 1 !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
	cursor: pointer;
	opacity: 0.85;
	transition: opacity 0.15s ease, transform 0.15s ease;
}
button.st13-cookie-reopen:hover,
.st13-cookie-reopen:hover {
	opacity: 1;
	transform: translateY(-2px);
	background: var(--st13-primary) !important;
	color: #fff !important;
}
.st13-cookie-reopen svg { width: 18px !important; height: 18px !important; display: block; }

@media (max-width: 600px) {
	.st13-cookie-banner { inset-inline: 12px; bottom: 12px; width: auto; }
}
