.jd-cookie-consent {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 1.5rem;
	position: fixed;
	z-index: 100000;
}

body.jd-cookie-consent-open {
	overflow: hidden;
}

.jd-cookie-consent[hidden] {
	display: none;
}

.jd-cookie-consent.is-visible {
	display: flex;
}

.jd-cookie-consent__overlay {
	background: rgba(0, 0, 0, 0.55);
	inset: 0;
	position: absolute;
}

.jd-cookie-consent__panel {
	background: #fff;
	border-radius: var(--jd-radius);
	box-shadow: var(--jd-shadow);
	max-width: 520px;
	padding: 1.75rem;
	position: relative;
	width: 100%;
	z-index: 1;
}

.jd-cookie-consent__title {
	color: #202020;
	font-size: 1.5rem;
	margin: 0 0 0.75rem;
}

.jd-cookie-consent__text {
	color: #404040;
	margin: 0 0 1.5rem;
}

.jd-cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: flex-end;
}

.jd-cookie-consent__btn {
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 600;
	padding: 0.75rem 1.25rem;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.jd-cookie-consent__btn--leave {
	background: transparent;
	border: 2px solid #202020;
	color: #202020;
}

.jd-cookie-consent__btn--leave:hover,
.jd-cookie-consent__btn--leave:focus {
	background: #202020;
	color: #fff;
}

.jd-cookie-consent__btn--accept {
	background: var(--jd-primary);
	color: #fff;
}

.jd-cookie-consent__btn--accept:hover,
.jd-cookie-consent__btn--accept:focus {
	background: var(--jd-primary-dark);
}

@media (max-width: 767px) {
	.jd-cookie-consent__actions {
		flex-direction: column;
	}

	.jd-cookie-consent__btn {
		width: 100%;
	}
}