/* Brandin' You header and footer on the store pages (served from the Madar store worker) */
.byh,.byf,.menu{--bg:#FFFFFF;--ink:#102602;--ink2:#5F6354;--line:#E6E3DA;--on:#FFFFFF;--on2:rgba(255,255,255,.72);--yellow:#FFC60B;--beige:#FFFFFF;--serif:"IBM Plex Sans Arabic","Noto Naskh Arabic","Geeza Pro",serif;font-family:"IBM Plex Sans Arabic","Geeza Pro","Segoe UI",Tahoma,sans-serif;line-height:1.75}
.byh *,.byf *,.menu *{box-sizing:border-box}
.byh a,.byf a,.menu a{color:inherit;text-decoration:none}
.byh .wrap,.byf .wrap{max-width:1280px;margin:0 auto;padding-inline:clamp(20px,6vw,96px)}
header.hdr.byh{position:sticky!important;top:0;z-index:100;padding-top:env(safe-area-inset-top,0px);background:rgba(255,255,255,.96)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:0!important;color:var(--ink)}
.byh .burger{width:44px;height:44px;border:none;background:none;cursor:pointer;align-items:center;justify-content:center;color:var(--ink)}
.byh .burger i{display:block;width:22px;height:1.5px;background:currentColor;box-shadow:0 6px 0 currentColor;transform:translateY(-3px)}
.menu{position:fixed;inset:0;z-index:200;background:var(--ink);color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:40px;opacity:0;visibility:hidden;transition:opacity .5s,visibility .5s}
.menu.open{opacity:1;visibility:visible}
.menu nav{display:flex;flex-direction:column}
.menu nav a{font-family:var(--serif);font-weight:300;font-size:clamp(40px,7vw,80px);line-height:1.35;opacity:.9}
.menu .x{position:absolute;top:calc(env(safe-area-inset-top,0px) + 14px);left:clamp(20px,6vw,96px);width:44px;height:44px;border:none;background:none;color:#fff;font-size:30px;cursor:pointer}
.menu .pill{display:inline-flex;align-items:center;min-height:48px;padding:0 26px;border-radius:999px;font-size:15.5px;font-weight:500}
footer.ft.byf{background:var(--ink)!important;color:#fff!important;padding-top:clamp(56px,6vw,84px)!important;padding-bottom:30px!important;margin-top:0!important;border:0!important;text-align:right;font-size:16px}
.byf p{margin:0}
.byf h2,.byf h3{color:#fff}
.byf .nl-ok{font-size:15px}
/* the shared width: every page starts at the logo and ends at the header button */
.wrap{max-width:1280px!important;margin-inline:auto!important;padding-left:clamp(20px,6vw,96px)!important;padding-right:clamp(20px,6vw,96px)!important;box-sizing:border-box}
/* bars that carry their own lines keep them inside the same width */
.wrap.filter-bar,.wrap.filter-row{width:calc(min(1280px,100%) - 2*clamp(20px,6vw,96px))!important;padding-left:0!important;padding-right:0!important}
/* legal pages: the text starts at the logo line, with a reading width */
.read{max-width:1280px!important;margin-inline:auto!important;padding-left:clamp(20px,6vw,96px)!important;padding-right:clamp(20px,6vw,96px)!important;box-sizing:border-box}
.read>*{max-width:820px}
.read.jump-nav,.read.part-head{width:calc(min(1280px,100%) - 2*clamp(20px,6vw,96px))!important;padding-left:0!important;padding-right:0!important}
/* Brandin' You identity on the AlTattan works design (17 Oct 2026): white page, deep green #102602 for text, buttons and logo; yellow only for the tanween; the Brandin' You header and deep green footer. */
.byh,.byf,.menu,.bysub{--bg:#FFFFFF;--ink:#102602;--ink2:#5F6354;--line:#E6E3DA;--dk:#102602;--on:#FFFFFF;--on2:rgba(255,255,255,.72);--gold:#102602;--beige:#FFFFFF;--yellow:#FFC60B}
/* header: logo on the right, links in the centre, the project button on the left */
.hdr{color:var(--ink);background:transparent;border-bottom:0;box-shadow:none;transition:background .35s,color .35s}
.hdr.bg{background:rgba(255,255,255,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.hdr.on-dark{color:#fff;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.hdr.on-dark.bg{background:rgba(16,38,2,.55);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.hdr.on-dark .mark img{content:url(/assets/by/brandin-you-logo-white.svg)}
.hdr.on-dark .bynav a::after{background:#fff}
.hdr.on-dark .bycta{border-color:rgba(255,255,255,.6);color:#fff}
.hdr.on-dark .bycta:hover{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
.byh .wrap{height:76px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}
.byh .mark{justify-self:start;display:flex;align-items:center;line-height:0}
.byh .mark img{height:clamp(20px,1.9vw,25px);width:auto;display:block}
.bynav{display:flex;gap:clamp(22px,2.6vw,40px);font-size:16px}
.bynav a{position:relative;padding-block:6px;transition:opacity .2s}
.bynav a::after{content:"";position:absolute;inset-inline:0;bottom:0;height:1px;background:var(--ink);transform:scaleX(0);transition:transform .25s}
.bynav a:hover::after,.bynav a[aria-current="page"]::after{transform:scaleX(1)}
.bycta{justify-self:end;display:inline-flex;align-items:center;gap:10px;height:40px;padding:0 18px;border:1px solid var(--ink);border-radius:999px;font-size:14.5px;font-weight:400;color:var(--ink);transition:background .25s,color .25s}
.bycta i{font-style:normal;font-size:13px;line-height:1;display:inline-block;transition:transform .25s}
.bycta:hover{background:var(--ink);color:#fff}
.bycta:hover i{transform:rotate(-45deg)}
.byh .burger{display:none}
@media (max-width:860px){.bynav{display:none}.byh .wrap{grid-template-columns:1fr auto auto}.bycta{height:36px;padding:0 14px;font-size:13.5px}.byh .burger{display:flex}}
.hnav{display:none!important}
.pill.ring:hover{color:#FFFFFF}
.pill.light:hover:not(:disabled){background:var(--beige);color:var(--ink)}
.menu{background:var(--ink)}
/* footer: deep green, white text, the yellow tanween */
.ft.byf{background:var(--ink);color:#fff;text-align:right;padding-block:clamp(56px,6vw,84px) 30px;border:0}
.byf-news{display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap;padding-bottom:clamp(40px,4vw,56px);border-bottom:1px solid rgba(255,255,255,.14)}
.byf-copy h2{margin:0 0 6px;font-family:var(--serif);font-weight:400;font-size:clamp(28px,3vw,40px);line-height:1.3;color:#fff}
.byf-copy p{margin:0;font-size:15.5px;color:rgba(255,255,255,.68)}
.byf .nl{width:min(460px,100%)}
.byf .nl form{display:flex;align-items:center;gap:8px;background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:5px;transition:border-color .25s}
.byf .nl input{flex:1;min-width:0;height:44px;border:0;background:transparent;color:#fff;font-size:15px;padding:0 16px;text-align:right}
.byf .nl input::placeholder{color:rgba(255,255,255,.55)}
.byf .nl input:focus{outline:none}
.byf .nl form:focus-within{border-color:#fff}
.byf .nl button{height:44px;padding:0 24px;border:1px solid #fff;border-radius:999px;background:#fff;color:var(--ink);font-size:14.5px;font-weight:500;cursor:pointer;transition:background .25s,color .25s}
.byf .nl button:hover{background:transparent;color:#fff}
.byf .nl small{display:block;margin-top:10px;font-size:12.5px;color:rgba(255,255,255,.55)}
.byf-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:32px;padding-block:clamp(40px,4vw,56px)}
.byf-mark{width:40px;height:auto;display:block;margin-bottom:16px}
.byf-brand p{margin:0;font-size:14.5px;line-height:1.9;color:rgba(255,255,255,.68);max-width:28ch}
.byf-col{display:flex;flex-direction:column;gap:12px;font-size:14.5px}
.byf-col h3{margin:0 0 6px;font-size:15px;font-weight:500;color:#fff}
.byf-col a{color:rgba(255,255,255,.68);transition:color .2s;align-self:flex-start}
.byf-col a:hover{color:#fff}
.byf-col span{color:rgba(255,255,255,.68)}
.byf-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:22px;border-top:1px solid rgba(255,255,255,.14);font-size:13px;color:rgba(255,255,255,.68)}
.byf-bottom .sep{margin-inline:6px;opacity:.5}
.byf .nl-ok,.byf .nl-ok *{color:#fff}
.byf .nl-ok i{background:#fff;color:var(--ink)}
/* green pages (services, contact): green from the header down, the logo in white */
body.pg-green{background:var(--ink)}
.pg-green .hdr,.pg-green .hdr.bg,.pg-green .hdr.on-dark,.pg-green .hdr.on-dark.bg{background:var(--ink)!important;color:#fff!important;backdrop-filter:none;-webkit-backdrop-filter:none}
.pg-green .byh .mark img{content:url(/assets/by/brandin-you-logo-white.svg)}
.pg-green .bynav a::after{background:#fff}
.pg-green .bycta{border-color:rgba(255,255,255,.55);color:#fff}
.pg-green .bycta:hover{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
/* the mailing list band (articles pages only) */
.bysub{background:var(--ink);color:#fff;padding-block:clamp(100px,12vw,170px);text-align:center}
.bysub .inner{max-width:720px;margin-inline:auto}
.bysub .label{margin:0 0 10px;font-size:15px;color:rgba(255,255,255,.72)}
.bysub h2{margin:0 0 14px;font-family:var(--serif);font-weight:300;font-size:clamp(34px,4.2vw,58px);line-height:1.3;color:#fff}
.bysub .lead{margin:0 auto;max-width:52ch;font-size:clamp(17px,1.4vw,20px);line-height:1.9;color:rgba(255,255,255,.72)}
.bysub form{margin:clamp(36px,4vw,52px) auto 0;max-width:560px;display:flex;align-items:flex-end;gap:14px}
.bysub input{flex:1;min-width:0;min-height:50px;border:0;border-bottom:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;font-size:16px;padding:8px 2px;text-align:left;font-family:inherit}
.bysub input::placeholder{color:rgba(255,255,255,.5);text-align:right}
.bysub input:focus{outline:none;border-bottom-color:#fff}
.bysub button{min-height:50px;padding:0 30px;border-radius:999px;border:1px solid #fff;background:#fff;color:var(--ink);font-size:15.5px;font-weight:500;cursor:pointer;font-family:inherit;transition:background .25s,border-color .25s}
.bysub button:hover:not(:disabled){background:var(--yellow);border-color:var(--yellow)}
.bysub .note{margin-top:14px;font-size:13px;color:rgba(255,255,255,.55)}
.bysub .nl-ok,.bysub .nl-ok *{color:#fff}
@media (max-width:560px){.bysub form{flex-direction:column;align-items:stretch}}
/* buttons on the green: yellow on hover */
.fchips button,.csform .chips button,.filters button{transition:background .25s,color .25s,border-color .25s}
.fchips button:hover,.csform .chips button:hover,.filters button:hover{background:var(--yellow)!important;border-color:var(--yellow)!important;color:var(--ink)!important}
.consult h1,.consult h2{margin-bottom:4px!important}
.consult .lead{line-height:1.7}
.pill.light{background:#fff!important;color:var(--ink)!important;border:1px solid #fff}
.pill.light:hover:not(:disabled){background:var(--yellow)!important;border-color:var(--yellow);color:var(--ink)!important}
.byf .nl button:hover{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
/* services: each one its own button */
.seg.svc{background:none!important;padding:0!important;gap:10px!important;justify-content:center;border-radius:0!important;max-width:760px!important}
.seg.svc button{flex:0 0 auto!important;min-height:44px;padding:0 22px!important;border:1px solid rgba(255,255,255,.3)!important;border-radius:999px!important;background:transparent!important;color:rgba(255,255,255,.82)!important;font-weight:400!important;transition:background .25s,color .25s,border-color .25s}
.seg.svc button:hover{border-color:var(--yellow)!important;color:var(--ink)!important;background:var(--yellow)!important}
.seg.svc button[aria-selected="true"]{background:#fff!important;border-color:#fff!important;color:var(--ink)!important;font-weight:500!important}
.seg.svc button[aria-selected="true"]:hover{background:var(--yellow)!important;border-color:var(--yellow)!important}
.facts{border-bottom:0!important}
@media (max-width:860px){.byf-grid{grid-template-columns:1fr 1fr}.byf-brand{grid-column:1/-1}}
@media (max-width:620px){.byf-grid{grid-template-columns:1fr}}
