/* AtlasMehr compact search-first header v1.4 */
.am-topbar,.am-search-panel{display:none!important}
.am-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #e7edf1;box-shadow:0 4px 16px rgba(13,35,49,.04);backdrop-filter:none}
.am-header-inner{height:74px;display:grid;grid-template-columns:auto minmax(260px,650px) auto;justify-content:space-between;align-items:center;gap:28px;position:relative}
.am-brand{min-width:max-content;gap:9px}.am-brand .custom-logo{max-height:47px;max-width:205px;width:auto}
.am-brand-mark{width:40px;height:40px;border-radius:4px;background:#0b344c;display:grid;place-items:center;color:#fff;font-size:20px;font-weight:900}
.am-brand-copy{display:flex;flex-direction:column;line-height:1.4}.am-brand-copy strong{font-size:15px;color:#102b3a}.am-brand-copy small{font-size:9px;color:#7d8c95;font-weight:500}
.am-header-search form{height:43px;display:flex;direction:rtl;border:1px solid #dbe5ea;background:#f7fafb;border-radius:5px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.am-header-search form:focus-within{border-color:#85c8df;box-shadow:0 0 0 3px rgba(21,155,211,.09);background:#fff}
.am-header-search input[type=search]{min-width:0;flex:1;border:0!important;outline:0;background:transparent;padding:0 16px;font:12px Tahoma,Arial,sans-serif;color:#213843;box-shadow:none!important}
.am-header-search input[type=submit],.am-header-search button{width:48px;border:0;background:#0d7fa9;color:#fff;font-size:0;cursor:pointer;position:relative}
.am-header-search button:after,.am-header-search input[type=submit]{background-color:#0d7fa9}
.am-header-search button:before{content:"⌕";font-size:25px;line-height:1;color:#fff}
.am-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}
.am-icon-btn,.am-menu-toggle{width:39px;height:39px;border:0;border-radius:4px;background:#f3f7f8;color:#344b57;display:grid;place-items:center;cursor:pointer;transition:.2s}
.am-icon-btn:hover,.am-menu-toggle:hover{background:#e8f1f4;color:#0878aa}.am-icon-btn svg{width:19px;height:19px}
.am-menu-toggle{display:grid}
.am-header-phone{height:39px;padding:0 13px;display:flex;align-items:center;gap:7px;border-radius:4px;background:#0d7fa9;color:#fff;font-size:11px;font-weight:700}
.am-header-phone:hover{background:#096b90;color:#fff}.am-header-phone svg{width:17px;height:17px}
.am-cart-count{top:-3px;inset-inline-end:-3px;min-width:17px;height:17px;font-size:9px;border:2px solid #fff}
.am-nav{display:none;position:absolute;top:100%;inset-inline-end:0;width:min(320px,calc(100vw - 32px));padding:10px 18px 18px;background:#fff;border:1px solid #e7edf1;box-shadow:0 18px 35px rgba(13,35,49,.11)}
.am-nav.is-open{display:block}.am-nav ul{display:block}.am-nav li{margin:0}.am-nav a{display:block;padding:10px 5px;border-bottom:1px solid #eef2f4;font-size:12px;font-weight:700}.am-nav li:last-child a{border-bottom:0}.am-nav a:after{display:none}.am-nav a:hover{color:#0878aa;padding-inline-start:10px}
@media(max-width:900px){.am-header-inner{grid-template-columns:auto 1fr auto;gap:14px}.am-header-phone span{display:none}.am-header-phone{width:39px;padding:0;justify-content:center}.am-brand-copy{display:none}}
@media(max-width:620px){.am-header-inner{height:auto;min-height:66px;grid-template-columns:1fr auto;gap:10px;padding-block:10px}.am-brand .custom-logo{max-height:42px;max-width:175px}.am-header-search{grid-column:1/-1;grid-row:2}.am-header-search form{height:41px}.am-cart-button{display:none}.am-header-phone{display:none}.am-nav{top:66px}.am-brand-mark{width:38px;height:38px}}
