/* WATEEN_GLOBAL_HEADER_V2 — STAGING | canonical global header owner */
.top{
  position:sticky!important;
  top:0;
  z-index:100!important;
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(11,94,114,.10)!important;
  box-shadow:0 6px 22px rgba(8,63,77,.06)!important;
}
body:has(>.stage) .top,body:has(>#wateen-staging-banner) .top{top:31px}
.head{
  width:100%;
  max-width:1180px;
  min-height:76px;
  margin:0 auto;
  padding:12px 14px;
  display:grid!important;
  grid-template-columns:auto minmax(240px,1fr) auto;
  grid-template-areas:"brand search actions";
  gap:12px;
  align-items:center;
}
.head>.logo{
  grid-area:brand;
  justify-self:start;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--wt-color-red,#ff3b4a);
  font-size:27px;
  font-weight:900;
  line-height:1;
  text-decoration:none;
  border:0;
  border-radius:16px;
  padding:4px 8px 4px 5px;
  background:transparent;
  cursor:pointer;
  transition:var(--wt-duration-normal,200ms);
}
.head>.logo::before{
  content:"";
  width:44px;
  height:44px;
  flex:none;
  border-radius:50%;
  background:#fff url('/wateen-brand-mark.webp') center/cover no-repeat;
  box-shadow:0 4px 14px rgba(8,63,77,.10);
}
.head>.logo:hover{background:rgba(253,229,229,.45)}
.head .brand-logo-text{display:flex;align-items:baseline;gap:6px;font-style:normal;white-space:nowrap}
.head .brand-logo-text b{color:var(--wt-color-red,#ff3b4a);font-weight:950}
.head .brand-logo-text i{color:var(--wt-color-teal,#0b5e72);font-style:normal;font-weight:950}
.head>.search{grid-area:search;display:flex!important;align-items:center;min-height:50px;background:#fbfcfc;border:1px solid #e1eaec;border-radius:17px;overflow:hidden;box-shadow:inset 0 1px 0 #fff;transition:.2s}
.head>.search:focus-within{border-color:rgba(11,94,114,.45);box-shadow:0 0 0 4px rgba(169,206,214,.20)}
.head>.search input{width:100%;min-width:0;border:0;outline:0;background:transparent;padding:13px 15px;color:#16333b;font:inherit}
.head>.search input::placeholder{color:#87979b}
.head>.search button{border:0;background:transparent;padding:0 14px;font-size:21px;color:#0b5e72;cursor:pointer}
.head>.acts{grid-area:actions;display:flex!important;gap:8px;align-items:center;justify-self:end}
.head .icon{position:relative;border:1px solid #e2eaec;background:#fff;border-radius:14px;min-width:50px;height:48px;display:inline-grid;place-items:center;font-size:20px;box-shadow:0 4px 14px rgba(8,63,77,.04);transition:.18s;cursor:pointer;color:#16333b}
.head .icon:hover{border-color:rgba(255,59,74,.25);background:#fff7f8;transform:translateY(-1px)}
.head .count,.head .fav-count{position:absolute;top:-6px;left:-6px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:linear-gradient(135deg,#ff3b4a,#ef2140)!important;color:#fff;font-size:10px;font-weight:900;border:2px solid #fff}
.head .account-dot{display:none;position:absolute;top:5px;left:5px;width:9px;height:9px;border-radius:50%;background:#26945f;border:2px solid #fff}
.head .account-btn.signed-in .account-dot{display:block}
.head .wgh-home-old{display:none!important}
@media(max-width:820px),(pointer:coarse){
  .head{
    min-height:0;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"brand actions" "search search";
    gap:10px 8px;
    padding:11px 14px 12px;
  }
  .head>.logo{justify-self:start;min-width:0;font-size:22px}
  .head>.logo::before{width:38px;height:38px}
  .head>.acts{gap:6px}
  .head .icon{min-width:47px;height:47px;border-radius:13px}
  .head>.search{min-height:50px;width:100%}
}
@media(max-width:520px){
  .head>.logo{padding-right:2px}
  .head .brand-logo-text{gap:4px}
  .head .brand-logo-text b,.head .brand-logo-text i{font-size:20px}
}
@media(max-width:420px){
  .head{padding-left:10px;padding-right:10px}
  .head>.acts{gap:5px}
  .head .icon{min-width:44px;width:44px;height:44px;font-size:19px}
  .head>.search input{padding:12px 12px}
  .head>.search button{padding:0 12px}
}


/* WATEEN_HEADER_SCOPED_SKINS_FROM_WOS=1 | moved verbatim from wateen-os.css; behavior unchanged */
body.wos-home-active .top{background:rgba(4,15,25,.82)!important;border-color:rgba(255,255,255,.08)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}body.wos-home-active .head{max-width:1440px}body.wos-home-active .logo{color:#fff!important;display:flex;align-items:center;gap:10px;font-size:0!important;min-width:120px}body.wos-home-active .logo:before{content:"";width:46px;height:46px;background:url('/wateen-brand-mark.webp') center/contain no-repeat;filter:drop-shadow(0 7px 18px rgba(255,41,71,.28))}body.wos-home-active .logo:after{content:"وتين";font-size:27px;font-weight:950;color:#fff}body.wos-home-active .search{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.12)!important}body.wos-home-active .search input{color:#fff}body.wos-home-active .search input::placeholder{color:#8398a8}body.wos-home-active .search button{color:#fff}body.wos-home-active .icon{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.1)!important;color:#fff}@media(max-width:820px),(pointer:coarse){body.wos-home-active .head{grid-template-columns:auto 1fr auto!important}}@media(max-width:520px){body.wos-home-active .logo{min-width:64px}body.wos-home-active .logo:after{display:none}body.wos-home-active .logo:before{width:42px;height:42px}body.wos-home-active .head{padding:10px!important}}@media(max-width:820px),(pointer:coarse){body.wos-home-active .top{position:sticky!important;top:0!important}body.wos-home-active .head{display:grid!important;grid-template-columns:auto 1fr!important;grid-template-rows:auto!important;gap:8px!important;padding:9px 12px!important}body.wos-home-active .head>.search{display:none!important}body.wos-home-active .acts{justify-self:end}body.wos-home-active .icon{min-width:42px!important;width:42px!important;height:42px!important;border-radius:13px!important}}body:has(.wx-auth-wrap) .top,body:has(.wx-checkout) .top,body:has(.cartLayout) .top{background:#06111c!important;border-color:rgba(255,255,255,.08)!important;box-shadow:0 12px 40px rgba(0,0,0,.1)}body:has(.wx-auth-wrap) .top .logo,body:has(.wx-checkout) .top .logo,body:has(.cartLayout) .top .logo{color:#fff!important}body:has(.wx-auth-wrap) .top .search,body:has(.wx-checkout) .top .search,body:has(.cartLayout) .top .search{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important}body:has(.wx-auth-wrap) .top .search input,body:has(.wx-checkout) .top .search input,body:has(.cartLayout) .top .search input{color:#fff}body:has(.wx-auth-wrap) .top .icon,body:has(.wx-checkout) .top .icon,body:has(.cartLayout) .top .icon{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;color:#fff}@media(max-width:820px){body:has(.wx-auth-wrap) .head>.search,body:has(.wx-checkout) .head>.search,body:has(.cartLayout) .head>.search{display:none!important}}body.wos-home-active .logo:before{
  border-radius:50%;
  mix-blend-mode:multiply;
  filter:saturate(1.28) brightness(1.18) contrast(1.05) drop-shadow(0 7px 18px rgba(255,41,71,.22))!important;
}body.wos-home-active .acts .icon,body:has(.wx-auth-wrap) .acts .icon,body:has(.wx-checkout) .acts .icon,body:has(.cartLayout) .acts .icon{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:48px!important;
  min-width:48px!important;
  height:48px!important;
  padding:0!important;
  border:1px solid rgba(148,190,220,.22)!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.045))!important;
  color:#eaf7ff!important;
  font-size:0!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 10px 26px rgba(0,0,0,.16)!important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}body.wos-home-active .acts .icon:hover,body:has(.wx-auth-wrap) .acts .icon:hover,body:has(.wx-checkout) .acts .icon:hover,body:has(.cartLayout) .acts .icon:hover{
  transform:translateY(-2px);
  border-color:rgba(89,196,255,.52)!important;
  background:linear-gradient(145deg,rgba(34,113,170,.24),rgba(255,255,255,.07))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 0 0 1px rgba(0,164,207,.08),
    0 12px 30px rgba(0,0,0,.2),
    0 0 24px rgba(0,164,207,.13)!important;
}body.wos-home-active .acts .icon:before,body:has(.wx-auth-wrap) .acts .icon:before,body:has(.wx-checkout) .acts .icon:before,body:has(.cartLayout) .acts .icon:before{
  content:"";
  width:23px;
  height:23px;
  display:block;
  background:linear-gradient(180deg,#f6fbff,#8fdcff);
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
  filter:drop-shadow(0 0 7px rgba(80,190,255,.25));
}body.wos-home-active .acts .account-btn:before,body:has(.wx-auth-wrap) .acts .account-btn:before,body:has(.wx-checkout) .acts .account-btn:before,body:has(.cartLayout) .acts .account-btn:before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm7 8a7 7 0 0 0-14 0'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm7 8a7 7 0 0 0-14 0'/%3E%3C/svg%3E");
}body.wos-home-active .acts .fav-header-btn:before,body:has(.wx-auth-wrap) .acts .fav-header-btn:before,body:has(.wx-checkout) .acts .fav-header-btn:before,body:has(.cartLayout) .acts .fav-header-btn:before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8l1.1 1.1L12 21l7.8-7.5 1.1-1.1a5.5 5.5 0 0 0-.1-7.8Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8l1.1 1.1L12 21l7.8-7.5 1.1-1.1a5.5 5.5 0 0 0-.1-7.8Z'/%3E%3C/svg%3E");
}body.wos-home-active .acts .icon:not(.account-btn):not(.fav-header-btn):before,body:has(.wx-auth-wrap) .acts .icon:not(.account-btn):not(.fav-header-btn):before,body:has(.wx-checkout) .acts .icon:not(.account-btn):not(.fav-header-btn):before,body:has(.cartLayout) .acts .icon:not(.account-btn):not(.fav-header-btn):before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3 4h2l2.3 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 2-1.6L21 8H7M10 20a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm9 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3 4h2l2.3 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 2-1.6L21 8H7M10 20a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm9 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z'/%3E%3C/svg%3E");
}body.wos-home-active .acts .count,body.wos-home-active .acts .fav-count,body:has(.wx-auth-wrap) .acts .count,body:has(.wx-auth-wrap) .acts .fav-count,body:has(.wx-checkout) .acts .count,body:has(.wx-checkout) .acts .fav-count,body:has(.cartLayout) .acts .count,body:has(.cartLayout) .acts .fav-count{
  position:absolute!important;
  top:-6px!important;
  left:-6px!important;
  min-width:20px!important;
  height:20px!important;
  padding:0 5px!important;
  display:grid!important;
  place-items:center!important;
  border:2px solid #071522!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#ff2947,#ff5369)!important;
  color:#fff!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:950!important;
  box-shadow:0 5px 14px rgba(255,41,71,.32)!important;
}@media(max-width:520px){body.wos-home-active .acts .icon,body:has(.wx-auth-wrap) .acts .icon,body:has(.wx-checkout) .acts .icon,body:has(.cartLayout) .acts .icon{
    width:44px!important;min-width:44px!important;height:44px!important;border-radius:14px!important;
  }body.wos-home-active .acts .icon:before,body:has(.wx-auth-wrap) .acts .icon:before,body:has(.wx-checkout) .acts .icon:before,body:has(.cartLayout) .acts .icon:before{width:21px;height:21px}}body.wos-loading .top{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}


/* WATEEN_HEADER_FLOW_ACCOUNT_DOT=1 | header-owned signed-in status skin */
body.wos-home-active .account-dot,
body:has(.wx-auth-wrap) .account-dot,
body:has(.wx-checkout) .account-dot,
body:has(.cartLayout) .account-dot{
  top:5px!important;
  right:5px!important;
  left:auto!important;
  width:8px!important;
  height:8px!important;
  background:#32e78f!important;
  border:2px solid #071522!important;
  box-shadow:0 0 10px rgba(50,231,143,.55)!important;
}


/* WATEEN_UNIFIED_CHROME_V1 | one header language across the storefront */
body.wos-home-active .top,
body:has(.wx-auth-wrap) .top,
body:has(.wx-checkout) .top,
body:has(.cartLayout) .top{
  background:rgba(255,255,255,.96)!important;
  border-color:#e3eaec!important;
  box-shadow:0 6px 22px rgba(8,63,77,.055)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}
body.wos-home-active .logo,
body:has(.wx-auth-wrap) .top .logo,
body:has(.wx-checkout) .top .logo,
body:has(.cartLayout) .top .logo{color:var(--wt-color-red,#ff3b4a)!important}
body.wos-home-active .logo:after{color:var(--wt-color-red,#ff3b4a)!important}
body.wos-home-active .search,
body:has(.wx-auth-wrap) .top .search,
body:has(.wx-checkout) .top .search,
body:has(.cartLayout) .top .search{
  background:#fbfcfc!important;
  border-color:#e1eaec!important;
  box-shadow:none!important;
}
body.wos-home-active .search input,
body:has(.wx-auth-wrap) .top .search input,
body:has(.wx-checkout) .top .search input,
body:has(.cartLayout) .top .search input{color:#17343c!important}
body.wos-home-active .search input::placeholder,
body:has(.wx-auth-wrap) .top .search input::placeholder,
body:has(.wx-checkout) .top .search input::placeholder,
body:has(.cartLayout) .top .search input::placeholder{color:#8a9a9f!important}
body.wos-home-active .search button,
body:has(.wx-auth-wrap) .top .search button,
body:has(.wx-checkout) .top .search button,
body:has(.cartLayout) .top .search button{color:var(--wt-color-teal,#0b5e72)!important}
body.wos-home-active .acts .icon,
body:has(.wx-auth-wrap) .acts .icon,
body:has(.wx-checkout) .acts .icon,
body:has(.cartLayout) .acts .icon{
  background:#fff!important;
  border-color:#e1e8ea!important;
  color:var(--wt-color-teal-deep,#083f4d)!important;
  box-shadow:0 4px 14px rgba(8,63,77,.05)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.wos-home-active .acts .icon:hover,
body:has(.wx-auth-wrap) .acts .icon:hover,
body:has(.wx-checkout) .acts .icon:hover,
body:has(.cartLayout) .acts .icon:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(255,59,74,.25)!important;
  background:#fff7f8!important;
  box-shadow:0 8px 20px rgba(8,63,77,.08)!important;
}
