/* ITEM Commandes WhatsApp — fenêtre de demande (fiche produit, seulement si le formulaire est activé). */
.item-wac { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; }
.item-wac[hidden] { display: none; }
.item-wac__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.item-wac__sheet { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; background: #fff; border-radius: 16px 16px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(0,0,0,.18); font-family: "Inter", system-ui, sans-serif; color: #1f2937; }
@media (min-width: 768px) { .item-wac { align-items: center; } .item-wac__sheet { border-radius: 16px; padding: 26px; } }
.item-wac__close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: #6b7280; cursor: pointer; padding: 0; }
.item-wac__title { font-family: "Poppins", system-ui, sans-serif; font-size: 20px; margin: 0 40px 6px 0; color: #0f4c81; }
.item-wac__product { margin: 0 0 14px; font-size: 14px; color: #6b7280; }
.item-wac__product strong { color: #1f2937; }
.item-wac__field { display: block; margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.item-wac__field span { display: block; margin-bottom: 4px; }
.item-wac__field input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 10px; font-size: 16px; background: #fff; }
.item-wac__field input:focus { outline: 2px solid #0f4c81; outline-offset: 1px; border-color: #0f4c81; }
.item-wac__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.item-wac__error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 14px; }
.item-wac__submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: #25d366; color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.item-wac__submit:hover { background: #1da851; }
.item-wac__sheet.is-busy .item-wac__submit { opacity: .7; pointer-events: none; }
.item-wac__hint { margin: 10px 0 0; font-size: 13px; color: #6b7280; text-align: center; }
html.item-wac-open { overflow: hidden; }
