.yescookies-popup {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	justify-content: center;
	padding: 0 1rem 1.25rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.yescookies-popup--visible {
	opacity: 1;
	pointer-events: auto;
}

.yescookies-popup__overlay {
	display: none;
}

.yescookies-popup__card {
	position: relative;
	max-width: 1060px;
	width: 100%;
	background: #fff;
	border-radius: 18px;
	padding: 1.3rem 1.75rem;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	color: #1d2433;
}

.yescookies-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	border: none;
	background: transparent;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	color: #667085;
	padding: 0.15rem;
}

.cookies-header {
	display: flex;
	align-items: center;
	gap: 16px;
}

.yescookies-popup__title {
	margin: 0;
	padding: 0!important;
	font-size: 1.15rem!important;
	font-weight: 700!important;
	color: #101828;
}

.yescookies-popup__summary p {
	margin: 0 0 0.35rem;
	color: #4b5565;
	line-height: 1.45;
	font-size: 0.95rem;
}

.yescookies-popup__summary p:last-child {
	margin-bottom: 0;
}

.yescookies-popup__toggle {
	align-self: flex-start;
	border: none;
	background: #fff;
	color: #4fae5f;
	font-weight: 600;
	font-size: 0.85rem;
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	cursor: pointer;
}

.yescookies-popup__details {
	border-top: 1px solid #e4e7ec;
	padding-top: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	height: 300px;
	overflow: scroll;
}

.yescookies-popup__details[hidden] {
	display: none;
}

.yescookies-popup__subtitle {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
}

.yescookies-popup__message p {
	margin: 0 0 0.8rem;
	font-size: 0.9rem;
	color: #4b5565;
	line-height: 1.55;
}

.yescookies-popup__message p:last-child {
	margin-bottom: 0;
}

.yescookies-popup__message--muted p {
	color: #596173;
}

.yescookies-popup__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.yescookies-popup__category {
	min-width: 200px;
}

.yescookies-popup__category-label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: #101828;
}

.yescookies-popup__badge {
	font-size: 0.7rem;
	text-transform: uppercase;
	color: #067647;
	background: #e8f7ed;
	padding: 0.05rem 0.45rem;
	border-radius: 999px;
}

.yescookies-popup__category p {
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
	color: #4b5565;
	line-height: 1.5;
}

.yescookies-popup__note {
	margin: 0;
	font-size: 0.85rem;
	color: #4b5565;
}

.yescookies-popup__note a {
	color: #0f6bff;
	font-weight: 600;
	text-decoration: none;
}

.yescookies-popup__note a:hover {
	text-decoration: underline;
}

.yescookies-popup__actions {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 0.5rem;
}

.yescookies-popup__btn {
	border: none;
	border-radius: 50px;
	padding: 0.85rem 1.4rem;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.yescookies-popup__btn:hover {
	transform: translateY(-1px);
}

.yescookies-popup__btn--ghost {
	background: transparent;
	color: #111827;
	border: 1px solid #d0d5dd;
}

.yescookies-popup__btn--primary {
	color: #fff;
}

@media (max-width: 540px) {
	.yescookies-popup__card {
		padding: 1.25rem 1.1rem 1.1rem;
		border-radius: 16px 16px 12px 12px;
	}

	.yescookies-popup__actions {
		flex-direction: column-reverse;
	}

	.yescookies-popup__btn {
		width: 100%;
		text-align: center;
	}
}

