.max-header .max-search{position:relative;display:block;min-width:0}
.max-header .max-search form{margin:0}
.max-header .max-search input{min-width:0}
.max-header .max-search button{display:flex;align-items:center;justify-content:center;padding:0 12px;min-width:44px}
.max-header .max-search-panel{position:absolute;top:calc(100% + 6px);right:0;width:max(100%,360px);max-width:calc(100vw - 20px);max-height:65vh;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 12px 36px #0003;z-index:10001;color:#17212b;text-align:left}
.max-header .max-search-panel[hidden]{display:none}
.max-header .max-search-status:empty{display:none}
.max-header .max-search-status,.max-header .max-search-empty{padding:14px;margin:0;font-size:14px}
.max-header .max-search-result{display:flex;gap:12px;align-items:center;padding:12px;text-decoration:none;color:#17212b;border-bottom:1px solid #f0f0f0;min-height:60px}
.max-header .max-search-result strong{display:block;font-size:14px;line-height:1.35;font-weight:700}
.max-header .max-search-result small{display:block;margin-top:4px;font-size:13px;color:#555}
.max-header .max-search-thumb{width:48px;height:48px;object-fit:contain;flex-shrink:0}
.max-header .max-search-all{display:block;padding:14px;text-align:center;font-size:14px;font-weight:700;color:#ba4400;text-decoration:none}
.max-header [role=option]:hover,.max-header [aria-selected=true],.max-header [role=option]:focus-visible{background:#fff3e9;outline:2px solid #ff6900;outline-offset:-2px}
@media(max-width:900px){
 .max-header .max-topbar{display:none}
 .max-header .max-main{grid-template-columns:44px minmax(0,1fr) auto;gap:7px;padding:8px 10px 6px;position:relative}
 .max-header .max-logo{grid-area:1/1;display:block}
 .max-header .max-logo img{width:44px;height:44px;max-width:44px;max-height:44px}
 .max-header .max-search{grid-area:1/2;position:static;order:0}
 .max-header .max-search form{height:42px;border-radius:12px}
 .max-header .max-search input{padding:8px 9px;font-size:16px;line-height:1.2}
 .max-header .max-search button{min-width:36px;width:36px;padding:0;flex-shrink:0}
 .max-header .max-actions{grid-area:1/3;gap:4px}
 .max-header .max-action{width:34px;height:42px;font-size:19px;border-radius:10px}
 .max-header .max-nav-links{grid-area:2/1/3/4;gap:6px;flex-wrap:nowrap}
 .max-header .max-nav-links .max-services-btn{min-height:32px;height:32px;flex:1;font-size:11px;padding:7px 5px;border-radius:8px;line-height:1.15}
 .max-header .max-search-panel{top:54px;left:10px;right:10px;width:auto;max-width:none;max-height:60vh}
 .mc-cats-wrap{gap:6px;padding:5px 10px 8px}
 .mc-cats-wrap .mc-cat{flex-direction:row;gap:6px;min-width:0;min-height:36px;padding:6px 10px;border-radius:10px;flex-shrink:0}
 .mc-cats-wrap .mc-icon{width:24px;height:24px;flex-shrink:0;border-radius:6px;font-size:17px;margin:0;box-shadow:none}
 .mc-cats-wrap .mc-cat span{font-size:11px;white-space:nowrap;line-height:1.2}
}
@media(max-width:359px){.max-header .max-main{padding-left:6px;padding-right:6px;gap:4px;grid-template-columns:36px minmax(0,1fr) auto}.max-header .max-logo img{width:36px;height:36px}.max-header .max-actions{gap:2px}.max-header .max-action{width:28px}.max-header .max-nav-links .max-services-btn{font-size:10px}}
