.as-product-chat-launch { margin: 18px 0 16px; }
.as-product-chat-launch__button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px 14px; color: #30363d; background: #fff; border: 1px solid #e4e6e9; border-radius: 10px; text-align: left; cursor: pointer; font: inherit; transition: border-color .15s, box-shadow .15s; }
.as-product-chat-launch__button:hover { border-color: #cc3333; box-shadow: 0 3px 15px rgba(45, 38, 38, .07); }
.as-product-chat-launch__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; height: 40px; color: #b9262e; background: #fff0f0; border-radius: 11px; }
.as-product-chat-launch__copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.as-product-chat-launch__copy strong { font-size: 14px; line-height: 1.35; font-weight: 600; }
.as-product-chat-launch__copy > span { color: #737980; font-size: 11px; line-height: 1.4; }
.as-product-chat-launch__arrow { font-size: 20px; color: #b9262e; }
.as-product-chat-launch__button:focus-visible, .as-product-chat button:focus-visible, .as-product-chat a:focus-visible, .as-product-chat summary:focus-visible { outline: 3px solid #e7a6a8; outline-offset: 3px; }
.as-product-chat { position: fixed; z-index: 1100; inset: 0; font-family: inherit; color: #30363d; text-align: left; line-height: 1.5; font-size: 14px; }
.as-product-chat[hidden], .as-product-chat [hidden] { display: none !important; }
.as-product-chat *, .as-product-chat *::before, .as-product-chat *::after { box-sizing: border-box; }
.as-product-chat__backdrop { position: absolute; inset: 0; background: rgba(23, 28, 35, .42); }
.as-product-chat__panel { position: absolute; display: flex; flex-direction: column; right: 24px; bottom: 24px; width: 454px; max-width: calc(100vw - 32px); height: min(760px, calc(100vh - 48px)); height: min(760px, calc(100dvh - 48px)); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 80px rgba(17, 23, 32, .25); outline: 0; }
.as-product-chat__header { flex-shrink: 0; display: flex; align-items: center; gap: 11px; padding: 19px 20px 17px; border-bottom: 1px solid #edf0f2; }
.as-product-chat__avatar { display: flex; align-items: center; justify-content: center; position: relative; width: 40px; height: 40px; background: #cc3333; border-radius: 12px; color: #fff; font-size: 23px; font-weight: 800; }
.as-product-chat__avatar span { font-size: 16px; margin: -9px 0 0 1px; font-weight: 500; }
.as-product-chat__heading { flex: 1; min-width: 0; }
.as-product-chat__heading h2 { margin: 0 0 2px; color: #232930; font-size: 16px; font-weight: 700; line-height: 1.35; }
.as-product-chat__heading p { margin: 0; font-size: 10px; letter-spacing: .6px; color: #7a8088; }
.as-product-chat__heading p span { padding: 0 4px; }
.as-product-chat__close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #606a75; background: #f4f5f6; cursor: pointer; padding: 0; }
.as-product-chat__close:hover { background: #e9edf0; color: #222; }
.as-product-chat__product { flex-shrink: 0; padding: 11px 20px 13px; background: #f7f8f9; border-bottom: 1px solid #edf0f2; }
.as-product-chat__product > span { display: block; color: #7b8189; font-size: 10px; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .6px; }
.as-product-chat__product strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.45; font-weight: 600; }
.as-product-chat__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 20px; scrollbar-width: thin; }
.as-product-chat__privacy { margin: 10px 0 0; font-size: 10px; line-height: 1.5; color: #737d87; }
.as-product-chat__privacy a { color: #a3333b; text-decoration: underline; }
.as-product-chat__vehicle { margin-bottom: 14px; }
.as-product-chat label { font-size: 12px; font-weight: 600; margin: 0 0 6px; display: block; }
.as-product-chat input[type="text"] { width: 100%; min-width: 0; height: 42px; border: 1px solid #dfe3e7; border-radius: 8px; background: #fff; color: #30363d; font-family: inherit; font-size: 13px; padding: 9px 11px; box-shadow: none; outline: none; }
.as-product-chat input:focus, .as-product-chat textarea:focus { border-color: #c9595f; box-shadow: 0 0 0 3px rgba(204, 51, 51, .09); }
.as-product-chat input::placeholder, .as-product-chat textarea::placeholder { color: #8b929a; opacity: 1; }
.as-product-chat__messages { display: flex; flex-direction: column; gap: 15px; }
.as-product-chat__message { max-width: 100%; min-width: 0; }
.as-product-chat__message-label { margin-bottom: 5px; font-size: 10px; color: #8b9198; }
.as-product-chat__sources { display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.as-product-chat__sources a { color: #9e262e; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.as-product-chat__sources a:hover { color: #761b21; }
.as-product-chat__sources a:focus-visible { outline: 2px solid #9e262e; outline-offset: 3px; }
.as-product-chat__message-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.65; }
.as-product-chat__message--assistant .as-product-chat__message-body { border-radius: 0 12px 12px 12px; background: #f3f5f7; padding: 12px 14px; color: #39424c; }
.as-product-chat__message--user { align-self: flex-end; max-width: 92%; }
.as-product-chat__message--user .as-product-chat__message-label { text-align: right; }
.as-product-chat__message--user .as-product-chat__message-body { border: 1px solid #efd7d9; background: #fff5f5; border-radius: 12px 0 12px 12px; padding: 10px 13px; color: #6f2d31; }
.as-product-chat__verdict { margin-top: 9px; padding: 11px 12px; border-radius: 9px; border: 1px solid #e6dfc8; background: #fffaf0; font-size: 12px; color: #715d31; }
.as-product-chat__verdict--mismatch { background: #fff4f3; border-color: #f0d6d2; color: #933b36; }
.as-product-chat__verdict--matches_provided { background: #f0f7f4; border-color: #d4e6db; color: #30634c; }
.as-product-chat__verdict--stale { border: 0; border-radius: 0; padding: 0 2px; color: #737d87; background: transparent; }
.as-product-chat__verdict strong { font-weight: 600; display: block; font-size: 11px; margin-bottom: 4px; }
.as-product-chat__verdict p { margin: 0; font-size: 11px; line-height: 1.6; }
.as-product-chat__comparison { margin-top: 8px; }
.as-product-chat__comparison > summary { font-size: 11px; cursor: pointer; }
.as-product-chat__checks { padding-left: 16px; margin: 7px 0 0; font-size: 11px; }
.as-product-chat__checks li + li { margin-top: 3px; }
.as-product-chat__alternatives { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.as-product-chat__alternatives > strong { font-size: 11px; font-weight: 500; color: #78818a; }
.as-product-chat__size-group { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.as-product-chat__size-group + .as-product-chat__size-group { margin-top: 4px; }
.as-product-chat__size-title { color: #39424c; font-size: 12px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.as-product-chat__offer { min-width: 0; padding: 12px; border: 1px solid #e1e5e9; border-radius: 10px; background: #fff; overflow-wrap: anywhere; }
.as-product-chat__purchase { margin-top: 10px; }
.as-product-chat__alternative { display: block; color: #30363d; text-decoration: none !important; }
.as-product-chat__alternative:hover { color: #a52a2e; }
.as-product-chat__alternative > span { display: block; line-height: 1.45; font-size: 12px; }
.as-product-chat__offer-size { display: block; margin-top: 5px; color: #39424c; font-size: 11px; font-weight: 600; }
.as-product-chat__offer-price { display: block; margin-top: 5px; color: #68747e; font-size: 11px; }
.as-product-chat__offer-reason { margin: 7px 0 0; color: #53635a; font-size: 11px; line-height: 1.55; }
.as-product-chat__offer--catalogue-match .as-product-chat__offer-reason { color: #606a75; }
.as-product-chat__cart-controls { margin-top: 11px; }
.as-product-chat__cart-quantity { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; margin-bottom: 9px; }
.as-product-chat .as-product-chat__cart-quantity label { margin: 0; color: #68747e; font-size: 11px; font-weight: 400; }
.as-product-chat__cart-quantity select { display: block; width: 90px; max-width: 100%; min-height: 38px; margin-top: 4px; padding: 6px 9px; border: 1px solid #dfe3e7; border-radius: 7px; background: #fff; color: #30363d; font: inherit; font-size: 13px; }
.as-product-chat__cart-quantity select:focus-visible { outline: 3px solid #e7a6a8; outline-offset: 2px; }
.as-product-chat__cart-total { align-self: flex-end; padding-bottom: 8px; font-size: 13px; line-height: 1.4; }
.as-product-chat__cart-add { display: block; width: 100%; min-height: 40px; padding: 9px 12px; border: 0; border-radius: 8px; background: #cc3333; color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.as-product-chat__cart-add:hover { background: #b82c2c; }
.as-product-chat__cart-status { margin: 8px 0 0; font-size: 11px; color: #53635a; line-height: 1.55; }
.as-product-chat__cart-status a { color: #9e262e; text-decoration: underline; white-space: nowrap; }
.as-product-chat__suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.as-product-chat__suggestions button { max-width: 100%; background: #fff; border: 1px solid #e2e5e9; border-radius: 16px; padding: 7px 11px; color: #636b75; font-family: inherit; font-size: 11px; text-align: left; cursor: pointer; }
.as-product-chat__suggestions button:hover { border-color: #d28d91; color: #a32c31; }
.as-product-chat__typing { display: flex; align-items: center; gap: 9px; margin-top: 15px; font-size: 11px; color: #818992; }
.as-product-chat__typing > span { display: inline-flex; gap: 3px; }
.as-product-chat__typing i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #bb555a; animation: as-product-chat-dot 1.2s infinite ease-in-out; }
.as-product-chat__typing i:nth-child(2) { animation-delay: .15s; }
.as-product-chat__typing i:nth-child(3) { animation-delay: .3s; }
.as-product-chat__error { margin-top: 14px; padding: 11px 12px; font-size: 12px; background: #fff4f3; border: 1px solid #f1d5d3; border-radius: 8px; color: #973c38; }
.as-product-chat__error span { display: block; }
.as-product-chat__error button { border: 0; background: none; color: #973c38; font-family: inherit; font-size: 11px; font-weight: 600; cursor: pointer; margin-top: 6px; padding: 3px 0; text-decoration: underline; }
.as-product-chat__footer { flex-shrink: 0; border-top: 1px solid #eceff2; background: #fff; padding: 13px 20px 12px; }
.as-product-chat__composer { display: flex; align-items: flex-end; gap: 8px; margin: 0; padding: 5px; border: 1px solid #dfe4e8; border-radius: 12px; background: #fff; }
.as-product-chat__composer:focus-within { border-color: #c9595f; box-shadow: 0 0 0 3px rgba(204, 51, 51, .07); }
.as-product-chat .as-product-chat__composer textarea { flex: 1; width: 100%; min-width: 0; max-height: 132px; min-height: 45px; margin: 0; padding: 9px 7px; border: 0; outline: none; box-shadow: none; resize: none; font: inherit; font-size: 13px; line-height: 1.5; background: transparent; color: #30363d; }
.as-product-chat__send { display: flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 6px; height: 38px; margin: 2px; padding: 0 11px; border: 0; border-radius: 9px; color: #fff; background: #cc3333; cursor: pointer; font: inherit; font-size: 12px; }
.as-product-chat__send:hover { background: #b82c2c; }
.as-product-chat button:disabled { opacity: .48; cursor: default; }
.as-product-chat__tools { display: flex; align-items: center; gap: 14px; margin-top: 9px; font-size: 10px; }
.as-product-chat__tools button, .as-product-chat__tools a { margin: 0; padding: 0; border: 0; background: transparent; font: inherit; color: #737c86; text-decoration: none; cursor: pointer; }
.as-product-chat__tools button:hover, .as-product-chat__tools a:hover { color: #b32d34; text-decoration: underline; }
.as-product-chat__sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes as-product-chat-dot { 0%, 70%, 100% { opacity: .35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 575px) {
    .as-product-chat__panel { inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; border-radius: 0; }
    .as-product-chat__header { padding: max(15px, env(safe-area-inset-top)) 16px 14px; }
    .as-product-chat__heading h2 { font-size: 15px; }
    .as-product-chat__product { padding-left: 16px; padding-right: 16px; }
    .as-product-chat__scroll { padding: 16px; }
    .as-product-chat__footer { padding: 11px 16px max(11px, env(safe-area-inset-bottom)); }
    .as-product-chat input[type="text"], .as-product-chat .as-product-chat__composer textarea { font-size: 16px; }
    .as-product-chat__cart-quantity select { font-size: 16px; }
    .as-product-chat__tools { font-size: 10px; gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .as-product-chat-launch__button { transition: none; }
    .as-product-chat__typing i { animation: none; }
}
