.cpa-fab{position:fixed!important;left:12px!important;right:auto!important;bottom:122px!important;
 width:56px!important;height:56px!important;min-width:0!important;max-width:none!important;
 aspect-ratio:1/1;border-radius:50%!important;border:0!important;padding:0!important;margin:0!important;
 box-sizing:border-box;cursor:pointer;z-index:99998;overflow:visible;
 background:linear-gradient(135deg,#c2154a,#8d0d33)!important;
 box-shadow:0 8px 22px rgba(160,20,60,.38);display:flex!important;align-items:center;justify-content:center;
 transition:transform .18s ease;line-height:0;text-decoration:none}
.cpa-fab:hover{transform:scale(1.06)}
.cpa-fab svg{width:28px;height:28px;fill:#fff}
.cpa-fab .cpa-ai{position:absolute;top:-6px;right:-4px;background:#fff;color:#a01038;
 font:700 10px/1 system-ui,sans-serif;padding:3px 5px;border-radius:7px;box-shadow:0 2px 6px rgba(0,0,0,.18);
 letter-spacing:.4px}
.cpa-panel{position:fixed;left:12px;right:auto;bottom:188px;width:370px;max-width:calc(100vw - 24px);
 height:min(clamp(360px,62vh,560px),calc(100vh - 210px));background:#fff;border-radius:18px;z-index:99999;display:none;flex-direction:column;
 overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.24);direction:rtl;
 font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.cpa-panel.cpa-open{display:flex}
.cpa-head{background:linear-gradient(135deg,#c2154a,#8d0d33);color:#fff;padding:13px 16px;display:flex;
 align-items:center;justify-content:space-between;flex:0 0 auto}
.cpa-head b{font-size:15px;font-weight:600}
.cpa-head small{display:block;opacity:.85;font-size:11px;font-weight:400;margin-top:2px}
.cpa-x{background:none;border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer;opacity:.85;padding:0 4px}
.cpa-x:hover{opacity:1}
.cpa-body{flex:1 1 auto;overflow-y:auto;padding:14px;background:#faf7f8}
.cpa-msg{max-width:86%;padding:9px 13px;border-radius:14px;margin-bottom:10px;font-size:14px;line-height:1.55;
 white-space:pre-wrap;word-break:break-word}
.cpa-bot{background:#fff;color:#241c1f;border:1px solid #efe6e9;border-start-start-radius:4px}
.cpa-me{background:#c2154a;color:#fff;margin-inline-start:auto;border-end-end-radius:4px}
.cpa-cards{display:flex;align-items:stretch;gap:9px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:thin}
.cpa-card{position:relative;flex:0 0 142px;background:#fff;border:1px solid #efe6e9;border-radius:12px;
 padding:9px;display:flex;flex-direction:column}
.cpa-card img{width:100%;height:92px;object-fit:contain;margin-bottom:6px}
.cpa-card .cpa-brand{font-size:10px;color:#8d8184;margin-bottom:2px;height:26px;overflow:hidden;line-height:1.3}
.cpa-card .cpa-name{font-size:11.5px;line-height:1.35;color:#241c1f;height:46px;overflow:hidden;margin-bottom:5px}
.cpa-card .cpa-acc{font-size:10.5px;color:#a01038;font-weight:700;margin-bottom:1px;min-height:14px}
.cpa-card .cpa-notes{font-size:9.5px;color:#8d8184;line-height:1.35;height:26px;overflow:hidden;margin-bottom:4px}
.cpa-card .cpa-price{margin-top:auto}
.cpa-card .cpa-price s{color:#9c9497;font-size:11px;font-weight:400;margin-inline-end:3px}
.cpa-sale{position:absolute;top:7px;inset-inline-start:7px;background:#c2154a;color:#fff;font-size:9px;
 padding:2px 6px;border-radius:999px;letter-spacing:.3px}
.cpa-card .cpa-price{font-size:14px;font-weight:700;color:#c2154a;margin-bottom:7px}
.cpa-card button{width:100%;border:0;background:#241c1f;color:#fff;border-radius:8px;padding:7px 0;font-size:12px;
 cursor:pointer}
.cpa-card button:hover{background:#000}
.cpa-card button[disabled]{background:#9c9497;cursor:default}
.cpa-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.cpa-chips button{background:#fff;border:1px solid #e3d6da;color:#7a0c29;border-radius:999px;padding:6px 12px;
 font-size:12.5px;cursor:pointer}
.cpa-chips button:hover{background:#fdeaef}
.cpa-foot{flex:0 0 auto;border-top:1px solid #efe6e9;padding:9px;display:flex;gap:7px;background:#fff}
.cpa-foot input{flex:1 1 auto;border:1px solid #e3d6da;border-radius:10px;padding:9px 12px;font-size:14px;
 font-family:inherit;direction:rtl}
.cpa-foot input:focus{outline:2px solid #f1c3d0;outline-offset:-1px}
.cpa-foot button{border:0;background:#c2154a;color:#fff;border-radius:10px;padding:0 16px;font-size:14px;cursor:pointer}
.cpa-foot button[disabled]{background:#d9a8b8;cursor:default}
.cpa-note{font-size:11px;color:#8d8184;text-align:center;padding:6px 10px}
.cpa-dots span{display:inline-block;width:6px;height:6px;margin:0 2px;border-radius:50%;background:#c9bfc2;
 animation:cpa-b 1s infinite}
.cpa-dots span:nth-child(2){animation-delay:.15s}
.cpa-dots span:nth-child(3){animation-delay:.3s}
@keyframes cpa-b{0%,60%,100%{opacity:.3}30%{opacity:1}}
@media(max-width:480px){
 .cpa-panel{left:8px;right:8px;width:auto;bottom:182px;height:min(62vh,480px)}
 .cpa-fab{width:52px!important;height:52px!important;bottom:116px!important}
}

.cpa-note a{color:#a01038;text-decoration:underline}
.cpa-panel *,.cpa-fab *{box-sizing:border-box}
.cpa-panel button,.cpa-fab{font-family:inherit}

.cpa-form{background:#fff;border:1px solid #efe6e9;border-radius:14px;padding:14px;margin-bottom:10px}
.cpa-form p{margin:0 0 10px;font-size:13px;color:#5c5054;line-height:1.5}
.cpa-form input{width:100%;border:1px solid #e3d6da;border-radius:10px;padding:9px 12px;font-size:14px;
 font-family:inherit;direction:rtl;margin-bottom:8px;box-sizing:border-box}
.cpa-form input:focus{outline:2px solid #f1c3d0;outline-offset:-1px}
.cpa-form button{width:100%;border:0;background:#c2154a;color:#fff;border-radius:10px;padding:10px 0;
 font-size:14px;cursor:pointer;font-family:inherit}
.cpa-form button[disabled]{background:#d9a8b8;cursor:default}
.cpa-err{color:#b3123c;font-size:12px;margin:0 0 8px;min-height:15px}
.cpa-tiny{font-size:11px;color:#8d8184;margin:8px 0 0;line-height:1.5}

.cpa-link{display:block;text-decoration:none;color:inherit}
.cpa-link:hover .cpa-name{text-decoration:underline}
