/* Maava Store Header — fresh visual system */
.store-header-root{position:relative;z-index:1000}
.store-header{
  --ink:#15181d;--ink-soft:#2b3037;--muted:#8b929c;--line:#e8eaed;--soft:#f5f6f8;
  position:relative;z-index:100;isolation:isolate;direction:rtl;
  background:var(--header-surface,#171b21)!important;border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 6px 26px rgba(16,20,27,.055)
}
.store-header-inner{width:min(1360px,calc(100% - 48px));margin:auto}
.store-header-top{
  min-height:94px;display:grid;grid-template-columns:205px minmax(320px,1fr) auto;
  align-items:center;gap:34px
}

/* Brand */
.store-brand{min-width:0;display:flex;align-items:center}
.store-brand a{
  min-height:62px;max-width:200px;padding:5px 10px;display:flex;align-items:center;
  border-radius:18px;text-decoration:none!important;transition:.2s ease
}
.store-brand a:hover{background:#f7f8fa;transform:translateY(-1px)}
.store-brand img{display:block;width:auto;max-width:185px;max-height:68px;object-fit:contain}

/* Search */
.store-search{position:relative;width:100%;max-width:800px;margin:auto}
.store-search input{
  width:100%;height:58px;padding:0 24px 0 76px;border:1px solid #dfe3e8;
  border-radius:19px;outline:0;background:#f6f7f9;color:var(--ink);
  font:13px inherit;box-shadow:inset 0 1px 0 #fff;
  transition:border-color .2s,background .2s,box-shadow .2s
}
.store-search input:hover{border-color:#d2d7dd}
.store-search input:focus{
  background:#fff;border-color:#b9c0c8;
  box-shadow:0 0 0 4px rgba(21,24,29,.05),0 10px 28px rgba(21,24,29,.05)
}
.store-search input::placeholder{color:#9aa1aa}
.store-search button{
  position:absolute;left:8px;top:8px;width:42px;height:42px;padding:0;border:0;
  border-radius:13px;background:var(--ink)!important;color:#fff!important;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  box-shadow:0 7px 17px rgba(21,24,29,.16);transition:.2s ease
}
.store-search button:hover{background:#000!important;transform:translateY(-1px)}
.store-search button i{color:#fff!important;font-size:16px}

/* Actions */
.store-actions{display:flex;align-items:center;gap:8px}
.store-account,.store-cart{
  height:50px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:16px;text-decoration:none!important;transition:.2s ease
}
.store-account-full{
  min-width:170px;padding:0 16px;gap:9px;border:1px solid var(--line);
  background:rgba(255,255,255,.08);color:#fff!important;font-size:12px;font-weight:650;white-space:nowrap
}
.store-account-full i{font-size:19px;color:#d8dde3!important}
 .store-account-full:hover{background:rgba(255,255,255,.13);border-color:#cfd4da;box-shadow:0 9px 24px rgba(20,24,31,.08);transform:translateY(-1px)}
.store-account-icon{display:none;width:45px;background:rgba(255,255,255,.08);color:#fff!important}
.store-account-icon i{font-size:19px;color:#fff!important}
.store-cart{
  position:relative;width:52px;background:var(--ink)!important;color:#fff!important;
  box-shadow:0 9px 22px rgba(20,24,31,.16)
}
.store-cart:hover{background:#000!important;color:#fff!important;transform:translateY(-2px);box-shadow:0 13px 27px rgba(20,24,31,.2)}
.store-cart i{font-size:20px;color:#fff!important}
.store-cart-count{
  position:absolute;top:-6px;right:-6px;min-width:21px;height:21px;padding:0 5px;
  display:flex;align-items:center;justify-content:center;border:2px solid #fff;
  border-radius:20px;background:var(--ink);color:#fff;font-size:9px;font-weight:900
}

/* Navigation */
.store-navigation{min-height:58px;border-top:1px solid #f0f1f3;background:transparent}
.store-navigation-main{min-height:58px;display:flex;align-items:center;gap:5px;padding:5px 0 7px}
.store-nav-item,.store-catalog{position:relative}
.store-nav-link,.store-nav-item>a,.store-catalog-trigger{
  height:43px;padding:0 16px;display:flex;align-items:center;justify-content:center;gap:8px;
  border:0;border-radius:12px;background:transparent;color:var(--header-menu-color,#f3f5f7)!important;
  font-family:inherit;font-size:12px;font-weight:650;line-height:1;text-decoration:none!important;
  white-space:nowrap;cursor:pointer;transition:.18s ease
}
.store-nav-link:hover,.store-nav-item>a:hover{background:var(--header-hover-color,#303640);color:#fff!important;transform:translateY(-1px)}
.store-nav-link i{font-size:14px}
.store-catalog-trigger{
  min-width:180px;background:var(--ink)!important;color:#fff!important;
  box-shadow:0 7px 18px rgba(21,24,29,.13)
}
.store-catalog-trigger:hover{background:#000!important;color:#fff!important;transform:translateY(-1px)}
.store-catalog-trigger i:first-child{font-size:15px}.store-catalog-trigger i:last-child{font-size:9px}

/* Dropdowns */
.store-catalog-menu,.store-nav-dropdown{
  position:absolute;right:0;top:calc(100% + 7px);z-index:99999;display:none;padding:8px;
  border:1px solid #e1e4e8;border-radius:17px;background:#fff;
  box-shadow:0 24px 60px rgba(15,18,24,.14),0 3px 10px rgba(15,18,24,.035)
}
.store-catalog-menu{width:290px}
.store-catalog:hover>.store-catalog-menu,.store-nav-item:hover>.store-nav-dropdown{display:block}
.store-menu-item{position:relative}
.store-menu-item>a,.store-menu-disabled{
  min-height:47px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;
  gap:8px;border-radius:11px;color:var(--ink)!important;font-size:12px;text-decoration:none!important
}
.store-menu-item>a:hover{background:#f5f6f8}
.store-menu-item>a>span{display:flex;align-items:center;gap:9px}
.store-menu-item>a>span i{
  width:28px;height:28px;display:flex;align-items:center;justify-content:center;
  border-radius:9px;background:#f0f2f4;color:#626a74
}
.store-menu-disabled{color:#999}
.store-menu-disabled small,.store-submenu small,.store-nav-dropdown small{margin-right:auto;color:#c78a1a;font-size:8px}
.store-submenu{
  position:absolute;right:calc(100% - 2px);top:0;width:250px;padding:8px;display:none;
  border:1px solid #e1e4e8;border-radius:16px;background:#fff;box-shadow:0 24px 60px rgba(15,18,24,.14)
}
.store-menu-item:hover>.store-submenu{display:block}
.store-submenu a,.store-nav-dropdown a{
  min-height:43px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;
  gap:8px;border-radius:10px;color:var(--ink)!important;font-size:11px;text-decoration:none!important
}
.store-submenu a:hover,.store-nav-dropdown a:hover{background:#f5f6f8}
.store-submenu a i,.store-nav-dropdown a i{color:#969da6;font-size:10px}
.store-nav-dropdown{min-width:240px}.store-link-warning{color:#bd7e10!important}

/* Mobile */
.store-menu-trigger{display:none}
.mobile-drawer{position:fixed;inset:0;z-index:999999;visibility:hidden;pointer-events:none}
.mobile-drawer.open{visibility:visible;pointer-events:auto}
.mobile-drawer-overlay{
  position:absolute;inset:0;background:rgba(8,11,16,.64);backdrop-filter:blur(8px);
  opacity:0;transition:opacity .3s ease
}
.mobile-drawer.open .mobile-drawer-overlay{opacity:1}
.mobile-drawer-panel{
  position:absolute;top:0;right:0;width:min(92vw,430px);height:100%;
  display:flex;flex-direction:column;overflow:hidden;background:#fff;
  box-shadow:-24px 0 65px rgba(0,0,0,.22);transform:translateX(100%);
  transition:transform .4s cubic-bezier(.22,.61,.36,1)
}
.mobile-drawer.open .mobile-drawer-panel{transform:translateX(0)}
.mobile-drawer-header{
  min-height:78px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid #eef0f2
}
.mobile-brand img{display:block;max-width:138px;max-height:51px;object-fit:contain}
.mobile-close{
  width:43px;height:43px;padding:0;border:1px solid #e8eaed;border-radius:14px;
  background:#f6f7f8;color:#20242a;font-size:16px;cursor:pointer;transition:.2s ease
}
.mobile-close:hover{background:#eceef1;transform:rotate(4deg)}
.mobile-store-status{display:flex;align-items:center;gap:8px;padding:12px 19px 1px;color:#737a84;font-size:11px}
.mobile-store-status small{margin-right:auto;color:#a1a6ad;font-size:9px}
.status-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.1)}
.mobile-search{
  height:55px;margin:13px 16px 2px;padding:0 8px 0 14px;display:flex;align-items:center;
  border:1px solid #e5e8eb;border-radius:17px;background:#f7f8f9;transition:.2s ease
}
.mobile-search:focus-within{border-color:#c5cbd2;background:#fff;box-shadow:0 0 0 4px rgba(21,24,29,.04)}
.mobile-search>i{color:#8d949d}
.mobile-search input{flex:1;min-width:0;padding:0 10px;border:0;outline:0;background:transparent;font:13px inherit}
.mobile-search button{width:40px;height:40px;padding:0;border:0;border-radius:12px;background:var(--ink);color:#fff}
.mobile-section-title{padding:18px 19px 10px;display:flex;align-items:center;justify-content:space-between}
.mobile-section-title div{display:flex;flex-direction:column;gap:4px}
.mobile-section-title small{color:#9a9fa7;font-size:9px}
.mobile-section-title strong{color:#171a1f;font-size:15px}
.mobile-section-title>span{
  min-width:31px;height:31px;padding:0 8px;display:flex;align-items:center;justify-content:center;
  border-radius:10px;background:#f0f1f3;color:#626a73;font-size:10px;font-weight:700
}
.mobile-categories{flex:1;overflow-y:auto;padding:2px 14px 120px;scrollbar-width:none}
.mobile-categories::-webkit-scrollbar{display:none}
.mobile-category-card{
  margin-bottom:8px;overflow:hidden;border:1px solid #e8eaed;border-radius:17px;background:#fff;
  transition:border-color .2s,box-shadow .2s
}
.mobile-category-card.active{border-color:#d7dbe0;box-shadow:0 10px 25px rgba(20,24,30,.06)}
.mobile-category-row{min-height:70px;display:flex;align-items:center}
.mobile-category-link{flex:1;min-width:0;padding:9px 10px;display:flex;align-items:center;gap:11px;color:#222!important;text-decoration:none!important}
.mobile-category-icon{width:49px;height:49px;min-width:49px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#f2f3f5}
.mobile-category-icon i{color:#5f6771;font-size:19px}
.mobile-category-text{min-width:0;display:flex;flex-direction:column;gap:4px}
.mobile-category-text strong{overflow:hidden;color:#20242b;font-size:12px;white-space:nowrap;text-overflow:ellipsis}
.mobile-category-text small{color:#a0a5ad;font-size:9px}
.mobile-category-arrow{
  width:47px;height:56px;padding:0;border:0;background:transparent;color:#9198a1;
  display:flex;align-items:center;justify-content:center;text-decoration:none!important
}
.mobile-category-card.active .mobile-category-arrow i{transform:rotate(180deg)}
.mobile-subcategories{display:none;padding:5px 11px 9px;border-top:1px solid #f0f1f3;background:#fafafa}
.mobile-category-card.active .mobile-subcategories{display:block}
.mobile-subcategory{
  min-height:42px;padding:0 8px;display:flex;align-items:center;gap:9px;
  border-bottom:1px dashed #e5e7ea;color:#555!important;font-size:11px;text-decoration:none!important
}
.mobile-subcategory:last-child{border-bottom:0}
.mobile-subcategory span{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#adb3bb}
.mobile-quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:9px 14px;border-top:1px solid #eceef0;background:#fff}
.mobile-quick-links a{
  min-height:42px;display:flex;align-items:center;justify-content:center;gap:5px;
  border-radius:12px;background:#f5f6f8;color:#555!important;font-size:9px;text-decoration:none!important
}
.mobile-bottom-nav{
  position:absolute;right:0;bottom:0;left:0;height:72px;padding:5px 8px 7px;
  display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #e9ebee;
  background:rgba(255,255,255,.97);backdrop-filter:blur(14px)
}
.mobile-bottom-nav a,.mobile-bottom-nav button{
  padding:0;border:0;background:transparent;color:#989ea6!important;display:flex;
  flex-direction:column;align-items:center;justify-content:center;gap:3px;font-family:inherit;font-size:9px;text-decoration:none!important
}
.mobile-bottom-nav i{font-size:18px}.mobile-bottom-nav .active{color:var(--ink)!important}
.mobile-cart-icon{position:relative}
.mobile-cart-icon b{
  position:absolute;top:-7px;right:-9px;min-width:15px;height:15px;padding:0 3px;
  display:flex;align-items:center;justify-content:center;border-radius:20px;background:var(--ink);color:#fff;font-size:8px
}

/* Responsive */
@media(max-width:1100px){
  .store-header-inner{width:calc(100% - 34px)}
  .store-header-top{grid-template-columns:175px minmax(280px,1fr) auto;gap:20px}
  .store-account-full{min-width:150px}
}
@media(max-width:991px){
  .store-header-inner{width:calc(100% - 22px)}
  .store-header-top{min-height:74px;grid-template-columns:44px 1fr auto;gap:8px}
  .store-menu-trigger{
    width:44px;height:44px;padding:0;border:1px solid #e5e8eb;border-radius:14px;background:#f7f8fa;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer
  }
  .store-menu-trigger span{width:20px;height:2px;border-radius:9px;background:#171a1f}
  .store-brand{justify-content:center}.store-brand a{min-height:54px;padding:4px 8px}
  .store-brand img{max-width:132px;max-height:52px}
  .store-search-desktop,.store-account-full,.store-navigation{display:none}
  .store-actions{gap:5px}.store-account-icon{display:flex}
  .store-account-icon,.store-cart{width:44px;height:44px;border-radius:14px}
  .store-cart-count{top:-5px;right:-5px}
}
@media(min-width:992px){.mobile-drawer{display:none!important}}
@media(max-width:380px){
  .store-header-inner{width:calc(100% - 14px)}
  .store-header-top{grid-template-columns:40px 1fr auto;gap:5px}
  .store-brand img{max-width:112px}
  .store-menu-trigger,.store-account-icon,.store-cart{width:40px;height:40px;border-radius:12px}
}

/* Legacy repaint guard */
.store-header .store-search button,
.store-header .store-search button i,
.store-header .store-cart,
.store-header .store-cart i,
.store-header .store-cart-count{opacity:1!important;visibility:visible!important}
