
#sun-fab{position:fixed;right:20px;bottom:88px;z-index:99998;width:68px;height:68px;padding:0;border:none;border-radius:50%;background:radial-gradient(circle at 50% 42%,#0d3244 0%,#08202e 62%,#03090f 100%);cursor:grab;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 26px rgba(2,16,26,.55),0 0 20px rgba(34,211,238,.55),0 0 42px rgba(34,211,238,.28),inset 0 0 0 2px rgba(120,240,255,.35),inset 0 0 14px rgba(34,211,238,.35);-webkit-tap-highlight-color:transparent;touch-action:none;overflow:visible;animation:sunfab-float 4.2s ease-in-out infinite;will-change:transform}
#sun-fab::before{content:'';position:absolute;inset:-6px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg,#22d3ee 40deg,transparent 90deg,#3b82f6 180deg,transparent 230deg,#22d3ee 320deg,transparent 360deg);filter:blur(6px);opacity:.9;z-index:-2;animation:sunfab-spin 4s linear infinite}
#sun-fab::after{content:'';position:absolute;inset:0;border-radius:50%;z-index:-1;animation:sunfab-ring 2.4s ease-out infinite}
#sun-fab .sf-core{position:absolute;top:50%;left:50%;width:24px;height:24px;margin:-12px 0 0 -12px;border-radius:50%;background:radial-gradient(circle at 50% 45%,#eafeff 0%,#7df0ff 28%,#22d3ee 52%,#0894c4 74%,rgba(8,148,196,0) 82%);box-shadow:0 0 10px 3px rgba(125,240,255,.9),0 0 20px 8px rgba(34,211,238,.55);z-index:2;pointer-events:none;animation:sunfab-core 2.2s ease-in-out infinite}
#sun-fab .sf-ring{position:absolute;inset:6px;border-radius:50%;z-index:1;pointer-events:none;background:conic-gradient(from 0deg,rgba(34,211,238,.95) 0 12deg,transparent 12deg 30deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 3px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 3px));animation:sunfab-spin 6s linear infinite;opacity:.9}
#sun-fab .sf-ring2{position:absolute;inset:13px;border-radius:50%;z-index:1;pointer-events:none;background:conic-gradient(from 90deg,transparent 0 70deg,rgba(59,130,246,.85) 70deg 92deg,transparent 92deg 180deg,rgba(59,130,246,.85) 180deg 202deg,transparent 202deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 2px));mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 2px));animation:sunfab-spin 4.5s linear infinite reverse;opacity:.85}
#sun-fab .sf-orbit{position:absolute;inset:-10px;border-radius:50%;z-index:3;pointer-events:none;animation:sunfab-spin 3.6s linear infinite}
#sun-fab .sf-orbit i{position:absolute;border-radius:50%;background:#eafeff}
#sun-fab .sf-orbit i.a{top:-2px;left:50%;width:7px;height:7px;margin-left:-3.5px;box-shadow:0 0 8px 3px #7df0ff,0 0 16px 7px rgba(34,211,238,.85)}
#sun-fab .sf-orbit i.b{bottom:-1px;left:50%;width:5px;height:5px;margin-left:-2.5px;box-shadow:0 0 7px 2px #a9d5ff,0 0 12px 5px rgba(59,130,246,.75)}
#sun-fab.dragging{animation:none}
#sun-fab.dragging .sf-core{animation:none}
@keyframes sunfab-float{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-7px) scale(1.05)}}
@keyframes sunfab-core{0%,100%{transform:scale(1);opacity:.95}50%{transform:scale(1.2);opacity:1}}
@keyframes sunfab-spin{to{transform:rotate(360deg)}}
@keyframes sunfab-ring{0%{box-shadow:0 0 0 0 rgba(34,211,238,.6)}70%{box-shadow:0 0 0 16px rgba(34,211,238,0)}100%{box-shadow:0 0 0 0 rgba(34,211,238,0)}}
#sun-box{position:fixed;right:20px;bottom:90px;z-index:99999;width:380px;max-width:calc(100vw - 32px);height:580px;max-height:calc(100vh - 120px);background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.28);display:none;flex-direction:column;overflow:hidden;font-family:system-ui}
#sun-hd{background:linear-gradient(135deg,#e0531a,#ff7a3d);color:#fff;padding:13px 16px;font-weight:700;display:flex;align-items:center;gap:9px;cursor:grab;touch-action:none;user-select:none}
#sun-hd:active{cursor:grabbing}
.sun-offerbtn{display:block;align-self:flex-start;max-width:92%;text-decoration:none;background:linear-gradient(135deg,#e0531a,#ff7a3d);color:#fff;border-radius:12px;padding:11px 14px;margin:3px 0 5px;font:700 14px system-ui;box-shadow:0 4px 14px rgba(224,83,26,.35)}
.sun-offerbtn span{display:block;font:600 11px system-ui;opacity:.92;margin-top:2px}
#sun-hd .x{margin-left:auto;cursor:pointer;font-size:20px}
#sun-msgs{flex:1;overflow-y:auto;padding:14px;background:#f7f7f9;display:flex;flex-direction:column;gap:9px}
.sun-m{max-width:84%;padding:9px 12px;border-radius:13px;font-size:14px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.sun-u{align-self:flex-end;background:#e0531a;color:#fff}.sun-a{align-self:flex-start;background:#fff;color:#222;border:1px solid #e6e6ea}
.sun-act{display:flex;gap:6px;padding:7px 10px;border-top:1px solid #eee;background:#fff}
.sun-act button{flex:1;background:#fff;color:#e0531a;border:1.5px solid #e0531a;border-radius:9px;padding:7px;font:600 12.5px system-ui;cursor:pointer}
#sun-in{display:flex;gap:7px;padding:10px;border-top:1px solid #eee;background:#fff}
#sun-in textarea{flex:1;resize:none;border:1px solid #ddd;border-radius:10px;padding:9px;font:14px system-ui;height:40px;max-height:90px}
#sun-in button{background:#e0531a;color:#fff;border:none;border-radius:10px;padding:0 15px;font-weight:700;cursor:pointer}
.sun-typing{align-self:flex-start;display:flex;align-items:center;gap:8px;font-size:13px;padding:3px 2px}.sun-think{display:inline-flex;gap:5px;align-items:center}.sun-think i{width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,#e0531a,#ff9a3d);display:inline-block;animation:sunpulse 1.1s ease-in-out infinite;box-shadow:0 0 6px rgba(224,83,26,.5)}.sun-think i:nth-child(2){animation-delay:.16s}.sun-think i:nth-child(3){animation-delay:.32s}@keyframes sunpulse{0%,75%,100%{transform:scale(.55);opacity:.35}38%{transform:scale(1.2);opacity:1}}.sun-think-lbl{background:linear-gradient(90deg,#b9b9b9 0%,#e0531a 50%,#b9b9b9 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:sunshim 1.9s linear infinite;font-weight:600}@keyframes sunshim{0%{background-position:200% 0}100%{background-position:-200% 0}}
.sun-ov{position:absolute;inset:0;background:#fff;z-index:5;display:none;flex-direction:column;overflow:hidden}
.sun-ovh{background:#fff;border-bottom:1px solid #eee;padding:11px 14px;display:flex;align-items:center;gap:8px}
.sun-ovh .bk{cursor:pointer;color:#e0531a;font-weight:700;font-size:13px}.sun-ovh b{font-size:15px}
.sun-cats{display:flex;gap:6px;overflow-x:auto;padding:9px 12px;border-bottom:1px solid #f0f0f0}
.sun-cats button{white-space:nowrap;background:#f3f3f6;border:none;border-radius:20px;padding:6px 12px;font:600 12px system-ui;cursor:pointer;color:#444}.sun-cats button.on{background:#e0531a;color:#fff}
.sun-prods,.sun-f{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px}
.sun-p{display:flex;gap:10px;border:1px solid #eee;border-radius:11px;padding:9px;background:#fafafa}
.sun-p img{width:64px;height:64px;object-fit:contain;border-radius:7px;background:#fff;flex-shrink:0}
.sun-p .pi{flex:1;min-width:0}.sun-p b{font-size:13px;display:block;line-height:1.3}
.sun-p .pr{color:#e0531a;font-weight:700;font-size:13px;margin:2px 0}.sun-p .ds{font-size:11.5px;color:#666;line-height:1.35}
.sun-p .ba{display:flex;gap:5px;margin-top:5px}
.sun-p .ba button{background:#e0531a;color:#fff;border:none;border-radius:7px;padding:5px 9px;font:600 11.5px system-ui;cursor:pointer}
.sun-p .ba a{background:#fff;border:1px solid #e0531a;color:#e0531a;border-radius:7px;padding:5px 9px;font:600 11.5px system-ui;text-decoration:none}
.sun-f label{display:block;font-size:12.5px;font-weight:600;margin:6px 0 3px;color:#444}
.sun-f input,.sun-f select,.sun-f textarea{width:100%;box-sizing:border-box;border:1px solid #ddd;border-radius:8px;padding:8px;font:14px system-ui}
.sun-f .submit{background:#e0531a;color:#fff;border:none;padding:11px;border-radius:9px;font-weight:700;margin-top:10px;cursor:pointer}
.sun-modal{position:fixed;inset:0;z-index:2147483600;background:rgba(8,10,20,.62);display:none;align-items:center;justify-content:center;padding:18px}
.sun-modal .mbox{background:#fff;border-radius:16px;max-width:480px;width:100%;max-height:86vh;overflow:auto;box-shadow:0 24px 70px rgba(0,0,0,.45);font-family:system-ui}
.sun-modal .mh{display:flex;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid #eee;font-weight:700;color:#e0531a;position:sticky;top:0;background:#fff}
.sun-modal .mh .mx{margin-left:auto;cursor:pointer;font-size:24px;line-height:1;color:#999}
.sun-modal .mb{padding:16px;display:flex;flex-direction:column;gap:10px}
.sun-modal.wide .mbox{max-width:920px;width:96vw}
.sun-modal.wide .mb{padding:0}
.sun-dcount{background:#fff3ec;color:#e0531a;font-weight:700;font-size:12.5px;text-align:center;padding:8px}
#sun-db .sd-img{width:140px;float:right;margin:0 0 10px 12px;border-radius:8px}
#sun-db .sd-pr{color:#e0531a;font-weight:800;font-size:19px;margin-bottom:10px}
#sun-db table{width:100%;border-collapse:collapse;font-size:13px;margin:8px 0}
#sun-db table th,#sun-db table td{border:1px solid #eee;padding:6px 9px;text-align:left;vertical-align:top}
#sun-db table th{background:#faf7f5;width:42%}
#sun-db .sd-desc{font-size:13.5px;line-height:1.55;color:#444;clear:both}
#sun-db .sd-desc img{max-width:100%;height:auto}
.sun-bigp img{width:100%;max-width:300px;max-height:260px;object-fit:contain;margin:0 auto 12px;display:block}
.sun-bigp h3{font-size:18px;color:#1a1a1a;margin:0 0 6px;line-height:1.3}
.sun-bigp .bpr{font-size:23px;font-weight:800;color:#e0531a;margin:6px 0 10px}

.sun-bigp .bsp{font-size:12.5px;color:#666;background:#f6f6f8;border-radius:8px;padding:8px 10px;margin:6px 0}
.sun-bigp .bds{font-size:13.5px;color:#555;line-height:1.55;margin:6px 0 4px;max-height:180px;overflow:auto}
.sun-bigp .bba{display:flex;gap:9px;margin-top:14px}
.sun-bigp .bba button{flex:1;background:#e0531a;color:#fff;border:none;border-radius:10px;padding:12px;font:700 14px system-ui;cursor:pointer}
.sun-bigp .bba a{flex:1;text-align:center;background:#fff;border:1.6px solid #e0531a;color:#e0531a;border-radius:10px;padding:12px;font:700 14px system-ui;text-decoration:none}
.sun-bigp .bqty{display:flex;align-items:center;gap:8px;margin:10px 0;font-size:13px;color:#444}
.sun-bigp .bqty input{width:58px;text-align:center;border:1px solid #ddd;border-radius:8px;padding:7px;font:14px system-ui}
.sun-bigp .bqty button{width:32px;height:32px;border:1px solid #e0531a;background:#fff;color:#e0531a;border-radius:8px;font-size:18px;cursor:pointer;line-height:1}
.sun-locked #sun-in,.sun-locked .sun-act{display:none}
.sun-gate{padding:16px;display:flex;flex-direction:column;gap:11px}
.sun-gate .sg-h{font:800 17px system-ui;color:#e0531a}
.sun-gate .sg-p{font:14px/1.5 system-ui;color:#444}
.sun-gate input{padding:11px 12px;border:1px solid #ddd;border-radius:10px;font-size:15px;outline:none;width:100%;box-sizing:border-box}
.sun-gate input:focus{border-color:#e0531a}
.sun-gate .sg-c{font:13px/1.45 system-ui;color:#555;display:flex;gap:8px;align-items:flex-start;cursor:pointer}
.sun-gate .sg-c input{width:auto;margin-top:2px}
.sun-gate .sg-c a{color:#e0531a}
.sun-gate .sg-b{background:#e0531a;color:#fff;border:none;border-radius:10px;padding:12px;font:700 15px system-ui;cursor:pointer}
.sun-gate .sg-b:disabled{opacity:.6;cursor:default}
.sun-gate .sg-m{font:13px system-ui;color:#c0392b;min-height:16px}
.sun-gate .sg-links{text-align:center}.sun-gate .sg-links a{color:#888;font-size:13px}
/* SUN dezactivat pe mobil/tableta (sub 1025px) — HTML identic pe toate device-urile (CF cache), ascundem doar vizual */
@media (max-width:1024px){#sun-fab,#sun-box,.sun-modal{display:none!important}}
