/* EDENEA – Pause inventaire SQF. Police héritée du thème (Divi) pour rester dans la charte. */
.edp {
	--edp-navy: #183963;
	--edp-blue: #1177b1;
	--edp-sky: #36a9e0;
	--edp-tint: #eef6fc;
	--edp-line: #cfe3f3;
	--edp-text: #2b3a4a;
	--edp-error: #b42318;
	margin: 1.25em 0 1.5em;
	padding: 20px 22px 18px;
	background: var(--edp-tint);
	border: 1px solid var(--edp-line);
	border-left: 4px solid var(--edp-sky);
	border-radius: 10px;
	color: var(--edp-text);
	scroll-margin-top: 120px;
}
.edp__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.edp__icon {
	flex: 0 0 auto; display: grid; place-items: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--edp-navy); color: #fff;
}
.edp .edp__title { margin: 0; padding: 0; font-size: 1.15em; line-height: 1.3; font-weight: 700; color: var(--edp-navy); }
.edp__msg p { margin: 0 0 .6em; padding: 0; font-size: .95em; line-height: 1.55; }
.edp__date {
	display: inline-flex; align-items: center; gap: 6px;
	margin: 2px 0 14px; padding: 4px 11px;
	background: #fff; border: 1px solid var(--edp-line); border-radius: 999px;
	font-size: .85em; font-weight: 600; color: var(--edp-blue);
}
.edp__row { display: flex; gap: 8px; }
.edp__label {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.edp .edp__input {
	flex: 1 1 auto; min-width: 0; height: 46px; margin: 0;
	padding: 0 14px; background: #fff; color: var(--edp-text);
	border: 1px solid #b9cfe2; border-radius: 6px; font-size: 16px; /* 16px : pas de zoom auto sur iOS */
	box-shadow: none;
}
.edp .edp__input:focus { outline: none; border-color: var(--edp-blue); box-shadow: 0 0 0 3px rgba(54, 169, 224, .3); }
.edp .edp__input[aria-invalid="true"] { border-color: var(--edp-error); }
.edp .edp__btn {
	flex: 0 0 auto; height: 46px; margin: 0; padding: 0 22px;
	background: var(--edp-navy); color: #fff; border: 0; border-radius: 6px;
	font-size: 15px; font-weight: 700; cursor: pointer; transition: background .15s;
}
.edp .edp__btn:hover { background: var(--edp-blue); }
.edp .edp__btn:focus-visible { outline: 3px solid var(--edp-sky); outline-offset: 2px; }
.edp .edp__btn[disabled] { opacity: .7; cursor: progress; }
.edp__consent {
	display: flex; align-items: flex-start; gap: 8px;
	margin: 10px 0 0; font-size: .8em; line-height: 1.45; color: #4f5f70; cursor: pointer;
}
.edp__consent input { flex: 0 0 auto; margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--edp-navy); }
.edp__consent a { color: var(--edp-blue); text-decoration: underline; }
.edp__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.edp__error { margin: 8px 0 0; padding: 0; font-size: .85em; font-weight: 600; color: var(--edp-error); }
.edp__error:empty { display: none; }

.edp__done { display: flex; align-items: flex-start; gap: 12px; padding-top: 4px; outline: none; }
.edp__done:not([hidden]) { animation: edp-in .35s ease-out; }
.edp__check {
	flex: 0 0 auto; display: grid; place-items: center;
	width: 38px; height: 38px; border-radius: 50%; background: var(--edp-sky); color: #fff;
}
.edp__done-title { margin: 0; padding: 0; font-weight: 700; color: var(--edp-navy); }
.edp__done-text { margin: 2px 0 0; padding: 0; font-size: .92em; }
@keyframes edp-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Mention de disponibilité et bouton en liste produits */
.edenea-pause-stock { color: #1177b1 !important; font-weight: 600; }
a.button.edp-loop-btn { background: #fff !important; color: #183963 !important; border: 2px solid #183963 !important; }
a.button.edp-loop-btn:hover { background: #183963 !important; color: #fff !important; }

@media (max-width: 480px) {
	.edp { padding: 18px 16px 16px; }
	.edp__row { flex-direction: column; }
	.edp .edp__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.edp__done:not([hidden]) { animation: none; }
	.edp .edp__btn { transition: none; }
}
