/* Lou Pesque — compléments au thème */
@media only screen and (max-width: 767px) {
  #diyfeMobileNav > ul { display: none !important; }
  #diyfeMobileNav.navOpen > ul { display: block !important; }
  #diyfeMobileNav li.lp-sub-open > .diyfeDropDownSubList { display: block; }
}
.diyw img { max-width: 100%; height: auto; }

/* visionneuse */
.lp-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.lp-lb img { max-width: 94vw; max-height: 90vh; box-shadow: 0 0 30px #000; cursor: default; }
.lp-lb button { position: absolute; background: rgba(0,0,0,.45); color: #fff; border: 0; font-size: 44px; line-height: 1; width: 56px; height: 56px; cursor: pointer; border-radius: 50%; }
.lp-lb button:hover, .lp-lb button:focus { background: rgba(255,255,255,.25); }
.lp-lb-close { top: 12px; right: 12px; }
.lp-lb-prev { left: 12px; top: 50%; margin-top: -28px; }
.lp-lb-next { right: 12px; top: 50%; margin-top: -28px; }
.lp-lb-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #ddd; font: 14px Helvetica, Arial, sans-serif; }

/* formulaire de contact */
.lp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lp-form-msg { padding: 12px 16px; margin: 0 0 16px; border-radius: 4px; font-weight: bold; }
.lp-form-msg.lp-ok { background: #1f6b2b; color: #fff; }
.lp-form-msg.lp-err { background: #fff; color: #a40000; }
.lp-consent { padding: 0 0 20px 31%; }
.lp-consent label { display: block; width: auto !important; text-align: left !important; float: none !important; }
@media only screen and (max-width: 767px) { .lp-consent { padding-left: 0; } }
.lp-map p { margin: 8px 0 0; text-align: right; }

/* carte chargée à la demande */
.lp-map-ask { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.25); }
.lp-map-ask p { margin: 0; text-align: center; max-width: 46ch; }
.lp-map-load { font: inherit; font-size: 1.1em; padding: 10px 18px; border: 0; border-radius: 4px; background: #c0461b; color: #fff; cursor: pointer; }
.lp-map-load:hover, .lp-map-load:focus-visible { background: #e87e59; }
