/* Customs & Duty Notice — frontend styles */

body.wcdn-no-scroll {
	overflow: hidden;
}

.wcdn-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.wcdn-modal {
	position: relative;
	background: #fff;
	max-width: 520px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	border-radius: 8px;
	padding: 32px 28px 28px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	animation: wcdn-pop-in 0.2s ease-out;
}

@keyframes wcdn-pop-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.wcdn-modal h2 {
	margin: 0 0 14px;
	font-size: 1.3em;
	line-height: 1.3;
	padding-right: 24px;
}

.wcdn-modal .wcdn-body p {
	margin: 0 0 12px;
	font-size: 0.97em;
	line-height: 1.55;
}

.wcdn-modal .wcdn-body p:last-child {
	margin-bottom: 0;
}

.wcdn-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #555;
	padding: 4px;
}

.wcdn-close:hover {
	color: #000;
}

.wcdn-ok-btn {
	display: inline-block;
	margin-top: 18px;
	padding: 10px 22px;
	background: #1d2327;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.95em;
}

.wcdn-ok-btn:hover {
	background: #000;
}

/* Checkout notice */

.wcdn-checkout-notice {
	background: #fff8e5;
	border: 1px solid #f0c36d;
	border-left: 4px solid #e3a008;
	border-radius: 4px;
	padding: 16px 18px;
	margin: 0 0 24px;
}

.wcdn-checkout-notice h3 {
	margin: 0 0 10px;
	font-size: 1.05em;
}

.wcdn-checkout-notice .wcdn-body p {
	margin: 0 0 10px;
	font-size: 0.93em;
	line-height: 1.5;
}

.wcdn-checkout-notice .wcdn-body p:last-child {
	margin-bottom: 0;
}
