:root {
	--ocoa-cookie-accent: #322C22;
	--ocoa-cookie-accent-dark: #1c1811;
}

.ocoa-cookie-banner {
	position: fixed;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	z-index: 100000;
	background: #ffffff;
	box-shadow: 0 2px 16px rgba(0,0,0,0.2);
	border-radius: 10px;
	padding: 12px 18px;
	width: calc(100% - 32px);
	max-width: 560px;
}
.ocoa-cookie-banner-inner {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.ocoa-cookie-banner-text {
	width: 100%;
}
.ocoa-cookie-banner-inner p {
	margin: 0;
	font-size: 11px;
	line-height: 1.35;
	color: #222;
	text-align: justify;
}
.ocoa-cookie-banner-inner a {
	color: var(--ocoa-cookie-accent);
	text-decoration: underline;
}
.ocoa-cookie-banner-links {
	margin-top: 4px !important;
	font-size: 10px !important;
	text-align: justify;
}
.ocoa-cookie-banner-links span {
	color: #ccc;
	margin: 0 4px;
}
.ocoa-cookie-banner-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}
.ocoa-cookie-btn {
	border: none;
	border-radius: 6px;
	padding: 6px 14px;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	font-family: 'Open Sans', helvetica, arial, sans-serif;
}
.ocoa-cookie-btn-primary {
	background: var(--ocoa-cookie-accent);
	color: #fff;
}
.ocoa-cookie-btn-primary:hover {
	background: var(--ocoa-cookie-accent-dark);
}
.ocoa-cookie-btn-outline {
	background: transparent;
	color: var(--ocoa-cookie-accent);
	border: 2px solid var(--ocoa-cookie-accent);
}
.ocoa-cookie-btn-outline:hover {
	background: var(--ocoa-cookie-accent);
	color: #fff;
}

.ocoa-cookie-prefs {
	position: fixed;
	inset: 0;
	z-index: 100001;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ocoa-cookie-prefs-inner {
	background: #fff;
	border-radius: 10px;
	max-width: 520px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	padding: 28px;
}
.ocoa-cookie-prefs-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}
.ocoa-cookie-prefs-header h2 {
	margin: 0;
	font-size: 20px;
	color: #222;
}
.ocoa-cookie-prefs-close {
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #888;
}
.ocoa-cookie-prefs p {
	font-size: 14px;
	color: #444;
	line-height: 1.5;
}
.ocoa-cookie-category {
	border-top: 1px solid #eee;
	padding: 14px 0;
}
.ocoa-cookie-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	color: #222;
}
.ocoa-cookie-category-desc {
	margin: 6px 0 0;
	font-size: 13px;
	color: #777;
}
.ocoa-switch {
	position: relative;
	display: inline-block;
	width: 42px;
	height: 24px;
	flex-shrink: 0;
}
.ocoa-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.ocoa-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background-color: #ccc;
	border-radius: 24px;
	transition: 0.2s;
}
.ocoa-slider:before {
	content: "";
	position: absolute;
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	border-radius: 50%;
	transition: 0.2s;
}
.ocoa-switch input:checked + .ocoa-slider {
	background-color: var(--ocoa-cookie-accent);
}
.ocoa-switch input:checked + .ocoa-slider:before {
	transform: translateX(18px);
}
.ocoa-switch-disabled .ocoa-slider {
	opacity: 0.6;
	cursor: not-allowed;
}
.ocoa-cookie-prefs-actions {
	margin-top: 18px;
	text-align: right;
}
.ocoa-cookie-prefs-links {
	margin-top: 14px;
	font-size: 13px;
}
.ocoa-cookie-prefs-links a {
	color: var(--ocoa-cookie-accent);
}
.ocoa-cookie-prefs-links span {
	color: #ccc;
	margin: 0 4px;
}

@media (max-width: 600px) {
	.ocoa-cookie-banner-actions {
		width: 100%;
		justify-content: stretch;
	}
	.ocoa-cookie-btn {
		flex: 1;
	}
}
