.header{z-index:40}.header .search{position:relative;overflow:visible}.search-suggestions{position:absolute;top:calc(100% + 10px);left:0;right:0;min-width:320px;max-height:min(520px,70vh);overflow-y:auto;border:1px solid var(--line,#e2e6eb);background:#fff;color:var(--ink,#182231);border-radius:16px;box-shadow:0 18px 50px #14202e26;animation:search-reveal .18s ease-out}.search-suggestions[hidden]{display:none}.search-suggestions ul{list-style:none;padding:0;margin:0}.search-summary,.search-message{font-size:12px;line-height:1.6;padding:13px 16px;margin:0;color:var(--muted,#667382)}.search-summary{border-bottom:1px solid var(--line,#e2e6eb)}.search .search-result-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;text-align:left;border-bottom:1px solid var(--line,#e2e6eb);border-radius:0;background:none;color:inherit}.search-result-row:hover,.search-result-row:focus-visible{background:#fff1e9;outline:2px solid #ff7b45;outline-offset:-2px}.search-result-row>img,.search-image-placeholder{width:52px;height:52px;flex:none;object-fit:contain;background:#f5f6f7;border-radius:9px;padding:4px}.search-image-placeholder{display:grid;place-items:center;color:#7c8793}.search-result-info{flex:1;min-width:0;display:block}.search-result-info>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.search-result-info>small{display:block;font-size:10px;color:var(--muted,#667382);margin:2px 0}.search-result-price{font-size:12px;font-weight:750;display:block;line-height:1.4}.search-result-price small{display:none}.search-result-row .stock-status{font-size:10px;margin:2px 0 0}.search-result-row>svg{width:16px;height:16px;flex:none;color:var(--accent,#ff4d08)}.search .search-view-all{display:flex;align-items:center;justify-content:center;width:calc(100% - 20px);gap:8px;margin:10px;padding:12px;border-radius:10px;background:var(--accent,#ff4d08);color:#fff;font-size:12px;font-weight:750}.search-view-all svg{width:17px;height:17px}#search-results-dialog{width:min(1200px,94vw)}#search-results-title{font-size:19px;line-height:1.4;overflow-wrap:anywhere}#search-results-count{font-size:12px;color:var(--muted);margin-top:5px}#search-results-close{font-size:28px;padding:5px 10px;flex:none}#search-results-grid{padding:22px;gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}#search-results-grid .product-card{min-height:300px}#search-results-grid .product-image{height:180px;max-height:none}.catalog .product-card{height:auto;min-height:310px}.search-suggestions :focus-visible{outline:2px solid #ff7b45;outline-offset:-2px}html[data-theme=dark] .search-suggestions{background:#202832;color:#f5f7fa;border-color:#394553;box-shadow:0 18px 50px #0007}html[data-theme=dark] .search-result-row:hover,html[data-theme=dark] .search-result-row:focus-visible{background:#353033}html[data-theme=dark] .search-result-info>small,html[data-theme=dark] .search-summary,html[data-theme=dark] .search-message{color:#b5c0cd}html[data-theme=dark] #search-results-dialog{background:#18212b;color:#fff}html[data-theme=dark] #search-results-dialog .product-page-bar{background:#202832}@keyframes search-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:800px){.search-suggestions{min-width:0;max-height:min(480px,65vh)}#search-results-grid{padding:14px;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}#search-results-grid .product-image{height:135px;min-height:100px}#search-results-grid .product-card{min-height:265px}#search-results-grid .product-price{font-size:13px}#search-results-grid .product-bottom{gap:5px}#search-results-grid .product-open{width:36px;height:36px;border-radius:10px}#search-results-title{font-size:16px}.catalog .product-card{height:285px;min-height:285px}}@media(max-width:360px){#search-results-grid{grid-template-columns:1fr}#search-results-grid .product-image{height:170px}}@media(prefers-reduced-motion:reduce){.search-suggestions{animation:none}}
