/* V10.25: Mobile keyboard-safe catalogue search overlay */
.smb-search-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.smb-category-chooser .smb-home-search-label{margin-bottom:7px}
.smb-search-close{appearance:none;border:1px solid #d9def5;border-radius:999px;background:#fff;color:#24395f;padding:7px 12px;font:700 12px/1.2 system-ui,sans-serif;cursor:pointer}
.smb-search-close span{font-size:17px;vertical-align:-1px;margin-left:4px}
@media (max-width:760px){
 body.smb-search-modal-open{overflow:hidden!important}
 body.smb-search-modal-open::before{content:"";position:fixed;inset:0;background:rgba(20,29,57,.53);backdrop-filter:blur(4px);z-index:9997}
 body.smb-search-modal-open .smb-bottom-nav{display:none!important}
 .smb-category-chooser #smbSearchPanel:not([hidden]){position:fixed!important;z-index:9998!important;top:8px!important;left:10px!important;right:10px!important;width:auto!important;max-width:none!important;height:calc(var(--smb-search-viewport-height, 100dvh) - 16px)!important;max-height:calc(var(--smb-search-viewport-height, 100dvh) - 16px)!important;margin:0!important;padding:14px 12px 12px!important;box-sizing:border-box;display:flex!important;flex-direction:column;gap:8px;overflow:hidden!important;border:1px solid #dce3ff;border-radius:22px;background:linear-gradient(180deg,#f7f5ff 0%,#fff 38%);box-shadow:0 22px 70px #141b4145;animation:smbSearchModalEnter .23s ease-out both}
 .smb-category-chooser #smbSearchPanel .smb-home-search-label{font-size:15px;margin:0;color:#152849}
 .smb-category-chooser #smbSearchPanel .smb-search-close{flex-shrink:0;min-height:37px}
 .smb-category-chooser #smbSearchPanel .smb-home-search-field{flex-shrink:0;width:100%;margin:0;height:52px!important;min-height:52px!important}
 .smb-category-chooser #smbSearchPanel .smb-home-search-field input{min-width:0;flex:1;font-size:16px!important}
 .smb-category-chooser #smbSearchPanel .smb-search-hint{flex-shrink:0;margin:0 2px 2px;color:#64748b;font-size:11px;line-height:1.35}
 .smb-category-chooser #smbSearchPanel .smb-home-search-results:not([hidden]){display:block!important;flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto!important;overflow-x:hidden;margin:0!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:1px solid #dce4fa;border-radius:14px;background:white}
 .smb-category-chooser #smbSearchPanel .smb-home-search-results[hidden]{display:none!important}
 .smb-category-chooser #smbSearchPanel .search-result-label{position:sticky;top:0;z-index:1}
 .smb-category-chooser #smbSearchPanel .search-item{width:100%;min-height:58px;touch-action:manipulation}
}
@keyframes smbSearchModalEnter{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.smb-category-chooser #smbSearchPanel:not([hidden]){animation:none!important}}
