/* Skip waste restrictions popup */
.wch-waste {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.wch-waste.is-open {
	opacity: 1;
}

.wch-waste[hidden] {
	display: none !important;
}

html.wch-waste-open {
	overflow: hidden;
}

.wch-waste__overlay {
	position: absolute;
	inset: 0;
	background: rgba(12, 7, 48, 0.72);
	cursor: pointer;
}

.wch-waste__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 980px;
	max-height: 88vh;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
	outline: none;
	transform: translateY(12px);
	transition: transform 0.25s ease;
}

.wch-waste.is-open .wch-waste__panel {
	transform: none;
}

.wch-waste__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 28px;
	border-bottom: 1px solid #ececf4;
}

.wch-waste__title {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
	color: #0c0730;
}

.wch-waste__close {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f3f3f8;
	color: #555;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.wch-waste__close:hover {
	background: #e8e8f2;
	color: #0c0730;
}

/* Scrolls within the popup */
.wch-waste__body {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 36px;
	padding: 26px 28px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.wch-waste__section h3 {
	margin: 0 0 8px;
	font-size: 19px;
	color: #0c0730;
}

.wch-waste__intro {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.6;
	color: #666;
}

.wch-waste__list {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 28px;
}

.wch-waste__list--ok {
	columns: 1;
}

.wch-waste__list li {
	position: relative;
	break-inside: avoid;
	padding: 0 0 12px 30px;
}

.wch-waste__list li::before {
	position: absolute;
	top: 1px;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

.wch-waste__list--ok li::before {
	content: "\2713";
	background: #e3f4e8;
	color: #1a7f37;
}

.wch-waste__list--no li::before {
	content: "\2715";
	background: #fde8e8;
	color: #c62828;
}

.wch-waste__item {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #0c0730;
}

.wch-waste__note {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.45;
	color: #777;
}

.wch-waste__footer {
	display: flex;
	justify-content: flex-end;
	padding: 16px 28px;
	border-top: 1px solid #ececf4;
}

.wch-waste__done {
	padding: 12px 36px;
	border: 0;
	border-radius: 50px;
	background: #1907c0;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.wch-waste__done:hover {
	background: #1193eb;
}

@media (max-width: 760px) {
	.wch-waste {
		padding: 10px;
	}

	.wch-waste__panel {
		max-height: 92vh;
	}

	.wch-waste__header {
		padding: 16px 18px;
	}

	.wch-waste__title {
		font-size: 20px;
	}

	.wch-waste__body {
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 20px 18px;
	}

	.wch-waste__footer {
		padding: 12px 18px;
	}

	.wch-waste__done {
		width: 100%;
	}
}

@media (max-width: 420px) {
	.wch-waste__list {
		columns: 1;
	}
}
