/* Shared Najdi interior, including the native widgets inside Zid dialogs. */
:root{--sun-ivory:#f7f0e4;--sun-wine:#521b25;--sun-ink:#392921;--sun-muted:#654f43;--sun-line:#d9c2a6;--sun-safe:env(safe-area-inset-bottom,0px)}
body{color:var(--sun-ink);background-color:var(--sun-ivory)}main#main,.als-frame,main section,.theme-container{min-width:0}
.sun-native-select{width:100%;min-height:44px;max-width:100%;padding-inline:12px;background:var(--sun-ivory);border:1px solid var(--sun-line);border-radius:8px;color:var(--sun-ink);font:inherit}
el-dialog,el-dropdown,el-select{min-width:0}el-dialog-panel,el-dialog-backdrop{display:block}el-disclosure[hidden],el-select>button[hidden],el-options[hidden]{display:none!important}el-popover[popover],el-menu[popover]{z-index:80}el-menu[popover]:not([data-open-menu]),el-popover[popover]:not([data-open-menu]){display:none}el-menu[data-open-menu],el-popover[data-open-menu]{display:block;max-height:65vh;overflow:auto}
:where(button,a,input,summary,select,textarea):focus-visible{outline:2px solid #8a3741;outline-offset:3px}
.sun-back{display:none}
/* 2026-11-22 بقرار أيوب: الشريط العلوي في كل الصفحات بتصميم شريط الرئيسية (.store-header في home-styles):
   خلفية عاجية معتمة، شعار 89–116px، بحث كبسولة بحد #cfc3b4، سلة وحساب بلون العنابي بلا دوائر. كل المقاسات. */
html body .als-bar{background:#faf6ed!important;border-bottom:1px solid rgba(93,59,45,.14);backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body .als-bar .als-bar__in{height:auto;min-height:73px;max-width:1160px;gap:clamp(10px,3vw,16px);padding:12px clamp(16px,5.2vw,25px) 11px;align-items:center}
html body .als-bar__in .als-bar__logo{min-width:0;min-height:44px}html body .als-bar__in .als-bar__logo img{width:clamp(89px,26vw,116px);height:auto}
html body .als-bar__in .als-bar__field{flex:1 1 auto;height:43px;min-height:43px;margin-inline:0;gap:9px;padding-inline:13px;justify-content:flex-start;border:1px solid #cfc3b4;border-radius:24px;background:transparent;box-shadow:none;color:#69584e;font-size:.96rem;cursor:pointer}
html body .als-bar__in .als-bar__field .sp{width:17px;height:17px;color:#6c1b32}html body .als-bar__in .als-bar__field .ph{flex:0 1 auto;font-size:inherit}
html body .als-bar__in .als-bar__ic{width:44px;height:44px;border:0;border-radius:0;background:transparent;color:#6c1b32}html body .als-bar__in .als-bar__ic svg{width:26px;height:26px;stroke-width:1.5}
html body .als-bar__in .als-bar__badge{background:#6c1b32;color:#fff9ef}
@media(min-width:820px){html body .als-bar__in .als-bar__field{max-width:760px;margin-inline:auto}}
@media(max-width:819px){html body .als-bar__in:has(.sun-back){gap:8px}html body .als-bar__in:has(.sun-back) .als-bar__logo img{width:80px}html body .als-bar__in:has(.sun-back) .als-bar__field{gap:6px;padding-inline:10px}}
@media(max-width:350px){html body .als-bar .als-bar__in{gap:8px;padding-inline:13px}html body .als-bar__in .als-bar__logo img{width:80px}}
@media(max-width:819px){
 html{--sun-bar:64px;--bar-height:64px;--bar-safe:env(safe-area-inset-bottom,0px);--bar-clearance:calc(76px + var(--bar-safe));scroll-padding-top:60px;scroll-padding-bottom:var(--bar-clearance)}
 body .als-heritage-strip{height:2px;opacity:.7}
 body .sun-back{width:44px;height:44px;display:grid;place-items:center;color:var(--sun-wine);font:30px/1 sans-serif}
 body .sticky:has(>[data-als-bar])>header.site-header,body .sticky:has(>[data-als-bar])>.marquee-wrapper{display:none}
 body #mobile-bar{width:100%;max-width:none;display:block;z-index:44;background:#f7f0e4f9;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding-bottom:var(--sun-safe)}
 body .najdi-nav-space{height:calc(76px + var(--sun-safe))}
 body[data-template="product_details"] #mobile-bar,body[data-template="cart_page"] #mobile-bar,body:has([data-purchase-bar],[data-purchase-checkout]) #mobile-bar,body:has(dialog[open]) #mobile-bar{display:none!important}
 body:has(#mobile-bar) :is(.assistant-fab,[data-assistant-toggle]){display:none!important}
 body :is(el-dialog-backdrop,el-dialog-panel,.bottom-nav,.als-bar,.najdi-card,.scx-card,.btn-filled){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 body #mobile-bar a,body #mobile-bar button{min-height:44px}
 body .chat-ctx-chip__x{min-width:44px;min-height:44px}
 body footer a{display:inline-flex;align-items:center;min-height:44px}
}
@media(min-width:820px){body #mobile-bar,.najdi-nav-space{display:none!important}}
