.merlin-advisor{position:fixed;right:18px;bottom:18px;z-index:9998;font-family:inherit}.merlin-advisor__launcher{border:0;border-radius:999px;background:#111;color:#fff;padding:12px 18px;box-shadow:0 8px 30px rgba(0,0,0,.2);font-weight:700;cursor:pointer;display:flex;align-items:center;gap:8px}.merlin-advisor__hat{font-size:20px}.merlin-advisor__panel{position:absolute;right:0;bottom:58px;width:min(390px,calc(100vw - 24px));max-height:min(650px,calc(100vh - 100px));background:#fff;border:1px solid #e8e8e8;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.22);overflow:hidden}.merlin-advisor__header{background:#111;color:#fff;padding:15px 16px;display:flex;justify-content:space-between;align-items:center}.merlin-advisor__header strong{display:block}.merlin-advisor__header small{display:block;opacity:.75;margin-top:2px}.merlin-advisor__close{background:none;border:0;color:#fff;font-size:26px;cursor:pointer}.merlin-advisor__messages{padding:14px;height:300px;overflow:auto;background:#f7f7f7}.merlin-advisor__message{max-width:88%;padding:10px 12px;border-radius:14px;margin:0 0 10px;white-space:pre-wrap;line-height:1.42}.merlin-advisor__message--bot{background:#fff;border:1px solid #e5e5e5}.merlin-advisor__message--user{background:#111;color:#fff;margin-left:auto}.merlin-advisor__products{padding:0 12px;background:#f7f7f7}.merlin-advisor__product{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:10px 12px;margin-bottom:7px;border-radius:12px;background:#fff;border:1px solid #e6e6e6;color:#222;text-decoration:none}.merlin-advisor__product strong{grid-column:1}.merlin-advisor__product span{grid-column:2;font-weight:700}.merlin-advisor__product em{grid-column:1 / -1;font-style:normal;font-size:12px;opacity:.65}.merlin-advisor__form{display:flex;gap:8px;padding:12px;border-top:1px solid #eee}.merlin-advisor__form textarea{flex:1;resize:none;border:1px solid #d8d8d8;border-radius:10px;padding:9px;font:inherit}.merlin-advisor__form button{border:0;background:#111;color:#fff;border-radius:10px;padding:0 14px;font-weight:700;cursor:pointer}.merlin-advisor__form.is-loading{opacity:.65;pointer-events:none}.merlin-advisor__note{padding:0 12px 10px;font-size:10px;color:#777;text-align:center}@media(max-width:520px){
.merlin-advisor{right:10px;bottom:85px}
.merlin-advisor__launcher span:last-child{display:inline!important}
.merlin-advisor__launcher{
width:auto!important;
height:auto!important;
min-height:48px;
padding:10px 14px!important;
justify-content:center;
gap:7px;
font-size:13px;
white-space:nowrap
}
.merlin-advisor__hat{font-size:18px}
.merlin-advisor__panel{
position:fixed;
left:8px;
right:8px;
bottom:145px;
width:auto;
max-height:calc(100vh - 170px)
}
.merlin-advisor__messages{height:42vh}
}

/* Remonte Merlin Advisor au-dessus du badge Google */
.merlin-advisor-launcher {
    bottom: 85px !important;
}

/* Remonte Merlin Advisor au-dessus de Google Merchant */
.merlin-advisor__launcher {
    bottom: 95px !important;
}


/* Position Merlin Advisor au-dessus du badge Google */
.merlin-advisor {
    bottom: 95px !important;
}

@media (max-width: 520px) {
    .merlin-advisor {
        bottom: 85px !important;
    }
}


/* Mobile : bouton plus explicite */
@media (max-width: 520px) {

    .merlin-advisor__launcher {
        width: auto !important;
        height: auto !important;
        min-height: 48px;
        padding: 10px 14px !important;
        border-radius: 999px !important;
        gap: 7px !important;
        white-space: nowrap;
        font-size: 13px;
    }

    .merlin-advisor__launcher span:last-child {
        display: inline !important;
    }

    .merlin-advisor__hat {
        font-size: 18px !important;
    }
}

