/* ─── Cookie Consent Banner ─── */
.dst-cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.dst-cookie-banner--top {
	bottom: auto;
	top: 0;
}

.dst-cookie-banner--bottom-left,
.dst-cookie-banner--bottom-right {
	left: auto;
	right: auto;
	max-width: 380px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.dst-cookie-banner--bottom-left {
	bottom: 1rem;
	left: 1rem;
}

.dst-cookie-banner--bottom-right {
	bottom: 1rem;
	right: 1rem;
}

.dst-cookie-banner__inner {
	padding: 1rem 1.25rem;
}

.dst-cookie-banner__content p {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
}

.dst-cookie-banner__privacy-link {
	font-size: 0.75rem;
	text-decoration: underline;
	opacity: 0.7;
}

.dst-cookie-banner__privacy-link:hover {
	opacity: 1;
}

/* ─── Categories ─── */
.dst-cookie-banner__categories {
	margin: 0.75rem 0;
	padding: 0.75rem;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 4px;
}

.dst-cookie-category {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	cursor: pointer;
	font-size: 0.75rem;
}

.dst-cookie-category:last-of-type {
	border-bottom: none;
}

.dst-cookie-category input[type="checkbox"] {
	width: 14px;
	height: 14px;
	cursor: pointer;
	accent-color: #8b5cf6;
}

.dst-cookie-category span {
	font-weight: 600;
	flex: 1;
}

.dst-cookie-category small {
	display: none;
}

/* ─── Buttons ─── */
.dst-cookie-banner__actions {
	display: flex;
	gap: 0.375rem;
	margin-top: 0.75rem;
}

.dst-cookie-btn {
	padding: 0.4rem 0.75rem;
	border: none;
	border-radius: 4px;
	font-size: 0.6875rem;
	font-weight: 600;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
	transition: opacity 0.2s;
}

.dst-cookie-btn:hover {
	opacity: 0.85;
}

.dst-cookie-btn--accept {
	color: #fff;
	flex: 1;
}

.dst-cookie-btn--reject {
	background: rgba(255, 255, 255, 0.1);
	color: inherit;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.dst-cookie-btn--settings {
	background: transparent;
	color: inherit;
	opacity: 0.6;
	text-decoration: underline;
	padding-left: 0;
	padding-right: 0;
}

.dst-cookie-btn--save {
	margin-top: 0.5rem;
	color: #fff;
	width: 100%;
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
	.dst-cookie-banner--bottom-left,
	.dst-cookie-banner--bottom-right {
		left: 0;
		right: 0;
		bottom: 0;
		max-width: none;
		border-radius: 0;
	}
}
