/* Header search: replace the clipped red field outline with a neutral focus on the whole form. */
html body #header #search_widget form input[name="s"],
html body #header #search_widget form input[name="s"]:focus,
html body #header #search_widget form input[name="s"]:focus-visible{border:0!important;border-left:0!important;border-right:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important}
html body #header #search_widget form:focus-within{border-color:#aeb8c5!important;box-shadow:0 0 0 3px rgba(67,82,105,.12)!important}
#header #search_widget[data-lcj-smart]{position:relative}
.lcj-smart-panel{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:1050;background:#fff;border:1px solid #e5e8ec;border-radius:16px;box-shadow:0 12px 30px rgba(16,25,45,.10);padding:10px;max-height:min(520px,70vh);overflow:auto;text-align:left;color:#10192d}
.lcj-smart-panel[hidden]{display:none!important}
.lcj-smart-status{font-size:13px;line-height:1.4;color:#58637a;padding:4px 8px;margin:0 0 4px}
.lcj-smart-results{margin:0;padding:0;list-style:none}
.lcj-smart-option{display:flex;gap:12px;align-items:center;padding:9px 8px;border-radius:9px;text-decoration:none!important;color:#10192d!important;font-size:14px;line-height:1.35}
.lcj-smart-option:hover,.lcj-smart-option[aria-selected="true"]{background:#f8f5f2}
.lcj-smart-option img{width:44px;height:48px;object-fit:contain;flex:0 0 44px}
.lcj-smart-option>span{min-width:0;display:flex;flex-direction:column;gap:4px}
.lcj-smart-option small{font-size:11px;color:#657087}
.lcj-smart-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 8px 2px;border-top:1px solid #edf0f3;margin-top:6px}
.lcj-smart-tools button,.lcj-smart-tools a{font:inherit;font-size:13px;line-height:1.4;border-radius:999px;padding:8px 12px;text-decoration:none!important;cursor:pointer}
.lcj-smart-tools button{background:#fff3ef;color:#9d2c21;border:1px solid #f4d4c9}
.lcj-smart-tools button:disabled{opacity:.55;cursor:wait}
.lcj-smart-tools a{color:#435269;border:1px solid #e4e8ed;background:#fff}
@media(max-width:767px){.lcj-smart-panel{max-height:60vh}.lcj-smart-option{font-size:13px}.lcj-smart-tools{gap:6px}.lcj-smart-tools button,.lcj-smart-tools a{font-size:12px;padding:8px 10px}}

/* The native search widget uses overflow:auto and would clip this dropdown. */
html body #header #search_widget[data-lcj-smart]{overflow:visible!important;}

/* Compact, factual search details. A chip is a characteristic, never a stock badge. */
.lcj-result-facts{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0;min-width:0}
.lcj-fact{display:inline-flex;align-items:center;max-width:100%;padding:3px 7px;border:1px solid #eddcd5;border-radius:6px;background:#fff8f5;color:#435269;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.lcj-result-choice{font-size:12px;line-height:1.45;color:#4b586b;margin:6px 0}
.lcj-product .lcj-result-code{font-size:11px;color:#657087;margin:5px 0}
.lcj-smart-panel{display:flex;flex-direction:column;overflow:hidden}
.lcj-smart-results{overflow-y:auto;min-height:0;overscroll-behavior:contain}
.lcj-smart-status,.lcj-smart-tools{flex:0 0 auto}
.lcj-smart-copy{flex:1;min-width:0}
.lcj-smart-name{font-weight:600;overflow-wrap:anywhere}
.lcj-smart-option .lcj-result-facts{margin:1px 0;gap:4px}
.lcj-smart-option .lcj-result-choice{margin:0;color:#4b586b;font-size:11px}
.lcj-smart-option .lcj-result-code{font-size:10px}
.lcj-smart-option{align-items:flex-start}
.lcj-smart-option img{margin-top:2px}
#js-product-list .lcj-result-facts{padding:0 1px}
#js-product-list .lcj-result-choice{font-size:11px}
.lcj-product>.lcj-result-copy{min-width:0}
.lcj-product>.lcj-result-copy h3{min-height:0;margin:0 0 6px}
.lcj-home-board .lcj-product>.lcj-result-copy{grid-column:2;grid-row:1/3;align-self:center;min-width:0}
.lcj-home-board .lcj-result-copy h3{font-size:13px;line-height:1.35;margin:0 0 5px}
.lcj-home-board .lcj-result-copy h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lcj-home-board .lcj-result-copy .lcj-result-choice,.lcj-home-board .lcj-result-copy .lcj-result-code{font-size:11px;line-height:1.4;margin:4px 0}
.lcj-home-board .lcj-result-copy .lcj-result-facts{margin:4px 0}
@media(max-width:767px){.lcj-smart-panel{max-height:62vh}.lcj-smart-option{gap:8px}.lcj-smart-option img{width:36px;height:40px;flex-basis:36px}.lcj-fact{font-size:11px}.lcj-smart-option .lcj-fact{padding:2px 5px}}

/* Empty searches have recovery actions, separate from the product listbox. */
.lcj-empty{border:1px solid #eaded8;border-radius:12px;background:#fffaf7;padding:16px;text-align:left;color:#142039;min-width:0}
.lcj-empty-title{font-size:18px;line-height:1.3;margin:0 0 8px;font-weight:650}
.lcj-empty p{font-size:13px;line-height:1.5;margin:7px 0;overflow-wrap:anywhere}
.lcj-empty-query{color:#526078}
.lcj-empty-question{font-weight:600}
.lcj-empty-hint{color:#526078}
.lcj-empty-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.lcj-empty-actions button,.lcj-empty-actions a,.lcj-empty-code-form button{font:inherit;font-size:13px;line-height:1.4;padding:10px 12px;min-height:44px;border:1px solid #d9dfe7;border-radius:9px;background:#fff;color:#142039;cursor:pointer;text-decoration:none!important;text-align:center}
.lcj-empty-actions .lcj-empty-primary{border-color:#cf3b29;background:#fff1ec;color:#a02d20}
.lcj-empty button:focus-visible,.lcj-empty a:focus-visible,.lcj-empty summary:focus-visible{outline:2px solid #526078;outline-offset:3px}
.lcj-empty-code{font-size:13px;border-top:1px solid #eaded8;padding-top:10px;margin-top:12px}
.lcj-empty-code summary{cursor:pointer;min-height:32px;line-height:1.5;padding:5px 0}
.lcj-empty-code-form{display:flex!important;flex-wrap:wrap;align-items:end;gap:8px;margin-top:10px}
.lcj-empty-code-form label{display:flex;flex-direction:column;gap:5px;flex:1;min-width:130px;font-size:12px}
.lcj-empty-code-form input{width:100%;box-sizing:border-box;min-width:0;min-height:44px!important;font:inherit;padding:9px!important;border:1px solid #778295!important;border-radius:7px!important;outline-offset:2px;background:#fff}
.lcj-empty-list{display:inline-block;margin-top:10px;font-size:13px;text-decoration:underline;color:#a02d20!important}
.lcj-smart-empty{overflow-y:auto;min-height:0;overscroll-behavior:contain}
.lcj-smart-empty[hidden]{display:none!important}
.lcj-smart-empty .lcj-empty{padding:12px}.lcj-smart-empty .lcj-empty-title{font-size:16px}
.lcj-smart-empty .lcj-empty p{font-size:12px}.lcj-smart-empty .lcj-empty-actions{gap:6px}
.lcj-smart-empty .lcj-empty-actions button,.lcj-smart-empty .lcj-empty-actions a{font-size:12px;padding:9px}
.lcj-list-empty{grid-column:1/-1;width:100%;min-width:0}
html body #js-product-list .lcj-empty-host{max-width:760px;min-width:0;padding:0;margin:20px auto;text-align:left;box-shadow:none;background:transparent;border:0}
#header #search_widget .lcj-empty-code-form{position:static!important;width:100%!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
#header #search_widget .lcj-empty-code-form button{position:static!important;transform:none!important;width:auto!important;height:auto!important;min-height:44px!important;margin:0!important;padding:10px 12px!important}
#header #search_widget .lcj-empty-code-form input{position:static!important;width:100%!important;height:44px!important;padding:9px!important;font-size:13px!important;border:1px solid #778295!important;border-radius:7px!important;background:#fff!important}
html body #header #search_widget .lcj-empty-code-form input[name="lcj-code"]:focus{border:1px solid #778295!important;outline:2px solid rgba(67,82,105,.25)!important;outline-offset:2px!important;box-shadow:none!important}
html body #header #search_widget .lcj-empty-code-form label{text-align:left!important}

/* Confirmed typo proposals share the site's quiet warm palette. */
.lcj-typo{background:#f6f5f1;border:1px solid #e3e5e9;border-radius:12px;padding:12px;margin:12px 0;min-width:0;overflow-wrap:anywhere}
.lcj-typo .lcj-typo-title{font-weight:700;color:#111b30;margin:0 0 6px;font-size:15px;line-height:1.4}
.lcj-typo .lcj-typo-detail{margin:0 0 10px;font-size:13px;line-height:1.5;color:#46516a}
.lcj-typo .lcj-typo-confirm{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere;border:1px solid #d9dce3;border-radius:9px;background:#fff;color:#111b30;padding:9px 14px;line-height:1.4;cursor:pointer;box-shadow:none;font-weight:600}
.lcj-typo .lcj-typo-confirm:hover{border-color:#ff4538;background:#fff8f6}
.lcj-typo .lcj-typo-confirm:focus-visible{outline:2px solid #17263e;outline-offset:3px}
