.afc-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: -100%;
	z-index: 99999;
	background: #fff;
	color: #222;
	border-top: 1px solid #ddd;
	box-shadow: 0 -2px 12px rgba( 0, 0, 0, 0.12 );
	padding: 18px 20px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
	transition: bottom 0.3s ease;
	max-width: 100%;
	box-sizing: border-box;
}

.afc-banner--visible {
	bottom: 0;
}

.afc-banner__text p {
	margin: 0 0 10px;
	max-width: 800px;
}

.afc-banner__text a {
	color: var( --af-theme-accent, #2ea3f2 );
	text-decoration: underline;
}

.afc-banner__panel {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 10px 0;
	padding: 10px 0;
	border-top: 1px solid #eee;
}

.afc-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.afc-toggle--disabled {
	opacity: 0.6;
	cursor: default;
}

.afc-banner__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.afc-btn {
	border: 2px solid #ddd;
	background: #fff;
	border-radius: 999px;
	padding: 9px 20px;
	font-weight: 600;
	cursor: pointer;
	font-size: 13px;
}

.afc-btn--accept,
.afc-btn--save {
	border-color: var( --af-theme-accent, #2ea3f2 );
	background: var( --af-theme-accent, #2ea3f2 );
	color: #fff;
}

.afc-btn--customize:hover {
	border-color: var( --af-theme-accent, #2ea3f2 );
}

#af-cookie-reopen {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99998;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
	font-size: 18px;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.15 );
}

@media ( max-width: 600px ) {
	.afc-banner {
		padding: 14px;
	}
	.afc-banner__actions {
		flex-direction: column;
	}
	.afc-btn {
		width: 100%;
		text-align: center;
	}
}
