/* AI 상담 챗봇 */
.pcc-btn{position:fixed;right:20px;bottom:20px;z-index:70;display:flex;align-items:center;gap:6px;padding:13px 18px;border:0;border-radius:30px;background:#0B5CC2;color:#fff;font:inherit;font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 6px 18px rgba(10,35,80,.3)}
.pcc-btn svg{width:20px;height:20px;fill:#fff}
.pcc-btn:hover{background:#0A2350}
.pcc-btn[hidden]{display:none}
body.has-pcc .cart-fab{bottom:82px}
.pcc{position:fixed;right:20px;bottom:20px;z-index:80;width:380px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(10,35,80,.28);overflow:hidden;font-size:14.5px;line-height:1.6}
.pcc[hidden]{display:none}
.pcc header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#0A2350;color:#fff}
.pcc header strong{display:block;font-size:16px}
.pcc header small{display:block;font-size:12px;opacity:.8}
.pcc-x{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:22px;cursor:pointer;line-height:1}
.pcc-msgs{flex:1;overflow-y:auto;padding:14px;background:#F4F7FB;display:flex;flex-direction:column;gap:8px}
.pcc-m{max-width:86%;padding:9px 12px;border-radius:14px;word-break:keep-all;overflow-wrap:anywhere}
.pcc-m.bot{align-self:flex-start;background:#fff;border:1px solid #DCE4EF;border-bottom-left-radius:4px;color:#17233A}
.pcc-m.me{align-self:flex-end;background:#0B5CC2;color:#fff;border-bottom-right-radius:4px}
.pcc-m a{color:#0B5CC2;font-weight:600}
.pcc-m.me a{color:#fff}
.pcc-m.typing{display:flex;gap:4px;padding:12px 14px}
.pcc-m.typing i{width:7px;height:7px;border-radius:50%;background:#9DB0C9;animation:pccb 1s infinite}
.pcc-m.typing i:nth-child(2){animation-delay:.15s}.pcc-m.typing i:nth-child(3){animation-delay:.3s}
@keyframes pccb{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.pcc-act{margin-top:8px}
.pcc-act button{border:1px solid #0B5CC2;background:#fff;color:#0B5CC2;border-radius:16px;padding:5px 12px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.pcc-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px 0;background:#F4F7FB}
.pcc-chips:empty{display:none}
.pcc-chips button{border:1px solid #C9D6E8;background:#fff;color:#0A2350;border-radius:16px;padding:5px 11px;font:inherit;font-size:13px;cursor:pointer}
.pcc-chips button:hover{border-color:#0B5CC2;color:#0B5CC2}
.pcc-in{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #E1E8F1;background:#fff}
.pcc-in textarea{flex:1;resize:none;border:1px solid #C9D6E8;border-radius:10px;padding:9px 11px;font:inherit;font-size:14.5px;max-height:110px}
.pcc-in button{border:0;border-radius:10px;background:#0B5CC2;color:#fff;font:inherit;font-weight:700;padding:0 14px;cursor:pointer}
.pcc footer{display:flex;align-items:center;gap:10px;padding:8px 12px 10px;background:#fff;font-size:11px;color:#6A778C;line-height:1.4}
.pcc footer .pcc-link{flex:none;border:1px solid #F2A93B;background:#FFF6E6;color:#7A4A00;border-radius:14px;padding:5px 10px;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.pcc-form{align-self:stretch;background:#fff;border:1px solid #DCE4EF;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:7px;font-size:13.5px}
.pcc-form strong{color:#0A2350}
.pcc-form p{margin:0;color:#5A6882}
.pcc-form label{display:flex;flex-direction:column;gap:3px;font-weight:600;color:#33415A}
.pcc-form input,.pcc-form textarea{font:inherit;font-weight:400;border:1px solid #C9D6E8;border-radius:7px;padding:7px 9px}
.pcc-form .pcc-agree{flex-direction:row;align-items:flex-start;gap:6px;font-weight:400;font-size:12px;color:#5A6882}
.pcc-form .pcc-agree input{margin-top:3px}
.pcc-form button[type=submit]{border:0;border-radius:8px;background:#0A2350;color:#fff;font:inherit;font-weight:700;padding:9px;cursor:pointer}
.pcc-err{color:#B3261E!important;font-size:12.5px}
.pcc-err:empty{display:none}
.pcc-hp{position:absolute;left:-9999px;width:1px;height:1px}
@media (max-width:640px){
  .pcc-btn{right:12px;bottom:12px;padding:12px 15px}
  body.has-pcc .cart-fab{bottom:72px;right:12px}
  .pcc{right:0;bottom:0;width:100vw;max-width:100vw;height:100%;max-height:100%;border-radius:0}
}
@media print{.pcc,.pcc-btn{display:none!important}}
@media (max-width:640px){.pcc-in textarea{font-size:16px}}
