:root{
  --cscc-primary:#e6007e;--cscc-dark:#1f2830;--cscc-panel:#ffffff;--cscc-border:#ecd8e2;--cscc-muted:#667085;
}
#cscc-widget{position:fixed;right:18px;bottom:18px;z-index:99999;font-family:Arial,Helvetica,sans-serif}
#cscc-fab{width:60px;height:60px;border-radius:50%;border:none;cursor:pointer;background:linear-gradient(135deg,#e6007e,#a8005c);color:#fff;font-size:23px;box-shadow:0 16px 34px rgba(230,0,126,.3)}
#cscc-panel{display:none;position:absolute;right:0;bottom:78px;width:365px;height:78vh;max-height:680px;background:#fff;border:1px solid var(--cscc-border);border-radius:22px;overflow:hidden;box-shadow:0 18px 48px rgba(0,0,0,.18)}
#cscc-panel.open{display:flex;flex-direction:column}
.cscc-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:linear-gradient(90deg,#20232f 0%, #444 55%, #e6007e 100%);color:#fff}
.cscc-brand{display:flex;align-items:center;gap:10px}
.cscc-brand img{width:42px;height:42px;background:#fff;border-radius:10px;padding:5px}
.cscc-brand strong{display:block;font-size:14px}
.cscc-brand span{display:block;font-size:12px;color:#e8e8e8}
.cscc-close{background:transparent;border:none;color:#fff;font-size:20px;cursor:pointer}
.cscc-body,.cscc-chatstage{display:flex;flex-direction:column;flex:1;min-height:0;background:#fafafa}
#cscc-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
#cscc-messages{padding:14px 14px 0 14px;display:flex;flex-direction:column}
.cscc-msg{max-width:84%;padding:12px 13px;border-radius:15px;margin-bottom:10px;font-size:14px;line-height:1.45}
.cscc-msg.ai{background:#fff;border:1px solid #ececec;color:#1f2830;border-bottom-left-radius:6px}
.cscc-msg.user{background:#e6007e;color:#fff;margin-left:auto;border-bottom-right-radius:6px}
#cscc-products{padding:0 14px 12px;display:grid;gap:8px}
.cscc-product{background:#fff;border:1px solid #ececec;border-radius:14px;padding:11px}
.cscc-product strong{display:block;margin-bottom:4px}
.cscc-product small{display:block;color:#667085;margin-bottom:8px}
.cscc-product button{background:#e6007e;color:#fff;border:none;border-radius:10px;padding:8px 10px;cursor:pointer;font-size:12px}
#cscc-guided{padding:0 14px 10px}
.cscc-guided-box{background:#fff;border:1px solid #ececec;border-radius:14px;padding:10px}
.cscc-guided-title{font-size:12px;font-weight:700;color:#1f2830;margin-bottom:8px}
.cscc-guided-row{display:flex;gap:8px;flex-wrap:wrap}
.cscc-guided-row button{border:1px solid #d8dce5;background:#fff;color:#1f2830;border-radius:999px;padding:8px 12px;font-size:12px;cursor:pointer}
#cscc-actions{padding:0 14px 10px;display:flex;gap:8px;flex-wrap:wrap}
#cscc-actions button,#cscc-actions a{border:1px solid #d8dce5;background:#fff;color:#1f2830;text-decoration:none;border-radius:999px;padding:8px 12px;font-size:12px;cursor:pointer}
.cscc-input{padding:12px;border-top:1px solid #ececec;background:#fff;flex:0 0 auto}
.cscc-input-row{display:flex;gap:8px}
#cscc-input{flex:1;border:1px solid #e2e8f0;border-radius:12px;padding:12px;font-size:14px}
#cscc-send{background:#e6007e;color:#fff;border:none;border-radius:12px;padding:0 16px;cursor:pointer;font-weight:700}
.cscc-helper{font-size:11px;color:#667085;padding-top:8px}
.cscc-leadgate{padding:18px}
.cscc-leadgate h3{margin:0 0 8px;color:#1f2830}
.cscc-leadgate p{margin:0 0 12px;color:#667085;font-size:13px;line-height:1.45}
.cscc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cscc-form-grid input{border:1px solid #e2e8f0;border-radius:12px;padding:12px;font-size:14px}
.cscc-primary-btn{margin-top:12px;background:#e6007e;color:#fff;border:none;border-radius:12px;padding:11px 14px;cursor:pointer;font-weight:700;width:100%}
.cscc-cartbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;background:#fff7fb;border-bottom:1px solid #f0d6e4;font-size:12px;color:#1f2830;flex-wrap:wrap}
.cscc-cart-links{display:flex;gap:8px;flex-wrap:wrap}
.cscc-cart-links a{color:#2271b1;text-decoration:none;font-weight:600}
@media(max-width:640px){#cscc-panel{width:calc(100vw - 22px);height:82vh}}
