/*
Theme Name: naturalenergy
Author: Gregory Ruelle
Author URI: https://ruellegregory.be
Version: 1.0
Text Domain: naturalenergy
*/



/* Overlay */
.ne-popup-overlay{
	position:fixed;
	inset:0;
	background:rgba(0,0,0,.5);
	display:none;
	align-items:center;
	justify-content:center;
	z-index:999999;
}
/* Dialog */
.ne-popup{
	background:#fff;
	max-width:720px;
	width:clamp(320px,92vw,720px);
	border-radius:14px;
	box-shadow:0 10px 40px rgba(0,0,0,.25);
	overflow: scroll;
	max-height: 90vh;
	font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Arial,sans-serif;
}
.ne-popup-header{
	background:#f59e0b; /* orange */
	color:#fff;
	padding:18px 20px;
	display:flex;
	align-items:center;
	gap:14px;
}
.ne-popup-header svg{
	flex:0 0 auto;
}
.ne-popup-title{
	font-size:20px;
	font-weight:700;
	line-height:1.2;
	margin:0;
	color:#fff;
}
.ne-popup-body{
	padding:18px 20px 8px;
	color:#0f172a;
	font-size:16px;
	line-height:1.55;
}
.ne-popup-body p{margin:0 0 10px}
.ne-popup-body ul{
	margin:10px 0 0 18px;
	padding:0;
}
.ne-popup-body li{margin:6px 0}
.ne-popup-footer{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	justify-content:flex-end;
	padding:14px 20px 18px;
}
.ne-btn{
	appearance:none;
	border:0;
	padding:10px 14px;
	font-weight:700;
	cursor:pointer;
}
.ne-btn-primary{
	background:#97c61f;
	color:#fff;
	border: 1px solid #97c61f;
}
.ne-btn-primary:hover{
	background:#fff;
	color:#97c61f;
}
.ne-btn-ghost{
	background:transparent;
	color:#0ea5e9;
}
/* Close (X) */
.ne-close{
	position:absolute;
	top:10px;
	right:10px;
	background:transparent;
	border:0;
	cursor:pointer;
	padding:8px;
	line-height:0;
	color:#fff;
}
.ne-popup-wrap{position:relative}
/* Accessibility helpers when opened */
body.ne-no-scroll{overflow:hidden}
@media (prefers-reduced-motion:no-preference){
	.ne-popup-overlay[data-open="true"]{animation:ne-fade .18s ease-out}
	.ne-popup{animation:ne-pop .18s ease-out}
	@keyframes ne-fade{from{opacity:0}to{opacity:1}}
	@keyframes ne-pop{from{transform:translateY(8px);opacity:.96}to{transform:none;opacity:1}}
}