.cc-btn:focus-visible,
.ccd-close:focus-visible,
.cc-text a:focus-visible,
.toggle input:focus-visible {
  outline: 2px solid #0047ab;
  outline-offset: 2px;
}
.cc-banner {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 9999;
	color: #011627;
	box-shadow: 0 0 2rem rgba(0,0,0,0.15);
	background-color: #ffffff;
}
.cc-inner {
	max-width: 1216px;
	margin: 0 auto;
	padding: 2rem;
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr auto;
	align-items: center;
}
.cc-text {
	margin: 0;
	color: #011627;
}
.cc-text a {
	color: #0047ab;
}
.cc-text a:hover {
	color: #0047ab;
	text-decoration: underline;
	text-underline-offset: .25rem;
}
.cc-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.cc-btn {
	appearance: none;
	background: #b49a67;
	color: #fff;
	padding: .75rem 1.25rem;
	border-radius: 100px;
	cursor: pointer;
}
.cc-btn:hover {
	background: #ce000b;
}
.cc-btn.primary {
	background: #b49a67;
}
.cc-btn.primary:hover {
	background: #ce000b;
}
.cc-btn.secondary {
	background: #6b717e;
}
.cc-btn.secondary:hover {
	background: #011627;
}
.cc-btn.link {
	background: transparent;
	color: #d8dbe2;
}
.cc-btn.link:hover {
	color: #6b717e;
}

dialog#cc-dialog {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: none;
	border-radius: 1rem;
	padding: 0;
	width: min(680px, 96vw);
	color: #011627;
	box-shadow: 0 0 2rem rgba(0,0,0,0.15);
	background: #ffffff;
}
dialog::backdrop {
	background: rgba(0,0,0,.6);
}
.ccd-head {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #d8dbe2;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.ccd-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 500;
}
.ccd-body {
	padding: 1rem 1.5rem;
	display: grid;
	gap: 1rem;
}
.ccd-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 1rem;
	border: 1px solid #d8dbe2;
	border-radius: 0.5rem;
}
.ccd-row h4 {
	margin: 0 0 0.25rem 0;
	font-size: 1rem;
	font-weight: 500;
}
.ccd-row p {
	margin: 0;
	color: #6b717e;
	font-size: 1rem;
}
.ccd-switch {
	display: flex;
	align-items: center;
	gap: 1rem;
	white-space: nowrap;
}
.ccd-footer {
	padding: 1rem 1.5rem;
	display: flex;
	gap: 0.75rem;
	justify-content: flex-end;
}
.ccd-close {
	appearance: none;
	background: transparent;
	border: none;
	font-size: 2rem;
	cursor: pointer;
	color: #6b717e;
}
.ccd-close:hover {
	color: #011627;
}
.toggle {
	position: relative;
	width: 3.5rem;
	height: 2rem;
	border-radius: 999px;
	background: #dddddd;
}
.toggle input {
	position: absolute;
	inset: 0;
	opacity: 0;
}
.toggle i {
	position: absolute;
	top: 0.25rem;
	left: 0.25rem;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: #ffffff;
	transition: transform .3s ease;
}
.toggle input:checked + i {
	transform: translateX(1.5rem);
	background: #b49a67;
}
.badge {
	font-size: 1rem;
	padding: .25rem .75rem;
	border-radius: 999px;
	background: #c7e9c0;
	color: #238b45;
	margin-left: 0.25rem;
	margin-top: 0.25rem;
}

/* NEW TOGGLE */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2rem;
  padding-inline-start: 3.5rem;
  cursor: pointer;
}
.toggle input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.toggle .toggle-ui {
  position: absolute;
  left: 0;
  width: 3.5rem;
  height: 2rem;
  border-radius: 999px;
  background: #dddddd;
}
.toggle .toggle-ui::after {
  content: "";
  position: absolute;
  top: .25rem;
  left: .25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #ffffff;
  transition: transform .3s ease;
}
.toggle input:checked + .toggle-ui {
  background: #b49a67;
}
.toggle input:checked + .toggle-ui::after {
  transform: translateX(1.5rem);
}
.toggle .toggle-text {
	display: none;
}
/* END NEW TOGGLE */

@media (max-width: 40rem) {
	.cc-inner { grid-template-columns:1fr; }
	.cc-actions { justify-content:stretch; }
	dialog#cc-dialog {
		width: 100svw;
		width: 100vw;
		left: 0;
		right: 0;
		transform: translateY(-50%);
		margin: 0;
		max-width: none;
		border-radius: 0;
	}
	.ccd-footer {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 1rem 0;
	}
}