.unified-header .site-search{position:relative;overflow:visible!important;isolation:isolate}
/* Match the scrolled header's specificity before removing its shadow clip. */
body>.unified-header.has-search-open{z-index:80!important;clip-path:none;box-shadow:0 8px 24px #0002!important;transition:none}
.unified-header.has-search-open::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:inherit;z-index:-1;pointer-events:none}
.site-search input[type=search]::-webkit-search-cancel-button,.site-search input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
.site-search input{min-width:0;padding-right:34px!important}
/* Крестик и «назад» — не кнопки-лупы: общее правило .search button даёт им 44px и чёрную заливку при наведении, здесь это гасится. */
.unified-header .site-search .site-search-clear,.unified-header .site-search .site-search-close{width:34px!important;min-width:0!important;height:34px;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#696368!important;font-size:23px;line-height:1;flex:none;box-shadow:none!important}
.unified-header .site-search .site-search-clear:hover,.unified-header .site-search .site-search-clear:focus-visible,.unified-header .site-search .site-search-close:hover,.unified-header .site-search .site-search-close:focus-visible{background:#f1eef0!important;color:#252525!important}
.unified-header .site-search .site-search-clear{position:absolute;right:54px;top:7px}
/* Лупа: общее правило даёт 44px + отступы 3px в коробке 48px — кнопка вылезала за нижний край. Здесь 40px по центру, как на странице товара. */
.unified-header .site-search>button[type=submit]{flex:none;align-self:center;width:40px!important;min-width:0!important;height:40px!important;min-height:0!important;margin:0 3px 0 0!important;padding:0!important;border-radius:10px}
/* Рамку фокуса показывает сама коробка (.search:focus-within); собственная рамка поля (ui-fixes.css input:focus-visible) рисовалась поверх неё полоской слева от лупы. */
.unified-header .site-search input:focus-visible{outline:none}
.unified-header .site-search .site-search-close{display:none}
.site-search-panel{position:absolute;z-index:100;top:calc(100% + 8px);left:-1px;right:-1px;min-width:360px;max-height:min(75vh,670px);overflow:auto;background:#fff;border:1px solid #e4e0e2;border-radius:12px;box-shadow:0 16px 42px #26151b26;color:#252124;text-align:left}
.site-search-panel[hidden],.site-search [hidden]{display:none!important}
.site-search-status,.site-search-group{padding:14px 16px 9px;font-size:12px;font-weight:600;color:#787277}
.site-search-panel a{text-decoration:none!important;color:#252124!important;letter-spacing:normal}
.site-search-product{display:flex;gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid #f0edef}
.site-search-image{display:grid;place-items:center;width:58px;height:58px;flex:none;border-radius:5px;background:#fafafa}
.site-search-image img{width:100%;height:100%;object-fit:contain}
.site-search-copy{display:grid;gap:4px;flex:1;min-width:0}
.site-search-copy b{font-size:12px;line-height:1.45;font-weight:650;overflow-wrap:anywhere}
.site-search-copy small{font-size:10px;color:#787277}
.site-search-product strong{font-size:12px;white-space:nowrap;align-self:center}
.site-search-panel [role=option]:hover,.site-search-panel [aria-selected=true]{background:#fff1f3;outline:none}
.site-search-recent,.site-search-category,.site-search-all{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;font-size:13px}
.site-search-category small{color:#787277}
.site-search-all{border-top:1px solid #f0edef;color:#c9002d!important;font-weight:700}
@media(max-width:600px){
 .unified-header .site-search.is-open{position:fixed!important;top:8px!important;left:12px!important;right:12px!important;width:auto!important;z-index:100!important;box-shadow:0 0 0 12px #fff!important}
 .unified-header .site-search.is-open .site-search-close{display:block;margin-left:6px!important}
 .site-search-panel{min-width:0;max-height:calc(100dvh - 80px);top:calc(100% + 10px)}
 .site-search-product{padding:11px 12px;gap:9px}.site-search-image{width:44px;height:50px}
 .site-search-product strong{font-size:11px;white-space:normal;max-width:85px;text-align:right}
}
.site-search-direction{display:flex;align-items:center;gap:12px;padding:12px 16px;font-size:13px}
.site-search-direction-copy{display:grid;gap:3px;min-width:0;flex:1}
.site-search-direction-copy b{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.site-search-direction-copy small{font-size:10px;font-weight:500;color:#787277}
.site-search-direction-count{font-size:11px;color:#787277;flex:none}
@media(max-width:600px){.site-search-direction{padding:11px 12px}.site-search-direction-copy b{font-size:12px}}

/* Explain automatic corrections and keep both query choices easy to read. */
.search-correction{display:grid;gap:4px;text-align:left;line-height:1.55;letter-spacing:normal;overflow-wrap:anywhere}
.search-correction-main{color:#303134;font-size:15px;font-weight:400}
.search-correction-original{color:#70757a;font-size:13px;font-weight:400}
.search-correction a,.site-search-panel .search-correction a{color:#1a56b8!important;text-decoration:none!important}
.search-correction-main b{font-weight:700;font-style:italic}
.search-correction a:hover,.site-search-panel .search-correction a:hover{text-decoration:underline!important;text-underline-offset:3px}
.search-correction a:focus-visible{outline:2px solid #1a56b8;outline-offset:3px;border-radius:2px}
.site-search-status:has(.search-correction){padding:16px 18px 14px}
@media(max-width:600px){.search-correction-main{font-size:14px}.site-search-status:has(.search-correction){padding:14px 12px}}
