.revo-chat{--rc-color:#E30613;--rc-ink:#1A1A1A;--rc-soft:#F2F2F2;position:fixed;right:20px;bottom:20px;z-index:2147483000;font-family:inherit;font-size:15px;line-height:1.45;color:var(--rc-ink)}
.revo-chat *{box-sizing:border-box}
.revo-chat [hidden]{display:none!important}
.revo-chat__launcher{position:relative;display:flex;align-items:center;gap:8px;height:52px;padding:0 22px 0 18px;border:0;border-radius:999px;background:var(--rc-color);color:#fff;font-family:inherit;font-size:17px;font-weight:600;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.22);margin-left:auto}
.revo-chat__launcher:focus-visible,.revo-chat button:focus-visible,.revo-chat__card:focus-visible{outline:3px solid #111;outline-offset:2px}
.revo-chat__input:focus,.revo-chat__input:focus-visible{outline:none!important;box-shadow:none!important;border:none!important}
.revo-chat__badge{position:absolute;top:-6px;right:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;color:var(--rc-color);border:2px solid var(--rc-color);font-size:12px;font-weight:700;line-height:18px;text-align:center}
.revo-chat__panel{position:absolute;right:0;bottom:66px;width:380px;height:min(600px,calc(100vh - 110px));display:flex;flex-direction:column;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.25)}
.revo-chat__head{display:flex;align-items:center;gap:12px;padding:16px 16px 16px 18px;background:var(--rc-color);color:#fff}
.revo-chat__avatar{flex:0 0 44px;height:44px;border-radius:50%;background:#fff;color:var(--rc-color);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}
.revo-chat__who{flex:1;display:flex;flex-direction:column;min-width:0}
.revo-chat__who strong{font-size:18px;line-height:1.2}
.revo-chat__who span{font-size:13px;opacity:.9}
.revo-chat__close{border:0;background:transparent;color:#fff;cursor:pointer;padding:6px;border-radius:50%;display:flex}
.revo-chat__log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.revo-chat__msg{display:flex;flex-direction:column;max-width:88%}
.revo-chat__msg--bot{align-self:flex-start}
.revo-chat__msg--user{align-self:flex-end;align-items:flex-end}
.revo-chat__bubble{padding:10px 14px;border-radius:16px;background:var(--rc-soft);white-space:pre-line;overflow-wrap:anywhere}
.revo-chat__msg--user .revo-chat__bubble{background:var(--rc-color);color:#fff;border-bottom-right-radius:4px}
.revo-chat__msg--bot .revo-chat__bubble{border-bottom-left-radius:4px}
.revo-chat__bubble a{color:var(--rc-color);text-decoration:underline}
.revo-chat__msg--user .revo-chat__bubble a{color:#fff}
.revo-chat__chips{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.revo-chat__chip{border:1.5px solid var(--rc-color);background:#fff;color:var(--rc-color);border-radius:12px;padding:9px 14px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.3;cursor:pointer;text-align:right}
.revo-chat__chip:hover{background:var(--rc-color);color:#fff}
.revo-chat__cards{display:flex;gap:8px;margin-top:8px;overflow-x:auto;max-width:100%;padding-bottom:4px}
.revo-chat__card{flex:0 0 132px;display:flex;flex-direction:column;gap:4px;padding:8px;border:1px solid #E5E5E5;border-radius:12px;background:#fff;color:var(--rc-ink);text-decoration:none}
.revo-chat__card img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff}
.revo-chat__card-title{font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.revo-chat__card-price{font-size:13px;font-weight:700;color:var(--rc-color)}
.revo-chat__card-price s{margin-left:5px;color:#777;font-weight:400}
.revo-chat__typing{display:flex;gap:5px;align-items:center;min-height:40px}
.revo-chat__typing i{width:7px;height:7px;border-radius:50%;background:#999;animation:revo-chat-dot 1s infinite ease-in-out}
.revo-chat__typing i:nth-child(2){animation-delay:.15s}
.revo-chat__typing i:nth-child(3){animation-delay:.3s}
@keyframes revo-chat-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.revo-chat__form{display:flex;gap:8px;align-items:center;margin:0 14px;padding:6px 6px 6px 16px;border:1.5px solid #DDD;border-radius:999px}
.revo-chat__form:focus-within{border-color:var(--rc-color);box-shadow:0 0 0 1px var(--rc-color)}
.revo-chat__input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:16px/1.3 inherit;color:var(--rc-ink);padding:6px 0}
.revo-chat__send{flex:0 0 40px;height:40px;border:0;border-radius:50%;background:var(--rc-color);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.revo-chat__send:disabled{opacity:.5;cursor:default}
.revo-chat__note{padding:8px 16px 12px;font-size:11px;line-height:1.35;color:#777;text-align:center}
@media (max-width:749px){
  .revo-chat{right:14px;bottom:calc(14px + env(safe-area-inset-bottom))}
  .revo-chat__launcher{height:48px;font-size:16px;padding:0 18px 0 14px}
  .revo-chat.is-open{inset:0;right:0;bottom:0}
  .revo-chat.is-open .revo-chat__launcher{display:none}
  .revo-chat__panel{position:fixed;inset:0;width:auto;height:100%;border-radius:0;bottom:0}
  .revo-chat__form{margin-bottom:calc(4px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){.revo-chat__typing i{animation:none}}
