/* Phase 33.0 — PHP implementation of rewaa-v2 SiteHeader, SiteFooter,
   AnnouncementBar, SearchBox and WhatsAppFab (reference: main). */
.ref33-layout{--ref33-ink:#091426;--ref33-navy:#16306b;--ref33-aqua:#22a9e0;--ref33-flow:#0f8757}
.ref33-header{border-bottom-color:#e5ebf4;background:rgba(255,255,255,.87)}
.ref33-header .header-row{gap:clamp(8px,1.2vw,20px)}
.ref33-header .brand{gap:9px}
.ref33-header .brand:focus-visible,.ref33-header a:focus-visible,.ref33-header button:focus-visible,
.ref33-search-layer a:focus-visible,.ref33-search-layer button:focus-visible,
.ref33-wa-toggle:focus-visible,.ref33-wa-panel a:focus-visible,.ref33-wa-panel button:focus-visible{
  outline:3px solid var(--ref33-aqua);outline-offset:3px}
.ref33-header .desktop-nav{min-width:0;gap:2px}
.ref33-header .desktop-nav a{font-size:12.5px;font-weight:600;white-space:nowrap;padding:9px clamp(6px,.65vw,12px);transition:background .16s,color .16s}
.ref33-header .desktop-nav a:focus-visible{background:#f4f7fb}
.ref33-header .header-actions{gap:5px}
.ref33-header .ref33-search-trigger{flex:none;display:flex;align-items:center;gap:9px;width:auto;max-width:220px;min-width:44px;height:37px;border:1px solid #c9d6e6;background:#f8fafd;border-radius:8px;color:#526983;font-size:11.5px;padding:0 11px;white-space:nowrap;transition:background .18s,border-color .18s}
.ref33-header .ref33-search-trigger:hover{border-color:#a1b5ce;background:#f4f7fb}
.ref33-search-trigger .ref33-search-placeholder{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:142px}
.ref33-search-trigger kbd{display:inline-flex;border-radius:5px;border:1px solid #d8e2ed;background:#fff;color:#7a8ca1;font-family:inherit;font-size:9px;white-space:nowrap;padding:2px 5px;line-height:1.45}
.ref33-header .tech-btn{white-space:nowrap;transition:background .18s,border-color .18s}
.ref33-header .tech-btn:hover{background:#d9f5e7}
.ref33-header .action-with-count{position:relative}
.ref33-header .cart-btn{white-space:nowrap;min-height:41px;transition:background .18s,transform .18s}
.ref33-header .cart-btn:hover{background:#1a2840;transform:translateY(-1px)}
.ref33-header .menu-toggle{flex:0 0 38px;border:1px solid #c9d6e6;background:#fff}
.ref33-mobile-menu[hidden],.ref33-search-layer[hidden],.ref33-wa-panel[hidden]{display:none!important}
.ref33-mobile-search{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;border-bottom:1px solid #e5ebf4;background:transparent;color:#2a3a51;text-align:right;font-size:13px;font-weight:600;padding:13px 0;cursor:pointer}
.ref33-search-layer{position:fixed;inset:0;z-index:125;display:flex;align-items:flex-start;justify-content:center;padding:clamp(28px,9vh,120px) 12px 15px;direction:rtl}
.ref33-search-backdrop{position:absolute;inset:0;background:rgba(9,20,38,.54);border:0;cursor:default;backdrop-filter:blur(3px)}
.ref33-search-card{position:relative;width:min(100%,650px);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border:1px solid #dfe8f1;border-radius:17px;box-shadow:0 27px 90px rgba(9,20,38,.26);color:#091426}
.ref33-search-top{padding:16px 20px 12px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.ref33-search-top h2{font:700 16px Alexandria,'IBM Plex Sans Arabic',sans-serif;margin:0}
.ref33-search-close,.ref33-wa-head button{border:0;background:#f4f7fb;color:#40546a;width:32px;height:32px;display:grid;place-items:center;border-radius:7px;cursor:pointer}
.ref33-search-form{display:flex;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid #e5ebf4;border-bottom:1px solid #e5ebf4}
.ref33-search-form>svg{flex:0 0 auto;color:#7d91a7}
.ref33-search-form input{flex:1;min-width:0;border:0;background:transparent;outline:none;padding:7px 0;font:inherit;font-size:14px;direction:rtl;color:#091426}
.ref33-search-form button{border:0;border-radius:8px;background:#16306b;color:#fff;font-weight:700;padding:10px 20px;cursor:pointer;flex-shrink:0}
.ref33-search-form button:hover{background:#112555}
.ref33-search-popular{padding:22px 20px}
.ref33-search-popular strong{font-size:12px;color:#51657f}
.ref33-search-popular>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ref33-search-popular a{display:inline-flex;align-items:center;gap:5px;padding:8px 12px;border-radius:20px;background:#f4f7fb;color:#2a3a51;font-size:12px;transition:background .16s}
.ref33-search-popular a:hover{background:#eaf6fd}
.ref33-search-finder{margin:0 16px 16px;display:flex;align-items:center;gap:12px;border:1px solid #dbe8f4;border-radius:12px;background:#f7fafc;padding:12px;color:#16306b}
.ref33-search-finder>span{display:flex;flex:1;flex-direction:column;gap:3px}
.ref33-search-finder b{font-size:12.5px}.ref33-search-finder small{font-size:11px;color:#6b7d92}
.ref33-search-hint{margin:0;padding:9px 18px;border-top:1px solid #e5ebf4;font-size:11px;color:#7f8fa3;text-align:center}
.ref33-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.ref33-search-open{overflow:hidden}
.ref33-footer .footer-grid{row-gap:30px}
.ref33-footer .footer-chips a{transition:background .18s,color .18s}
.ref33-footer .footer-chips a:hover{background:rgba(255,255,255,.13);color:#fff}
.ref33-footer .footer-cols nav{min-width:0}
.ref33-footer .footer-cols a{line-height:1.7}
.ref33-footer .footer-cols a:focus-visible,.ref33-footer .footer-chips a:focus-visible,.ref33-footer-mobile-shortcuts a:focus-visible{outline:2px solid #6fcdf4;outline-offset:3px}
.ref33-footer-mobile-shortcuts{display:none}
.ref33-whatsapp-launcher{position:fixed;z-index:70;left:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));display:flex;align-items:flex-start;flex-direction:column;gap:10px;direction:rtl}
.ref33-whatsapp-launcher .ref33-wa-toggle{position:static;border:0;cursor:pointer;display:grid;place-items:center;width:52px;height:52px;background:#0f8757;color:#fff;box-shadow:0 10px 24px rgba(3,90,55,.2);transition:background .2s,transform .2s}
.ref33-whatsapp-launcher .ref33-wa-toggle:hover{background:#0d744c;transform:translateY(-2px)}
.ref33-wa-panel{width:min(320px,calc(100vw - 32px));overflow:hidden;background:#fff;color:#091426;border:1px solid #e5ebf4;border-radius:14px;box-shadow:0 22px 65px rgba(9,20,38,.2)}
.ref33-wa-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;background:#0f8757;padding:16px;color:#fff}
.ref33-wa-head>div{display:flex;flex-direction:column;gap:5px}
.ref33-wa-head strong{font:700 13.5px Alexandria,'IBM Plex Sans Arabic',sans-serif}
.ref33-wa-head small{font-size:11px;color:#dcf6e9}
.ref33-wa-head button{background:rgba(255,255,255,.18);color:#fff;flex:0 0 30px}
.ref33-wa-panel nav{display:flex;flex-direction:column;padding:9px;max-height:min(310px,45vh);overflow:auto}
.ref33-wa-panel nav a{display:flex;align-items:flex-start;gap:9px;border-radius:9px;padding:10px 9px;font-size:12px;color:#2a3a51;line-height:1.65;transition:background .15s}
.ref33-wa-panel nav a svg{flex:0 0 15px;color:#0f8757;margin-top:2px}
.ref33-wa-panel nav a:hover{background:#f4f7fb}
.ref33-wa-more{display:flex;align-items:center;justify-content:space-between;background:#f4f7fb;margin:0 9px 9px;padding:12px;border-radius:9px;font-weight:700;font-size:12px;color:#16306b}
@media (max-width: 1420px){.ref33-header .ref33-search-placeholder{max-width:92px}.ref33-search-trigger kbd{display:none}}
@media (max-width: 1200px){.ref33-header .header-row{gap:9px}.ref33-header .desktop-nav a{font-size:12px;padding-inline:6px}.ref33-header .ref33-search-placeholder{display:none}.ref33-header .ref33-search-trigger{min-width:37px;padding-inline:9px}}
@media (max-width: 1100px){.ref33-header .ref33-search-trigger{min-width:38px}.ref33-mobile-menu{display:block;max-height:none;opacity:1;overflow:auto;background:#fff;box-shadow:0 16px 35px rgba(9,20,38,.11)}.ref33-mobile-menu nav{padding-block:7px;max-height:min(65vh,550px);overflow:auto}.ref33-mobile-menu nav a{align-items:center;gap:12px}.ref33-mobile-menu nav a:hover,.ref33-mobile-search:hover{color:#16306b;background:#f7fafc}}
@media (max-width: 680px){
 .ref33-header .brand-words{display:flex;max-width:75px}.ref33-header .brand-words strong{font-size:16px}.ref33-header .brand-words small{font-size:7px;letter-spacing:.24em}
 .ref33-header .header-row{gap:5px}.ref33-header .header-actions{gap:1px}.ref33-header .cart-btn{padding-inline:9px}.ref33-header .ref33-search-trigger{padding-inline:7px;min-width:33px;height:36px;border:0;background:transparent}
 .ref33-header .icon-btn{width:33px;height:36px}.ref33-header .logo-mark{width:34px;height:34px}
 .ref33-search-layer{padding:4vh 8px 12px}.ref33-search-card{max-height:92vh}.ref33-search-top{padding:14px}.ref33-search-popular{padding:18px 14px}.ref33-search-hint{font-size:10px}
 .ref33-footer .footer-grid{padding-top:34px!important}.ref33-footer .footer-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
 .ref33-footer-mobile-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding-bottom:20px}.ref33-footer-mobile-shortcuts a{min-height:55px;padding:9px 5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid rgba(255,255,255,.12);border-radius:9px;text-align:center;font-size:10px;color:#dce5f4}
 .ref33-whatsapp-launcher{left:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}
 .ref33-whatsapp-launcher .ref33-wa-toggle{width:49px;height:49px}
}
@media (max-width: 380px){.ref33-header .brand-words{display:none}.ref33-footer .footer-cols{grid-template-columns:1fr}.ref33-header .cart-btn{padding-inline:7px}}
@media (prefers-reduced-motion: reduce){.ref33-search-layer *, .ref33-whatsapp-launcher *, .ref33-header *, .ref33-footer *{scroll-behavior:auto!important;transition:none!important}}
