/* ==========================================================================
   LABO SCIENTIFIC — UI KIT ("Journal" template)
   One tokenised kit for every page below the homepage: search results, product
   page, cart drawer, quote form/modal, quick order and the shared buttons,
   inputs, chips and panels. Loaded AFTER style.css on inner pages only; the
   homepage never loads it. New markup uses lk-* classes exclusively, so nothing
   in the legacy stylesheet can reach it. Legacy shared classes that hand pages
   still use (.btn-primary, .btn-outline, .syn-input …) are re-skinned at the
   bottom so those pages align without a rewrite.
   ========================================================================== */

:root {
    --lk-brand: #0f766e;
    --lk-brand-h: #0d9488;
    --lk-brand-soft: #e6f4f2;
    --lk-ink: #0f172a;
    --lk-muted: #475569;
    --lk-faint: #8a96a5;
    --lk-line: #e2e8f0;
    --lk-line-2: #cbd5e1;
    --lk-canvas: #ffffff;
    --lk-panel: #ffffff;
    --lk-navy: #0f172a;
    --lk-amber: #d97706;
    --lk-ok: #16a34a;
    --lk-err: #dc2626;
    --lk-mark: #fef3c7;
    --lk-r: 2px;
    --lk-pill: 999px;
    --lk-h: 42px;
    --lk-h-sm: 34px;
    --lk-h-lg: 50px;
    --lk-head: 'Syne', 'Inter', system-ui, sans-serif;
    --lk-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --lk-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
    --lk-shadow-pop: 0 12px 40px rgba(15, 23, 42, .16);
    --lk-shadow-sheet: 0 -8px 30px rgba(15, 23, 42, .18);
    --lk-focus: 0 0 0 3px rgba(15, 118, 110, .22);
    --lk-max: 1200px;
}

/* --------------------------------------------------------------------------
   1. Page scaffold + typography
   -------------------------------------------------------------------------- */
.lk-page {
    max-width: var(--lk-max);
    margin: 0 auto;
    padding: 28px 24px 56px;
    font-family: var(--lk-body);
    color: var(--lk-ink);
    font-size: 15px;
    line-height: 1.5;
}
.lk-page *, .lk-drawer *, .lk-modal *, .lk-pop * { box-sizing: border-box; }
.lk-page-head { margin: 0 0 22px; }
.lk-h1 {
    font-family: var(--lk-head);
    font-weight: 700;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--lk-ink);
    margin: 0 0 8px;
    text-wrap: balance;
}
.lk-h1 em { font-style: normal; color: var(--lk-brand); }
.lk-h2 { font-family: var(--lk-head); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 12px; color: var(--lk-ink); }
.lk-h3 { font-family: var(--lk-body); font-weight: 600; font-size: 16px; line-height: 1.3; margin: 0 0 10px; color: var(--lk-ink); }
.lk-sub { color: var(--lk-muted); font-size: 14.5px; line-height: 1.55; margin: 0; max-width: 72ch; }
.lk-sub-note { color: var(--lk-faint); }
.lk-eyebrow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lk-brand); font-weight: 600; margin: 0 0 6px; }
.lk-mono { font-family: var(--lk-mono); font-size: .92em; }
.lk-muted { color: var(--lk-muted); }
.lk-faint { color: var(--lk-faint); }
.lk-link { color: var(--lk-brand); font-weight: 500; text-decoration: none; }
.lk-link:hover { color: var(--lk-brand-h); text-decoration: underline; }
.lk-num { font-variant-numeric: tabular-nums; }
.lk-page a { color: inherit; }
.lk-page a.lk-link, .lk-page .lk-link { color: var(--lk-brand); }
mark.lk-hl, .lk-page mark { background: var(--lk-mark); color: inherit; padding: 0 2px; border-radius: 2px; }

/* --------------------------------------------------------------------------
   2. Buttons — three tiers, three sizes, pill shape
   -------------------------------------------------------------------------- */
.lk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: var(--lk-h);
    padding: 0 20px;
    border-radius: var(--lk-pill);
    border: 1px solid transparent;
    font: 600 14px/1 var(--lk-body);
    color: var(--lk-ink);
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.lk-btn:focus-visible { outline: none; box-shadow: var(--lk-focus); }
.lk-btn[disabled], .lk-btn.is-disabled { background: #e2e8f0 !important; color: #94a3b8 !important; border-color: transparent !important; cursor: not-allowed; }
.lk-btn-primary { background: var(--lk-brand); color: #fff; }
.lk-btn-primary:hover { background: var(--lk-brand-h); color: #fff; }
.lk-btn-secondary { background: #fff; color: var(--lk-brand); border-color: var(--lk-brand); }
.lk-btn-secondary:hover { background: var(--lk-brand-soft); color: var(--lk-brand); }
.lk-btn-outline { background: #fff; color: var(--lk-ink); border-color: var(--lk-line-2); }
.lk-btn-outline:hover { border-color: var(--lk-ink); }
.lk-btn-ghost { color: var(--lk-brand); padding: 0 10px; }
.lk-btn-ghost:hover { background: var(--lk-brand-soft); }
.lk-btn-navy { background: var(--lk-navy); color: #fff; }
.lk-btn-navy:hover { background: #1e293b; color: #fff; }
.lk-btn-danger { background: #fff; color: #b91c1c; border-color: #fca5a5; }
.lk-btn-danger:hover { background: #fef2f2; }
.lk-btn-sm { height: var(--lk-h-sm); padding: 0 14px; font-size: 13px; }
.lk-btn-lg { height: var(--lk-h-lg); padding: 0 26px; font-size: 15px; }
.lk-btn-block { width: 100%; }
.lk-btn-icon { width: var(--lk-h); padding: 0; }
.lk-btn-sm.lk-btn-icon { width: var(--lk-h-sm); }
.lk-iconbtn {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--lk-line-2); background: #fff;
    color: var(--lk-muted); font-size: 18px; line-height: 1; display: inline-grid; place-items: center; cursor: pointer;
}
.lk-iconbtn:hover { border-color: var(--lk-ink); color: var(--lk-ink); }
.lk-iconbtn:focus-visible { outline: none; box-shadow: var(--lk-focus); }

/* --------------------------------------------------------------------------
   3. Forms
   -------------------------------------------------------------------------- */
.lk-field { display: block; min-width: 0; }
.lk-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--lk-ink); margin: 0 0 6px; }
.lk-label i, .lk-req { color: var(--lk-err); font-style: normal; }
.lk-label small, .lk-opt { font-weight: 400; color: var(--lk-faint); }
.lk-input, .lk-select, .lk-textarea {
    width: 100%;
    height: var(--lk-h);
    border: 1px solid var(--lk-line-2);
    border-radius: var(--lk-r);
    padding: 0 12px;
    font: 400 14px/1.4 var(--lk-body);
    color: var(--lk-ink);
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.lk-input::placeholder, .lk-textarea::placeholder { color: var(--lk-faint); }
.lk-input:focus, .lk-select:focus, .lk-textarea:focus { border-color: var(--lk-brand); box-shadow: var(--lk-focus); }
.lk-input.is-error, .lk-textarea.is-error, .lk-input.qp-error, .lk-textarea.qp-error, .lk-input:user-invalid { border-color: var(--lk-err); box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.lk-textarea { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; }
.lk-select {
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 1 6 6 11 1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}
.lk-select-pill { border-radius: var(--lk-pill); height: var(--lk-h-sm); font-size: 13px; font-weight: 500; padding-left: 14px; width: auto; }
.lk-help { font-size: 12px; color: var(--lk-faint); margin: 5px 0 0; line-height: 1.5; }
.lk-help.is-error, .lk-field-error { color: #b91c1c; }
.lk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lk-form .lk-full { grid-column: 1 / -1; }
.lk-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; color: var(--lk-ink); }
.lk-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--lk-brand); }
.lk-alert { margin: 12px 0; padding: 12px 16px; border-radius: var(--lk-r); font-size: 14px; line-height: 1.55; }
.lk-alert-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.lk-alert-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.lk-alert-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }

/* Stepper */
.lk-stepper { display: inline-flex; align-items: stretch; height: var(--lk-h-sm); border: 1px solid var(--lk-line-2); border-radius: var(--lk-r); background: #fff; overflow: hidden; flex: 0 0 auto; }
.lk-stepper button { width: 32px; border: 0; background: transparent; color: var(--lk-muted); font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
.lk-stepper button:hover { background: #f1f5f9; color: var(--lk-ink); }
.lk-stepper button:focus-visible { outline: none; box-shadow: inset var(--lk-focus); }
.lk-stepper input, .lk-stepper .lk-stepper-val { width: 40px; border: 0; border-left: 1px solid var(--lk-line); border-right: 1px solid var(--lk-line); text-align: center; font: 600 13px var(--lk-body); color: var(--lk-ink); padding: 0; -moz-appearance: textfield; background: #fff; display: grid; place-items: center; }
.lk-stepper input::-webkit-outer-spin-button, .lk-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lk-stepper input:focus { outline: none; background: #f8fafc; }
.lk-stepper-lg { height: var(--lk-h-lg); }
.lk-stepper-lg button { width: 42px; font-size: 18px; }
.lk-stepper-lg input { width: 48px; font-size: 15px; }

/* --------------------------------------------------------------------------
   4. Badges, chips, segmented pills
   -------------------------------------------------------------------------- */
.lk-badge { display: inline-block; font: 600 11px/1.5 var(--lk-body); padding: 2px 9px; border-radius: var(--lk-pill); background: #eef2f6; color: #334155; white-space: nowrap; vertical-align: middle; }
.lk-badge-kit { background: #fef3c7; color: #92400e; }
.lk-badge-lib { background: #ede9fe; color: #5b21b6; }
.lk-badge-bio { background: #dbeafe; color: #1e40af; }
.lk-badge-ok { background: #dcfce7; color: #166534; }
.lk-badge-warn { background: #fee2e2; color: #991b1b; }
.lk-badge-tier { background: var(--lk-brand-soft); color: var(--lk-brand); }
.lk-badge-adv { background: #f1f5f9; color: #334155; }
.lk-chip {
    display: inline-flex; align-items: center; gap: 6px;
    height: 34px; padding: 0 14px; border-radius: var(--lk-pill);
    border: 1px solid var(--lk-line-2); background: #fff; color: var(--lk-ink);
    font: 500 13px/1 var(--lk-body); cursor: pointer; white-space: nowrap; text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.lk-chip:hover { border-color: var(--lk-ink); }
.lk-chip:focus-visible { outline: none; box-shadow: var(--lk-focus); }
.lk-chip small { color: var(--lk-faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.lk-chip.is-on { background: var(--lk-navy); color: #fff; border-color: var(--lk-navy); }
.lk-chip.is-on small { color: #cbd5e1; }
.lk-chip .lk-chip-x { margin-left: 2px; font-size: 14px; line-height: 1; opacity: .7; }
.lk-chip.is-on:hover .lk-chip-x { opacity: 1; }
.lk-seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border: 1px solid var(--lk-line-2); border-radius: 22px; background: #fff; max-width: 100%; }
.lk-seg-btn {
    border: 0; background: transparent; color: var(--lk-ink); border-radius: var(--lk-pill);
    padding: 6px 13px; font: 500 12.5px/1.2 var(--lk-body); cursor: pointer; white-space: nowrap;
    transition: background-color .12s ease, color .12s ease;
}
.lk-seg-btn:hover { background: #f1f5f9; }
.lk-seg-btn:focus-visible { outline: none; box-shadow: var(--lk-focus); }
.lk-seg-btn.is-on { background: var(--lk-navy); color: #fff; }

/* --------------------------------------------------------------------------
   5. Panels, definition lists, disclosures, tabs, crumbs
   -------------------------------------------------------------------------- */
.lk-panel { background: var(--lk-panel); border: 1px solid var(--lk-line); border-radius: var(--lk-r); }
.lk-panel-pad { padding: 20px; }
.lk-props { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; font-size: 13.5px; }
.lk-props > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--lk-line); align-items: baseline; }
.lk-props dt { color: var(--lk-muted); font-weight: 400; margin: 0; }
.lk-props dd { margin: 0; color: var(--lk-ink); min-width: 0; overflow-wrap: anywhere; }
.lk-props dd .lk-mono { font-size: 13px; }
.lk-props dd sub { font-size: .75em; }
.lk-props-1 { grid-template-columns: 1fr; }
.lk-acc { border-bottom: 1px solid var(--lk-line); }
.lk-acc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--lk-ink); }
.lk-acc > summary::-webkit-details-marker { display: none; }
.lk-acc > summary span { font-weight: 400; color: var(--lk-faint); font-size: 12.5px; margin-left: 10px; }
.lk-acc > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--lk-muted); border-bottom: 1.5px solid var(--lk-muted); transform: rotate(45deg); flex: 0 0 auto; margin-right: 4px; transition: transform .15s ease; }
.lk-acc[open] > summary::after { transform: rotate(-135deg); }
.lk-acc-body { padding: 4px 0 18px; }
.lk-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--lk-line); font-size: 14px; font-weight: 500; color: var(--lk-muted); overflow-x: auto; scrollbar-width: none; }
.lk-tabs::-webkit-scrollbar { display: none; }
.lk-tabs a { padding: 10px 0; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; color: var(--lk-muted); text-decoration: none; }
.lk-tabs a.is-on, .lk-tabs a:hover { color: var(--lk-ink); border-bottom-color: var(--lk-brand); font-weight: 600; }
.lk-crumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--lk-muted); margin: 0 0 18px; flex-wrap: wrap; }
.lk-crumb a { color: var(--lk-muted); text-decoration: none; }
.lk-crumb a:hover { color: var(--lk-brand); }
.lk-crumb b { color: var(--lk-ink); font-weight: 600; }
.lk-crumb .lk-crumb-sep { color: var(--lk-line-2); }
.lk-crumb .lk-crumb-back { margin-left: auto; color: var(--lk-brand); font-weight: 500; }

/* --------------------------------------------------------------------------
   6. Search results page
   -------------------------------------------------------------------------- */
.lk-search .category-hero-banner { margin: 0 0 18px; padding: 16px 20px; border-left: 3px solid var(--lk-brand); background: var(--lk-brand-soft); border-radius: 0 var(--lk-r) var(--lk-r) 0; }
.lk-search .category-hero-banner h3 { font-family: var(--lk-head); font-size: 18px; margin: 0 0 4px; }
.lk-search .category-hero-banner p { margin: 0; color: var(--lk-muted); font-size: 14px; }
.lk-search-head { margin: 0 0 18px; }
.lk-search-head .lk-h1 { font-size: 34px; }
.lk-refine { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; }
.lk-refine-lab { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lk-faint); font-weight: 600; margin-right: 4px; }
.lk-refine .lk-clear { font-size: 13px; color: var(--lk-brand); font-weight: 500; background: none; border: 0; cursor: pointer; padding: 6px 8px; margin-left: 2px; }
.lk-refine .lk-clear:hover { text-decoration: underline; }
.lk-toolbar { display: flex; align-items: center; gap: 12px; padding: 12px 0 6px; font-size: 13px; color: var(--lk-muted); }
.lk-toolbar .lk-sp { flex: 1; }
.lk-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lk-muted); margin: 0; }
.lk-sort .lk-select { width: auto; }
#search-filter-bar:empty { display: none; }
#search-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 4px; font-size: 13px; }
.lk-dym { font-size: 14px; color: var(--lk-muted); margin: 8px 0 12px; padding: 10px 14px; background: #f8fafc; border-left: 3px solid var(--lk-amber); }
.lk-dym a { color: var(--lk-brand); font-weight: 600; }
#ai-search-description { font-size: 13px; color: var(--lk-brand); padding: 4px 0 6px; }

.lk-results { margin-top: 6px; }
.lk-results.results-updating { opacity: .55; transition: opacity .15s ease; }
.lk-li {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 24px 0;
    border-top: 1px solid var(--lk-line);
    align-items: start;
}
.lk-li:last-of-type { border-bottom: 1px solid var(--lk-line); }
.lk-li-thumb { display: block; width: 96px; height: 96px; background: #f8fafc; border-radius: var(--lk-r); overflow: hidden; display: grid; place-items: center; }
.lk-li-thumb img { max-width: 88%; max-height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.lk-li-info { min-width: 0; }
.lk-li-name { font-family: var(--lk-body); font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; margin: 0; }
.lk-li-name a { color: var(--lk-ink); text-decoration: none; }
.lk-li-name a:hover { color: var(--lk-brand); }
.lk-li-desc { color: var(--lk-muted); font-size: 14px; line-height: 1.5; margin: 6px 0 0; max-width: 64ch; }
.lk-li-syn { color: var(--lk-faint); font-size: 12.5px; margin: 4px 0 0; max-width: 64ch; }
.lk-li-syn b { color: var(--lk-muted); font-weight: 600; }
.lk-li-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; font-size: 13px; align-items: center; }
.lk-meta-k { color: var(--lk-faint); text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 600; margin-right: 6px; }
.lk-li-meta .lk-mono { font-size: 12.5px; }
.lk-li-meta a { text-decoration: none; }
.lk-li-meta-bio { margin-top: 6px; }
.lk-compare { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--lk-faint); cursor: pointer; margin: 0; }
.lk-compare input { width: 14px; height: 14px; margin: 0; accent-color: var(--lk-brand); }
.lk-li-buy { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; min-width: 0; }
.lk-li-buy .lk-seg { justify-content: flex-end; }
.lk-li-price { display: flex; align-items: baseline; gap: 8px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.1; flex-wrap: wrap; justify-content: flex-end; }
.lk-li-price small { font-size: 12px; color: var(--lk-muted); font-weight: 500; letter-spacing: 0; }
.lk-li-price em { font-size: 12px; color: var(--lk-faint); font-style: normal; font-weight: 500; }
.lk-li-price .lk-poa { font-size: 15px; color: var(--lk-muted); font-weight: 600; }
.lk-li-cta { display: flex; gap: 10px; align-items: center; }
.lk-pg { display: flex; gap: 6px; justify-content: center; align-items: center; font-size: 13px; flex-wrap: wrap; }
.lk-pg button, .lk-pg a { min-width: 34px; height: 34px; padding: 0 10px; display: inline-grid; place-items: center; border: 1px solid var(--lk-line); border-radius: var(--lk-pill); background: #fff; color: var(--lk-ink); font: 500 13px var(--lk-body); cursor: pointer; text-decoration: none; }
.lk-pg button:hover { border-color: var(--lk-ink); }
.lk-pg button.is-on { background: var(--lk-brand); color: #fff; border-color: var(--lk-brand); }
.lk-pg button[disabled] { opacity: .45; cursor: default; }
.lk-pg button[disabled]:hover { border-color: var(--lk-line); }
.lk-pg .lk-pg-gap { color: var(--lk-faint); padding: 0 2px; }
.lk-pgbar { display: flex; align-items: center; gap: 14px; padding: 22px 0 8px; font-size: 13px; color: var(--lk-muted); flex-wrap: wrap; }
.lk-pgbar .lk-sp { flex: 1; }
.lk-perpage { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.lk-skel { border-top: 1px solid var(--lk-line); padding: 24px 0; display: grid; grid-template-columns: 96px 1fr 320px; gap: 28px; }
.lk-skel span { display: block; background: #eef2f5; border-radius: 4px; height: 12px; animation: lkPulse 1.2s ease-in-out infinite; }
.lk-skel .lk-skel-img { height: 96px; }
.lk-skel .lk-skel-t { height: 18px; width: 55%; margin-bottom: 12px; }
.lk-skel .lk-skel-l { width: 90%; margin-bottom: 8px; }
.lk-skel .lk-skel-s { width: 40%; }
.lk-skel .lk-skel-b { height: 34px; width: 70%; margin-left: auto; margin-bottom: 12px; border-radius: 999px; }
.lk-skel .lk-skel-p { height: 22px; width: 40%; margin-left: auto; }
@keyframes lkPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.lk-empty { padding: 40px 0 24px; max-width: 720px; }
.lk-empty h3 { font-family: var(--lk-head); font-size: 26px; letter-spacing: -.02em; margin: 0 0 10px; }
.lk-empty p { color: var(--lk-muted); font-size: 15px; margin: 0 0 12px; }
.lk-empty .lk-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.lk-source { margin-top: 26px; padding: 22px 24px; border: 1px solid var(--lk-line); border-left: 3px solid var(--lk-brand); border-radius: 0 var(--lk-r) var(--lk-r) 0; }
.lk-source h4 { font-family: var(--lk-head); font-size: 20px; margin: 0 0 6px; }
.lk-source p { margin: 0 0 14px; color: var(--lk-muted); font-size: 14px; }
.lk-source .lk-actions { margin: 0; }
.lk-suggest { margin-top: 26px; }
.lk-suggest-lab { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lk-faint); font-weight: 600; margin: 0 0 10px; }
.lk-suggest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.lk-suggest-card { display: block; padding: 12px 14px; border: 1px solid var(--lk-line); border-radius: var(--lk-r); text-decoration: none; color: var(--lk-ink); }
.lk-suggest-card:hover { border-color: var(--lk-brand); }
.lk-suggest-card .lk-mono { color: var(--lk-muted); font-size: 12px; display: block; margin-top: 2px; }
.lk-suggest-card b { display: block; font-size: 14px; margin-top: 4px; }

/* Popover (facet lists, price) — bottom sheet on mobile */
.lk-pop {
    position: absolute; z-index: 60; top: calc(100% + 8px); left: 0;
    width: 320px; max-width: calc(100vw - 32px);
    background: #fff; border: 1px solid var(--lk-line); border-radius: 12px; box-shadow: var(--lk-shadow-pop);
    padding: 14px 16px 12px; display: none;
}
.lk-pop.is-open { display: block; }
.lk-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.lk-pop-head h4 { font: 600 14px var(--lk-body); margin: 0; }
.lk-pop-head .lk-iconbtn { width: 28px; height: 28px; font-size: 16px; }
.lk-pop .lk-input { height: 34px; font-size: 13px; margin-bottom: 8px; }
.lk-pop-list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; }
.lk-pop-list li { margin: 0; }
.lk-pop-list label { display: flex; align-items: center; gap: 9px; padding: 6px 2px; font-size: 13.5px; cursor: pointer; }
.lk-pop-list input { width: 15px; height: 15px; margin: 0; accent-color: var(--lk-brand); flex: 0 0 auto; }
.lk-pop-list .lk-cnt { margin-left: auto; color: var(--lk-faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.lk-pop-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 12px; }
.lk-pop-empty { color: var(--lk-faint); font-size: 13px; padding: 8px 2px; }
.lk-sheet-back { display: none; }
/* Price range inside the popover */
.lk-price-body { padding: 6px 4px 2px; }
.lk-price-track { position: relative; height: 4px; background: var(--lk-line); border-radius: 2px; margin: 18px 6px 10px; }
.lk-price-fill { position: absolute; top: 0; bottom: 0; background: var(--lk-brand); border-radius: 2px; }
.lk-price-inputs { position: relative; height: 24px; margin: -26px 0 0; }
.lk-price-inputs input[type=range] { position: absolute; left: 0; right: 0; width: 100%; top: 0; height: 24px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; pointer-events: none; }
.lk-price-inputs input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--lk-brand); pointer-events: auto; cursor: pointer; }
.lk-price-inputs input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--lk-brand); pointer-events: auto; cursor: pointer; }
.lk-price-inputs input[type=range]::-webkit-slider-runnable-track { background: transparent; }
.lk-price-inputs input[type=range]::-moz-range-track { background: transparent; }
.lk-price-labels { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 8px; }

/* --------------------------------------------------------------------------
   7. Product page
   -------------------------------------------------------------------------- */
.lk-pdp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    grid-template-areas: "hero buy" "body buy";
    gap: 28px 32px;
    align-items: start;
}
.lk-pdp-hero { grid-area: hero; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.lk-pdp-img { height: 280px; border: 1px solid var(--lk-line); border-radius: var(--lk-r); background: #fff; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; }
.lk-pdp-img img { max-width: 86%; max-height: 86%; object-fit: contain; transition: transform .2s ease; }
.lk-pdp-title { min-width: 0; }
.lk-pdp-h1 { font-family: var(--lk-head); font-weight: 700; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; margin: 2px 0 10px; color: var(--lk-ink); overflow-wrap: anywhere; }
.lk-pdp-syn { font-size: 13.5px; color: var(--lk-muted); margin: 0 0 10px; line-height: 1.5; overflow-wrap: anywhere; }
.lk-pdp-syn b { color: var(--lk-ink); font-weight: 600; }
.lk-pdp-desc { font-size: 14.5px; line-height: 1.55; max-width: 62ch; margin: 0; color: var(--lk-ink); }
.lk-pdp-ids { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; font-size: 13px; align-items: center; }
.lk-pdp-ids i { font-style: normal; color: var(--lk-faint); text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 600; margin-right: 6px; }
.lk-pdp-ids sub { font-size: .75em; }
.lk-pdp-buy {
    grid-area: buy; position: sticky; top: 16px;
    background: #fff; border: 1px solid var(--lk-line); border-radius: var(--lk-r);
    padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.lk-buy-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lk-buy-price b { font-family: var(--lk-head); font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; color: var(--lk-ink); }
.lk-buy-price span { font-size: 13px; color: var(--lk-muted); }
.lk-buy-est { font-size: 12px; color: var(--lk-faint); margin: -8px 0 0; }
.lk-buy-lab { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--lk-muted); font-weight: 600; margin: 0; }
.lk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lk-tiles .size-tile { position: relative; border: 1px solid var(--lk-line-2); border-radius: var(--lk-r); padding: 10px 12px; font-size: 13px; cursor: pointer; background: #fff; transition: border-color .12s ease, background-color .12s ease; }
.lk-tiles .size-tile:hover { border-color: var(--lk-ink); }
.lk-tiles .size-tile.active { border-color: var(--lk-brand); box-shadow: inset 0 0 0 1px var(--lk-brand); background: var(--lk-brand-soft); }
.lk-tiles .sz-weight { display: block; font-weight: 600; font-size: 14px; color: var(--lk-ink); }
.lk-tiles .sz-price { display: block; color: var(--lk-muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.lk-tiles .sz-unit { display: block; color: var(--lk-faint); font-size: 11.5px; }
.lk-tiles .sz-best { position: absolute; top: -9px; right: 8px; background: var(--lk-amber); color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; }
.lk-avail { display: flex; gap: 10px; font-size: 13px; align-items: flex-start; line-height: 1.4; }
.lk-avail i { width: 10px; height: 10px; border-radius: 50%; background: var(--lk-ok); margin-top: 5px; flex: 0 0 auto; }
.lk-avail small { display: block; color: var(--lk-muted); font-size: 12.5px; }
.lk-buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.lk-docs { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; padding-top: 12px; border-top: 1px solid var(--lk-line); }
.lk-docs a { color: var(--lk-brand); font-weight: 500; text-decoration: none; display: inline-flex; gap: 5px; align-items: center; }
.lk-docs a:hover { text-decoration: underline; }
.lk-buy-cat { display: flex; justify-content: space-between; font-size: 12px; color: var(--lk-faint); }
.lk-buy-cat .lk-mono { color: var(--lk-muted); }
.lk-pdp-body { grid-area: body; min-width: 0; }
.lk-pdp-body .lk-tabs { margin: 0 0 4px; }
.lk-pdp-section { padding-top: 22px; scroll-margin-top: 20px; }
.lk-pdp-section .lk-h3 { margin: 0 0 6px; font-size: 15px; }
.lk-calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin: 8px 0 14px; }
.lk-calc div { border-bottom: 1px solid var(--lk-line); padding: 6px 0 8px; }
.lk-calc dt { font-size: 11.5px; color: var(--lk-muted); margin: 0; }
.lk-calc dd { font-size: 15px; font-weight: 600; margin: 2px 0 0; font-variant-numeric: tabular-nums; }
.lk-smiles { display: flex; gap: 10px; align-items: baseline; font-size: 13px; margin: 0 0 10px; flex-wrap: wrap; }
.lk-smiles span { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--lk-faint); font-weight: 600; }
.lk-smiles code { font-family: var(--lk-mono); font-size: 12px; background: #f8fafc; border: 1px solid var(--lk-line); padding: 4px 8px; border-radius: 3px; overflow-wrap: anywhere; color: var(--lk-ink); }
.lk-attrib { font-size: 12px; color: var(--lk-faint); line-height: 1.5; margin: 0; }
.lk-attrib a { color: var(--lk-brand); }
.lk-pdp .uniprot-info { margin-top: 18px; font-size: 14px; line-height: 1.55; }
.lk-pdp .uniprot-info .ds-text { margin: 0 0 8px; }
.lk-pdp-lightbox-hint { font-size: 11.5px; color: var(--lk-faint); text-align: center; margin: 6px 0 0; }
/* Recommended + recently viewed strips */
.lk-recs { margin-top: 44px; }
.lk-recs .recommended-header, .lk-recs .rv-title { font-family: var(--lk-head); font-size: 22px; letter-spacing: -.015em; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.lk-recs .ai-badge { font: 600 11px var(--lk-body); background: var(--lk-brand-soft); color: var(--lk-brand); padding: 2px 9px; border-radius: 999px; letter-spacing: 0; }
.lk-recs .carousel-wrapper { position: relative; }
.lk-recs .carousel-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.lk-recs .carousel-track::-webkit-scrollbar { display: none; }
.lk-recs .rec-card { flex: 0 0 220px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--lk-line); border-radius: var(--lk-r); background: #fff; min-height: 214px; }
.lk-recs .rec-card-top { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lk-recs .rec-image-box { height: 76px; background: #f8fafc; border-radius: var(--lk-r); display: grid; place-items: center; overflow: hidden; }
.lk-recs .rec-image-box img { max-height: 64px; max-width: 80%; object-fit: contain; mix-blend-mode: multiply; }
.lk-recs .rec-info { display: flex; flex-direction: column; gap: 3px; }
.lk-recs .rec-supplier, .lk-recs .badge-tier { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--lk-faint); background: none; padding: 0; border-radius: 0; display: inline; }
.lk-recs .badge-core-essentials { color: var(--lk-brand); }
.lk-recs .rec-sku { font-family: var(--lk-mono); font-size: 12px; color: var(--lk-muted); text-decoration: none; }
.lk-recs .rec-desc { font-size: 13.5px; font-weight: 600; color: var(--lk-ink); text-decoration: none; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lk-recs .btn-quick-view { margin-top: auto; height: 34px; border-radius: 999px; border: 1px solid var(--lk-line-2); background: #fff; font: 600 13px var(--lk-body); color: var(--lk-ink); cursor: pointer; width: 100%; }
.lk-recs .btn-quick-view:hover { border-color: var(--lk-ink); }
.lk-recs .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--lk-line-2); background: #fff; color: var(--lk-ink); cursor: pointer; display: grid; place-items: center; z-index: 2; box-shadow: 0 2px 8px rgba(15, 23, 42, .08); font-size: 14px; }
.lk-recs .carousel-arrow.left { left: -16px; }
.lk-recs .carousel-arrow.right { right: -16px; }
.lk-recs .rv-carousel { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; }
.lk-recs .rv-card { flex: 0 0 200px; border: 1px solid var(--lk-line); border-radius: var(--lk-r); padding: 12px; text-decoration: none; color: var(--lk-ink); display: flex; flex-direction: column; gap: 8px; }
.lk-recs .rv-card-img { height: 70px; background: #f8fafc; display: grid; place-items: center; }
.lk-recs .rv-card-img img { max-height: 60px; max-width: 80%; object-fit: contain; mix-blend-mode: multiply; }
.lk-recs .rv-card-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.lk-recs .rv-card-sku { font-family: var(--lk-mono); font-size: 11.5px; color: var(--lk-muted); }
.lk-recs .rv-card-price { font-size: 13px; font-weight: 600; }
/* Mobile sticky buy bar (PDP) */
.lk-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--lk-line); box-shadow: 0 -6px 24px rgba(15, 23, 42, .08); padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); display: none; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; transform: translateY(110%); transition: transform .25s ease; }
.lk-sticky.is-visible { transform: translateY(0); }
.lk-sticky b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.lk-sticky small { display: block; font-size: 11.5px; color: var(--lk-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.lk-sticky-open { padding-bottom: 84px; }

/* --------------------------------------------------------------------------
   8. Cart drawer
   -------------------------------------------------------------------------- */
.lk-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 500; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lk-overlay.active { opacity: 1; visibility: visible; }
.lk-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 510;
    width: 440px; max-width: 100%;
    background: #fff; box-shadow: -12px 0 40px rgba(15, 23, 42, .18);
    display: flex; flex-direction: column;
    transform: translateX(105%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    font-family: var(--lk-body); color: var(--lk-ink);
}
.lk-drawer.active { transform: translateX(0); }
.lk-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--lk-line); flex: 0 0 auto; }
.lk-drawer-title { font-family: var(--lk-head); font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.lk-drawer-title span { font-family: var(--lk-body); color: var(--lk-muted); font-size: 13px; font-weight: 400; margin-left: 8px; letter-spacing: 0; }
.lk-drawer-body { flex: 1 1 auto; overflow-y: auto; padding: 4px 22px; }
.lk-citem { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--lk-line); align-items: start; }
.lk-citem.cart-item--added { background: var(--lk-brand-soft); margin: 0 -22px; padding-left: 22px; padding-right: 22px; }
.lk-citem-img { width: 52px; height: 52px; border: 1px solid var(--lk-line); border-radius: var(--lk-r); display: grid; place-items: center; overflow: hidden; background: #fff; }
.lk-citem-img img { max-width: 80%; max-height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.lk-citem-name { font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--lk-ink); text-decoration: none; display: block; }
.lk-citem-name:hover { color: var(--lk-brand); }
.lk-citem-meta { font-size: 12px; color: var(--lk-muted); margin-top: 3px; }
.lk-citem-meta .lk-mono { font-size: 11.5px; }
.lk-citem-line { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.lk-citem-rm { font-size: 12px; color: var(--lk-faint); text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.lk-citem-rm:hover { color: #b91c1c; }
.lk-citem-price { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; }
.lk-citem-price small { display: block; color: var(--lk-faint); font-weight: 400; font-size: 11.5px; }
.lk-drawer-empty { padding: 44px 0 24px; text-align: center; }
.lk-drawer-empty h4 { font-family: var(--lk-head); font-size: 20px; margin: 0 0 6px; }
.lk-drawer-empty p { color: var(--lk-muted); font-size: 14px; margin: 0 0 18px; }
.lk-quickadd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.lk-quickadd .lk-input { height: var(--lk-h-sm); font-size: 13px; }
.lk-quickadd-wrap { padding: 16px 0 6px; }
.lk-quickadd-msg { font-size: 12.5px; margin: 6px 0 0; color: var(--lk-muted); }
.lk-quickadd-msg.is-error { color: #b91c1c; }
.lk-quickadd-msg:empty { display: none; }
.lk-drawer-foot { padding: 16px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--lk-line); display: flex; flex-direction: column; gap: 10px; background: #fff; flex: 0 0 auto; }
.lk-tot { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; gap: 12px; }
.lk-tot b { font-size: 20px; font-variant-numeric: tabular-nums; }
.lk-tot small { color: var(--lk-faint); font-size: 12px; display: block; }
.lk-talk { font-size: 12px; color: var(--lk-muted); text-align: center; margin: 2px 0 0; }
.lk-talk a { color: var(--lk-brand); font-weight: 500; text-decoration: none; }

/* --------------------------------------------------------------------------
   9. Modal (quote)
   -------------------------------------------------------------------------- */
.lk-modal-overlay { position: fixed; inset: 0; z-index: 600; background: rgba(15, 23, 42, .5); display: none; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.lk-modal-overlay.active { display: flex; }
.lk-modal { background: #fff; border-radius: 12px; width: 100%; max-width: 940px; max-height: calc(100vh - 48px); display: flex; flex-direction: column; box-shadow: 0 24px 80px rgba(15, 23, 42, .3); font-family: var(--lk-body); color: var(--lk-ink); }
.lk-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--lk-line); flex: 0 0 auto; }
.lk-modal-title { font-family: var(--lk-head); font-size: 22px; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.lk-modal-body { padding: 22px 24px 26px; overflow-y: auto; }
.lk-quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.lk-qsum { border: 1px solid var(--lk-line); border-radius: var(--lk-r); padding: 16px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 0; }
.lk-qsum h3 { font: 600 14px var(--lk-body); margin: 0; display: flex; justify-content: space-between; }
.lk-qsum h3 span { color: var(--lk-muted); font-weight: 400; font-size: 13px; }
.lk-qline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--lk-line); font-size: 13px; }
.lk-qline-name { font-weight: 600; line-height: 1.3; }
.lk-qline-meta { color: var(--lk-muted); font-size: 12px; margin-top: 2px; }
.lk-qline-price { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; white-space: nowrap; }
.lk-qline-price small { display: block; color: var(--lk-faint); font-weight: 400; font-size: 11.5px; }
.lk-qsum-empty { color: var(--lk-muted); font-size: 13.5px; padding: 6px 0; }
.lk-qsum-empty a { color: var(--lk-brand); font-weight: 600; }
.lk-trust { font-size: 12px; color: var(--lk-faint); text-align: center; line-height: 1.5; margin: 4px 0 0; grid-column: 1 / -1; }
.lk-modal .lk-form .lk-btn { margin-top: 4px; }
#quote-success-state { text-align: center; padding: 40px 24px; }
#quote-success-state h3 { font-family: var(--lk-head); }

/* --------------------------------------------------------------------------
   10. Toast
   -------------------------------------------------------------------------- */
.lk-toast {
    position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 700;
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--lk-navy); color: #fff; padding: 12px 18px; border-radius: 12px;
    font: 500 13.5px var(--lk-body); box-shadow: 0 10px 30px rgba(15, 23, 42, .3);
    opacity: 0; transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px); pointer-events: none;
}
.lk-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.lk-toast b { color: #5eead4; font-weight: 700; }
.lk-toast a { color: #5eead4; font-weight: 600; text-decoration: none; margin-left: 6px; }

/* --------------------------------------------------------------------------
   11. Quick order
   -------------------------------------------------------------------------- */
.lk-qo-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.lk-qo-paste { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.lk-qo-paste .lk-textarea { min-height: 240px; font-family: var(--lk-mono); font-size: 13px; line-height: 1.7; }
.lk-qo-results { min-width: 0; }
.lk-qo-results[hidden] { display: none; }
.lk-qo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--lk-line); flex-wrap: wrap; }
.lk-qo-head .lk-h3 { margin: 0; }
.lk-qo-head .lk-muted { font-size: 13px; }
.lk-qo-tablewrap { overflow-x: auto; }
.lk-qo-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.lk-qo-table th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--lk-muted); padding: 10px 14px; border-bottom: 1px solid var(--lk-line); background: #f8fafc; font-weight: 600; white-space: nowrap; }
.lk-qo-table td { padding: 10px 14px; border-bottom: 1px solid var(--lk-line); vertical-align: middle; }
.lk-qo-table tr.is-miss td { background: #fffbeb; }
.lk-qo-table .lk-qo-line { font-family: var(--lk-mono); font-size: 12.5px; color: var(--lk-ink); max-width: 200px; overflow-wrap: anywhere; }
.lk-qo-table .lk-qo-name { font-weight: 600; line-height: 1.3; }
.lk-qo-table .lk-qo-sub { font-size: 12px; color: var(--lk-muted); margin-top: 2px; }
.lk-qo-table .lk-select { height: var(--lk-h-sm); font-size: 13px; min-width: 170px; max-width: 260px; }
.lk-qo-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--lk-line); font-size: 13px; color: var(--lk-muted); flex-wrap: wrap; }
.lk-qo-actions { display: flex; gap: 8px; }
.lk-qo-foot .qo-inline-msg { flex-basis: 100%; }
.lk-steps { list-style: none; padding: 0; margin: 40px 0 0; max-width: 640px; }
.lk-steps li { position: relative; padding: 0 0 18px 40px; counter-increment: lk; }
.lk-steps li::before { content: counter(lk); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--lk-line-2); color: var(--lk-muted); font: 700 12px/24px var(--lk-body); text-align: center; }
.lk-steps b { display: block; font-size: 14px; }
.lk-steps span { color: var(--lk-muted); font-size: 13.5px; line-height: 1.5; }
.lk-steps-lab { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lk-faint); font-weight: 600; margin: 0 0 14px; }
.lk-qo .qo-inline-msg { font-size: 13px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--lk-r); padding: 8px 12px; }
.lk-qo .qo-inline-msg[hidden] { display: none; }

/* --------------------------------------------------------------------------
   12. Quote page (quote.html) — inline script renders .qp-item rows
   -------------------------------------------------------------------------- */
.lk-quote-page { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.lk-quote-page .lk-form { padding: 20px; }
.lk-quote-page .lk-form .lk-h3 { grid-column: 1 / -1; margin: 0; }
.lk-quote-page .lk-qsum { position: sticky; top: 16px; padding: 18px; }
.qp-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--lk-line); font-size: 13px; }
.qp-item-name { font-weight: 600; line-height: 1.3; }
.qp-item-meta { color: var(--lk-muted); font-size: 12px; margin-top: 2px; }
.qp-item-qty { color: var(--lk-muted); font-variant-numeric: tabular-nums; }
.qp-empty { color: var(--lk-muted); font-size: 13.5px; padding: 4px 0 8px; }
.qp-quickadd-msg { font-size: 12.5px; margin: 6px 0 0; color: var(--lk-muted); }
.qp-quickadd-msg.is-error { color: #b91c1c; }
.qp-quickadd-msg.is-ok { color: #166534; }
.qp-quickadd-msg:empty { display: none; }
.lk-success { text-align: center; padding: 48px 24px; max-width: 520px; margin: 0 auto; }
.lk-success-icon { width: 56px; height: 56px; border-radius: 50%; background: #d1fae5; color: #059669; display: grid; place-items: center; margin: 0 auto 18px; font-size: 26px; font-weight: 700; }
.lk-success h2 { font-family: var(--lk-head); font-size: 26px; margin: 0 0 10px; }
.lk-success p { color: var(--lk-muted); font-size: 15px; line-height: 1.55; margin: 0 0 20px; }

/* --------------------------------------------------------------------------
   13. Legacy shared classes re-skinned (hand pages: contact, compare, 404,
       category, marketing pages). The homepage never loads this file.
   -------------------------------------------------------------------------- */body.lk-inner .btn-primary, body.lk-inner a.btn-primary, body.lk-inner .btn.btn-primary, body.lk-inner .btn-checkout, body.lk-inner .btn-request-quote, body.lk-inner .syn-submit, body.lk-inner .btn-add-to-cart, body.lk-inner .btn-view-pricing {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 7px;
    min-height: var(--lk-h); height: auto; padding: 0 22px !important;
    border-radius: var(--lk-pill) !important; border: 1px solid transparent !important;
    background: var(--lk-brand) !important; color: #fff !important;
    font: 600 14px/1 var(--lk-body) !important; text-decoration: none !important;
    box-shadow: none !important; transition: background-color .15s ease;
}
body.lk-inner .btn-primary:hover, body.lk-inner a.btn-primary:hover, body.lk-inner .btn.btn-primary:hover, body.lk-inner .btn-checkout:hover, body.lk-inner .btn-request-quote:hover, body.lk-inner .syn-submit:hover { background: var(--lk-brand-h) !important; color: #fff !important; transform: none !important; }
body.lk-inner .btn-outline, body.lk-inner a.btn-outline, body.lk-inner .btn.btn-outline, body.lk-inner .btn-secondary:not(.lk-btn), body.lk-inner .btn-external, body.lk-inner .btn-supplier {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 7px;
    min-height: var(--lk-h); height: auto; padding: 0 20px !important;
    border-radius: var(--lk-pill) !important; border: 1px solid var(--lk-line-2) !important;
    background: #fff !important; color: var(--lk-ink) !important;
    font: 600 14px/1 var(--lk-body) !important; text-decoration: none !important; box-shadow: none !important;
}
body.lk-inner .btn-outline:hover, body.lk-inner a.btn-outline:hover, body.lk-inner .btn.btn-outline:hover { border-color: var(--lk-ink) !important; background: #fff !important; color: var(--lk-ink) !important; }
body.lk-inner .syn-input, body.lk-inner .syn-textarea, body.lk-inner .syn-select, body.lk-inner .b2b-form-input {
    width: 100%; border: 1px solid var(--lk-line-2) !important; border-radius: var(--lk-r) !important;
    padding: 0 12px; min-height: var(--lk-h); font: 400 14px/1.4 var(--lk-body); color: var(--lk-ink); background: #fff !important; box-shadow: none !important; outline: none;
}
body.lk-inner .syn-textarea { padding: 10px 12px; min-height: 110px; }
body.lk-inner .syn-input:focus, body.lk-inner .syn-textarea:focus, body.lk-inner .syn-select:focus { border-color: var(--lk-brand) !important; box-shadow: var(--lk-focus) !important; }
body.lk-inner .syn-label { font-size: 12.5px !important; font-weight: 600 !important; color: var(--lk-ink) !important; margin-bottom: 6px !important; }
body.lk-inner .syn-required { color: var(--lk-err); }
body.lk-inner .field-error { font-size: 12px; color: #b91c1c; }
body.lk-inner .content-h1, body.lk-inner .category-hero-title, body.lk-inner .contact-page-head .content-h1 { font-family: var(--lk-head) !important; font-weight: 700 !important; letter-spacing: -.02em !important; }
body.lk-inner .content-lead, body.lk-inner .category-hero-desc { color: var(--lk-muted) !important; font-size: 15px !important; line-height: 1.55 !important; }
body.lk-inner .contact-eyebrow { font-size: 11px !important; letter-spacing: .1em !important; text-transform: uppercase; color: var(--lk-brand) !important; font-weight: 600 !important; }
body.lk-inner .contact-form-card, body.lk-inner .contact-info-card, body.lk-inner .category-subgrid > *, body.lk-inner .cle-card, body.lk-inner .lib-table-wrap { border-radius: var(--lk-r) !important; box-shadow: none !important; border: 1px solid var(--lk-line) !important; }
body.lk-inner .contact-form-header h2 { font-family: var(--lk-head) !important; }
body.lk-inner .ci-item-value { color: var(--lk-brand) !important; }
body.lk-inner .nf-search-form { max-width: 560px; margin: 0 auto 22px; }
body.lk-inner .nf-help-line { color: var(--lk-muted); font-size: 14px; margin-top: 22px; }
body.lk-inner .nf-help-line a { color: var(--lk-brand); font-weight: 600; }
/* Compare page */
body.lk-inner #compare-content .compare-empty h2, body.lk-inner #compare-content h2 { font-family: var(--lk-head); letter-spacing: -.02em; }
body.lk-inner #compare-content table { font-size: 13.5px; }
body.lk-inner #compare-content th, body.lk-inner #compare-content td { border-color: var(--lk-line) !important; }

/* --------------------------------------------------------------------------
   14. Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
    .lk-li { grid-template-columns: 72px minmax(0, 1fr); gap: 14px 16px; padding: 18px 0; }
    .lk-li-thumb { width: 72px; height: 72px; }
    .lk-li-name { font-size: 17px; }
    .lk-li-buy { grid-column: 1 / -1; align-items: stretch; gap: 10px; }
    .lk-li-buy .lk-seg { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
    .lk-li-buy .lk-seg::-webkit-scrollbar { display: none; }
    .lk-li-price { justify-content: flex-start; font-size: 20px; }
    .lk-li-cta { justify-content: space-between; }
    .lk-li-cta .lk-btn { flex: 1; }
    .lk-skel { grid-template-columns: 72px 1fr; }
    .lk-skel .lk-skel-img { height: 72px; }
    .lk-skel .lk-skel-b, .lk-skel .lk-skel-p { display: none; }
    .lk-pdp { grid-template-columns: 1fr; grid-template-areas: "hero" "buy" "body"; gap: 20px; }
    .lk-pdp-buy { position: static; }
    .lk-pdp-hero { grid-template-columns: 1fr; gap: 16px; }
    .lk-pdp-img { height: 220px; }
    .lk-props { grid-template-columns: 1fr; }
    .lk-quote-grid { grid-template-columns: 1fr; }
    .lk-qsum { position: static; }
    .lk-quote-page { grid-template-columns: 1fr; }
    .lk-quote-page .lk-qsum { position: static; order: -1; }
    .lk-qo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .lk-page { padding: 16px 16px 48px; font-size: 14.5px; }
    .lk-h1 { font-size: 27px; }
    .lk-search-head .lk-h1 { font-size: 26px; }
    .lk-search-head { margin-bottom: 12px; }
    .lk-refine { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 6px; gap: 8px; -webkit-overflow-scrolling: touch; position: static; }
    .lk-refine::-webkit-scrollbar { display: none; }
    .lk-refine-lab { display: none; }
    .lk-refine .lk-chip { flex: 0 0 auto; }
    .lk-toolbar { padding: 8px 0 4px; }
    .lk-pop { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; border-radius: 18px 18px 0 0; box-shadow: var(--lk-shadow-sheet); padding: 12px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 82vh; overflow-y: auto; z-index: 520; }
    .lk-pop::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--lk-line-2); margin: 0 auto 12px; }
    .lk-pop-list { max-height: 44vh; }
    .lk-pop-list label { padding: 9px 2px; font-size: 14.5px; }
    .lk-sheet-back { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 515; display: none; }
    .lk-sheet-back.is-open { display: block; }
    .lk-props > div { grid-template-columns: 120px minmax(0, 1fr); padding: 9px 0; font-size: 13px; }
    .lk-calc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lk-pdp-h1 { font-size: 27px; }
    .lk-pdp-buy { padding: 16px; }
    .lk-buy-price b { font-size: 26px; }
    .lk-sticky { display: grid; }
    .lk-recs .rec-card { flex-basis: 180px; }
    .lk-recs .carousel-arrow { display: none; }
    .lk-crumb .lk-crumb-back { margin-left: 0; flex-basis: 100%; }
    /* Drawer → bottom sheet */
    .lk-drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 88vh; border-radius: 20px 20px 0 0; transform: translateY(105%); box-shadow: var(--lk-shadow-sheet); }
    .lk-drawer.active { transform: translateY(0); }
    .lk-drawer-head { padding: 22px 18px 12px; position: relative; }
    .lk-drawer-head::before { content: ""; position: absolute; top: 8px; left: 50%; width: 36px; height: 4px; border-radius: 2px; background: var(--lk-line-2); transform: translateX(-50%); }
    .lk-drawer-body { padding: 0 18px; }
    .lk-drawer-foot { padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); }
    /* Modal → full-height sheet */
    .lk-modal-overlay { padding: 0; align-items: flex-end; }
    .lk-modal { max-width: none; max-height: 94vh; border-radius: 18px 18px 0 0; }
    .lk-modal-head { padding: 16px 18px; }
    .lk-modal-body { padding: 18px 18px 26px; }
    .lk-form { grid-template-columns: 1fr; gap: 14px; }
    .lk-qo-paste .lk-textarea { min-height: 180px; }
    .lk-qo-foot { flex-direction: column; align-items: stretch; }
    .lk-qo-actions { display: grid; grid-template-columns: 1fr 2fr; }
    .lk-toast { bottom: 84px; }
    .lk-empty h3 { font-size: 22px; }
    .lk-source { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .lk-drawer, .lk-overlay, .lk-toast, .lk-sticky, .lk-btn, .lk-chip, .lk-seg-btn { transition: none !important; }
    .lk-skel span { animation: none; }
}

/* --------------------------------------------------------------------------
   15. Late additions
   -------------------------------------------------------------------------- */
.lk-refine-wrap { position: relative; }
.lk-li-price .price-inquire { font-size: 15px; color: var(--lk-muted); font-weight: 600; }
.lk-help:empty { display: none; }
.lk-sticky { bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
body.lk-sticky-open { padding-bottom: 140px; }
.lk-search .lk-sort { margin-left: auto; }
/* Recently viewed strip (engine/recently-viewed.js markup) */
.rv-section { margin-top: 44px; font-family: var(--lk-body); }
.rv-section .rv-title { font-family: var(--lk-head); font-size: 22px; letter-spacing: -.015em; margin: 0 0 16px; color: var(--lk-ink); }
.rv-section .rv-carousel { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; }
.rv-section .rv-carousel::-webkit-scrollbar { display: none; }
.rv-section .rv-card { flex: 0 0 200px; border: 1px solid var(--lk-line); border-radius: var(--lk-r); padding: 12px; text-decoration: none; color: var(--lk-ink); display: flex; flex-direction: column; gap: 8px; background: #fff; }
.rv-section .rv-card-img { height: 70px; background: #f8fafc; display: grid; place-items: center; overflow: hidden; }
.rv-section .rv-card-img img { max-height: 60px; max-width: 80%; object-fit: contain; mix-blend-mode: multiply; }
.rv-section .rv-card-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.rv-section .rv-card-sku { font-family: var(--lk-mono); font-size: 11.5px; color: var(--lk-muted); }
.rv-section .rv-card-price { font-size: 13px; font-weight: 600; }
.pdp-lightbox { z-index: 650; }

/* --------------------------------------------------------------------------
   16. Render-pass fixes
   -------------------------------------------------------------------------- */
/* Stack: the legacy header is a high z-index sticky; overlays must sit above it. */
.lk-overlay { z-index: 2100; }
.lk-drawer { z-index: 2110; }
.lk-sheet-back { z-index: 2105; }
.lk-modal-overlay { z-index: 2200; }
.lk-toast { z-index: 2300; }
.lk-sticky { z-index: 1995; }
@media (max-width: 768px) { .lk-pop { z-index: 2108; } }
.lk-seg-btn { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.lk-toast span { flex: 1 1 auto; min-width: 0; }
.lk-toast a { white-space: nowrap; }
/* quote.html: the legacy .qp-wrap capped the page at a single narrow column */
.lk-quote .qp-wrap, .lk-quote #qp-main { max-width: none !important; padding: 0 !important; margin: 0 !important; }
