/* شريط الإعلان */
.shk-announce{background:var(--shk-primary);color:#fff;font-size:13px;font-weight:600;text-align:center;padding:7px 0;line-height:1.6;}

/* الهيدر */
.shk-header{position:sticky;top:0;z-index:9999;background:var(--shk-surface);border-bottom:1px solid var(--shk-border);transition:box-shadow .2s;}
.admin-bar .shk-header{top:32px;}
@media (max-width:782px){.admin-bar .shk-header{top:46px;}}
@media (max-width:600px){.admin-bar .shk-header{top:0;}}
.shk-header.is-scrolled{box-shadow:var(--shk-shadow);}

.shk-header__main{display:flex;align-items:center;gap:24px;min-height:78px;}
.shk-logo{flex:0 0 auto;display:flex;align-items:center;text-decoration:none;}
.shk-header .shk-logo img.shk-logo__img{height:58px;width:auto;max-width:none;display:block;}
.shk-logo__text{font-size:24px;font-weight:800;color:var(--shk-primary);}

/* البحث */
.shk-search{flex:1 1 auto;max-width:560px;margin-inline:auto;display:flex;align-items:center;background:var(--shk-bg);border:1px solid var(--shk-border);border-radius:999px;padding:4px;transition:border-color .2s;}
.shk-search:focus-within{border-color:var(--shk-brand);}
.shk-search input[type="search"]{flex:1;min-width:0;height:auto;margin:0;border:0;background:transparent;box-shadow:none;outline:0;padding:10px 16px;font-size:15px;color:var(--shk-text);}
.shk-search button{flex:0 0 auto;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:var(--shk-primary);color:#fff;display:grid;place-items:center;cursor:pointer;}
.shk-search button:hover{background:var(--shk-primary-600);}

/* الأزرار */
.shk-actions{flex:0 0 auto;display:flex;align-items:center;gap:6px;}
.shk-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;height:44px;padding:0 10px;border:0;border-radius:12px;background:transparent;color:var(--shk-text);text-decoration:none;cursor:pointer;font-size:14px;font-weight:600;}
.shk-icon-btn:hover{background:var(--shk-bg);color:var(--shk-primary);}
.shk-wa{color:#128C4A;}
.shk-cart-count{position:absolute;top:2px;inset-inline-end:2px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--shk-honey);color:#1F2618;font-size:11px;font-weight:800;line-height:18px;text-align:center;box-sizing:border-box;}
.shk-cart-count[data-count="0"]{display:none;}
.shk-burger{display:none;}

/* منيو الديسكتوب */
.shk-nav{border-top:1px solid var(--shk-border);}
.shk-menu{display:flex;flex-wrap:wrap;gap:2px;list-style:none;margin:0;padding:0;}
.shk-menu>li{position:relative;margin:0;}
.shk-menu a{display:block;padding:12px 14px;color:var(--shk-text);font-size:15px;font-weight:600;text-decoration:none;border-radius:8px;}
.shk-menu>li>a:hover,
.shk-menu>li.current-menu-item>a,
.shk-menu>li.current-menu-ancestor>a{color:var(--shk-primary);}
.shk-menu .menu-item-has-children>a::after{content:"";display:inline-block;width:6px;height:6px;margin-inline-start:8px;vertical-align:3px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(-45deg);}
.shk-menu .sub-menu{position:absolute;top:100%;inset-inline-start:0;z-index:10;min-width:230px;margin:0;padding:8px;list-style:none;background:#fff;border:1px solid var(--shk-border);border-radius:12px;box-shadow:var(--shk-shadow);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .15s,transform .15s,visibility .15s;}
.shk-menu li:hover>.sub-menu,
.shk-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none;}
.shk-menu .sub-menu a{padding:9px 12px;font-weight:500;}
.shk-menu .sub-menu a:hover{background:var(--shk-bg);color:var(--shk-primary);}

/* درج الموبايل */
.shk-overlay{position:fixed;inset:0;z-index:100000;background:rgba(20,24,16,.45);}
.shk-overlay[hidden]{display:none!important;}
/* الدرج بيطلع من اليمين (RTL) – مكتوب بقيم فيزيائية right عشان ميعتمدش على اتجاه أي عنصر أب */
.shk-drawer{position:fixed;top:0;bottom:0;right:0;left:auto;z-index:100001;width:min(86vw,340px);background:#fff;direction:rtl;text-align:right;display:flex;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch;box-shadow:-8px 0 24px rgba(0,0,0,.12);transform:translateX(105%);visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s;}
.shk-drawer.is-open{transform:none;visibility:visible;transition:transform .25s ease;}
.shk-drawer *{box-sizing:border-box;}
.shk-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--shk-border);font-size:17px;}
.shk-drawer-menu{list-style:none;margin:0;padding:8px 0;}
.shk-drawer-menu li{margin:0;}
.shk-drawer-menu a{display:block;padding:13px 20px;color:var(--shk-text);font-size:16px;font-weight:600;text-decoration:none;}
.shk-drawer-menu .sub-menu{list-style:none;margin:0;padding:0 0 8px;background:var(--shk-bg);}
.shk-drawer-menu .sub-menu a{padding:10px 34px;font-size:15px;font-weight:500;}
.shk-drawer__foot{margin-top:auto;padding:16px;display:grid;gap:10px;border-top:1px solid var(--shk-border);}
.shk-btn{display:flex;align-items:center;justify-content:center;height:48px;border-radius:12px;background:var(--shk-primary);color:#fff!important;font-weight:700;text-decoration:none;}
.shk-btn--wa{background:#1FA855;}
.shk-drawer-menu a[href="#"]{cursor:default;color:var(--shk-muted);font-size:14px;}

/* واتساب عائم */
.shk-wa-float{position:fixed;bottom:18px;left:18px;z-index:9998;width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,.2);}

/* موبايل وتابلت */
@media (max-width:991px){
  .shk-nav{display:none;}
  .shk-burger{display:inline-flex;order:1;}
  .shk-header__main{flex-wrap:wrap;gap:8px 12px;min-height:0;padding-block:8px;}
  .shk-logo{order:2;flex:1 1 auto;justify-content:center;}
  .shk-header .shk-logo img.shk-logo__img{height:44px;}
  .shk-actions{order:3;}
  .shk-actions .shk-wa,
  .shk-actions__label{display:none;}
  .shk-search{order:4;flex:1 1 100%;max-width:none;margin:0;}
  .shk-search input[type="search"]{padding:8px 14px;}
  .shk-search button{width:38px;height:38px;}
}

/* تقليل الحركة لمن يفضل ذلك */
@media (prefers-reduced-motion:reduce){
  .shk-drawer,.shk-drawer.is-open,.shk-menu .sub-menu,.shk-header{transition:none!important;}
}

/* SHK CONTACT PHONE V2 */
.shk-header .shk-phone{color:#1677d2;}
.shk-header .shk-phone:hover{color:#0b57a3;background:#eaf4ff;}
@media(max-width:991px){
  .shk-header .shk-phone{display:inline-flex;}
}
