/* SM WORKS : popup Devis premium, sans modification des styles des six pages. */
.smw-devis-layer[hidden] { display: none !important; }
.smw-devis-layer { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 12px; font-family: Arial, Helvetica, sans-serif; }
.smw-devis-backdrop { position: absolute; inset: 0; background: rgba(3, 24, 70, .68); backdrop-filter: blur(5px); }
.smw-devis-panel { position: relative; z-index: 1; width: min(100%, 420px); max-height: min(92dvh, 800px); overflow: auto; background: #fff; color: #102a56; border-radius: 23px; padding: 18px; box-shadow: 0 18px 65px rgba(0,30,90,.35); }
.smw-devis-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 3px 1px 15px; border-bottom: 1px solid #e5eefb; }
.smw-devis-head h2 { font-size: 21px; color: #0347b4; line-height: 1.2; margin: 0 0 4px; }
.smw-devis-head p { font-size: 11px; color: #657790; margin: 0; }
.smw-devis-close { appearance: none; border: 0; background: #eff5ff; color: #123e91; font-size: 27px; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; }
#smw-devis-form { display: grid; gap: 11px; padding-top: 14px; }
#smw-devis-form label { font-size: 13px; font-weight: 700; color: #14315f; display: grid; gap: 5px; }
#smw-devis-form input, #smw-devis-form select, #smw-devis-form textarea { box-sizing: border-box; width: 100%; border: 1px solid #cbdaf2; border-radius: 11px; background: #f8fbff; color: #1a3150; padding: 11px 12px; font: 15px Arial, Helvetica, sans-serif; outline-offset: 2px; }
#smw-devis-form textarea { resize: vertical; min-height: 72px; }
.smw-devis-send { cursor: pointer; border: 1px solid #17e46c; border-radius: 30px; min-height: 54px; font-size: 16px; font-weight: 800; color: white; background: linear-gradient(180deg,#34ed77 0%,#0dba4e 47%,#07973a 100%); box-shadow: 0 6px 15px #0ab75b4d, inset 0 2px 2px #ffffff65; }
.smw-devis-note { margin: 0; color: #64748b; line-height: 1.45; font-size: 11px; }
@media (max-height: 620px) { .smw-devis-layer { align-items: flex-start; } }