.wc-pac-root{font-family:Inter,system-ui,sans-serif;line-height:1.45}.wc-pac-root *{box-sizing:border-box}.wc-pac-floating{position:fixed;bottom:80px;z-index:var(--wc-pac-z)}.wc-pac-floating.is-right{right:20px}.wc-pac-floating.is-left{left:20px}.wc-pac-inline{position:relative;max-width:var(--wc-pac-width);margin:20px 0}.wc-pac-bubble{width:60px;height:60px;display:inline-flex;align-items:center;justify-content:center;background:var(--wc-pac-primary);color:var(--wc-pac-header-text);border:none;border-radius:999px;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:0}.wc-pac-bubble-icon{width:26px;height:26px;display:inline-flex}.wc-pac-bubble-icon svg{width:100%;height:100%;display:block}.wc-pac-panel{position:absolute;bottom:72px;right:0;width:min(var(--wc-pac-width),calc(100vw - 24px));height:min(var(--wc-pac-height),78vh);background:var(--wc-pac-panel-bg);color:var(--wc-pac-panel-text);border:1px solid var(--wc-pac-border);border-radius:var(--wc-pac-radius);overflow:hidden;overflow-x:hidden;box-shadow:0 20px 60px rgba(0,0,0,.18);display:flex;flex-direction:column}.wc-pac-panel[hidden]{display:none!important}.wc-pac-inline .wc-pac-panel{position:relative;bottom:auto;right:auto;width:100%;height:var(--wc-pac-height)}.wc-pac-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:linear-gradient(135deg,var(--wc-pac-primary),var(--wc-pac-accent));color:var(--wc-pac-header-text);flex:0 0 auto}.wc-pac-head strong,.wc-pac-head small{display:block;color:inherit}.wc-pac-close{background:none;border:none;color:inherit;font-size:22px;line-height:1;cursor:pointer;padding:4px 8px}.wc-pac-meta{padding:8px 14px;border-bottom:1px solid var(--wc-pac-border);background:#fafafa;flex:0 0 auto}.wc-pac-note{font-size:12px;color:#6b7280}.wc-pac-messages{flex:1 1 auto;min-height:0;overflow:auto;overflow-x:hidden;padding:14px;background:#fafafa;display:flex;flex-direction:column;gap:10px}.wc-pac-msg{display:flex;max-width:100%}.wc-pac-msg.user{justify-content:flex-end}.wc-pac-msg .b{max-width:88%;padding:10px 12px;border-radius:14px;font-size:14px;line-height:1.55;word-break:break-word;overflow-wrap:anywhere;white-space:normal}.wc-pac-msg.user .b{background:var(--wc-pac-user-bg);color:var(--wc-pac-user-text)}.wc-pac-msg.bot .b{background:var(--wc-pac-bot-bg);color:var(--wc-pac-bot-text)}.wc-pac-msg .b p{margin:0 0 8px}.wc-pac-msg .b p:last-child{margin-bottom:0}.wc-pac-msg .b ul{margin:0;padding-left:18px}.wc-pac-msg .b li{margin:0 0 6px}.wc-pac-msg .b a{color:inherit;text-decoration:underline;overflow-wrap:anywhere}.wc-pac-products{padding:10px 12px;border-top:1px solid var(--wc-pac-border);background:#fff;flex:0 0 auto;max-height:165px;overflow:auto;overflow-x:hidden}.wc-pac-products[hidden]{display:none!important}.wc-pac-products-title{font-size:11px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}.wc-pac-products-list{display:grid;gap:8px}.wc-pac-product{display:block;padding:10px 11px;border:1px solid var(--wc-pac-border);border-radius:12px;background:#fff;text-decoration:none;color:#111827;overflow:hidden}.wc-pac-product-head{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start;margin-bottom:6px}.wc-pac-product-head strong{display:block;font-size:13px;line-height:1.3;margin:0;overflow-wrap:anywhere;word-break:break-word}.wc-pac-product-price{font-size:12px;line-height:1.2;color:#0f766e;white-space:normal;text-align:right;max-width:110px;overflow-wrap:anywhere}.wc-pac-product-why{font-size:11px;line-height:1.45;color:#4b5563;margin:0 0 8px;overflow-wrap:anywhere;word-break:break-word}.wc-pac-product-cta{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--wc-pac-primary)}.wc-pac-product-cta svg{width:14px;height:14px;display:block}.wc-pac-followups{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px;background:#fff;flex:0 0 auto;border-top:1px solid var(--wc-pac-border)}.wc-pac-followups:empty{display:none}.wc-pac-chip{border:1px solid var(--wc-pac-border);background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;cursor:pointer}.wc-pac-form{display:flex;gap:8px;padding:12px;border-top:1px solid var(--wc-pac-border);background:#fff;flex:0 0 auto}.wc-pac-input{flex:1;min-width:0;border:1px solid var(--wc-pac-border);border-radius:12px;padding:10px 12px;background:var(--wc-pac-input-bg);color:var(--wc-pac-input-text);font-size:14px}.wc-pac-send{border:none;background:var(--wc-pac-primary);color:#fff;border-radius:12px;padding:10px 14px;cursor:pointer}@media (max-width:768px){.wc-pac-floating{right:12px;left:auto}.wc-pac-floating.is-left{left:12px}.wc-pac-panel{width:min(var(--wc-pac-width),calc(100vw - 24px));height:min(var(--wc-pac-height),76vh)}}
.wc-pac-msg.is-typing .b{display:flex;align-items:center;gap:6px;min-width:62px}
.wc-pac-typing{display:inline-flex;gap:5px;align-items:center}
.wc-pac-typing span{width:7px;height:7px;border-radius:999px;background:currentColor;opacity:.35;animation:wc-pac-bounce 1.1s infinite ease-in-out}
.wc-pac-typing span:nth-child(2){animation-delay:.15s}
.wc-pac-typing span:nth-child(3){animation-delay:.3s}
.wc-pac-send[disabled]{opacity:.65;cursor:wait}
.wc-pac-input[disabled]{opacity:.7}
@keyframes wc-pac-bounce{0%,80%,100%{transform:translateY(0);opacity:.3}40%{transform:translateY(-4px);opacity:1}}
@media (prefers-reduced-motion: reduce){.wc-pac-typing span{animation:none;opacity:.8}}

.wc-pac-head-actions{display:flex;align-items:center;gap:8px}
.wc-pac-reset{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.08);color:inherit;cursor:pointer}
.wc-pac-reset:hover,.wc-pac-reset:focus-visible{background:rgba(255,255,255,.16)}
.wc-pac-product-skeleton{pointer-events:none}
.wc-pac-skeleton-line{height:10px;border-radius:999px;background:linear-gradient(90deg,rgba(15,23,42,.08) 25%,rgba(15,23,42,.16) 50%,rgba(15,23,42,.08) 75%);background-size:200% 100%;animation:wc-pac-skeleton 1.4s ease-in-out infinite;margin-bottom:10px}
.wc-pac-skeleton-line.is-title{height:14px;width:78%}
.wc-pac-skeleton-line.is-short{width:58%;margin-bottom:0}
@keyframes wc-pac-skeleton{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media (prefers-reduced-motion: reduce){.wc-pac-skeleton-line{animation:none}}
/* Reading-first layout: conversation stays primary, shopping tools form a compact dock. */
.wc-pac-panel{height:min(var(--wc-pac-height),82dvh);min-height:min(var(--wc-pac-min-height-desktop),82dvh);background:var(--wc-pac-panel-bg);box-shadow:0 24px 70px rgba(15,23,42,.22)}
.wc-pac-inline .wc-pac-panel{height:min(var(--wc-pac-height),82dvh)}
.wc-pac-head{padding:11px 14px}
.wc-pac-head strong{font-family:inherit;font-size:16px;letter-spacing:.01em}
.wc-pac-head small{font-size:11px;opacity:.82}
.wc-pac-meta{padding:5px 12px}
.wc-pac-note{font-size:10.5px;line-height:1.35}
.wc-pac-messages{padding:16px 14px 18px;gap:12px;background:linear-gradient(180deg,#f8fafc 0%,#f4f1eb 100%);scrollbar-width:thin;overscroll-behavior:contain}
.wc-pac-msg .b{box-shadow:0 1px 0 rgba(15,23,42,.04)}
.wc-pac-msg.bot .b{border:1px solid rgba(15,23,42,.07)}
.wc-pac-products{max-height:none;padding:0;overflow:hidden;background:#fff;border-top:1px solid var(--wc-pac-border)}
.wc-pac-products-toggle{width:100%;min-height:41px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border:0;background:#fff;color:#172033;cursor:pointer;text-align:left}
.wc-pac-products-toggle:hover{background:#f8fafc}
.wc-pac-products-toggle:focus-visible,.wc-pac-chip:focus-visible,.wc-pac-send:focus-visible,.wc-pac-input:focus-visible{outline:2px solid var(--wc-pac-accent);outline-offset:-2px}
.wc-pac-products-title{margin:0;font-family:inherit;font-size:13px;font-weight:700;letter-spacing:.01em;text-transform:none;color:inherit}
.wc-pac-products-meta{display:inline-flex;align-items:center;gap:5px;color:#64748b;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}
.wc-pac-products-meta svg{width:17px;height:17px;transition:transform .18s ease}
.wc-pac-products.is-collapsed .wc-pac-products-meta svg{transform:rotate(-90deg)}
.wc-pac-products.is-collapsed .wc-pac-products-viewport{display:none}
.wc-pac-products-viewport{padding:0 0 10px;overflow:hidden}
.wc-pac-products-list{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;max-height:250px;padding:1px 12px 4px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#94a3b8 transparent}
.wc-pac-products-list::-webkit-scrollbar,.wc-pac-followups::-webkit-scrollbar{display:block;width:8px}
.wc-pac-products-list::-webkit-scrollbar-thumb,.wc-pac-followups::-webkit-scrollbar-thumb{background:#94a3b8;border:2px solid #fff;border-radius:999px}
.wc-pac-product{min-height:112px;padding:10px 11px;scroll-snap-align:start;box-shadow:0 5px 16px rgba(15,23,42,.06);transition:transform .15s ease,border-color .15s ease}
.wc-pac-product:hover{transform:translateY(-1px);border-color:var(--wc-pac-accent)}
.wc-pac-product-head{margin-bottom:5px}
.wc-pac-product-why{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:6px}
.wc-pac-composer{flex:0 0 auto;background:#fff;border-top:1px solid var(--wc-pac-border);box-shadow:0 -8px 24px rgba(15,23,42,.06)}
.wc-pac-followups{display:flex;flex-wrap:wrap;gap:6px;max-height:76px;padding:7px 10px 0;border:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#94a3b8 transparent;overscroll-behavior:contain}
.wc-pac-chip{flex:0 0 auto;max-width:82%;padding:6px 9px;border-color:rgba(15,23,42,.12);background:#f8fafc;color:#334155;font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;scroll-snap-align:start}
.wc-pac-chip:hover{border-color:var(--wc-pac-accent);background:#fff}
.wc-pac-form{gap:7px;padding:8px 10px 10px;border:0}
.wc-pac-followups:empty+.wc-pac-form{padding-top:10px}
.wc-pac-input{min-height:42px;border-radius:999px;padding:9px 14px;transition:border-color .15s ease,box-shadow .15s ease}
.wc-pac-input:focus{border-color:var(--wc-pac-accent);box-shadow:0 0 0 3px rgba(15,23,42,.1)}
.wc-pac-send{width:42px;height:42px;flex:0 0 42px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:999px;box-shadow:0 5px 14px rgba(15,23,42,.18);transition:transform .15s ease,opacity .15s ease}
.wc-pac-send:hover{transform:translateY(-1px)}
.wc-pac-send span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wc-pac-send svg{width:19px;height:19px}
.wc-pac-floating.is-full-height .wc-pac-panel{position:fixed;inset:0 0 0 auto;width:min(var(--wc-pac-width-desktop),100vw);height:100dvh;min-height:100dvh;border-block:0;border-right:0;border-radius:0;box-shadow:-18px 0 48px rgba(15,23,42,.16)}
@media (min-width:769px) and (max-width:1024px){
  .wc-pac-panel{width:min(var(--wc-pac-width-tablet),calc(100vw - 24px))}
  .wc-pac-inline{max-width:var(--wc-pac-width-tablet)}
  .wc-pac-floating.is-full-height .wc-pac-panel{width:min(var(--wc-pac-width-tablet),100vw)}
}
@media (max-width:768px){
  .wc-pac-panel{width:min(var(--wc-pac-width-mobile),calc(100vw - 16px));min-height:min(var(--wc-pac-min-height-mobile),76dvh)}
  .wc-pac-inline{max-width:var(--wc-pac-width-mobile)}
  .wc-pac-floating{bottom:72px}
  .wc-pac-floating.is-right{right:8px}
  .wc-pac-floating.is-left{left:8px}
  .wc-pac-floating .wc-pac-panel{position:fixed;left:auto;right:8px;width:min(var(--wc-pac-width-mobile),calc(100vw - 16px));height:min(680px,calc(100dvh - 148px));bottom:140px;border-radius:min(var(--wc-pac-radius),18px)}
  .wc-pac-floating.is-left .wc-pac-panel{left:8px;right:auto}
  .wc-pac-floating.is-full-height .wc-pac-panel{inset:0 0 0 auto;width:min(var(--wc-pac-width-mobile),100vw);height:100dvh;min-height:100dvh;border-radius:0}
  .wc-pac-head{padding:9px 11px}
  .wc-pac-head strong{font-size:15px}
  .wc-pac-messages{padding:12px 10px 14px}
  .wc-pac-msg .b{max-width:92%;font-size:13.5px}
  .wc-pac-products-list{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(240px,88%);max-height:none;padding-inline:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-left:10px;scrollbar-width:none}
  .wc-pac-products-list::-webkit-scrollbar{display:none}
  .wc-pac-products-viewport{max-height:34dvh}
  .wc-pac-followups{flex-wrap:nowrap;max-height:none;padding-inline:9px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none}
  .wc-pac-followups::-webkit-scrollbar{display:none}
  .wc-pac-form{padding-inline:9px}
}
@media (max-height:620px){
  .wc-pac-head small{display:none}
  .wc-pac-meta{padding-block:3px}
  .wc-pac-messages{padding-block:10px}
}
@media (prefers-reduced-motion:reduce){
  .wc-pac-products-meta svg,.wc-pac-product,.wc-pac-input,.wc-pac-send{transition:none}
}
