:root{--chat-red:#9d261c;--chat-red-dark:#681b14;--chat-brown:#241711;--chat-gold:#d19a47;--chat-cream:#fff8ef;--chat-line:#ead9c7;--chat-text:#2b211c}
.imperio-chat{position:fixed;right:24px;bottom:24px;z-index:1200;font-family:DM Sans,system-ui,sans-serif}.chat-launcher{position:relative;border:0;border-radius:999px;background:linear-gradient(135deg,var(--chat-red),#6f1c14);color:#fff;padding:9px 17px 9px 10px;display:flex;align-items:center;gap:10px;box-shadow:0 16px 35px rgba(70,20,10,.28);cursor:pointer;font-weight:800;letter-spacing:.02em;transition:.22s}.chat-launcher:hover{transform:translateY(-3px);box-shadow:0 20px 40px rgba(70,20,10,.34)}.chat-launcher-icon{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#d19a47;color:#241711;font-size:20px;box-shadow:inset 0 0 0 3px rgba(255,255,255,.18)}.chat-launcher-label{font-size:12px}.chat-launcher-pulse{position:absolute;right:8px;top:5px;width:9px;height:9px;border-radius:50%;background:#49b56c;box-shadow:0 0 0 4px rgba(73,181,108,.18)}.chat-panel{position:absolute;right:0;bottom:70px;width:min(390px,calc(100vw - 30px));height:590px;max-height:calc(100vh - 105px);display:flex;flex-direction:column;overflow:hidden;background:#fffdf9;border:1px solid rgba(157,38,28,.18);border-radius:22px;box-shadow:0 24px 70px rgba(36,23,17,.27);opacity:0;pointer-events:none;transform:translateY(14px) scale(.98);transition:.22s}.imperio-chat.open .chat-panel{opacity:1;pointer-events:auto;transform:none}.chat-header{background:linear-gradient(135deg,#241711,#731f17);color:#fff;padding:17px 16px;display:flex;justify-content:space-between;align-items:center}.chat-brand{display:flex;align-items:center;gap:11px}.chat-avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#d19a47;color:#241711;font-size:20px}.chat-brand strong{display:block;font-family:Oswald,sans-serif;text-transform:uppercase;letter-spacing:.03em;font-size:17px}.chat-brand span{display:block;margin-top:2px;color:#f3ddc0;font-size:10px}.chat-brand i{display:inline-block;width:6px;height:6px;background:#57c878;border-radius:50%;margin-right:4px}.chat-close,.support-close{border:0;background:rgba(255,255,255,.1);color:#fff;width:32px;height:32px;border-radius:50%;font-size:24px;cursor:pointer}.chat-messages{flex:1;overflow:auto;padding:18px 14px 8px;background:radial-gradient(circle at 20% 10%,rgba(209,154,71,.08),transparent 32%),#fffaf5}.chat-message{max-width:88%;margin:0 0 12px;padding:11px 13px;border-radius:16px;font-size:13px;line-height:1.5;white-space:pre-line}.chat-message.bot{background:#fff;border:1px solid var(--chat-line);color:var(--chat-text);border-bottom-left-radius:5px}.chat-message.user{margin-left:auto;background:var(--chat-red);color:#fff;border-bottom-right-radius:5px}.chat-product{background:#fff;border:1px solid #eadfd5;border-radius:15px;display:flex;gap:10px;padding:9px;margin:8px 0;box-shadow:0 6px 18px rgba(36,23,17,.06)}.chat-product img{width:58px;height:58px;object-fit:cover;border-radius:11px;background:#eee}.chat-product-main{min-width:0;flex:1}.chat-product-main strong{display:block;font-family:Oswald,sans-serif;font-size:15px;color:#2b211c}.chat-product-main p{margin:3px 0;color:#786b61;font-size:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.chat-product-price{color:var(--chat-red);font-weight:900;font-size:13px}.chat-add{border:0;background:#d19a47;color:#241711;border-radius:9px;padding:7px 9px;font-size:10px;font-weight:900;cursor:pointer;align-self:center;white-space:nowrap}.chat-add:hover{background:#e1b15e}.chat-suggestions{display:flex;gap:7px;overflow-x:auto;padding:7px 12px 9px;background:#fffaf5}.chat-suggestions button{flex:0 0 auto;border:1px solid #d9b98f;background:#fff;color:#6d301f;border-radius:999px;padding:8px 10px;font-size:10px;font-weight:800;cursor:pointer}.chat-suggestions button:hover{background:#fff0da;border-color:#d19a47}.chat-input-row{display:flex;gap:7px;padding:10px 11px;border-top:1px solid #eadfd5;background:#fff}.chat-input-row input{min-width:0;flex:1;border:1px solid #decfc0;border-radius:13px;padding:11px 12px;outline:0;font:inherit;font-size:12px}.chat-input-row input:focus{border-color:#b96742;box-shadow:0 0 0 3px rgba(157,38,28,.08)}.chat-input-row button{width:42px;border:0;border-radius:13px;background:var(--chat-red);color:#fff;font-size:18px;cursor:pointer}.chat-footer-note{text-align:center;color:#96877c;font-size:9px;padding:0 10px 10px;background:#fff}.chat-typing{padding:0 14px 6px;color:#8c7b70;font-size:10px;background:#fffaf5}.chat-typing span{display:inline-block;width:5px;height:5px;border-radius:50%;background:#b88b67;margin-right:3px;animation:chatdot 1s infinite}.chat-typing span:nth-child(2){animation-delay:.15s}.chat-typing span:nth-child(3){animation-delay:.3s}@keyframes chatdot{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-3px);opacity:1}}.support-modal[hidden]{display:none}.support-modal{position:fixed;inset:0;z-index:1400;display:grid;place-items:center;padding:18px}.support-backdrop{position:absolute;inset:0;background:rgba(20,10,6,.58);backdrop-filter:blur(3px)}.support-card{position:relative;width:min(460px,100%);background:#fffaf5;border-radius:22px;padding:27px;border:1px solid #e7d4c0;box-shadow:0 25px 80px rgba(0,0,0,.3)}.support-close{position:absolute;right:14px;top:14px;background:#241711}.support-eyebrow{color:var(--chat-red);font-size:10px;font-weight:900;letter-spacing:.12em}.support-card h2{font-family:Oswald,sans-serif;text-transform:uppercase;margin:7px 0 5px;font-size:29px;color:#241711}.support-card p{font-size:13px;color:#75685e;line-height:1.55;margin:0 0 15px}.support-card textarea{width:100%;min-height:120px;resize:vertical;box-sizing:border-box;border:1px solid #ddcdbc;border-radius:13px;padding:12px;font:inherit;outline:0}.support-card textarea:focus{border-color:#b96742}.support-submit{width:100%;margin-top:12px;border:0;border-radius:12px;padding:13px;background:var(--chat-red);color:#fff;font-weight:900;letter-spacing:.06em;cursor:pointer}.support-status{display:block;margin-top:10px;font-size:11px;color:#5c514a}.support-status.ok{color:#287a49}.support-status.error{color:#a2251b}@media(max-width:600px){.imperio-chat{right:13px;bottom:13px}.chat-launcher{padding:8px}.chat-launcher-label{display:none}.chat-panel{bottom:62px;width:calc(100vw - 26px);height:min(600px,calc(100vh - 88px))}.chat-launcher-icon{width:47px;height:47px}}
