/* Interface WhatsApp : courbes, contraste et défilement natif ; aucune bibliothèque ajoutée. */
.slyme-whatsapp{clear:both;margin:24px 0;font-family:inherit}
.slyme-wa-logo{display:block;width:24px;height:24px;flex:none;fill:currentColor;stroke:none}
.slyme-whatsapp .slyme-whatsapp-link{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:430px;min-height:58px;margin:0;padding:16px 18px;border:0;border-radius:18px;background:#12864a;color:#fff!important;font-size:15px;font-weight:650;line-height:1.35;text-decoration:none!important;box-shadow:0 3px 7px #0a613515,0 10px 24px #0a613524;transition:transform .18s ease;touch-action:manipulation}
.slyme-whatsapp .slyme-whatsapp-link:hover{background:#117441;color:#fff;text-decoration:none;transform:translateY(-2px)}
.slyme-whatsapp .slyme-whatsapp-link:active{transform:scale(.985)}
.slyme-wa-link-arrow{font-size:21px;margin-left:auto}
.slyme-whatsapp .slyme-wa-link-note{max-width:430px;margin:10px 0 0;color:#5d6974;font-size:12px;line-height:1.5}
.slyme-whatsapp-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #ffffffaa;border-radius:28px;background:#fff;color:#19232b;overflow:hidden;box-shadow:0 8px 24px #0a172326,0 32px 96px #0a172352}
.slyme-whatsapp-dialog:not([open]){display:none}
.slyme-whatsapp-dialog::backdrop{background:rgb(9 19 29 / 54%)}
.slyme-whatsapp-dialog *{box-sizing:border-box}
.slyme-whatsapp-dialog .slyme-whatsapp-form{display:flex;flex-direction:column;max-height:calc(100dvh - 26px);margin:0;padding:0}
.slyme-wa-header{display:flex;align-items:center;gap:14px;flex:none;margin:0;padding:24px 24px 18px;border-bottom:1px solid #edf0f2;background:#fff}
.slyme-wa-brand{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:17px;background:#25d366;color:#fff}
.slyme-wa-brand .slyme-wa-logo{width:30px;height:30px}
.slyme-whatsapp-dialog .slyme-wa-eyebrow{margin:0 0 4px;color:#147b45;font-size:10px;font-weight:700;line-height:1.35;letter-spacing:.12em;text-transform:uppercase}
.slyme-whatsapp-dialog .slyme-wa-header h2{margin:0;color:#17242e;font-size:25px;line-height:1.15;font-weight:650;letter-spacing:-.04em}
.slyme-whatsapp-dialog .slyme-wa-close{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;margin:0 0 0 auto;padding:10px;border:0;border-radius:50%;background:#f1f4f6;color:#35444f;line-height:1;box-shadow:none;cursor:pointer}
.slyme-wa-close svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.slyme-wa-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:20px 24px 24px}
.slyme-whatsapp-dialog .slyme-wa-intro{margin:0 0 18px;color:#65717b;font-size:13px;line-height:1.5}
.slyme-wa-product{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #e8edf1;border-radius:18px;background:#f7f9fb}
.slyme-wa-photo{display:block;width:64px;height:64px;flex:0 0 64px;object-fit:contain;border-radius:12px;background:#fff}
.slyme-wa-product-info{min-width:0}
.slyme-wa-product-info strong{display:block;color:#19232b;font-size:14px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.slyme-whatsapp-dialog .slyme-wa-product-info p{margin:6px 0 0;color:#5b6974;font-size:12px;line-height:1.4;white-space:pre-line;overflow-wrap:anywhere}
.slyme-wa-order-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0 22px}
.slyme-whatsapp-dialog label{display:block;min-width:0;margin:0 0 15px;color:#30414e;font-size:12px;font-weight:600;line-height:1.4}
.slyme-wa-order-row label{margin-bottom:7px}
.slyme-wa-quantity{display:flex;align-items:center;width:132px;height:44px;border:1px solid #dce4e9;border-radius:13px;overflow:hidden;background:#fff}
.slyme-whatsapp-dialog .slyme-wa-quantity button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;flex:none;margin:0;padding:0;border:0;background:transparent;color:#192b38;font-size:22px;font-weight:400;line-height:1;cursor:pointer}
.slyme-whatsapp-dialog .slyme-wa-quantity button:disabled{opacity:.35;cursor:default}
.slyme-whatsapp-dialog .slyme-wa-quantity input{width:42px;min-width:0;height:42px;min-height:0;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;color:#19232b;font:inherit;font-size:16px;font-weight:600;text-align:center;box-shadow:none;appearance:textfield;-moz-appearance:textfield}
.slyme-wa-quantity input::-webkit-inner-spin-button,.slyme-wa-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.slyme-wa-total{text-align:right;min-width:0}
.slyme-wa-total span{display:block;margin-bottom:5px;font-size:10px;line-height:1.4;color:#65717b}
.slyme-wa-total strong{display:block;color:#172b3a;font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.025em;overflow-wrap:anywhere}
.slyme-whatsapp-dialog .slyme-wa-section-title{margin:0 0 16px;color:#1b2b38;font-size:17px;font-weight:650;line-height:1.3;letter-spacing:-.02em}
.slyme-wa-names{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.slyme-whatsapp-dialog input:not([type=number]),.slyme-whatsapp-dialog textarea{display:block;width:100%;min-height:47px;margin:7px 0 0;padding:12px 13px;border:1px solid #d9e2e8;border-radius:13px;background:#fff;color:#19232b;font:inherit;font-size:16px;font-weight:400;line-height:1.4;resize:vertical;box-shadow:none}
.slyme-whatsapp-dialog input::placeholder,.slyme-whatsapp-dialog textarea::placeholder{color:#78858e;opacity:1}
.slyme-whatsapp-dialog input:focus,.slyme-whatsapp-dialog textarea:focus{border-color:#0184c8;outline:2px solid #0184c8;outline-offset:1px}
.slyme-wa-optional{font-weight:400;color:#697783}
.slyme-wa-message{margin:6px 0 0;padding:0;border:1px solid #e3e9ed;border-radius:15px;overflow:hidden;background:#f7f9fb}
.slyme-wa-message summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;list-style:none;color:#344a5b;font-size:12px;font-weight:600;cursor:pointer}
.slyme-wa-message summary::-webkit-details-marker{display:none}
.slyme-wa-message pre{margin:0;padding:0 15px 16px;white-space:pre-wrap;overflow-wrap:anywhere;color:#394b58;font-family:inherit;font-size:12px;line-height:1.65}
.slyme-wa-footer{flex:none;margin:0;padding:14px 24px 20px;background:#fff;border-top:1px solid #e8eef2}
.slyme-wa-footer p{margin:0 0 11px;color:#65717b;font-size:11px;line-height:1.5;text-align:center}
.slyme-whatsapp-dialog .slyme-wa-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;margin:0;padding:15px 16px;border:0;border-radius:15px;background:#12864a;color:#fff;font-family:inherit;font-size:14px;font-weight:650;line-height:1.4;cursor:pointer;text-transform:none;letter-spacing:0;box-shadow:0 4px 10px #0d663316;transition:transform .15s;touch-action:manipulation}
.slyme-wa-submit .slyme-wa-logo{width:21px;height:21px}
.slyme-wa-submit>span:last-child{margin-left:auto;font-size:20px;line-height:1}
.slyme-wa-submit:active{transform:scale(.985)}
.slyme-whatsapp-dialog [hidden]{display:none!important}
.slyme-whatsapp button:focus-visible,.slyme-whatsapp a:focus-visible,.slyme-wa-message summary:focus-visible{outline:3px solid #0184c8;outline-offset:3px}
@media(max-width:380px){.slyme-whatsapp-dialog{width:calc(100% - 16px);border-radius:24px}.slyme-wa-header{padding:18px 16px 15px;gap:10px}.slyme-wa-header h2{font-size:23px!important}.slyme-wa-brand{width:45px;height:45px;border-radius:14px}.slyme-wa-body{padding:17px 16px 20px}.slyme-wa-footer{padding:12px 16px 16px}.slyme-wa-product{gap:10px;padding:12px}.slyme-wa-photo{width:52px;height:52px;flex-basis:52px}.slyme-wa-order-row{gap:12px}.slyme-wa-total strong{font-size:18px}}
@media(max-height:560px){.slyme-wa-header{padding-block:12px}.slyme-wa-body{padding-block:14px}.slyme-wa-footer{padding-block:10px}.slyme-wa-footer p{display:none}}
@media(prefers-reduced-motion:reduce){.slyme-whatsapp .slyme-whatsapp-link,.slyme-wa-submit{transition:none;transform:none}}

.slyme-whatsapp .slyme-whatsapp-link[aria-disabled="true"],.slyme-whatsapp-dialog .slyme-wa-submit:disabled{background:#e8eaed;color:#737880;box-shadow:none;cursor:not-allowed;transform:none}
.slyme-whatsapp .slyme-whatsapp-link[aria-disabled="true"] .slyme-wa-link-arrow{visibility:hidden}

/* 8.25 — livraison et confirmation sur place. */
.slyme-whatsapp-dialog [hidden]{display:none!important}
.slyme-whatsapp-form select{width:100%;min-height:48px;padding:12px;border:1px solid #dce5e0;border-radius:12px;background:#fff;color:#182820;font:inherit;font-size:16px}
.slyme-wa-delivery-note{margin:8px 0 16px;color:#537062;font-size:13px;line-height:1.5}
.slyme-wa-grand-total{display:flex;justify-content:space-between;gap:18px;margin:0 0 20px;padding:16px;border-radius:14px;background:#eaf8ef;color:#104b2b}
.slyme-wa-grand-total strong{text-align:right}
.slyme-wa-footer [data-wa-error]{padding:12px;border-radius:10px;background:#fff1ed;color:#9a2e17;text-align:left}
.slyme-wa-submit[aria-busy=true]{opacity:.7;cursor:wait}
.slyme-wa-success{padding:40px 24px;text-align:center;color:#17251e;outline:none}
.slyme-wa-success-check{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 24px;border-radius:50%;background:#16a765;color:#fff;font-size:44px;box-shadow:0 8px 24px #16a76526}
.slyme-wa-success h2{font-size:clamp(24px,5vw,32px);line-height:1.15;margin:12px 0 16px;letter-spacing:-.025em;color:#17251e}
.slyme-wa-success p{font-size:15px;line-height:1.65;color:#53675c}
.slyme-wa-success [data-wa-reference]{display:inline-block;padding:8px 14px;border-radius:10px;background:#edf8f1;color:#117943}
.slyme-wa-success button{width:100%;padding:15px 20px;margin-top:18px;border:0;border-radius:99px;background:#087f49;color:#fff;font:inherit;font-weight:700;cursor:pointer}
