.ccc-cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10050;
	background: #fff;
	border-top: 4px solid #d02b0c;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
	font: 16px/24px 'Raleway', sans-serif;
	color: #000;
}

.ccc-cookie-banner[hidden],
.ccc-cookie-overlay[hidden],
.ccc-cookie-modal[hidden] {
	display: none !important;
}

.ccc-cookie-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 15px;
}

.ccc-cookie-banner__content {
	flex: 1 1 320px;
	min-width: 0;
}

.ccc-cookie-banner__message {
	margin: 0;
}

.ccc-cookie-banner__message a {
	color: #d02b0c;
	font-weight: 600;
	text-decoration: underline;
}

.ccc-cookie-banner__message a:hover,
.ccc-cookie-banner__message a:focus {
	color: #bb2104;
}

.ccc-cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex: 0 1 auto;
}

.ccc-cookie-btn {
	display: inline-block;
	font: 700 14px/18px 'Raleway', sans-serif;
	text-transform: uppercase;
	padding: 12px 20px;
	border: 2px solid transparent;
	border-radius: 0;
	cursor: pointer;
	transition: all linear 0.2s;
	-webkit-transition: all linear 0.2s;
	white-space: nowrap;
}

.ccc-cookie-btn--primary {
	background: #d02b0c;
	border-color: #d02b0c;
	color: #fff;
}

.ccc-cookie-btn--primary:hover,
.ccc-cookie-btn--primary:focus {
	background: #fff;
	color: #d02b0c;
}

.ccc-cookie-btn--secondary {
	background: #f26c00;
	border-color: #f26c00;
	color: #fff;
}

.ccc-cookie-btn--secondary:hover,
.ccc-cookie-btn--secondary:focus {
	background: #fff;
	color: #f26c00;
}

.ccc-cookie-btn--outline {
	background: #fff;
	border-color: #d02b0c;
	color: #d02b0c;
}

.ccc-cookie-btn--outline:hover,
.ccc-cookie-btn--outline:focus {
	background: #d02b0c;
	color: #fff;
}

.ccc-cookie-btn--text {
	background: transparent;
	border-color: transparent;
	color: #666;
	text-transform: none;
	font-weight: 600;
}

.ccc-cookie-btn--text:hover,
.ccc-cookie-btn--text:focus {
	color: #d02b0c;
}

.ccc-cookie-overlay {
	position: fixed;
	inset: 0;
	z-index: 10060;
	background: rgba(0, 0, 0, 0.55);
}

.ccc-cookie-modal {
	position: fixed;
	inset: 0;
	z-index: 10070;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 15px;
	overflow-y: auto;
}

body.ccc-cookie-modal-open {
	overflow: hidden;
}

.ccc-cookie-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 640px;
	background: #fff;
	color: #000;
	padding: 28px 24px 24px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	font: 16px/24px 'Raleway', sans-serif;
}

.ccc-cookie-modal__title {
	margin: 0 0 10px;
	font: 700 24px/30px 'Raleway', sans-serif;
	color: #d02b0c;
	text-transform: uppercase;
}

.ccc-cookie-modal__intro {
	margin: 0 0 24px;
}

.ccc-cookie-category {
	border-top: 1px solid #e5e5e5;
	padding: 18px 0;
}

.ccc-cookie-category:first-of-type {
	border-top: none;
	padding-top: 0;
}

.ccc-cookie-category__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.ccc-cookie-category__name {
	margin: 0;
	flex: 1 1 auto;
	font: 700 18px/24px 'Raleway', sans-serif;
}

.ccc-cookie-category__status {
	font-size: 14px;
	font-weight: 600;
	color: #77a508;
	text-transform: uppercase;
}

.ccc-cookie-category__desc {
	margin: 0;
	color: #444;
	font-size: 15px;
	line-height: 22px;
}

.ccc-cookie-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.ccc-cookie-toggle__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ccc-cookie-toggle__label {
	position: relative;
	display: block;
	width: 52px;
	height: 30px;
	background: #ccc;
	border-radius: 30px;
	cursor: pointer;
	transition: background 0.2s linear;
}

.ccc-cookie-toggle__label::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 24px;
	height: 24px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.2s linear;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ccc-cookie-toggle__input:checked + .ccc-cookie-toggle__label {
	background: #77a508;
}

.ccc-cookie-toggle__input:checked + .ccc-cookie-toggle__label::after {
	transform: translateX(22px);
}

.ccc-cookie-toggle__input:focus + .ccc-cookie-toggle__label {
	outline: 2px solid #d02b0c;
	outline-offset: 2px;
}

.ccc-cookie-toggle--locked .ccc-cookie-toggle__label {
	background: #77a508;
	cursor: not-allowed;
	opacity: 0.85;
}

.ccc-cookie-toggle--locked .ccc-cookie-toggle__label::after {
	transform: translateX(22px);
}

.ccc-cookie-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

@media (max-width: 767px) {
	.ccc-cookie-banner__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.ccc-cookie-banner__actions,
	.ccc-cookie-modal__actions {
		flex-direction: column;
	}

	.ccc-cookie-btn {
		width: 100%;
		text-align: center;
		white-space: normal;
	}

	.ccc-cookie-modal__dialog {
		padding: 22px 18px 18px;
	}
}
