/* catalog-assistant-v1: extension of the approved Detailing Geek storefront. */
.dg-assistant[hidden],.dg-assistant-panel[hidden]{display:none!important}
.dg-assistant{position:fixed;right:24px;bottom:max(22px,env(safe-area-inset-bottom));z-index:45;font-family:var(--font);color:var(--ink);font-size:13px;line-height:1.6}
.dg-assistant button,.dg-assistant input{font:inherit}.dg-assistant button{cursor:pointer}.dg-assistant svg{width:22px;height:22px;flex:none}
.dg-assistant-launch{display:flex;align-items:center;gap:10px;min-height:50px;padding:12px 18px;border:0;border-radius:25px;background:var(--blue);color:var(--white);box-shadow:0 5px 18px rgba(12,35,53,.17);font-weight:600!important}
.dg-assistant-launch:hover,.dg-assistant-form button:hover{background:#084776}
.dg-assistant button:focus-visible,.dg-assistant a:focus-visible,.dg-assistant input:focus-visible{outline:3px solid #123c60;outline-offset:3px}
.dg-assistant-panel{position:absolute;right:0;bottom:66px;width:min(390px,calc(100vw - 32px));height:min(620px,calc(100dvh - 112px));display:flex;flex-direction:column;background:var(--white);border-radius:12px;box-shadow:0 10px 42px rgba(12,35,53,.23);overflow:hidden}
.dg-assistant-head{padding:18px 18px 16px;background:var(--blue);color:var(--white);display:flex;justify-content:space-between;gap:12px;align-items:center;flex:none}
.dg-assistant-head h2{font-family:var(--font-display);font-size:22px;font-weight:600;line-height:1.15;margin:0 0 4px;letter-spacing:0}.dg-assistant-head p{font-size:12px;margin:0;color:var(--white)}
.dg-assistant-close{display:grid;place-items:center;width:40px;height:40px;background:transparent;border:0;color:var(--white);border-radius:4px;flex:none}.dg-assistant-close:hover{background:#0c5996}.dg-assistant .dg-assistant-close:focus-visible{outline-color:var(--white);outline-offset:0}
.dg-assistant-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:22px 18px;scrollbar-gutter:stable}
.dg-assistant-intro h3{font-family:var(--font-display);font-size:27px;font-weight:600;line-height:1.2;margin:0 0 10px}.dg-assistant-intro p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 18px}
.dg-assistant-prompts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.dg-assistant-prompts button{background:var(--white);border:1px solid var(--line);border-radius:4px;color:#084776;padding:9px 11px;min-height:40px;font-size:12px}.dg-assistant-prompts button:hover{background:var(--surface)}
.dg-assistant-user{background:#e9f2fa;margin:18px 0 16px 26px;padding:12px 14px;border-radius:10px 10px 0 10px;color:#163f60;overflow-wrap:anywhere}.dg-assistant-answer{margin-bottom:24px}.dg-assistant-answer>p{font-size:13px;line-height:1.75;margin:0 0 13px;overflow-wrap:anywhere;white-space:pre-line}
.dg-assistant-products{display:flex;flex-direction:column;gap:0}.dg-assistant-product{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;padding:13px 0;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}.dg-assistant-product img{width:58px;height:72px;object-fit:contain;align-self:start}.dg-assistant-product strong{display:block;font-size:12px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}.dg-assistant-product:hover strong{color:#084776;text-decoration:underline;text-underline-offset:3px}.dg-assistant-product small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:4px}.dg-assistant-price{display:block;font-size:14px;font-weight:700;margin-top:4px}
.dg-assistant-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px}.dg-assistant-links a{color:#084776;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.dg-assistant-house{display:block;color:#084776;font-size:12px;font-weight:600;margin-bottom:5px}
.dg-assistant-foot,.dg-assistant-foot span,.dg-assistant-foot a,.dg-assistant-reset,.dg-assistant-product small{font-size:12px}
.dg-assistant-status{font-size:12px;padding:0 18px;color:#9a291b;margin:0;flex:none;overflow-wrap:anywhere}.dg-assistant-status:empty{display:none}.dg-assistant-status:not(:empty){padding-block:9px;border-top:1px solid var(--line)}
.dg-assistant-form{display:flex;gap:8px;padding:13px 15px;border-top:1px solid var(--line);flex:none}.dg-assistant-form input{width:0;flex:1;min-width:0;min-height:44px;border:1px solid #a8b5c0;border-radius:4px;padding:10px 11px;background:var(--white);color:var(--ink);font-size:13px}.dg-assistant-form input::placeholder{color:#596877}.dg-assistant-form button{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:4px;background:var(--blue);color:var(--white);flex:none}.dg-assistant button:disabled{opacity:.65;cursor:wait}
.dg-assistant-foot{padding:0 16px 14px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;flex:none;font-size:10px;color:#596877}.dg-assistant-foot a,.dg-assistant-reset{color:#084776;font-size:11px;text-decoration:underline;text-underline-offset:3px}.dg-assistant-reset{padding:0;border:0;background:transparent;min-height:26px}.dg-assistant-foot a{display:flex;align-items:center;min-height:26px}.dg-assistant-foot span{width:100%;font-size:10px;line-height:1.6}
.dg-assistant-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:560px){.dg-assistant{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.dg-assistant-launch{min-height:48px;padding:12px 15px;font-size:12px!important}.dg-assistant-panel{bottom:62px;width:calc(100vw - 32px);height:min(600px,calc(100dvh - 96px))}.dg-assistant-head{padding:16px}.dg-assistant-scroll{padding:18px 16px}.dg-assistant-form input{font-size:16px}.dg-assistant[data-open="true"] .dg-assistant-launch{visibility:hidden}.dg-assistant[data-open="true"] .dg-assistant-panel{bottom:0;height:min(640px,calc(100dvh - 32px))}}
