.header-search.has-search-suggestions { position:relative; overflow:visible; }
.header-inner .has-search-suggestions .search-clear { position:absolute; right:80px; top:50%; transform:translateY(-50%); min-width:32px; width:32px; height:32px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--ach-muted); font-size:24px; line-height:1; }
.has-search-suggestions .search-clear[hidden] { display:none; }
.has-search-suggestions > button[type=submit] { border-radius:0 999px 999px 0; }
.search-suggestion-panel { z-index:1100; }
.has-search-suggestions input[type=search] { padding-right:42px; }
.search-clear { position:absolute; right:96px; top:8px; width:30px; height:30px; border:0; border-radius:8px; background:transparent; color:var(--ach-muted); cursor:pointer; font-size:25px; }
.search-clear[hidden],.search-suggestion-panel[hidden] { display:none!important; }
.search-suggestion-panel { position:absolute; inset:calc(100% + 7px) 0 auto; z-index:110; display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr); gap:0; max-height:min(620px,70vh); overflow:auto; border:1px solid var(--ach-line); border-top:3px solid var(--ach-accent); border-radius:0 0 14px 14px; background:#fff; box-shadow:0 14px 30px #2a161424; padding:8px; }
.search-suggestion-group { min-width:0; padding:12px; }
.search-suggestion-group + .search-suggestion-group { border-left:1px solid var(--ach-line); }
.search-suggestion-group h2 { margin:0 0 10px; font-size:.98rem; font-weight:750; line-height:1.4; color:var(--ach-ink); }
.search-suggestion-term { display:block; width:100%; min-height:42px; padding:10px; text-align:left; border:0; border-radius:8px; background:#fff; font:inherit; color:var(--ach-ink); cursor:pointer; line-height:1.4; }
.search-suggestion-term:hover,.search-suggestion-term[aria-selected=true],.search-suggestion-product:hover,.search-suggestion-product[aria-selected=true] { background:var(--ach-accent-soft); }
.search-suggestion-product { display:flex; gap:12px; align-items:center; min-height:84px; padding:10px 8px; border-bottom:1px solid var(--ach-line); border-radius:8px; text-decoration:none; color:var(--ach-ink); }
.search-suggestion-product:last-child { border-bottom:0; }
.search-suggestion-product img { flex:0 0 64px; width:64px; height:64px; object-fit:contain; background:#fff; border-radius:6px; }
.search-suggestion-product-body { display:block; min-width:0; }
.search-suggestion-product-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:.88rem; line-height:1.45; }
.search-suggestion-prices { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:4px; font-size:.9rem; }
.search-suggestion-prices strong { color:var(--ach-accent-dark); }
.search-suggestion-discount { font-size:.75rem; font-weight:750; padding:2px 6px; border-radius:5px; color:#176b38; background:#e7f7eb; }
.search-suggestion-empty { margin:8px 0; color:var(--ach-muted); font-size:.875rem; line-height:1.5; }
.search-suggestion-panel :focus-visible,.search-clear:focus-visible { outline:3px solid var(--ach-accent); outline-offset:1px; }
@media(max-width:767px) { .search-suggestion-panel { grid-template-columns:minmax(0,1fr); max-height:65vh; }.search-suggestion-group{padding:8px;}.search-suggestion-group + .search-suggestion-group{border-left:0;border-top:1px solid var(--ach-line);}.search-suggestion-group:first-child .search-suggestion-term:nth-of-type(n+4){display:none;}.search-suggestion-product{min-height:78px;} }

.header-inner .header-search .search-suggestion-term { width:100%; min-width:0; padding:10px; background:#fff; color:var(--ach-ink); border-radius:8px; font-weight:400; }
.header-inner .header-search .search-suggestion-term:hover,.header-inner .header-search .search-suggestion-term[aria-selected=true] { background:var(--ach-accent-soft); }

.header-search input[type=search]::-webkit-search-cancel-button { -webkit-appearance:none; appearance:none; }
