:root {
	--dzsp-blue: #3561e7;
	--dzsp-ink: #111827;
	--dzsp-muted: #667085;
	--dzsp-border: #dfe5f0;
	--dzsp-soft: #f5f7ff;
}

.dzsp-tier {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	max-width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--dzsp-border);
	border-radius: 12px;
	background: #fff;
	color: var(--dzsp-ink);
	line-height: 1.25;
}

.dzsp-tier__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 9px;
	background: var(--dzsp-soft);
	color: var(--dzsp-blue);
	font-size: 18px;
}

.dzsp-tier__content {
	display: grid;
	gap: 2px;
}

.dzsp-tier__content small {
	color: var(--dzsp-blue);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.dzsp-tier__content strong {
	font-size: 14px;
}

.dzsp-tier__content > span {
	color: var(--dzsp-muted);
	font-size: 12px;
}

.dzsp-tier__content b {
	color: var(--dzsp-blue);
	font-size: 13px;
}

.dzsp-tier--pallet {
	border-color: #f5c2c7;
	background: #fff8f8;
}

.dzsp-tier--pallet .dzsp-tier__icon,
.dzsp-tier--pallet .dzsp-tier__content small {
	color: #b42318;
}

.dzsp-protection {
	margin: 0;
}

.dzsp-protection th,
.dzsp-protection td {
	vertical-align: middle !important;
}

.dzsp-protection__label {
	display: grid;
	grid-template-columns: 26px 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 17px;
	border: 2px solid var(--dzsp-border);
	border-radius: 15px;
	background: #fff;
	cursor: pointer;
	transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.dzsp-protection__label:hover {
	border-color: #a9baf6;
	background: var(--dzsp-soft);
}

.dzsp-protection__label:has(input:checked) {
	border-color: var(--dzsp-blue);
	background: var(--dzsp-soft);
	box-shadow: 0 0 0 4px rgba(53, 97, 231, .09);
}

.dzsp-protection__label input {
	width: 24px !important;
	height: 24px !important;
	margin: 0 !important;
	accent-color: var(--dzsp-blue);
}

.dzsp-protection__check {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--dzsp-soft);
	color: var(--dzsp-blue);
	font-weight: 900;
}

.dzsp-protection__copy {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.dzsp-protection__copy strong {
	color: var(--dzsp-ink);
	font-size: 15px;
}

.dzsp-protection__copy small {
	color: var(--dzsp-muted);
	font-size: 12px;
	line-height: 1.4;
}

.dzsp-protection__price {
	white-space: nowrap;
	color: var(--dzsp-blue);
	font-size: 15px;
	font-weight: 800;
}

.woocommerce-checkout-review-order-table tr.dzsp-protection-fee-row {
	display: none !important;
}

.dzsp-tier-row th,
.dzsp-tier-row td {
	vertical-align: middle !important;
}

.dzsp-order-tier {
	margin: 18px 0;
	padding: 12px 14px;
	border-left: 4px solid var(--dzsp-blue);
	background: var(--dzsp-soft);
}

@media (max-width: 640px) {
	.dzsp-tier {
		width: 100%;
		box-sizing: border-box;
	}

	.dzsp-protection__label {
		grid-template-columns: 24px minmax(0, 1fr);
		gap: 10px;
		padding: 14px;
	}

	.dzsp-protection__check {
		display: none;
	}

	.dzsp-protection__price {
		grid-column: 2;
		font-size: 13px;
	}
}
