.ecig-ms-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:0!important;border-radius:999px!important;padding:12px 18px!important;font-weight:850!important;text-decoration:none!important;cursor:pointer!important;line-height:1.15!important;transition:transform .15s ease,filter .15s ease,box-shadow .15s ease!important;white-space:normal!important;text-align:center!important}.ecig-ms-btn:hover{transform:translateY(-1px);filter:saturate(1.08)}.ecig-ms-btn:disabled{opacity:.65;cursor:wait;transform:none!important}.ecig-ms-btn-primary{background:linear-gradient(135deg,#8b2cff,#ff4f8b)!important;color:#fff!important;box-shadow:0 10px 24px rgba(139,44,255,.18)!important}.ecig-ms-btn-secondary{background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;color:#fff!important;box-shadow:0 10px 24px rgba(37,99,235,.16)!important}.ecig-ms-btn-icon{font-size:1.05em}.ecig-ms-login-box{border:1px solid #eee;border-radius:18px;padding:22px;background:#fff;text-align:center}.ecig-ms-unread-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#e5e7eb;color:#111827;font-size:12px;font-weight:900}.ecig-ms-unread-count.has-unread{background:#ff2f72;color:#fff}
.ecig-ms-ad-actions{margin:16px 0!important;padding:16px!important;border:1px solid rgba(139,44,255,.15)!important;border-radius:20px!important;background:linear-gradient(180deg,#fff,#fff7fb)!important;box-shadow:0 10px 24px rgba(17,24,39,.05)!important;clear:both!important}.ecig-ms-ad-actions-bar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important}.ecig-ms-safe-note{display:flex;gap:10px;margin-top:12px;padding:10px 12px;border-radius:14px;background:#f8fafc;color:#475569;font-size:13px;line-height:1.35}.ecig-ms-safe-note p{margin:0!important}.ecig-ms-safe-mini{margin:7px 0 0!important;font-size:12px;color:#64748b}.ecig-ms-loading,.ecig-ms-empty-list,.ecig-ms-error,.ecig-ms-empty-mini{padding:18px;color:#64748b}.ecig-ms-error{color:#b91c1c;background:#fef2f2;border-radius:14px;margin:12px}
.ecig-ms-app{background:#fff;border:1px solid #edf0f5;border-radius:24px;overflow:hidden;box-shadow:0 16px 46px rgba(15,23,42,.09);margin:18px 0;max-width:100%}.ecig-ms-app-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;border-bottom:1px solid #edf0f5;background:linear-gradient(135deg,#fff,#fff5fb)}.ecig-ms-app-head h2{margin:0!important;font-size:24px!important}.ecig-ms-app-head p{margin:4px 0 0!important;color:#64748b}.ecig-ms-unread-pill{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:999px;background:#e5e7eb;color:#111827;font-weight:900}.ecig-ms-unread-pill.has-unread{background:#ff2f72;color:#fff}.ecig-ms-layout{display:grid;grid-template-columns:minmax(280px,340px) 1fr;min-height:650px}.ecig-ms-threads{border-right:1px solid #edf0f5;background:#f8fafc;overflow:auto;max-height:760px}.ecig-ms-thread-item{width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:11px;align-items:center;border:0;border-bottom:1px solid #edf0f5;background:transparent;text-align:left;padding:13px 14px;cursor:pointer;transition:background .12s ease}.ecig-ms-thread-item:hover,.ecig-ms-thread-item.active{background:#fff}.ecig-ms-thread-thumb,.ecig-ms-thread-avatar img{width:48px;height:48px;border-radius:15px;object-fit:cover;background:#e5e7eb}.ecig-ms-thread-main{display:flex;flex-direction:column;gap:3px;min-width:0}.ecig-ms-thread-main strong{font-size:14px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ecig-ms-thread-main small,.ecig-ms-thread-ad,.ecig-ms-thread-tx{font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ecig-ms-thread-ad{color:#8b2cff;font-weight:800}.ecig-ms-thread-tx{color:#0f766e;font-weight:900}.ecig-ms-thread-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.ecig-ms-thread-meta small{font-size:11px;color:#94a3b8}.ecig-ms-thread-unread{min-width:22px;height:22px;border-radius:999px;background:#ff2f72;color:#fff;font-size:12px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
.ecig-ms-thread-panel{min-height:650px;background:#fff;min-width:0}.ecig-ms-empty-state{height:100%;min-height:520px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#64748b;gap:8px}.ecig-ms-empty-state strong{font-size:20px;color:#111827}.ecig-ms-panel-inner{display:flex;flex-direction:column;height:100%;min-height:650px}.ecig-ms-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #edf0f5;background:#fff;position:sticky;top:0;z-index:2}.ecig-ms-panel-title{min-width:0}.ecig-ms-panel-head strong{display:block;font-size:16px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ecig-ms-panel-ad{display:inline-block;margin-top:3px;color:#8b2cff;text-decoration:none;font-size:12px;font-weight:800;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ecig-ms-panel-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ecig-ms-small-btn,.ecig-ms-back-btn{border:1px solid #e2e8f0;background:#fff;border-radius:999px;padding:7px 10px;cursor:pointer;font-size:12px;font-weight:850;color:#334155}.ecig-ms-small-btn.danger{border-color:#fecdd3;color:#be123c;background:#fff1f2}.ecig-ms-back-btn{display:none;margin:0 0 7px;padding:6px 9px;background:#f8fafc}.ecig-ms-ad-card{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:12px;align-items:center;margin:10px 14px 0;padding:10px;border:1px solid #edf0f5;border-radius:18px;background:linear-gradient(135deg,#fff,#fff7fb);box-shadow:0 8px 22px rgba(15,23,42,.05)}.ecig-ms-ad-card-img{width:78px;height:78px;border-radius:15px;overflow:hidden;background:#f1f5f9;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:26px;flex:0 0 auto}.ecig-ms-ad-card-img img{width:100%;height:100%;object-fit:cover;display:block}.ecig-ms-ad-card-body{min-width:0}.ecig-ms-ad-card-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#8b2cff;font-weight:950;margin-bottom:2px}.ecig-ms-ad-card-title{display:block;color:#111827!important;text-decoration:none!important;font-weight:950;font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ecig-ms-ad-card-info{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:7px;color:#64748b;font-size:12px}.ecig-ms-ad-card-price{color:#111827;font-size:14px}.ecig-ms-ad-card-meta{display:inline-flex;align-items:center;min-width:0}.ecig-ms-ad-card-status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;background:#fff1f2;color:#be123c;font-weight:850}.ecig-ms-ad-card-actions{display:flex;align-items:center;justify-content:flex-end}.ecig-ms-ad-card-link{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 11px;background:#111827;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900;white-space:nowrap}.ecig-ms-ad-card-link:hover{filter:saturate(1.05);transform:translateY(-1px)}
.ecig-ms-transaction-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 14px 0;padding:10px 12px;border:1px solid #ccfbf1;background:#f0fdfa;border-radius:15px;color:#0f766e;font-size:12px}.ecig-ms-transaction-bar strong{font-weight:950}.ecig-ms-transaction-bar a{margin-left:auto;color:#8b2cff;font-weight:900;text-decoration:none}.ecig-ms-messages{flex:1;overflow:auto;padding:18px;background:linear-gradient(180deg,#f8fafc,#fff);max-height:560px;scroll-behavior:smooth}.ecig-ms-message{display:flex;margin:10px 0}.ecig-ms-message-mine{justify-content:flex-end}.ecig-ms-message-other{justify-content:flex-start}.ecig-ms-bubble{max-width:min(540px,86%);border-radius:19px;padding:10px 12px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 6px 18px rgba(15,23,42,.04)}.ecig-ms-message-mine .ecig-ms-bubble{background:linear-gradient(135deg,#8b2cff,#ff4f8b);color:#fff;border:0}.ecig-ms-message-mine .ecig-ms-bubble small{color:rgba(255,255,255,.82)}.ecig-ms-content{line-height:1.43;word-break:break-word}.ecig-ms-bubble small{display:flex;align-items:center;gap:8px;justify-content:flex-end;margin-top:5px;color:#94a3b8;font-size:11px}.ecig-ms-status{font-weight:900}.ecig-ms-message-system{justify-content:center}.ecig-ms-message-system span{display:inline-flex;border-radius:999px;padding:7px 12px;background:#eef2ff;color:#4338ca;font-size:12px;font-weight:850;text-align:center}.ecig-ms-attachment{display:block;margin-top:8px;color:inherit;font-weight:850}.ecig-ms-attachment-img img{display:block;max-width:240px;border-radius:14px}.ecig-ms-typing{min-height:22px;padding:0 18px;color:#64748b;font-size:12px}.ecig-ms-typing.is-visible{padding-bottom:6px}.ecig-ms-typing-dot{display:inline-block;width:5px;height:5px;margin:0 1px;border-radius:50%;background:#94a3b8;animation:ecigMsTyping 1s infinite ease-in-out}.ecig-ms-typing-dot:nth-child(2){animation-delay:.15s}.ecig-ms-typing-dot:nth-child(3){animation-delay:.3s}@keyframes ecigMsTyping{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}
.ecig-ms-composer{border-top:1px solid #edf0f5;padding:12px;background:#fff}.ecig-ms-composer textarea{width:100%;resize:vertical;min-height:54px;border:1px solid #e2e8f0;border-radius:16px;padding:11px 12px;box-sizing:border-box;font:inherit;outline:none}.ecig-ms-composer textarea:focus{border-color:#c084fc;box-shadow:0 0 0 3px rgba(192,132,252,.18)}.ecig-ms-composer-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.ecig-ms-file-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#334155;padding:9px 12px;font-size:12px;font-weight:850;cursor:pointer}.ecig-ms-file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.ecig-ms-modal-root.is-open{position:fixed;inset:0;z-index:999999}.ecig-ms-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(3px)}.ecig-ms-modal{position:absolute;right:18px;bottom:18px;width:min(460px,calc(100vw - 28px));height:min(700px,calc(100vh - 34px));background:#fff;border-radius:24px;box-shadow:0 30px 80px rgba(15,23,42,.35);overflow:hidden}.ecig-ms-modal-close{position:absolute;right:10px;top:10px;z-index:4;width:34px;height:34px;border:0;border-radius:999px;background:#111827;color:#fff;font-size:22px;line-height:1;cursor:pointer}.ecig-ms-modal-panel{height:100%}.ecig-ms-modal .ecig-ms-panel-inner{min-height:100%;height:100%}.ecig-ms-modal .ecig-ms-messages{max-height:none}.ecig-ms-modal .ecig-ms-panel-head{padding-right:54px}.ecig-ms-modal .ecig-ms-panel-actions{display:none}.ecig-ms-modal .ecig-ms-back-btn{display:none!important}
@media (max-width: 760px){.ecig-ms-app{border-radius:18px;margin:12px 0}.ecig-ms-app-head{padding:14px 15px}.ecig-ms-app-head h2{font-size:20px!important}.ecig-ms-app-head p{font-size:12px}.ecig-ms-layout{display:block;min-height:calc(100vh - 180px);position:relative}.ecig-ms-threads{max-height:none;height:calc(100vh - 230px);border-right:0;border-bottom:0}.ecig-ms-thread-panel{display:none;min-height:calc(100vh - 230px)}.ecig-ms-thread-open .ecig-ms-threads{display:none}.ecig-ms-thread-open .ecig-ms-thread-panel{display:block}.ecig-ms-panel-inner{min-height:calc(100vh - 230px)}.ecig-ms-back-btn{display:inline-flex}.ecig-ms-panel-head{align-items:flex-start}.ecig-ms-panel-actions{gap:5px}.ecig-ms-small-btn{font-size:11px;padding:6px 8px}.ecig-ms-ad-card{grid-template-columns:64px minmax(0,1fr);margin:8px 10px 0;padding:9px;border-radius:16px}.ecig-ms-ad-card-img{width:64px;height:64px;border-radius:13px}.ecig-ms-ad-card-actions{grid-column:1 / -1;justify-content:stretch}.ecig-ms-ad-card-link{width:100%}.ecig-ms-ad-card-title{font-size:14px}.ecig-ms-ad-card-info{gap:5px 8px}.ecig-ms-transaction-bar{margin:8px 10px 0}.ecig-ms-transaction-bar a{width:100%;margin-left:0}.ecig-ms-messages{padding:14px 10px;max-height:calc(100vh - 470px)}.ecig-ms-bubble{max-width:88%;border-radius:17px}.ecig-ms-ad-actions-bar{display:grid!important;grid-template-columns:1fr!important}.ecig-ms-btn{width:100%!important}.ecig-ms-modal{right:0;bottom:0;width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.ecig-ms-modal-close{top:8px;right:8px}.ecig-ms-composer-row{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.ecig-ms-composer-row .ecig-ms-btn{width:100%!important}.ecig-ms-file-btn{width:100%;box-sizing:border-box}.ecig-ms-safe-mini{font-size:11px}}

/* UI marketplace : annonce compacte + bloc vendeur + CTA achat/offre */
.ecig-ms-panel-head{min-height:62px!important}.ecig-ms-panel-title strong{font-size:18px!important}.ecig-ms-panel-ad{display:none!important}
.ecig-ms-ad-card.ecig-ms-ad-card-lbc{display:grid!important;grid-template-columns:74px minmax(0,1fr)!important;gap:13px!important;align-items:center!important;margin:0!important;padding:12px 16px!important;border:0!important;border-bottom:1px solid #e2e8f0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;text-decoration:none!important;color:#111827!important}.ecig-ms-ad-card.ecig-ms-ad-card-lbc:hover{background:#f8fafc!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{width:68px!important;height:68px!important;border-radius:11px!important;background:#f1f5f9!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;font-size:28px!important;flex:0 0 auto!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-img img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-body{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-title{display:block!important;font-size:16px!important;line-height:1.22!important;font-weight:900!important;color:#111827!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-decoration:none!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-info{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;margin:0!important;color:#64748b!important;font-size:13px!important;line-height:1.25!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-price{font-size:18px!important;font-weight:950!important;color:#111827!important;line-height:1.1!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-meta{display:block!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#64748b!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-status{font-size:11px!important;padding:3px 8px!important}
.ecig-ms-seller-card{margin:16px 16px 8px!important;padding:16px!important;border:1px solid #cbd5e1!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}.ecig-ms-seller-card h3{margin:0 0 12px!important;font-size:18px!important;line-height:1.25!important;color:#111827!important;font-weight:950!important}.ecig-ms-seller-card ul{list-style:none!important;padding:0!important;margin:0!important;display:grid!important;gap:10px!important}.ecig-ms-seller-card li{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:start!important;gap:8px!important;color:#1f2937!important;font-size:15px!important;line-height:1.35!important}.ecig-ms-seller-ico{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:24px!important;color:#94a3b8!important;filter:grayscale(1)!important;opacity:.85!important}
.ecig-ms-conversation-cta{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;padding:13px 16px!important;border-top:1px solid #e2e8f0!important;background:#fff!important}.ecig-ms-conversation-action>*{width:100%!important;min-height:52px!important;border-radius:16px!important;font-size:16px!important;font-weight:950!important;text-align:center!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;box-sizing:border-box!important}.ecig-ms-conversation-action-offer>*{background:#fff!important;color:#075985!important;border:2px solid #075985!important;box-shadow:none!important}.ecig-ms-conversation-action-buy>*{background:#f97316!important;color:#fff!important;border:2px solid #f97316!important;box-shadow:none!important}.ecig-ms-conversation-action .ecig-ms-btn-icon,.ecig-ms-conversation-action svg,.ecig-ms-conversation-action i{display:none!important}.ecig-ms-messages{background:#fff!important}.ecig-ms-message-system:empty{display:none!important}.ecig-ms-message-system span{background:transparent!important;color:#64748b!important;font-weight:700!important;border-radius:0!important}.ecig-ms-message-mine .ecig-ms-bubble{background:#fde7dc!important;color:#9a3412!important;border-radius:14px 14px 4px 14px!important;box-shadow:none!important}.ecig-ms-message-mine .ecig-ms-bubble small{color:#64748b!important}.ecig-ms-message-other .ecig-ms-bubble{border:1px solid #cbd5e1!important;border-radius:4px 14px 14px 14px!important;box-shadow:none!important}.ecig-ms-status{color:#f97316!important}.ecig-ms-composer{border-top:1px solid #e2e8f0!important;background:#fff!important}.ecig-ms-composer textarea{border-radius:16px!important;background:#fff!important}.ecig-ms-composer .ecig-ms-btn-primary{background:#f97316!important;box-shadow:none!important}.ecig-ms-file-btn{border-color:#075985!important;color:#075985!important;border-radius:16px!important;background:#fff!important}
@media (max-width:760px){.ecig-ms-panel-head{padding:12px 14px!important}.ecig-ms-panel-title strong{font-size:17px!important}.ecig-ms-ad-card.ecig-ms-ad-card-lbc{grid-template-columns:68px minmax(0,1fr)!important;padding:10px 14px!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{width:62px!important;height:62px!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-title{font-size:15px!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-price{font-size:17px!important}.ecig-ms-seller-card{margin:14px 12px 8px!important;padding:14px!important;border-radius:13px!important}.ecig-ms-seller-card h3{font-size:17px!important}.ecig-ms-seller-card li{font-size:14px!important}.ecig-ms-conversation-cta{gap:10px!important;padding:12px!important}.ecig-ms-conversation-action>*{min-height:48px!important;border-radius:14px!important;font-size:15px!important}.ecig-ms-messages{max-height:calc(100vh - 565px)!important}.ecig-ms-modal .ecig-ms-messages{max-height:calc(100dvh - 505px)!important}.ecig-ms-safe-mini{display:none!important}}


/* Identité Ecig-Occaz : couleurs et cartes premium */
.ecig-ms-app{border-radius:24px!important;border:1px solid rgba(139,44,255,.12)!important;box-shadow:0 18px 55px rgba(28,33,82,.10)!important}
.ecig-ms-panel-head{min-height:66px!important;background:linear-gradient(180deg,#ffffff,#fbf8ff)!important;border-bottom:1px solid rgba(139,44,255,.12)!important}
.ecig-ms-panel-title{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important}.ecig-ms-panel-title strong{font-size:18px!important;color:#111827!important;line-height:1.15!important}.ecig-ms-header-rating{display:inline-flex!important;align-items:center!important;gap:5px!important;width:max-content!important;max-width:100%!important;border-radius:999px!important;background:#f3e8ff!important;color:#6d28d9!important;padding:3px 8px!important;font-size:12px!important;font-weight:900!important}.ecig-ms-star{color:#7c3aed!important;line-height:1!important}
.ecig-ms-ad-card.ecig-ms-ad-card-lbc{margin:0!important;padding:13px 16px!important;grid-template-columns:70px minmax(0,1fr)!important;gap:13px!important;background:linear-gradient(135deg,#ffffff 0%,#fbf8ff 100%)!important;border-bottom:1px solid rgba(139,44,255,.12)!important;color:#111827!important}.ecig-ms-ad-card.ecig-ms-ad-card-lbc:hover{background:linear-gradient(135deg,#fff 0%,#f5efff 100%)!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{width:66px!important;height:66px!important;border-radius:16px!important;background:linear-gradient(135deg,#eef2ff,#fff0f7)!important;box-shadow:0 10px 24px rgba(139,44,255,.12)!important}.ecig-ms-ad-empty-icon{width:30px!important;height:30px!important;border-radius:9px!important;background:linear-gradient(135deg,#7c3aed,#ec4899)!important;display:block!important;position:relative!important}.ecig-ms-ad-empty-icon:before{content:""!important;position:absolute!important;left:7px!important;right:7px!important;top:-6px!important;height:10px!important;border:3px solid #fff!important;border-bottom:0!important;border-radius:10px 10px 0 0!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-title{font-size:16px!important;font-weight:950!important;color:#111827!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-price{font-size:18px!important;color:#111827!important;font-weight:950!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-meta{display:flex!important;align-items:center!important;gap:5px!important;color:#64748b!important}.ecig-ms-mini-ico{width:9px!important;height:9px!important;display:inline-block!important;position:relative!important;flex:0 0 auto!important}.ecig-ms-mini-ico-location:before{content:"";position:absolute;inset:0;border-radius:50% 50% 50% 0;background:#8b2cff;transform:rotate(-45deg)}.ecig-ms-mini-ico-location:after{content:"";position:absolute;left:3px;top:3px;width:3px;height:3px;border-radius:50%;background:#fff}
.ecig-ms-seller-card.ecig-ms-seller-card-pro{margin:14px 16px 10px!important;padding:15px!important;border:1px solid rgba(139,44,255,.18)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 28px rgba(28,33,82,.06)!important}.ecig-ms-seller-card-head{display:flex!important;align-items:center!important;gap:12px!important;margin-bottom:12px!important}.ecig-ms-seller-avatar{width:44px!important;height:44px!important;border-radius:999px!important;background:linear-gradient(135deg,#7c3aed,#ec4899)!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-weight:950!important;overflow:hidden!important;box-shadow:0 10px 22px rgba(139,44,255,.20)!important;flex:0 0 auto!important}.ecig-ms-seller-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.ecig-ms-seller-id{display:flex!important;flex-direction:column!important;min-width:0!important;gap:3px!important}.ecig-ms-seller-id>strong{font-size:16px!important;line-height:1.15!important;color:#111827!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.ecig-ms-seller-rating{display:inline-flex!important;align-items:center!important;gap:5px!important;color:#6d28d9!important;font-size:13px!important;font-weight:850!important}.ecig-ms-seller-rating strong{font-weight:950!important}.ecig-ms-seller-rating.is-empty{color:#94a3b8!important;font-weight:800!important}.ecig-ms-seller-card h3{margin:2px 0 12px!important;font-size:17px!important;color:#111827!important;font-weight:950!important}.ecig-ms-seller-card li{grid-template-columns:24px minmax(0,1fr)!important;color:#334155!important;font-size:14px!important;line-height:1.38!important}.ecig-ms-seller-ico{width:18px!important;height:18px!important;border-radius:999px!important;background:#eef2ff!important;position:relative!important;filter:none!important;opacity:1!important}.ecig-ms-seller-ico:before{content:""!important;position:absolute!important;inset:5px!important;border-radius:inherit!important;background:#8b2cff!important}.ecig-ms-seller-ico-location:before{inset:4px!important;border-radius:50% 50% 50% 0!important;transform:rotate(-45deg)!important}.ecig-ms-seller-ico-user:before{inset:4px 6px 8px!important;border-radius:999px 999px 6px 6px!important}.ecig-ms-seller-ico-shield:before{inset:4px!important;border-radius:9px 9px 12px 12px!important}.ecig-ms-seller-ico-star:before{content:"★"!important;inset:0!important;background:transparent!important;color:#7c3aed!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important}.ecig-ms-seller-review-row strong{color:#111827!important}
.ecig-ms-conversation-cta{background:#fff!important;border-top:1px solid rgba(139,44,255,.12)!important;gap:10px!important}.ecig-ms-conversation-action>*{border-radius:16px!important;min-height:50px!important;font-weight:950!important;letter-spacing:-.01em!important}.ecig-ms-conversation-action-offer>*{background:#fff!important;color:#3b1a8f!important;border:2px solid #7c3aed!important;box-shadow:0 8px 18px rgba(124,58,237,.08)!important}.ecig-ms-conversation-action-buy>*{background:linear-gradient(135deg,#7c3aed,#ec4899)!important;color:#fff!important;border:2px solid transparent!important;box-shadow:0 10px 24px rgba(139,44,255,.18)!important}.ecig-ms-conversation-action .ecig-ms-btn-icon,.ecig-ms-conversation-action svg,.ecig-ms-conversation-action i,.ecig-ms-conversation-action span[class*="icon"],.ecig-ms-conversation-action .fas,.ecig-ms-conversation-action .far{display:none!important}
.ecig-ms-message-mine .ecig-ms-bubble{background:linear-gradient(135deg,#7c3aed,#ec4899)!important;color:#fff!important;border-radius:18px 18px 6px 18px!important;box-shadow:0 10px 24px rgba(139,44,255,.15)!important}.ecig-ms-message-mine .ecig-ms-bubble small,.ecig-ms-message-mine .ecig-ms-status{color:rgba(255,255,255,.82)!important}.ecig-ms-message-other .ecig-ms-bubble{background:#fff!important;border:1px solid #dbe3ef!important;border-radius:6px 18px 18px 18px!important;color:#172033!important;box-shadow:0 8px 18px rgba(15,23,42,.04)!important}.ecig-ms-composer .ecig-ms-btn-primary{background:linear-gradient(135deg,#7c3aed,#ec4899)!important;color:#fff!important;box-shadow:0 10px 24px rgba(139,44,255,.18)!important}.ecig-ms-file-btn{border-color:#d8c9ff!important;color:#4c1d95!important;background:#fff!important}.ecig-ms-file-btn:before{content:"📎";font-size:14px}.ecig-ms-file-btn{font-size:0!important}.ecig-ms-file-btn:after{content:"Ajouter";font-size:12px}.ecig-ms-safe-mini{color:#64748b!important;line-height:1.45!important}
@media (max-width:760px){.ecig-ms-app{border-radius:20px!important;margin:10px 0!important}.ecig-ms-panel-head{padding:12px 14px!important}.ecig-ms-header-rating{font-size:11px!important}.ecig-ms-ad-card.ecig-ms-ad-card-lbc{grid-template-columns:66px minmax(0,1fr)!important;padding:11px 14px!important}.ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{width:60px!important;height:60px!important}.ecig-ms-seller-card.ecig-ms-seller-card-pro{margin:12px 12px 8px!important;padding:13px!important;border-radius:16px!important}.ecig-ms-seller-avatar{width:40px!important;height:40px!important}.ecig-ms-seller-card h3{font-size:16px!important}.ecig-ms-messages{max-height:calc(100vh - 570px)!important}.ecig-ms-conversation-cta{padding:12px!important}.ecig-ms-conversation-action>*{min-height:48px!important;font-size:14px!important}.ecig-ms-composer{padding:12px!important}.ecig-ms-composer textarea{min-height:78px!important}.ecig-ms-file-btn:after{font-size:12px!important}}


.ecig-ms-header-stars{display:inline-flex!important;align-items:center!important;gap:2px!important;margin-left:8px!important;vertical-align:middle!important}
.ecig-ms-header-stars .ecig-ms-star{font-size:13px!important;line-height:1!important;color:#d1d5db!important;opacity:1!important}
.ecig-ms-header-stars .ecig-ms-star.is-on{color:#7c3aed!important}


.ecig-ms-panel-identity{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}.ecig-ms-panel-avatar{width:42px!important;height:42px!important;border-radius:999px!important;overflow:hidden!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;background:linear-gradient(135deg,#7c3aed,#ec4899)!important;color:#fff!important;font-weight:900!important;box-shadow:0 8px 20px rgba(124,58,237,.18)!important}.ecig-ms-panel-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.ecig-ms-panel-main{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important}.ecig-ms-panel-main strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.ecig-ms-header-stars{display:inline-flex!important;align-items:center!important;gap:2px!important;width:max-content!important}.ecig-ms-header-stars .ecig-ms-star{font-size:13px!important;color:#d1d5db!important;line-height:1!important}.ecig-ms-header-stars .ecig-ms-star.is-on{color:#7c3aed!important}.ecig-ms-conversation-cta.is-single{grid-template-columns:1fr!important}.ecig-ms-conversation-cta.is-single .ecig-ms-conversation-action>*{max-width:none!important}
@media (max-width:760px){.ecig-ms-panel-avatar{width:38px!important;height:38px!important}.ecig-ms-panel-main strong{font-size:17px!important}}


/* Compactage carte annonce + carte vendeur */
.ecig-ms-ad-card.ecig-ms-ad-card-lbc{grid-template-columns:62px minmax(0,1fr)!important;gap:11px!important;padding:11px 14px!important}
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{width:58px!important;height:58px!important;border-radius:14px!important}
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-title{font-size:14px!important;line-height:1.18!important}
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-info{gap:3px!important}
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-price{font-size:16px!important;line-height:1.05!important}
.ecig-ms-seller-card.ecig-ms-seller-card-pro{padding:13px!important}
.ecig-ms-seller-card h3{font-size:15px!important;margin:0 0 10px!important}
.ecig-ms-seller-card li{font-size:13px!important;line-height:1.32!important;gap:7px!important}
.ecig-ms-seller-ico{width:16px!important;height:16px!important}
@media (max-width:760px){
  .ecig-ms-ad-card.ecig-ms-ad-card-lbc{grid-template-columns:58px minmax(0,1fr)!important;gap:10px!important;padding:10px 12px!important}
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{width:54px!important;height:54px!important;border-radius:12px!important}
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-title{font-size:13px!important;line-height:1.16!important}
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-price{font-size:15px!important}
  .ecig-ms-seller-card.ecig-ms-seller-card-pro{margin:10px 12px 8px!important;padding:12px!important}
  .ecig-ms-seller-card h3{font-size:14px!important;margin-bottom:9px!important}
  .ecig-ms-seller-card li{font-size:12.5px!important;line-height:1.28!important}
}


/* Divi full-width mode : sortie propre des modules trop étroits */
.et_pb_module .ecig-ms-app,
.et_pb_text_inner .ecig-ms-app,
.et_pb_code_inner .ecig-ms-app,
.entry-content .ecig-ms-app{
  width:min(1120px, calc(100vw - 24px))!important;
  max-width:none!important;
  margin-left:50%!important;
  margin-right:0!important;
  transform:translateX(-50%)!important;
}
.et_pb_module .ecig-ms-app.ecig-ms-inline,
.et_pb_text_inner .ecig-ms-app.ecig-ms-inline,
.et_pb_code_inner .ecig-ms-app.ecig-ms-inline{display:block!important}
.et_pb_module .ecig-ms-app .ecig-ms-layout,
.et_pb_text_inner .ecig-ms-app .ecig-ms-layout,
.et_pb_code_inner .ecig-ms-app .ecig-ms-layout{width:100%!important;max-width:none!important}
@media (max-width:760px){
  .et_pb_module .ecig-ms-app,
  .et_pb_text_inner .ecig-ms-app,
  .et_pb_code_inner .ecig-ms-app,
  .entry-content .ecig-ms-app{
    width:calc(100vw - 12px)!important;
    margin-left:50%!important;
    transform:translateX(-50%)!important;
    border-radius:18px!important;
  }
}

/* Suppression du header interne de page */
.ecig-ms-no-header{margin-top:0!important}


/* Pièces jointes */
.ecig-ms-file-btn{font-size:12px!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important}
.ecig-ms-file-btn:before,.ecig-ms-file-btn:after{content:none!important;display:none!important}
.ecig-ms-file-label{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;line-height:1.2!important}
.ecig-ms-file-label.has-file{color:#7c3aed!important;font-weight:950!important}
.ecig-ms-attachment-img img{width:auto!important;max-width:min(260px,100%)!important;height:auto!important;border-radius:14px!important;display:block!important}
.ecig-ms-attachment{word-break:break-word!important}


/* Carte vendeur comme premier message, non sticky */
.ecig-ms-messages > .ecig-ms-seller-card.ecig-ms-seller-card-pro{
  position:relative!important;
  top:auto!important;
  z-index:auto!important;
  margin:0 0 12px!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(28,33,82,.08)!important;
}
.ecig-ms-messages > .ecig-ms-seller-card.ecig-ms-seller-card-pro:after{
  content:none!important;
  display:none!important;
}


/* Conversation plus visible sur mobile */
@media (max-width:760px){
  .ecig-ms-panel-head{padding:8px 10px!important;min-height:auto!important;gap:8px!important}
  .ecig-ms-back-btn{margin:0 0 5px!important;padding:5px 8px!important;font-size:10.5px!important}
  .ecig-ms-small-btn{padding:5px 7px!important;font-size:10.5px!important}
  .ecig-ms-panel-actions{gap:5px!important;max-width:40%!important}
  .ecig-ms-panel-avatar{width:32px!important;height:32px!important}
  .ecig-ms-panel-identity{gap:8px!important}
  .ecig-ms-panel-main{gap:2px!important}
  .ecig-ms-panel-main strong{font-size:14px!important;line-height:1.1!important}
  .ecig-ms-header-stars{gap:1px!important;margin-left:0!important}
  .ecig-ms-header-stars .ecig-ms-star{font-size:11px!important}

  .ecig-ms-ad-card.ecig-ms-ad-card-lbc{grid-template-columns:44px minmax(0,1fr)!important;gap:8px!important;padding:7px 10px!important}
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{width:40px!important;height:40px!important;border-radius:10px!important}
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-title{font-size:11.5px!important;line-height:1.12!important}
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-price{font-size:13px!important;line-height:1!important}
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-body{gap:2px!important}

  .ecig-ms-messages{padding:8px 9px!important;max-height:calc(100dvh - 370px)!important;min-height:260px!important;overflow-y:auto!important;overscroll-behavior:contain!important;background:linear-gradient(180deg,#fff,#fbf8ff)!important}
  .ecig-ms-message{margin:6px 0!important}
  .ecig-ms-bubble{padding:8px 10px!important;max-width:82%!important;border-radius:15px!important}
  .ecig-ms-content{font-size:13.5px!important;line-height:1.25!important}
  .ecig-ms-bubble small{font-size:10.5px!important;margin-top:4px!important;gap:5px!important}
  .ecig-ms-messages > .ecig-ms-seller-card.ecig-ms-seller-card-pro{margin:0 0 8px!important;padding:9px 10px!important;border-radius:13px!important}
  .ecig-ms-messages > .ecig-ms-seller-card h3{font-size:12.5px!important;margin-bottom:6px!important}
  .ecig-ms-messages > .ecig-ms-seller-card li{font-size:11.5px!important;line-height:1.22!important;gap:6px!important}
  .ecig-ms-messages > .ecig-ms-seller-card .ecig-ms-seller-ico{width:14px!important;height:14px!important}

  .ecig-ms-attachment-img img{max-width:min(210px,100%)!important;max-height:145px!important;object-fit:cover!important;border-radius:12px!important}
  .ecig-ms-attachment{font-size:12px!important}

  .ecig-ms-conversation-cta{padding:7px 9px!important}
  .ecig-ms-conversation-action>*{min-height:38px!important;font-size:12.5px!important;border-radius:12px!important}

  .ecig-ms-composer{padding:8px 9px!important;position:sticky!important;bottom:0!important;z-index:4!important;background:#fff!important}
  .ecig-ms-composer textarea{min-height:44px!important;max-height:68px!important;font-size:13px!important;padding:9px 10px!important;border-radius:13px!important}
  .ecig-ms-composer-row{grid-template-columns:.85fr 1.15fr!important;gap:8px!important;margin-top:7px!important}
  .ecig-ms-file-btn,.ecig-ms-composer .ecig-ms-btn-primary{min-height:38px!important;padding:9px 10px!important;font-size:12px!important;border-radius:13px!important}
  .ecig-ms-safe-mini{display:none!important}
}
@media (max-width:380px){
  .ecig-ms-messages{max-height:calc(100dvh - 350px)!important;min-height:240px!important}
  .ecig-ms-attachment-img img{max-height:125px!important;max-width:min(190px,100%)!important}
}


/* CTA transaction sous la zone d’envoi */
.ecig-ms-composer + .ecig-ms-conversation-cta{border-top:0!important;padding-top:8px!important;background:#fff!important}
.ecig-ms-composer + .ecig-ms-conversation-cta .ecig-ms-conversation-action>*{min-height:42px!important;font-size:13px!important}


/* Masquage du footer Divi uniquement sur la page messagerie */
body.ecig-ms-hide-divi-footer #main-footer,
body.ecig-ms-hide-divi-footer footer#main-footer,
body.ecig-ms-hide-divi-footer .et-l--footer,
body.ecig-ms-hide-divi-footer footer.et-l--footer,
body.ecig-ms-hide-divi-footer #footer-bottom,
body.ecig-ms-hide-divi-footer #footer-widgets{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
body.ecig-ms-hide-divi-footer #page-container{padding-bottom:0!important}

/* Alignement smartphone */
@media (max-width:760px){
  .ecig-ms-app{width:100%!important;max-width:100%!important;border-radius:18px!important;overflow:hidden!important}
  .ecig-ms-layout,.ecig-ms-thread-panel,.ecig-ms-panel-inner{min-width:0!important;max-width:100%!important}
  .ecig-ms-panel-head{padding:10px 12px!important;gap:8px!important;align-items:flex-start!important}
  .ecig-ms-panel-title{min-width:0!important;flex:1 1 auto!important}
  .ecig-ms-panel-actions{display:flex!important;gap:6px!important;flex-wrap:wrap!important;justify-content:flex-end!important;max-width:46%!important}
  .ecig-ms-small-btn,.ecig-ms-back-btn{padding:6px 9px!important;font-size:11px!important}
  .ecig-ms-panel-head strong{font-size:15px!important}

  .ecig-ms-ad-card.ecig-ms-ad-card-lbc{margin:8px 10px 0!important;padding:8px 10px!important;grid-template-columns:54px minmax(0,1fr)!important;gap:10px!important;border-radius:14px!important}
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{width:54px!important;height:54px!important;border-radius:12px!important}
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-title{font-size:13px!important;line-height:1.18!important}
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-price{font-size:15px!important;line-height:1.05!important}
  .ecig-ms-ad-card-info{margin-top:4px!important;gap:4px 6px!important;font-size:11.5px!important}

  .ecig-ms-seller-card,.ecig-ms-seller-card.ecig-ms-seller-card-pro{margin:8px 10px 6px!important;padding:10px 11px!important;border-radius:14px!important}
  .ecig-ms-seller-card h3{font-size:14px!important;margin-bottom:6px!important}
  .ecig-ms-seller-card li{font-size:12px!important;line-height:1.28!important}

  .ecig-ms-messages{padding:10px 8px!important;max-height:calc(100vh - 430px)!important;min-height:210px!important}
  .ecig-ms-message{margin:7px 0!important}
  .ecig-ms-bubble{max-width:84%!important;padding:9px 10px!important;border-radius:15px!important}
  .ecig-ms-content{font-size:14px!important;line-height:1.34!important}
  .ecig-ms-bubble small{font-size:10.5px!important;margin-top:4px!important}
  .ecig-ms-attachment-img img{display:block!important;max-width:min(150px,100%)!important;max-height:100px!important;width:auto!important;height:auto!important;object-fit:cover!important;border-radius:10px!important}
  .ecig-ms-attachment{margin-top:6px!important}

  .ecig-ms-conversation-cta{padding:8px 10px!important;gap:8px!important}
  .ecig-ms-conversation-action>*{min-height:42px!important;font-size:14px!important;border-radius:14px!important}

  .ecig-ms-composer{padding:10px!important}
  .ecig-ms-composer textarea{min-height:64px!important;padding:10px 11px!important;border-radius:14px!important;font-size:14px!important}
  .ecig-ms-composer-row{display:grid!important;grid-template-columns:.9fr 1.1fr!important;gap:8px!important;margin-top:8px!important}
  .ecig-ms-file-btn,.ecig-ms-composer .ecig-ms-btn-primary{min-height:42px!important;border-radius:14px!important;font-size:12px!important}

  .ecig-ms-safe-mini{font-size:11px!important;line-height:1.35!important;margin-top:7px!important}
}


/* Mode plein écran mobile dans une discussion */
.ecig-ms-chat-close{display:none!important}
@media (max-width:760px){
  body.ecig-ms-chat-fullscreen-open{overflow:hidden!important}
  .ecig-ms-app.ecig-ms-thread-open{
    position:fixed!important;
    inset:0!important;
    z-index:999999!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    margin:0!important;
    transform:none!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    overflow:hidden!important;
    box-shadow:none!important;
  }
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-layout,
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-thread-panel,
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-panel-inner{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    height:100dvh!important;
    min-height:0!important;
    overflow:hidden!important;
    padding:0!important;
    border-radius:0!important;
  }
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-threads{display:none!important}
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-thread-panel{background:#fff!important}
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-panel-head{
    flex:0 0 auto!important;
    padding:10px 12px!important;
    min-height:52px!important;
    border-bottom:1px solid rgba(139,44,255,.12)!important;
    background:#fff!important;
  }
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-panel-actions{max-width:none!important;align-items:center!important;gap:6px!important}
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-chat-close{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:32px!important;
    height:32px!important;
    border:0!important;
    border-radius:999px!important;
    background:#111827!important;
    color:#fff!important;
    font-size:22px!important;
    font-weight:700!important;
    line-height:1!important;
    cursor:pointer!important;
    padding:0!important;
  }
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-back-btn{display:none!important}
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-ad-card.ecig-ms-ad-card-lbc{flex:0 0 auto!important;margin:0!important;border-radius:0!important}
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-messages{
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    height:auto!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding:10px 10px 12px!important;
    overscroll-behavior:contain!important;
  }
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-composer,
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-conversation-cta{
    flex:0 0 auto!important;
    position:relative!important;
    bottom:auto!important;
    z-index:5!important;
    background:#fff!important;
  }
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-composer textarea{max-height:58px!important;min-height:42px!important}
  .ecig-ms-app.ecig-ms-thread-open .ecig-ms-safe-mini{display:none!important}
}


/* Icônes vendeur */
.ecig-ms-seller-ico-user{background:#f3e8ff!important}
.ecig-ms-seller-ico-user:before{
  content:""!important;
  position:absolute!important;
  left:4px!important;
  right:4px!important;
  top:5px!important;
  bottom:4px!important;
  border-radius:3px!important;
  background:#8b2cff!important;
  transform:none!important;
}
.ecig-ms-seller-ico-user:after{
  content:""!important;
  position:absolute!important;
  left:6px!important;
  right:6px!important;
  top:4px!important;
  height:3px!important;
  border-radius:2px!important;
  background:#fff!important;
  box-shadow:0 5px 0 rgba(255,255,255,.95)!important;
}


/* Menu trois points pour Signaler / Bloquer */
.ecig-ms-panel-actions{position:relative!important;overflow:visible!important}
.ecig-ms-more-menu{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;z-index:20!important}
.ecig-ms-more-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;border:1px solid #e2e8f0!important;border-radius:999px!important;background:#fff!important;color:#111827!important;font-size:15px!important;font-weight:900!important;letter-spacing:-1px!important;line-height:1!important;cursor:pointer!important;padding:0!important}
.ecig-ms-more-btn:hover,.ecig-ms-more-menu.is-open .ecig-ms-more-btn{background:#f8fafc!important;border-color:#d8b4fe!important;color:#7c3aed!important}
.ecig-ms-more-dropdown{display:none!important;position:absolute!important;right:0!important;top:calc(100% + 8px)!important;min-width:156px!important;padding:7px!important;border:1px solid rgba(139,44,255,.16)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 16px 38px rgba(15,23,42,.18)!important;z-index:9999!important}
.ecig-ms-more-menu.is-open .ecig-ms-more-dropdown{display:grid!important;gap:4px!important}
.ecig-ms-more-dropdown:before{content:""!important;position:absolute!important;right:12px!important;top:-6px!important;width:10px!important;height:10px!important;background:#fff!important;border-left:1px solid rgba(139,44,255,.16)!important;border-top:1px solid rgba(139,44,255,.16)!important;transform:rotate(45deg)!important}
.ecig-ms-more-dropdown button,.ecig-ms-more-dropdown a{position:relative!important;z-index:1!important;width:100%!important;border:0!important;border-radius:10px!important;background:#fff!important;color:#334155!important;text-align:left!important;padding:10px 11px!important;font-size:13px!important;font-weight:850!important;cursor:pointer!important}
.ecig-ms-more-dropdown button:hover,.ecig-ms-more-dropdown a:hover{background:#f8fafc!important;color:#7c3aed!important}
.ecig-ms-more-dropdown button.danger{color:#be123c!important}
.ecig-ms-more-dropdown button.danger:hover{background:#fff1f2!important;color:#be123c!important}
.ecig-ms-panel-head{overflow:visible!important}
.ecig-ms-panel-inner{overflow:visible!important}
.ecig-ms-app.ecig-ms-thread-open .ecig-ms-panel-actions{gap:7px!important;flex-wrap:nowrap!important;max-width:none!important}
@media (max-width:760px){
  .ecig-ms-more-btn{width:34px!important;height:34px!important;font-size:14px!important}
  .ecig-ms-more-dropdown{right:-44px!important;top:calc(100% + 7px)!important;min-width:150px!important}
  .ecig-ms-more-dropdown:before{right:56px!important}
}


/* Action transaction active */
.ecig-ms-conversation-action-follow>*{background:linear-gradient(135deg,#7c3aed,#ec4899)!important;color:#fff!important;border:2px solid transparent!important;box-shadow:0 10px 24px rgba(139,44,255,.18)!important}
.ecig-ms-lbc-follow{width:100%!important;min-height:46px!important;border-radius:14px!important;font-weight:950!important;text-align:center!important}


/* Statut transaction lisible dans le bouton */
.ecig-ms-lbc-follow{display:flex!important;flex-direction:column!important;gap:2px!important;line-height:1.1!important}
.ecig-ms-follow-status{display:block!important;font-size:11px!important;font-weight:850!important;opacity:.9!important;color:inherit!important}
.ecig-ms-transaction-bar span{font-weight:800!important}


/* Bouton transaction clignotant uniquement si une action est requise */
.ecig-ms-lbc-follow.ecig-ms-needs-action{position:relative!important;animation:ecigMsActionPulse 1.35s ease-in-out infinite!important;box-shadow:0 0 0 0 rgba(236,72,153,.42),0 12px 28px rgba(139,44,255,.20)!important}
.ecig-ms-lbc-follow.ecig-ms-needs-action:after{content:"Action à faire"!important;position:absolute!important;top:-9px!important;right:12px!important;background:#fff!important;color:#7c3aed!important;border:1px solid rgba(124,58,237,.22)!important;border-radius:999px!important;padding:2px 8px!important;font-size:10px!important;font-weight:950!important;line-height:1.2!important;box-shadow:0 6px 14px rgba(15,23,42,.08)!important}
@keyframes ecigMsActionPulse{0%,100%{transform:translateY(0) scale(1);filter:saturate(1)}50%{transform:translateY(-1px) scale(1.015);filter:saturate(1.18);box-shadow:0 0 0 8px rgba(236,72,153,.10),0 14px 30px rgba(139,44,255,.25)}}
@media (prefers-reduced-motion:reduce){.ecig-ms-lbc-follow.ecig-ms-needs-action{animation:none!important}.ecig-ms-lbc-follow.ecig-ms-needs-action:after{content:"Action à faire"!important}}


/* Lisibilité des liens de pièces jointes/PDF */
.ecig-ms-message-mine .ecig-ms-attachment,
.ecig-ms-message-mine .ecig-ms-attachment:visited,
.ecig-ms-message-mine .ecig-ms-attachment:hover,
.ecig-ms-message-mine .ecig-ms-attachment:focus{
  color:#ffffff!important;
  text-decoration:none!important;
}
.ecig-ms-message-mine .ecig-ms-attachment:not(.ecig-ms-attachment-img){
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  max-width:100%!important;
  padding:7px 10px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.16)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  font-weight:900!important;
  line-height:1.25!important;
  word-break:break-word!important;
}
.ecig-ms-message-other .ecig-ms-attachment,
.ecig-ms-message-other .ecig-ms-attachment:visited{
  color:#7c3aed!important;
  text-decoration:none!important;
}
.ecig-ms-message-other .ecig-ms-attachment:not(.ecig-ms-attachment-img){
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  max-width:100%!important;
  padding:7px 10px!important;
  border-radius:12px!important;
  background:#f5f3ff!important;
  border:1px solid #ddd6fe!important;
  font-weight:900!important;
  line-height:1.25!important;
  word-break:break-word!important;
}

/* V2.0.4 - avertissement contact direct type Leboncoin */
.ecig-ms-contact-warning{display:flex!important;gap:10px!important;align-items:flex-start!important;border:1px solid #fed7aa!important;background:#fff7ed!important;color:#9a3412!important;border-radius:14px!important;padding:10px 12px!important;line-height:1.35!important;font-size:12px!important;box-shadow:0 8px 20px rgba(249,115,22,.08)!important;box-sizing:border-box!important}.ecig-ms-contact-warning strong{white-space:nowrap!important;font-weight:950!important;color:#c2410c!important}.ecig-ms-contact-warning span{display:block!important}.ecig-ms-contact-warning-composer{display:none!important;margin:8px 0 0!important}.ecig-ms-contact-warning-composer.is-visible{display:flex!important}.ecig-ms-contact-warning-inline{max-width:min(560px,92%)!important;margin:6px auto 10px!important}.ecig-ms-message-mine + .ecig-ms-contact-warning-inline{margin-left:auto!important;margin-right:0!important}.ecig-ms-message-other + .ecig-ms-contact-warning-inline{margin-left:0!important;margin-right:auto!important}@media (max-width:760px){.ecig-ms-contact-warning{font-size:11px!important;padding:9px 10px!important;border-radius:12px!important}.ecig-ms-contact-warning strong{white-space:normal!important}.ecig-ms-contact-warning-inline{max-width:94%!important}}

/* V2.0.6 - UX conversations : filtres, messages système enrichis, réponses rapides */
.ecig-ms-thread-filters{position:sticky;top:0;z-index:5;display:flex;gap:6px;flex-wrap:wrap;padding:10px;background:linear-gradient(180deg,#ffffff,#f8fafc);border-bottom:1px solid #edf0f5}.ecig-ms-thread-filters button{display:inline-flex;align-items:center;gap:5px;border:1px solid #e2e8f0;background:#fff;color:#475569;border-radius:999px;padding:7px 9px;font-size:11px;font-weight:900;cursor:pointer;line-height:1}.ecig-ms-thread-filters button:hover,.ecig-ms-thread-filters button.active{border-color:#c084fc;background:#f5f3ff;color:#7c3aed}.ecig-ms-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 5px;border-radius:999px;background:#ff2f72;color:#fff;font-size:10px;font-weight:950}.ecig-ms-thread-list{min-height:110px}.ecig-ms-thread-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;min-width:0;margin:1px 0}.ecig-ms-thread-role,.ecig-ms-thread-action,.ecig-ms-thread-status{display:inline-flex;align-items:center;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:950;line-height:1.25;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ecig-ms-thread-role.is-buyer{background:#eff6ff;color:#1d4ed8}.ecig-ms-thread-role.is-seller{background:#f5f3ff;color:#7c3aed}.ecig-ms-thread-action{background:#fff1f2;color:#be123c}.ecig-ms-thread-status{background:#ecfdf5;color:#047857;max-width:150px}.ecig-ms-message-system{margin:9px 0!important}.ecig-ms-message-system .ecig-ms-system-pill{display:inline-grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon text" "icon time";gap:1px 7px!important;align-items:center!important;max-width:min(620px,94%)!important;border-radius:16px!important;padding:8px 12px!important;background:#f1f5f9!important;color:#334155!important;font-size:12px!important;font-weight:850!important;text-align:left!important;line-height:1.32!important}.ecig-ms-system-pill em{grid-area:icon;font-style:normal;font-size:15px;line-height:1}.ecig-ms-system-pill strong{grid-area:text;font-weight:900;color:inherit}.ecig-ms-system-pill small{grid-area:time;display:block!important;margin-top:1px!important;color:#94a3b8!important;font-size:10px!important;font-weight:800!important}.ecig-ms-message-system.is-step .ecig-ms-system-pill{background:#eef2ff!important;color:#4338ca!important}.ecig-ms-message-system.is-success .ecig-ms-system-pill{background:#ecfdf5!important;color:#047857!important}.ecig-ms-message-system.is-warning .ecig-ms-system-pill{background:#fff7ed!important;color:#c2410c!important}.ecig-ms-message-system.is-danger .ecig-ms-system-pill{background:#fff1f2!important;color:#be123c!important}.ecig-ms-quick-replies{display:flex;gap:6px;overflow-x:auto;padding:0 0 8px;margin-bottom:2px;-webkit-overflow-scrolling:touch}.ecig-ms-quick-reply{flex:0 0 auto;border:1px solid #e9d5ff;background:#faf5ff;color:#7c3aed;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}.ecig-ms-quick-reply:hover{background:#f3e8ff;border-color:#c084fc}.ecig-ms-app.ecig-ms-thread-open .ecig-ms-quick-replies{padding-bottom:6px}.ecig-ms-app.ecig-ms-thread-open .ecig-ms-thread-filters{position:relative;top:auto}@media (max-width:760px){.ecig-ms-thread-filters{padding:8px;gap:5px;overflow-x:auto;flex-wrap:nowrap}.ecig-ms-thread-filters button{flex:0 0 auto;padding:7px 8px}.ecig-ms-thread-status{max-width:120px}.ecig-ms-message-system .ecig-ms-system-pill{max-width:96%!important;font-size:11px!important;border-radius:14px!important;padding:7px 10px!important}.ecig-ms-quick-replies{margin-left:-2px;margin-right:-2px}.ecig-ms-quick-reply{font-size:11px;padding:7px 9px}}


/* V2.0.8 - CTA propre sur page annonce */
.ecig-ms-safe-note{display:none!important}
.ecig-ms-ad-actions{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:720px!important;
  margin:18px auto!important;
  padding:18px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(139,44,255,.14)!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbf8ff 100%)!important;
  box-shadow:0 18px 42px rgba(30,41,82,.08)!important;
  clear:both!important;
  overflow:hidden!important;
}
.ecig-ms-ad-actions:before{
  content:""!important;
  position:absolute!important;
  inset:-80px -90px auto auto!important;
  width:190px!important;
  height:190px!important;
  border-radius:999px!important;
  background:radial-gradient(circle,rgba(236,72,153,.14),rgba(124,58,237,0) 68%)!important;
  pointer-events:none!important;
}
.ecig-ms-ad-actions-bar{
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  align-items:stretch!important;
  width:100%!important;
}
.ecig-ms-ad-actions .ecig-ms-open-btn.ecig-ms-btn,
.ecig-ms-ad-actions a.ecig-ms-open-btn.ecig-ms-btn,
.ecig-ms-ad-actions button.ecig-ms-open-btn.ecig-ms-btn{
  width:100%!important;
  min-height:68px!important;
  padding:18px 22px!important;
  border:0!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#0ea5ff 0%,#2563eb 48%,#7c3aed 100%)!important;
  color:#fff!important;
  font-size:19px!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  line-height:1.1!important;
  text-decoration:none!important;
  box-shadow:0 18px 34px rgba(37,99,235,.24)!important;
  transform:none!important;
}
.ecig-ms-ad-actions .ecig-ms-open-btn.ecig-ms-btn:hover{
  transform:translateY(-1px)!important;
  filter:saturate(1.08)!important;
  box-shadow:0 22px 40px rgba(37,99,235,.30)!important;
}
.ecig-ms-ad-actions .ecig-ms-open-btn .ecig-ms-btn-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.22)!important;
  font-size:18px!important;
  line-height:1!important;
  flex:0 0 auto!important;
}
.ecig-ms-ad-actions .ecig-ms-gav-offer,
.ecig-ms-ad-actions a.ecig-ms-gav-offer,
.ecig-ms-ad-actions button.ecig-ms-gav-offer{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  width:100%!important;
  min-height:64px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:16px 54px 16px 68px!important;
  border:2px solid transparent!important;
  border-radius:20px!important;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg,#0ea5ff,#8b2cff,#ff4f8b) border-box!important;
  color:#7c2fd6!important;
  font-size:18px!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  line-height:1.15!important;
  text-decoration:none!important;
  box-shadow:0 14px 28px rgba(124,58,237,.10)!important;
  text-align:left!important;
}
.ecig-ms-ad-actions .ecig-ms-gav-offer:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 18px 34px rgba(124,58,237,.16)!important;
  filter:saturate(1.06)!important;
}
.ecig-ms-ad-actions .ecig-ms-gav-offer:before{
  content:""!important;
  position:absolute!important;
  left:18px!important;
  top:50%!important;
  width:34px!important;
  height:34px!important;
  transform:translateY(-50%)!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#8b2cff,#ff4f8b)!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.59 13.41 12 22l-8.59-8.59A2 2 0 0 1 2.83 12V4a2 2 0 0 1 2-2h8a2 2 0 0 1 1.41.59l6.35 6.35a2 2 0 0 1 0 2.82ZM7.5 8A1.5 1.5 0 1 0 7.5 5 1.5 1.5 0 0 0 7.5 8Z'/%3E%3C/svg%3E") center / contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.59 13.41 12 22l-8.59-8.59A2 2 0 0 1 2.83 12V4a2 2 0 0 1 2-2h8a2 2 0 0 1 1.41.59l6.35 6.35a2 2 0 0 1 0 2.82ZM7.5 8A1.5 1.5 0 1 0 7.5 5 1.5 1.5 0 0 0 7.5 8Z'/%3E%3C/svg%3E") center / contain no-repeat!important;
}
.ecig-ms-ad-actions .ecig-ms-gav-offer:after{
  content:"›"!important;
  position:absolute!important;
  right:22px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  color:#a855f7!important;
  font-size:42px!important;
  font-weight:400!important;
  line-height:1!important;
}
.ecig-ms-ad-actions .ecig-ms-gav-offer i,
.ecig-ms-ad-actions .ecig-ms-gav-offer svg,
.ecig-ms-ad-actions .ecig-ms-gav-offer .fa,
.ecig-ms-ad-actions .ecig-ms-gav-offer .fas,
.ecig-ms-ad-actions .ecig-ms-gav-offer .far,
.ecig-ms-ad-actions .ecig-ms-gav-offer span[class*="icon"]{
  display:none!important;
}
@media (max-width:760px){
  .ecig-ms-ad-actions{
    margin:14px auto!important;
    padding:14px!important;
    border-radius:24px!important;
  }
  .ecig-ms-ad-actions-bar{gap:12px!important}
  .ecig-ms-ad-actions .ecig-ms-open-btn.ecig-ms-btn,
  .ecig-ms-ad-actions a.ecig-ms-open-btn.ecig-ms-btn,
  .ecig-ms-ad-actions button.ecig-ms-open-btn.ecig-ms-btn{
    min-height:58px!important;
    padding:15px 16px!important;
    border-radius:18px!important;
    font-size:16px!important;
  }
  .ecig-ms-ad-actions .ecig-ms-open-btn .ecig-ms-btn-icon{
    width:30px!important;
    height:30px!important;
    font-size:16px!important;
  }
  .ecig-ms-ad-actions .ecig-ms-gav-offer,
  .ecig-ms-ad-actions a.ecig-ms-gav-offer,
  .ecig-ms-ad-actions button.ecig-ms-gav-offer{
    min-height:58px!important;
    padding:14px 44px 14px 56px!important;
    border-radius:18px!important;
    font-size:16px!important;
  }
  .ecig-ms-ad-actions .ecig-ms-gav-offer:before{
    left:16px!important;
    width:28px!important;
    height:28px!important;
    border-radius:10px!important;
  }
  .ecig-ms-ad-actions .ecig-ms-gav-offer:after{
    right:18px!important;
    font-size:34px!important;
  }
}


.ecig-ms-open-btn.is-loading,
.ecig-ms-wpadverts-show-chat.is-loading {
  opacity: .82;
  cursor: wait;
  pointer-events: none;
}

/* Présence utilisateur en ligne / hors ligne */
.ecig-ms-presence-dot{display:inline-flex!important;width:10px!important;height:10px!important;min-width:10px!important;border-radius:999px!important;background:#cbd5e1!important;border:2px solid #fff!important;box-shadow:0 0 0 1px rgba(15,23,42,.08),0 4px 12px rgba(15,23,42,.14)!important;vertical-align:middle!important;position:relative!important;flex:0 0 auto!important}.ecig-ms-presence-dot.is-online{background:#22c55e!important}.ecig-ms-presence-dot.is-offline{background:#94a3b8!important}.ecig-ms-thread-main strong{display:inline-flex!important;align-items:center!important;gap:6px!important;min-width:0!important}.ecig-ms-thread-main strong>span:first-child{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.ecig-ms-thread-presence{width:9px!important;height:9px!important;min-width:9px!important;border-width:2px!important}.ecig-ms-panel-avatar{position:relative!important;overflow:visible!important}.ecig-ms-panel-avatar img{border-radius:999px!important}.ecig-ms-panel-presence{position:absolute!important;right:-2px!important;bottom:-2px!important;width:12px!important;height:12px!important;min-width:12px!important;border-width:2px!important}.ecig-ms-presence-label{display:inline-flex!important;align-items:center!important;width:max-content!important;font-size:11px!important;font-weight:800!important;line-height:1!important;color:#94a3b8!important}.ecig-ms-presence-label.is-online{color:#16a34a!important}.ecig-ms-presence-label.is-offline{color:#94a3b8!important}
@media (max-width:760px){.ecig-ms-panel-presence{width:11px!important;height:11px!important;min-width:11px!important}.ecig-ms-presence-label{font-size:10.5px!important}}

/* V2.1.4 — Annonces supprimées / indisponibles */
.ecig-ms-ad-card.ecig-ms-ad-card-lbc.is-deleted{
  background:linear-gradient(135deg,#f8fafc,#fff7fb)!important;
  border-style:dashed!important;
  border-color:rgba(148,163,184,.55)!important;
  color:#64748b!important;
  cursor:default!important;
  pointer-events:none!important;
}
.ecig-ms-ad-card-lbc.is-deleted .ecig-ms-ad-card-title{
  color:#334155!important;
}
.ecig-ms-ad-card-status.is-deleted{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  margin-top:3px!important;
  padding:4px 9px!important;
  border-radius:999px!important;
  background:#fee2e2!important;
  color:#b91c1c!important;
  font-weight:950!important;
  font-size:12px!important;
}
.ecig-ms-ad-card-img.is-deleted{
  background:linear-gradient(135deg,#e2e8f0,#f1f5f9)!important;
}
.ecig-ms-ad-card-img.is-deleted .ecig-ms-ad-empty-icon:before{
  content:"×"!important;
  color:#94a3b8!important;
  font-size:34px!important;
  font-weight:950!important;
}
.ecig-ms-thread-item.has-deleted-ad .ecig-ms-thread-ad.is-deleted{
  color:#b91c1c!important;
  font-weight:900!important;
}
.ecig-ms-thread-avatar.is-deleted-ad{
  opacity:.85!important;
  filter:grayscale(.15)!important;
}

/* V2.1.5 — Panneau transaction intégré façon marketplace */
body.ecig-ms-transaction-panel-open{
  overflow:hidden!important;
}
.ecig-ms-transaction-panel{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  pointer-events:none!important;
  opacity:0!important;
  transition:opacity .18s ease!important;
}
.ecig-ms-transaction-panel.is-open{
  opacity:1!important;
  pointer-events:auto!important;
}
.ecig-ms-transaction-panel-backdrop{
  position:absolute!important;
  inset:0!important;
  background:rgba(15,23,42,.42)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
.ecig-ms-transaction-panel-drawer{
  position:absolute!important;
  top:18px!important;
  right:18px!important;
  bottom:18px!important;
  width:min(560px, calc(100vw - 36px))!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border-radius:28px!important;
  background:#fff!important;
  box-shadow:0 30px 90px rgba(15,23,42,.34)!important;
  border:1px solid rgba(226,232,240,.85)!important;
  transform:translateX(28px)!important;
  transition:transform .22s ease!important;
}
.ecig-ms-transaction-panel.is-open .ecig-ms-transaction-panel-drawer{
  transform:translateX(0)!important;
}
.ecig-ms-transaction-panel-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:16px 16px 14px!important;
  background:linear-gradient(135deg,#0ea5ff,#8b2cff 58%,#ff4f8b)!important;
  color:#fff!important;
  flex:0 0 auto!important;
}
.ecig-ms-transaction-panel-title{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  line-height:1.1!important;
}
.ecig-ms-transaction-panel-title strong{
  color:#fff!important;
  font-size:17px!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.ecig-ms-transaction-panel-title small{
  color:rgba(255,255,255,.84)!important;
  font-size:12px!important;
  font-weight:800!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.ecig-ms-transaction-panel-actions{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  flex:0 0 auto!important;
}
.ecig-ms-transaction-panel-actions a,
.ecig-ms-transaction-panel-actions button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:38px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.35)!important;
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
  font-weight:950!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.ecig-ms-transaction-panel-actions a{
  padding:0 14px!important;
  font-size:13px!important;
}
.ecig-ms-transaction-panel-actions button{
  width:38px!important;
  padding:0!important;
  font-size:26px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.ecig-ms-transaction-panel-loading{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:3!important;
  width:min(92vw,420px)!important;
  max-width:420px!important;
  padding:18px 18px 16px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,rgba(59,130,246,.96),rgba(124,58,237,.96) 48%,rgba(236,72,153,.96))!important;
  color:#fff!important;
  font-weight:900!important;
  text-align:left!important;
  box-shadow:0 18px 48px rgba(15,23,42,.24)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  backdrop-filter:blur(8px)!important;
}
.ecig-ms-transaction-panel-loading strong{display:block!important;font-size:22px!important;line-height:1.12!important;margin:0 0 8px!important;color:#fff!important}
.ecig-ms-transaction-panel-loading small{display:block!important;font-size:14px!important;line-height:1.45!important;color:rgba(255,255,255,.92)!important;font-weight:700!important}
.ecig-ms-transaction-panel-loading em{display:inline-block!important;font-style:normal!important;margin-top:10px!important;padding:8px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;font-size:13px!important;font-weight:900!important}
.ecig-ms-transaction-panel-loading .ecig-ms-vape-dots{display:inline-flex!important;gap:6px!important;align-items:center!important;margin-left:8px!important;vertical-align:middle!important}
.ecig-ms-transaction-panel-loading .ecig-ms-vape-dots span{display:block!important;width:8px!important;height:8px!important;border-radius:50%!important;background:rgba(255,255,255,.88)!important;animation:ecigMsVapeDots 1.25s infinite ease-in-out!important}
.ecig-ms-transaction-panel-loading .ecig-ms-vape-dots span:nth-child(2){animation-delay:.18s!important}
.ecig-ms-transaction-panel-loading .ecig-ms-vape-dots span:nth-child(3){animation-delay:.36s!important}
.ecig-ms-transaction-panel-loading a{color:#fff!important;font-weight:900!important;text-decoration:underline!important}
.ecig-ms-transaction-panel-loading.is-slow{background:linear-gradient(135deg,rgba(99,102,241,.97),rgba(168,85,247,.97),rgba(244,114,182,.97))!important}
@keyframes ecigMsVapeDots{0%,80%,100%{opacity:.35;transform:translateY(0) scale(.9)}40%{opacity:1;transform:translateY(-5px) scale(1)}}
.ecig-ms-transaction-panel-frame{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  height:100%!important;
  flex:1 1 auto!important;
  border:0!important;
  background:#fff!important;
  opacity:0!important;
  transition:opacity .22s ease!important;
}
.ecig-ms-transaction-panel.is-ready .ecig-ms-transaction-panel-frame{opacity:1!important}
@media (max-width:760px){
  .ecig-ms-transaction-panel-drawer{
    inset:0!important;
    width:100%!important;
    height:100%!important;
    border-radius:0!important;
    transform:translateY(24px)!important;
  }
  .ecig-ms-transaction-panel.is-open .ecig-ms-transaction-panel-drawer{
    transform:translateY(0)!important;
  }
  .ecig-ms-transaction-panel-head{
    padding:calc(12px + env(safe-area-inset-top)) 14px 12px!important;
  }
  .ecig-ms-transaction-panel-title strong{
    font-size:16px!important;
  }
  .ecig-ms-transaction-panel-actions a{
    display:none!important;
  }
  .ecig-ms-transaction-panel-actions button{
    width:42px!important;
    height:42px!important;
    background:rgba(15,23,42,.22)!important;
  }
}

/* V2.1.7 — Transaction intégrée : plus de déplacement horizontal + chrome du site masqué dans l'iframe */
html.ecig-ms-transaction-panel-open,
body.ecig-ms-transaction-panel-open{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.ecig-ms-transaction-panel,
.ecig-ms-transaction-panel *{
  box-sizing:border-box!important;
}
.ecig-ms-transaction-panel-drawer{
  max-width:100vw!important;
  min-width:0!important;
  overflow:hidden!important;
  overscroll-behavior:contain!important;
}
.ecig-ms-transaction-panel-frame{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
.ecig-ms-transaction-panel-head{
  min-width:0!important;
  max-width:100%!important;
}
.ecig-ms-transaction-panel-title{
  flex:1 1 auto!important;
  min-width:0!important;
}
@media (max-width:760px){
  .ecig-ms-transaction-panel-drawer{
    left:0!important;
    right:0!important;
    top:0!important;
    bottom:0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
  }
  .ecig-ms-transaction-panel-head{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

/* V2.3.0 — archivage et maintenance */
.ecig-ms-thread-item.is-archived{opacity:.68;filter:saturate(.85)}
.ecig-ms-thread-status.is-archived{background:#f1f5f9!important;color:#475569!important;border-color:#cbd5e1!important}
.ecig-ms-maintenance-box{border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:16px;padding:18px;margin:12px 0}
.ecig-ms-maintenance-box strong{display:block;font-size:18px;margin-bottom:6px}


/* 2.3.2 - conversation mobile refinements */
.ecig-ms-ad-card.ecig-ms-ad-card-lbc{
  padding:10px 14px!important;
  grid-template-columns:62px minmax(0,1fr)!important;
  gap:10px!important;
  min-height:auto!important;
}
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{
  width:56px!important;
  height:56px!important;
  border-radius:12px!important;
  font-size:24px!important;
}
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-body{
  gap:3px!important;
}
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-title{
  font-size:13px!important;
  line-height:1.15!important;
  margin:0!important;
}
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-info{
  gap:2px!important;
  font-size:11px!important;
}
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-price{
  font-size:12px!important;
  line-height:1.05!important;
}
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-meta,
.ecig-ms-ad-card-lbc .ecig-ms-ad-card-status{
  font-size:10px!important;
}
.ecig-ms-composer{
  border-top:0!important;
  padding-top:0!important;
}
.ecig-ms-composer .ecig-ms-quick-replies{
  margin-top:0!important;
  padding-top:0!important;
}
@media (max-width:760px){
  .ecig-ms-ad-card.ecig-ms-ad-card-lbc{
    margin:0!important;
    padding:8px 12px!important;
    grid-template-columns:56px minmax(0,1fr)!important;
    gap:9px!important;
  }
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{
    width:52px!important;
    height:52px!important;
    border-radius:11px!important;
  }
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-title{
    font-size:12px!important;
  }
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-price{
    font-size:11px!important;
  }
  .ecig-ms-composer{
    padding:0 10px 10px!important;
  }
  .ecig-ms-quick-replies{
    padding:0 0 6px!important;
    margin:0!important;
  }
}


/* 2.3.8 - ouverture discussion / clavier */
.ecig-ms-panel-loading-state{
  min-height:520px!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(180deg,#fff,#f8fafc)!important;
}
.ecig-ms-thread-opening{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:220px!important;
  color:#64748b!important;
  text-align:center!important;
  padding:24px!important;
}
.ecig-ms-thread-opening:before{
  content:"💬"!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:48px!important;
  height:48px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#7c3aed,#ec4899)!important;
  color:#fff!important;
  font-size:22px!important;
  box-shadow:0 12px 28px rgba(124,58,237,.22)!important;
  animation:ecigMsThreadOpening 1.1s infinite ease-in-out!important;
}
.ecig-ms-thread-opening strong{font-size:17px!important;color:#111827!important;font-weight:950!important}
.ecig-ms-thread-opening span{font-size:13px!important;font-weight:750!important;color:#64748b!important}
@keyframes ecigMsThreadOpening{0%,100%{transform:translateY(0);opacity:.86}50%{transform:translateY(-3px);opacity:1}}
@media (max-width:760px){.ecig-ms-panel-loading-state{min-height:calc(100vh - 230px)!important}.ecig-ms-thread-opening{min-height:calc(100vh - 330px)!important}}


/* 2.4.3 - Icône Messagerie dans Mega Menu / à côté de la cloche */
.ecig-ms-menu-force-sources{display:none!important}
.ecig-ms-forced-menu-item{display:inline-flex!important;align-items:center!important;justify-content:center!important;list-style:none!important;margin:0!important;padding:0!important}
.ecig-ms-mega-toggle-block{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0 4px!important;vertical-align:middle!important}
.ecig-ms-menu-chat-link{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:999px!important;text-decoration:none!important;background:linear-gradient(135deg,#2563eb,#7c3aed 56%,#ec4899)!important;color:#fff!important;box-shadow:0 10px 24px rgba(124,58,237,.24)!important;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease!important;line-height:1!important;margin:0 4px!important;box-sizing:border-box!important}
.ecig-ms-menu-chat-link:hover,.ecig-ms-menu-chat-link:focus{transform:translateY(-1px)!important;filter:saturate(1.08)!important;box-shadow:0 14px 30px rgba(124,58,237,.30)!important;color:#fff!important;outline:none!important}
.ecig-ms-menu-chat-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;color:#fff!important}
.ecig-ms-menu-chat-icon svg{display:block!important;width:22px!important;height:22px!important;fill:currentColor!important}
.ecig-ms-menu-chat-count{position:absolute!important;right:-5px!important;top:-6px!important;display:none!important;align-items:center!important;justify-content:center!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:999px!important;background:#ff2f72!important;color:#fff!important;border:2px solid #fff!important;font-size:11px!important;font-weight:950!important;line-height:1!important;box-sizing:border-box!important;box-shadow:0 4px 12px rgba(244,63,94,.35)!important}
.ecig-ms-menu-chat-count.has-unread,.ecig-ms-menu-chat-link.has-unread .ecig-ms-menu-chat-count{display:inline-flex!important}
.ecig-ms-menu-chat-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;white-space:nowrap!important}
#mega-menu-wrap-primary-menu .ecig-ms-menu-chat-link,#mega-menu-wrap-menu-principal .ecig-ms-menu-chat-link,[id^="mega-menu-wrap"] .ecig-ms-menu-chat-link{height:38px!important;width:38px!important;min-width:38px!important;margin:0 6px!important}
@media (max-width:980px){body li.ecig-ms-forced-menu-item{display:none!important}.ecig-ms-mega-toggle-block .ecig-ms-menu-chat-link{width:40px!important;height:40px!important;min-width:40px!important}.ecig-ms-menu-chat-icon,.ecig-ms-menu-chat-icon svg{width:21px!important;height:21px!important}.ecig-ms-menu-chat-count{right:-4px!important;top:-5px!important}}

/* 2.5.3 - Scroll tchat : CSS neutre, logique en JS uniquement */
.ecig-ms-messages{scroll-behavior:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
.ecig-ms-bottom-anchor{display:none!important}


/* 2.5.5 - annonce verrouillée après offre acceptée */
.ecig-ms-ad-locked{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  margin:16px 0!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  border:1px solid #fed7aa!important;
  background:linear-gradient(135deg,#fff7ed,#fff)!important;
  color:#9a3412!important;
  box-shadow:0 10px 24px rgba(249,115,22,.08)!important;
}
.ecig-ms-ad-locked strong{font-size:16px!important;font-weight:950!important;color:#c2410c!important}
.ecig-ms-ad-locked span{font-size:13px!important;line-height:1.35!important;color:#7c2d12!important}
.ecig-ms-ad-locked small{font-size:12px!important;font-weight:900!important;color:#c2410c!important}
.ecig-ms-ad-locked-action{margin-top:6px!important}
.ecig-ms-ad-locked-action .ecig-ms-lbc-follow{width:100%!important;box-sizing:border-box!important}
@media (max-width:760px){.ecig-ms-ad-locked{margin:12px 0!important;padding:13px 14px!important;border-radius:16px!important}}


/* 2.5.7 - Hauteur desktop adaptée à la fenêtre */
@media (min-width:761px){
  .ecig-ms-app{
    --ecig-ms-desktop-height: min(760px, calc(100vh - 260px));
  }
  .ecig-ms-layout{
    height:var(--ecig-ms-desktop-height)!important;
    min-height:0!important;
    max-height:var(--ecig-ms-desktop-height)!important;
    overflow:hidden!important;
  }
  .ecig-ms-threads,
  .ecig-ms-thread-panel,
  .ecig-ms-panel-inner{
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  .ecig-ms-threads{
    overflow-y:auto!important;
  }
  .ecig-ms-panel-inner{
    display:flex!important;
    flex-direction:column!important;
  }
  .ecig-ms-panel-head,
  .ecig-ms-ad-card,
  .ecig-ms-transaction-bar,
  .ecig-ms-typing,
  .ecig-ms-composer,
  .ecig-ms-conversation-cta{
    flex:0 0 auto!important;
  }
  .ecig-ms-messages{
    flex:1 1 auto!important;
    min-height:160px!important;
    max-height:none!important;
    overflow-y:auto!important;
  }
}


/* 2.5.8 - Desktop height: keep composer/buttons visible */
@media (min-width:761px){
  .ecig-ms-app{
    --ecig-ms-desktop-height: min(720px, calc(100vh - 210px));
  }
  .ecig-ms-layout{
    height:var(--ecig-ms-desktop-height)!important;
    max-height:var(--ecig-ms-desktop-height)!important;
  }
  .ecig-ms-panel-inner{
    min-height:0!important;
  }
  .ecig-ms-panel-head{
    padding:9px 14px!important;
  }
  .ecig-ms-ad-card.ecig-ms-ad-card-lbc{
    padding:8px 12px!important;
    grid-template-columns:54px minmax(0,1fr)!important;
  }
  .ecig-ms-ad-card-lbc .ecig-ms-ad-card-img{
    width:48px!important;
    height:48px!important;
  }
  .ecig-ms-messages{
    min-height:70px!important;
    flex:1 1 auto!important;
    overflow-y:auto!important;
  }
  .ecig-ms-composer{
    flex:0 0 auto!important;
    padding:8px 10px!important;
    border-top:1px solid #edf0f5!important;
  }
  .ecig-ms-composer textarea{
    min-height:42px!important;
    max-height:78px!important;
    resize:none!important;
    padding:9px 10px!important;
    border-radius:13px!important;
    font-size:13px!important;
  }
  .ecig-ms-composer-row{
    margin-top:7px!important;
    gap:8px!important;
  }
  .ecig-ms-file-btn,
  .ecig-ms-composer .ecig-ms-btn-primary{
    min-height:36px!important;
    padding:8px 12px!important;
    border-radius:13px!important;
    font-size:12px!important;
  }
  .ecig-ms-composer .ecig-ms-btn-primary{
    min-width:120px!important;
  }
  .ecig-ms-quick-replies{
    padding-bottom:5px!important;
    margin-bottom:0!important;
  }
  .ecig-ms-quick-reply{
    padding:6px 9px!important;
    font-size:11px!important;
  }
  .ecig-ms-conversation-cta{
    flex:0 0 auto!important;
    padding:8px 10px!important;
  }
  .ecig-ms-conversation-action>*{
    min-height:38px!important;
    font-size:12px!important;
  }
  .ecig-ms-safe-mini{
    margin-top:5px!important;
    font-size:11px!important;
    line-height:1.25!important;
  }
}


/* 2.5.9 - Visiteurs sur page annonce */
.ecig-ms-guest-actions{
  text-align:left!important;
  padding:18px!important;
}
.ecig-ms-guest-actions-title{
  font-weight:950!important;
  font-size:18px!important;
  line-height:1.2!important;
  color:#111827!important;
  margin:0 0 6px!important;
}
.ecig-ms-guest-actions-sub{
  color:#64748b!important;
  font-size:14px!important;
  line-height:1.4!important;
  margin:0 0 14px!important;
}
.ecig-ms-guest-actions-bar{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}
.ecig-ms-guest-actions .ecig-ms-btn{
  min-height:54px!important;
  border-radius:18px!important;
  font-size:15px!important;
  font-weight:950!important;
}
.ecig-ms-guest-actions .ecig-ms-login-action{
  background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;
  color:#fff!important;
}
.ecig-ms-guest-actions .ecig-ms-register-action{
  background:linear-gradient(135deg,#8b2cff,#ff4f8b)!important;
  color:#fff!important;
}
@media (max-width:760px){
  .ecig-ms-guest-actions{padding:16px!important;border-radius:18px!important}
  .ecig-ms-guest-actions-title{font-size:16px!important}
  .ecig-ms-guest-actions-sub{font-size:13px!important}
  .ecig-ms-guest-actions-bar{grid-template-columns:1fr!important;gap:10px!important}
  .ecig-ms-guest-actions .ecig-ms-btn{min-height:50px!important;width:100%!important}
}


/* 2.6.0 - profil + plein écran desktop */
.ecig-ms-more-dropdown a{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  border:0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#334155!important;
  text-align:left!important;
  padding:10px 11px!important;
  font-size:13px!important;
  font-weight:850!important;
  cursor:pointer!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
  display:block!important;
}
.ecig-ms-more-dropdown a:hover{background:#f8fafc!important;color:#7c3aed!important}
html.ecig-ms-chat-fullscreen-open,
body.ecig-ms-chat-fullscreen-open{overflow:hidden!important}
body > .ecig-ms-app.ecig-ms-fullscreen,
.ecig-ms-app.ecig-ms-fullscreen{
  position:fixed!important;
  top:12px!important;
  right:12px!important;
  bottom:12px!important;
  left:12px!important;
  inset:12px!important;
  z-index:2147483000!important;
  width:calc(100vw - 24px)!important;
  max-width:none!important;
  height:calc(100dvh - 24px)!important;
  max-height:none!important;
  margin:0!important;
  border-radius:22px!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  background:#fff!important;
  box-shadow:0 24px 90px rgba(15,23,42,.32)!important;
  box-sizing:border-box!important;
  transform:none!important;
}
.ecig-ms-app.ecig-ms-fullscreen .ecig-ms-app-head{flex:0 0 auto!important}
.ecig-ms-app.ecig-ms-fullscreen .ecig-ms-layout{flex:1 1 auto!important;min-height:0!important;height:auto!important}
.ecig-ms-app.ecig-ms-fullscreen .ecig-ms-threads,
.ecig-ms-app.ecig-ms-fullscreen .ecig-ms-thread-panel,
.ecig-ms-app.ecig-ms-fullscreen .ecig-ms-panel-inner{height:100%!important;min-height:0!important;max-height:none!important}
.ecig-ms-app.ecig-ms-fullscreen .ecig-ms-messages{flex:1 1 auto!important;min-height:0!important;max-height:none!important}
@media (max-width:760px){
  .ecig-ms-app.ecig-ms-fullscreen{inset:0!important;height:100dvh!important;border-radius:0!important}
}

/* 2.6.1 - plein écran réellement hors conteneur */
.ecig-ms-fullscreen-placeholder{display:none!important}
body.ecig-ms-chat-fullscreen-open .et-l--header,
body.ecig-ms-chat-fullscreen-open #main-header,
body.ecig-ms-chat-fullscreen-open #wpadminbar{z-index:1!important}
body > .ecig-ms-app.ecig-ms-fullscreen{margin:0!important}
@media (max-width:760px){body > .ecig-ms-app.ecig-ms-fullscreen{top:0!important;right:0!important;bottom:0!important;left:0!important;inset:0!important;width:100vw!important;height:100dvh!important;border-radius:0!important}}

.ecig-ms-thread-role.is-support{background:#ecfeff!important;color:#0e7490!important}
.ecig-ms-thread-item[data-role="support"]{background:linear-gradient(135deg,#f0f9ff,#fff)!important}
.ecig-ms-thread-item[data-role="support"] .ecig-ms-thread-main strong span:before{content:"💬 "}


/* 2.6.4 - Support thread clean display */
.ecig-ms-thread-item[data-role="support"] .ecig-ms-thread-main strong span:before{
  content:""!important;
  display:none!important;
}
.ecig-ms-thread-item[data-role="support"] .ecig-ms-thread-main strong{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
.ecig-ms-thread-item[data-role="support"] .ecig-ms-thread-main strong:before{
  content:"💬"!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#38bdf8,#8b5cf6)!important;
  color:#fff!important;
  font-size:12px!important;
  box-shadow:0 5px 12px rgba(139,92,246,.22)!important;
  flex:0 0 auto!important;
}
.ecig-ms-thread-item[data-role="support"] .ecig-ms-thread-presence,
.ecig-ms-thread-item[data-role="support"] .ecig-ms-presence-dot{
  display:none!important;
}
.ecig-ms-thread-role.is-support{
  background:linear-gradient(135deg,#ecfeff,#f5f3ff)!important;
  color:#0e7490!important;
  border:1px solid rgba(14,116,144,.12)!important;
}
.ecig-ms-thread-item[data-role="support"]{
  background:linear-gradient(135deg,#f8fbff,#fff)!important;
}
.ecig-ms-thread-item[data-role="support"] .ecig-ms-thread-main small{
  color:#64748b!important;
}


/* 2.6.5 - Avatar support plus orienté aide */
.ecig-ms-thread-avatar.is-support,
.ecig-ms-panel-avatar.is-support{
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#38bdf8,#7c3aed)!important;
  border:1px solid rgba(255,255,255,.5)!important;
  box-shadow:0 10px 24px rgba(59,130,246,.20)!important;
}
.ecig-ms-thread-avatar.is-support{
  width:48px!important;
  height:48px!important;
  border-radius:15px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.ecig-ms-thread-avatar.is-support img,
.ecig-ms-panel-avatar.is-support img{
  display:none!important;
}
.ecig-ms-thread-avatar.is-support::before,
.ecig-ms-panel-avatar.is-support::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:62% 62%!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 16 0'/%3E%3Crect x='3' y='11' width='4' height='7' rx='2'/%3E%3Crect x='17' y='11' width='4' height='7' rx='2'/%3E%3Cpath d='M7 18v1a3 3 0 0 0 3 3h4'/%3E%3C/svg%3E")!important;
}
.ecig-ms-panel-avatar.is-support{
  width:42px!important;
  height:42px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media (max-width:760px){
  .ecig-ms-panel-avatar.is-support{width:38px!important;height:38px!important}
}


/* 2.7.5 - Panneau dernières conversations depuis l'icône messagerie */
.ecig-ms-menu-panel{
  position:fixed!important;
  z-index:999999!important;
  display:none!important;
  max-height:min(76vh,560px)!important;
  overflow:hidden!important;
  border-radius:24px!important;
  background:#fff!important;
  border:1px solid rgba(226,232,240,.95)!important;
  box-shadow:0 22px 60px rgba(15,23,42,.22)!important;
  color:#172033!important;
}
.ecig-ms-menu-panel.is-open{display:block!important}
.ecig-ms-menu-panel-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:14px 16px!important;
  border-bottom:1px solid #eef2f7!important;
  background:linear-gradient(135deg,#fff,#fff7fb)!important;
}
.ecig-ms-menu-panel-head strong{font-size:20px!important;font-weight:950!important;color:#172033!important;line-height:1.1!important}
.ecig-ms-menu-panel-head a{font-size:13px!important;font-weight:900!important;color:#7c3aed!important;text-decoration:none!important}
.ecig-ms-menu-panel-body{max-height:calc(min(76vh,560px) - 58px)!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;background:#fff!important}
.ecig-ms-menu-panel-loading,.ecig-ms-menu-panel-empty,.ecig-ms-menu-panel-error{padding:22px 16px!important;color:#64748b!important;font-size:14px!important;font-weight:800!important;text-align:center!important}
.ecig-ms-menu-panel-item{display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;gap:11px!important;align-items:center!important;padding:12px 14px!important;text-decoration:none!important;border-bottom:1px solid #eef2f7!important;background:#fff!important;color:#172033!important}
.ecig-ms-menu-panel-item:hover{background:#f8fafc!important;color:#172033!important}
.ecig-ms-menu-panel-avatar{width:48px!important;height:48px!important;border-radius:15px!important;overflow:hidden!important;background:#e5e7eb!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important}
.ecig-ms-menu-panel-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.ecig-ms-menu-panel-avatar .is-support{width:100%!important;height:100%!important;background:linear-gradient(135deg,#38bdf8,#7c3aed)!important;position:relative!important;display:block!important}
.ecig-ms-menu-panel-avatar .is-support:before{content:"🎧"!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:23px!important;color:#fff!important}
.ecig-ms-menu-panel-main{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
.ecig-ms-menu-panel-main strong{font-size:14px!important;font-weight:950!important;color:#172033!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.15!important}
.ecig-ms-menu-panel-main em{font-style:normal!important;color:#7c3aed!important;font-size:12px!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.15!important}
.ecig-ms-menu-panel-main small{font-size:12px!important;color:#64748b!important;font-weight:750!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.2!important}
.ecig-ms-menu-panel-main b{width:max-content!important;border-radius:999px!important;background:#eff6ff!important;color:#1d4ed8!important;padding:2px 6px!important;font-size:10px!important;font-weight:950!important;line-height:1.1!important}
.ecig-ms-menu-panel-meta{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:6px!important;min-width:58px!important}
.ecig-ms-menu-panel-meta small{font-size:11px!important;color:#94a3b8!important;font-weight:800!important;white-space:nowrap!important}
.ecig-ms-menu-panel-unread{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:22px!important;height:22px!important;border-radius:999px!important;background:#ff2f72!important;color:#fff!important;font-size:11px!important;font-weight:950!important;padding:0 6px!important}
.ecig-ms-menu-panel-all{display:flex!important;align-items:center!important;justify-content:center!important;margin:12px 14px 14px!important;padding:12px 14px!important;border-radius:999px!important;background:#eef2ff!important;color:#4f46e5!important;text-decoration:none!important;font-weight:950!important;font-size:14px!important}
.ecig-ms-menu-chat-link.is-panel-open{filter:saturate(1.12)!important;box-shadow:0 14px 34px rgba(124,58,237,.34)!important}
@media (max-width:760px){
  .ecig-ms-menu-panel{left:10px!important;right:10px!important;width:auto!important;max-height:70vh!important;border-radius:22px!important}
  .ecig-ms-menu-panel-body{max-height:calc(70vh - 58px)!important}
  .ecig-ms-menu-panel-item{grid-template-columns:46px minmax(0,1fr) auto!important;padding:12px!important}
  .ecig-ms-menu-panel-avatar{width:46px!important;height:46px!important}
}
