/* V152 - Quote list, "Add to quote list" buttons, compare, recently viewed, suggestions */
.ql { max-width: 880px; margin: 18px auto 40px; padding: 0 16px; color: var(--mp-text, #16202b); }
.ql h1 { margin: 6px 0 4px; font-size: 1.5rem; } .ql h2 { margin: 0 0 8px; font-size: 1.05rem; } .ql-lead { color: var(--mp-muted, #6b7684); margin: 0 0 12px; }
.ql-bc { font-size: .82rem; color: var(--mp-muted, #6b7684); display: flex; gap: 6px; } .ql-bc a { color: inherit; }
.ql-card { background: #fff; border: 1px solid var(--mp-line, #e2e5ea); border-radius: 14px; padding: 16px; margin-top: 14px; }
.ql-ok { border-color: #2ea04366; } .ql-ok b { color: #2ea043; font-size: 1.05rem; }
.ql-err { background: #fff1f0; color: #9b1c13; border: 1px solid #f3b4b0; border-radius: 10px; padding: 9px 12px; margin-bottom: 10px; font-weight: 600; }
.ql-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--mp-line, #e2e5ea); } .ql-row:first-child { border-top: 0; }
.ql-img { width: 64px; height: 64px; border-radius: 10px; background: #f1f3f6; overflow: hidden; flex: none; display: block; } .ql-img img { width: 100%; height: 100%; object-fit: contain; }
.ql-info { flex: 1; min-width: 0; } .ql-info a { font-weight: 700; color: inherit; text-decoration: none; display: block; } .ql-info small { color: var(--mp-muted, #6b7684); }
.ql-qty { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--mp-muted, #6b7684); display: flex; flex-direction: column; gap: 3px; } .ql-qty input { width: 84px; padding: 7px 8px; border: 1px solid var(--mp-line, #d7dce3); border-radius: 9px; font: inherit; background: transparent; color: inherit; }
.ql-x { border: 0; background: transparent; font-size: 1.5rem; line-height: 1; color: #b42318; cursor: pointer; padding: 4px 8px; }
.ql-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--mp-line, #e2e5ea); padding-top: 10px; font-size: .9rem; }
.ql-link { background: none; border: 0; color: #0A2540; text-decoration: underline; cursor: pointer; font: inherit; padding: 0 6px; }
.ql-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; } .ql-form label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--mp-muted, #6b7684); display: block; } .ql-wide, .ql-actions { grid-column: 1 / -1; }
.ql-form input, .ql-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 9px 11px; border: 1px solid var(--mp-line, #d7dce3); border-radius: 10px; font: inherit; font-size: .92rem; text-transform: none; letter-spacing: 0; background: transparent; color: var(--mp-text, #16202b); }
.ql-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ql-btn { display: inline-block; padding: 11px 20px; border-radius: 999px; border: 0; background: #f0a500; color: #0A2540 !important; font-weight: 800; text-decoration: none; cursor: pointer; font-size: .92rem; } .ql-wa { background: #25D366; color: #06361f !important; } .ql-alt { background: transparent; border: 1px solid var(--mp-line, #d7dce3); color: inherit !important; }
@media (max-width: 640px) { .ql-form { grid-template-columns: 1fr; } .ql-row { flex-wrap: wrap; } .ql-qty input { width: 76px; } }
html[data-theme="dark"] .ql { color: #e6edf3; } html[data-theme="dark"] .ql-card { background: #121c28; border-color: #243245; } html[data-theme="dark"] .ql-img { background: #1a2634; } html[data-theme="dark"] .ql-link { color: #f0a500; }
html[data-theme="dark"] .ql-err { background: #3a1512; color: #ffb4ab; border-color: #7a2a24; } html[data-theme="dark"] .ql-form input, html[data-theme="dark"] .ql-form textarea { color: #e6edf3; border-color: #2b3b50; } html[data-theme="dark"] .ql-qty input { border-color: #2b3b50; }
/* "Add to quote list" button and the header link */
.btn-ql { display: block; width: 100%; box-sizing: border-box; text-align: center; margin-top: 8px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid #f0a500; background: transparent; color: inherit; font-weight: 800; cursor: pointer; font-size: .92rem; }
.btn-ql:hover, .btn-ql.is-in { background: #f0a500; color: #0A2540; }
.mp-ql-count { background: #f0a500; color: #0A2540; border-radius: 999px; font-size: .68rem; font-weight: 800; padding: 1px 6px; margin-left: 4px; }
.pd-wa-bar { display: block; text-align: center; margin-top: 8px; padding: 10px 14px; border-radius: 10px; background: #25D366; color: #06361f !important; font-weight: 800; text-decoration: none; }
@media (max-width: 760px) { .pd-wa-bar { position: sticky; bottom: 62px; z-index: 40; box-shadow: 0 6px 18px rgba(0,0,0,.25); } }
/* compare */
.cmp-wrap { overflow-x: auto; } table.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9rem; } .cmp th { text-align: left; width: 150px; color: var(--mp-muted, #6b7684); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.cmp td, .cmp th { padding: 9px 10px; border-top: 1px solid var(--mp-line, #e2e5ea); vertical-align: top; } .cmp img { display: block; margin-bottom: 6px; object-fit: contain; } .cmp-n { font-weight: 700; display: block; color: inherit; text-decoration: none; }
tr.cmp-diff td { background: rgba(240,165,0,.10); } .btn-cmp { display: block; width: 100%; box-sizing: border-box; text-align: center; margin-top: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--mp-line, #d7dce3); background: transparent; color: inherit; font-weight: 700; cursor: pointer; font-size: .86rem; } .btn-cmp.is-in { border-color: #f0a500; background: rgba(240,165,0,.14); }
/* recently viewed + suggestions */
.rv { max-width: 1180px; margin: 24px auto; padding: 0 16px; } .rv h2 { font-size: 1.1rem; margin: 0 0 10px; } .rv-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; } .rv-card { flex: 0 0 150px; border: 1px solid var(--mp-line, #e2e5ea); border-radius: 12px; padding: 10px; text-decoration: none; color: inherit; font-size: .82rem; background: #fff; } .rv-card img { width: 100%; height: 90px; object-fit: contain; display: block; margin-bottom: 6px; } .rv-card b { display: block; line-height: 1.25; }
html[data-theme="dark"] .rv-card { background: #121c28; border-color: #243245; } html[data-theme="dark"] .cmp td, html[data-theme="dark"] .cmp th { border-color: #243245; }
.xr-h { font-size: 1rem; margin: 14px 0 6px; } .xr-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 8px; } .xr-list a { display: inline-block; padding: 6px 12px; border: 1px solid var(--mp-line, #e2e5ea); border-radius: 999px; text-decoration: none; font-size: .86rem; color: inherit; } .xr-list a:hover { border-color: var(--mp-accent, #d62828); } .xr-note { color: var(--mp-muted, #667); font-size: .85rem; }
.ss-note { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: #fff7e0; border: 1px solid #f0dca0; font-size: .9rem; } html[data-theme="dark"] .ss-note { background: #2a2410; border-color: #5a4d1c; }
.btn-cmp-sm { width: 100%; margin-top: 6px; padding: 6px 8px; font-size: .78rem; }
/* autocomplete */
.mp-search { position: relative; } .ss-box { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: #fff; border: 1px solid var(--mp-line, #e2e5ea); border-radius: 0 0 12px 12px; box-shadow: 0 12px 28px rgba(0,0,0,.14); max-height: 70vh; overflow-y: auto; text-align: left; }
.ss-box[hidden] { display: none; } .ss-box h6 { margin: 0; padding: 8px 14px 4px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #6b7480; } .ss-box a { display: block; padding: 7px 14px; color: #1b2430; text-decoration: none; font-size: .88rem; } .ss-box a:hover, .ss-box a.on { background: #f2f4f7; } .ss-box a small { color: #6b7480; margin-left: 6px; } .ss-box .ss-fix { padding: 7px 14px; font-size: .8rem; color: #8a5a00; background: #fff7e0; } .ss-box .ss-all { border-top: 1px solid #e8ebef; font-weight: 700; }
html[data-theme="dark"] .ss-box { background: #121c28; border-color: #243245; } html[data-theme="dark"] .ss-box a { color: #e6ebf2; } html[data-theme="dark"] .ss-box a:hover, html[data-theme="dark"] .ss-box a.on { background: #1b2a3b; }
/* one chat launcher */
.ds-launch-hid { display: none !important; }
.ds-launch { position: fixed; right: 18px; bottom: 18px; z-index: 9990; } .ds-launch.above-bar { bottom: 18px; }
@media (max-width: 720px) { .ds-launch.above-bar { bottom: 78px; } }
.ds-launch-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--mp-accent, #d62828); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.28); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ds-launch-menu { position: absolute; right: 0; bottom: 66px; width: 250px; background: #fff; border: 1px solid #e2e5ea; border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.2); padding: 6px; } .ds-launch-menu[hidden] { display: none; }
.ds-launch-menu button { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; background: none; border: 0; padding: 10px; border-radius: 10px; cursor: pointer; color: #1b2430; font: inherit; } .ds-launch-menu button:hover { background: #f2f4f7; }
.ds-launch-menu .ico { font-size: 1.25rem; width: 28px; text-align: center; } .ds-launch-menu b { display: block; font-size: .92rem; } .ds-launch-menu small { color: #6b7480; font-size: .76rem; }
html[data-theme="dark"] .ds-launch-menu { background: #121c28; border-color: #243245; } html[data-theme="dark"] .ds-launch-menu button { color: #e6ebf2; } html[data-theme="dark"] .ds-launch-menu button:hover { background: #1b2a3b; }

/* V156: the round launcher never sits on top of an open chat / assistant window (it covered the Send button) */
html.ds-ai-open .ds-launch, html.ds-live-open .ds-launch, html.ds-wa-open .ds-launch, html.ds-fab-open .ds-launch { display: none !important; }
/* V165 - autocomplete rows with a thumbnail, model and brand */
.ss-box a.ss-p { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; padding: 7px 14px; }
.ss-box .ss-th { width: 44px; height: 44px; border-radius: 8px; background: #f2f4f7 center / contain no-repeat; border: 1px solid #e8ebef; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #8a95a3; overflow: hidden; } .ss-box .ss-th img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ss-box .ss-tx { min-width: 0; display: block; } .ss-box .ss-tx b { display: block; font-size: .86rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ss-box .ss-meta { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 3px; } .ss-box .ss-meta small { margin: 0; padding: 1px 7px; border-radius: 999px; background: #eef3f8; color: #3b4b5b; font-size: .7rem; font-weight: 600; } .ss-box .ss-meta small.m { background: #fff3d6; color: #7a4a00; font-family: Consolas, Menlo, monospace; }
.ss-box mark { background: #ffe9a8; color: inherit; border-radius: 2px; padding: 0 1px; }
.ss-box .ss-syn { padding: 6px 14px; font-size: .76rem; color: #5b6b79; border-bottom: 1px solid #eef1f5; }
html[data-theme="dark"] .ss-box .ss-th { background: #1b2a3b; border-color: #2a3a4c; } html[data-theme="dark"] .ss-box .ss-meta small { background: #1b2a3b; color: #c9d6e2; } html[data-theme="dark"] .ss-box .ss-meta small.m { background: #3a2f12; color: #ffd98a; } html[data-theme="dark"] .ss-box mark { background: #6b5200; color: #fff; }
