/* HDR-S04 (Ihab 2026-11-01 01:17 «نفس الايكونات في نفس المكان لما غيرت الصفحه ايه الي جري ليها طبعا هي ممتازه في الرئيسيه
   … فحص عميق علي كل شي … موبيل وسطح مكتب ليل ونهار»): one header on every page, desktop and phone, day and night,
   exactly the SPEC S04 header – its own veil inside the band (night dark / day ivory), the ink and icons of the face,
   no dark halo in day. The veil is strong enough that a light hero photograph never washes the header out. */
html{--h4-0:rgba(18,14,11,.80);--h4-1:rgba(18,14,11,.50);--h4-ink:#e5c99c;--h4-ico:drop-shadow(0 1px 1px rgba(18,14,11,.6));--h4-ts:0 1px 2px rgba(18,14,11,.55)}
html[data-theme=day]{--h4-0:rgba(244,239,231,.90);--h4-1:rgba(244,239,231,.62);--h4-ink:#2a2119;--h4-ico:brightness(.2) sepia(.6) saturate(1.4);--h4-ts:none}
/* desktop */
html:not(#h1):not(#h2):not(#h3):not(#h4) body:not(.adm) header.hdr::before{content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;top:0!important;height:165%!important;pointer-events:none!important;background:linear-gradient(180deg,var(--h4-0) 0%,var(--h4-1) 58%,transparent 100%)!important;opacity:1!important}
html:not(#h1):not(#h2):not(#h3):not(#h4) body:not(.adm) header.hdr :is(.nav,.lang,.hdr-home,.th-sw){text-shadow:var(--h4-ts)!important} /* the words keep their gold by day and by night (Ihab 02:54) */
html:not(#h1):not(#h2):not(#h3):not(#h4) body:not(.adm) header.hdr :is(.logo img,.ico img){filter:var(--h4-ico)!important;opacity:1!important}
/* phone */
html:not(#h1):not(#h2):not(#h3):not(#h4) body:not(.adm) header.hdr-m{background:linear-gradient(180deg,var(--h4-0) 0%,var(--h4-1) 58%,transparent 100%)!important}
html:not(#h1):not(#h2):not(#h3):not(#h4) body:not(.adm) header.hdr-m :is(.logo img,.cart img,.hdr-m-tool>img){filter:var(--h4-ico)!important;opacity:1!important}
html:not(#h1):not(#h2):not(#h3):not(#h4) body:not(.adm) header.hdr-m :is(.home,.ttl,.th-sw,.hdr-m-tool){text-shadow:var(--h4-ts)!important}
/* phone, day: the small header tools (share, compare, selections) stay readable on the ivory veil */
html[data-theme=day]:not(#h1):not(#h2):not(#h3):not(#h4) body:not(.adm) header.hdr-m :is(.hdr-m-tool,.hdr-m-tools>a,.hdr-m-tools>button){color:#7d5f3a!important;opacity:1!important}
