/* ELGHAZAWY Signature V12 / scoped and mobile-first / safe with Blocksy.
   HTML components use .egz-shell; no WooCommerce behavior is modified here. */
:root {
  --egz-navy:#0A192F; --egz-royal:#0E3064; --egz-royal-light:#173E77;
  --egz-blue:#235EA2; --egz-sky:#5797D0; --egz-ice:#EAF3FC;
  --egz-burgundy:#B3263E; --egz-burgundy-hover:#902039;
  --egz-gold:#C5A15A; --egz-gold-soft:#E8D3A7;
  --egz-cloud:#F5F8FC; --egz-white:#FFFFFF;
  --egz-ink:#152C4A; --egz-muted:#50627A; --egz-border:#DDE8F2;
  --egz-success:#1E7049; --egz-warn:#875F1C;
  --egz-radius-sm:12px; --egz-radius:20px; --egz-radius-lg:28px;
  --egz-shadow:0 14px 44px rgba(10,25,47,.095);
  --egz-max:1200px;
  --egz-font-ar:'Cairo','IBM Plex Sans Arabic',Tahoma,Arial,sans-serif;
  --egz-font-en:Inter,'Segoe UI',Arial,sans-serif;
}
/* Native Blocksy refinements: presentation only, no functional overrides. */
#header [data-row='top']{background-color:var(--egz-navy)}
#header [data-row='middle']{background-color:#fff}
#header .site-title a{color:var(--egz-navy)}
#header :is(.ct-header-search,.ct-header-account) :is(a,button):focus-visible,
#footer a:focus-visible{outline:3px solid var(--egz-sky);outline-offset:4px}
#footer{background-color:var(--egz-navy)}
/* Optional shortcodes, isolated from Blocksy's navigation and Woo widgets. */
.egz-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#E7F0FB;font:600 12px/1.6 var(--egz-font-ar);padding:7px 0}
.egz-topbar__actions{display:flex;flex-wrap:wrap;gap:15px}
.egz-topbar a{color:#fff!important;text-decoration:none}
.egz-topbar a:hover{color:var(--egz-gold-soft)!important}
.egz-lang-link,.egz-account-link{color:var(--egz-blue);font-weight:750;text-decoration:none}
.egz-lang-link:focus-visible,.egz-account-link:focus-visible{outline:3px solid var(--egz-sky);outline-offset:3px}
/* All page interface styles are strictly scoped. */
.egz-shell{font:400 16px/1.75 var(--egz-font-ar);color:var(--egz-ink);background:#fff;direction:rtl;isolation:isolate}
.egz-shell[lang='en'],.egz-shell[dir='ltr']{font-family:var(--egz-font-en);direction:ltr;line-height:1.65}
.egz-shell,.egz-shell *,.egz-shell *::before,.egz-shell *::after{box-sizing:border-box}
.egz-shell :is(h1,h2,h3,h4,p,ul,ol,figure){margin:0;padding:0}
.egz-shell :is(ul,ol){list-style-position:inside}
.egz-shell a{text-decoration:none;color:inherit}
.egz-shell button,.egz-shell input,.egz-shell select{font:inherit}
.egz-shell button{cursor:pointer}
.egz-shell img{display:block;max-width:100%;height:auto}
.egz-shell [hidden]{display:none!important}
.egz-shell :is(a,button,input,select,[tabindex]):focus-visible{outline:3px solid var(--egz-sky);outline-offset:3px}
.egz-shell .egz-container{width:min(var(--egz-max),calc(100% - 32px));margin-inline:auto}
.egz-shell .egz-overline{font:800 11px/1.5 var(--egz-font-en);letter-spacing:1.6px;text-transform:uppercase;color:var(--egz-blue);display:inline-flex;align-items:center;gap:10px}
.egz-shell .egz-overline::before{content:'';display:inline-block;width:26px;height:2px;background:var(--egz-gold)}
.egz-shell .egz-muted{color:var(--egz-muted)}
.egz-shell .egz-sr-only{border:0;clip:rect(0,0,0,0);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}
.egz-shell .egz-btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 19px;border:1px solid transparent;border-radius:12px;font-weight:800;font-size:14px;line-height:1.4;background:var(--egz-burgundy);color:#fff;transition:background .15s,transform .15s,box-shadow .15s}
.egz-shell .egz-btn:hover{background:var(--egz-burgundy-hover);color:#fff;transform:translateY(-1px);box-shadow:0 10px 24px rgba(179,38,62,.15)}
.egz-shell .egz-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}
.egz-shell .egz-btn--outline{background:#fff;color:var(--egz-royal);border-color:#CBDDEC}
.egz-shell .egz-btn--outline:hover{background:var(--egz-ice);color:var(--egz-navy);box-shadow:none}
.egz-shell .egz-btn--blue{background:var(--egz-blue)}
.egz-shell .egz-btn--blue:hover{background:var(--egz-royal)}
.egz-shell .egz-btn--ghost{background:transparent;border-color:#718EAF;color:#fff}
.egz-shell .egz-btn--ghost:hover{background:rgba(255,255,255,.12)}
.egz-shell .egz-section{padding-block:clamp(56px,6.4vw,100px)}
.egz-shell .egz-section--light{background:var(--egz-cloud)}
.egz-shell .egz-section--blue{background:#EEF5FC}
.egz-shell .egz-section-heading{max-width:770px;margin-bottom:32px}
.egz-shell .egz-section-heading h2{font-size:clamp(25px,3vw,41px);line-height:1.35;font-weight:900;color:var(--egz-navy);letter-spacing:-.03em;margin-block:12px}
.egz-shell .egz-section-heading p{color:var(--egz-muted);max-width:68ch;font-size:15px}
.egz-shell .egz-grid{display:grid;gap:16px;grid-template-columns:minmax(0,1fr)}
.egz-shell .egz-card{min-width:0;background:#fff;border:1px solid var(--egz-border);border-radius:var(--egz-radius);padding:22px;box-shadow:0 6px 18px rgba(10,25,47,.035)}
.egz-shell .egz-card h3{font-size:18px;font-weight:850;color:var(--egz-navy);line-height:1.4}
.egz-shell .egz-card p{color:var(--egz-muted);font-size:14px;margin-top:8px}
.egz-shell .egz-card--interactive{transition:border-color .18s,box-shadow .18s,transform .18s}
.egz-shell .egz-card--interactive:hover{border-color:#B5CDE5;box-shadow:var(--egz-shadow);transform:translateY(-2px)}
.egz-shell .egz-icon-box{width:54px;height:54px;border-radius:16px;background:var(--egz-ice);color:var(--egz-blue);display:grid;place-items:center;margin-bottom:18px}
.egz-shell .egz-icon-box svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Optional isolated header/footer for previews and future theme HTML component. */
.egz-shell .egz-demo-header{background:#fff;border-bottom:1px solid var(--egz-border)}
.egz-shell .egz-demo-topline{background:var(--egz-navy);color:#E6EFFB;padding:8px 0;font-size:11px}
.egz-shell .egz-demo-topline-inner{display:flex;justify-content:space-between;align-items:center;gap:16px}
.egz-shell .egz-demo-topline a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.egz-shell .egz-demo-headrow{display:flex;align-items:center;gap:22px;justify-content:space-between;padding:18px 0}
.egz-shell .egz-brand{display:flex;align-items:center;gap:14px;min-width:0}
.egz-shell .egz-brand img{width:62px;height:62px;object-fit:contain;background:#fff;border-radius:10px}
.egz-shell .egz-brand strong{display:block;color:var(--egz-navy);font-size:23px;font-weight:900;line-height:1.25}
.egz-shell .egz-brand small{display:block;font:750 9px/1.5 var(--egz-font-en);letter-spacing:1.1px;color:var(--egz-blue);margin-top:4px}
.egz-shell .egz-demo-nav{display:flex;align-items:center;gap:22px}
.egz-shell .egz-demo-nav a{font-weight:750;font-size:13px;color:var(--egz-navy);white-space:nowrap}
.egz-shell .egz-demo-nav a:hover{color:var(--egz-burgundy)}
.egz-shell .egz-demo-nav .egz-nav-active{color:var(--egz-burgundy)}
.egz-shell .egz-menu-toggle{display:none;align-items:center;justify-content:center;min-height:44px;min-width:44px;border:1px solid var(--egz-border);background:#fff;border-radius:12px;color:var(--egz-navy)}
/* Signature hero. A credible B2B identity with search as first action. */
.egz-shell .egz-hero{background:linear-gradient(117deg,#071A35 3%,var(--egz-royal) 61%,#174980 100%);color:#fff;position:relative;overflow:hidden}
.egz-shell .egz-hero::before{content:'';position:absolute;width:700px;height:700px;border-radius:50%;border:1px solid rgba(255,255,255,.10);inset-inline-end:-320px;top:-245px;box-shadow:0 0 0 90px rgba(255,255,255,.022),0 0 0 178px rgba(255,255,255,.014);pointer-events:none}
.egz-shell .egz-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:26px;align-items:center;padding-block:52px 58px}
.egz-shell .egz-hero-label{color:var(--egz-gold-soft);font:800 11px/1.5 var(--egz-font-en);letter-spacing:1px}
.egz-shell .egz-hero h1{font-size:clamp(31px,4vw,54px);line-height:1.32;font-weight:900;max-width:680px;color:#fff;letter-spacing:-.03em;text-wrap:balance;margin:16px 0 16px}
.egz-shell .egz-hero p{font-size:15px;line-height:1.85;color:#D9E8F7;max-width:640px}
.egz-shell .egz-hero .egz-tag{display:inline-flex;border-radius:999px;padding:7px 12px;border:1px solid rgba(255,255,255,.23);color:#F4DFAF;background:rgba(255,255,255,.065);font-size:11px;margin-top:22px}
.egz-shell .egz-search-panel{margin-top:25px;background:#fff;color:var(--egz-ink);border-radius:19px;padding:18px;box-shadow:0 24px 52px rgba(0,0,0,.19);max-width:720px}
.egz-shell .egz-search-panel label{font-size:14px;font-weight:850;color:var(--egz-navy);display:block;margin-bottom:9px}
.egz-shell .egz-search-row{display:flex;align-items:center;gap:8px;background:#F8FAFD;border:1px solid #C9DCEC;border-radius:12px;padding:6px}
.egz-shell .egz-search-row input{width:100%;min-width:0;flex:1;border:0;outline:none;background:transparent;padding:11px;color:var(--egz-navy);font-size:14px}
.egz-shell .egz-search-row input::placeholder{color:#62748C;opacity:1}
.egz-shell .egz-search-note{display:block;margin-top:8px;color:var(--egz-muted);font-size:11px}
.egz-shell .egz-stage{min-height:250px;border:1px solid rgba(255,255,255,.18);border-radius:var(--egz-radius-lg);background:linear-gradient(150deg,rgba(255,255,255,.15),rgba(5,33,79,.12));display:grid;place-items:center;padding:28px;overflow:hidden;position:relative}
.egz-shell .egz-stage::before{content:'';position:absolute;width:310px;height:310px;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.04),0 0 0 70px rgba(255,255,255,.025)}
.egz-shell .egz-stage-brand{position:relative;text-align:center;display:grid;place-items:center;gap:10px}
.egz-shell .egz-stage-brand img{height:124px;width:124px;object-fit:contain;background:#fff;border:7px solid rgba(255,255,255,.15);border-radius:50%;box-shadow:0 15px 36px rgba(0,0,0,.15)}
.egz-shell .egz-stage-brand span{font:800 11px/1.6 var(--egz-font-en);letter-spacing:1.5px;color:#EAD5AA}
.egz-shell .egz-proof-bar{background:#fff;border-bottom:1px solid var(--egz-border)}
.egz-shell .egz-proof-grid{display:grid;grid-template-columns:minmax(0,1fr)}
.egz-shell .egz-proof-item{display:flex;align-items:center;gap:14px;min-width:0;padding:18px 0;border-bottom:1px solid var(--egz-border)}
.egz-shell .egz-proof-item:last-child{border-bottom:0}
.egz-shell .egz-proof-symbol{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:12px;background:var(--egz-ice);color:var(--egz-blue);font-size:20px}
.egz-shell .egz-proof-item strong{display:block;color:var(--egz-navy);font-size:13px}
.egz-shell .egz-proof-item p{color:var(--egz-muted);font-size:12px;margin-top:2px}
/* Public category cards; only supported categories and product images when available. */
.egz-shell .egz-category{display:flex;flex-direction:column;min-height:210px}
.egz-shell .egz-category .egz-icon-box{margin-bottom:22px}
.egz-shell .egz-category-link{margin-top:auto;padding-top:18px;font-size:13px;font-weight:850;color:var(--egz-blue)}
.egz-shell .egz-category-link:hover{color:var(--egz-burgundy)}
.egz-shell .egz-empty{border:1px dashed #A7BFD5;border-radius:16px;background:#fff;padding:20px;color:var(--egz-muted);text-align:center}
/* Product cards: discovery grid and compact results with thumbnail in both. */
.egz-shell .egz-products{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:16px}
.egz-shell .egz-product{display:flex;flex-direction:column;gap:13px;background:#fff;border:1px solid var(--egz-border);border-radius:20px;padding:15px;min-width:0}
.egz-shell .egz-product-media{aspect-ratio:1/1;background:var(--egz-cloud);border-radius:14px;display:grid;place-items:center;overflow:hidden}
.egz-shell .egz-product-media img{width:100%;height:100%;object-fit:contain}
.egz-shell .egz-product h3{font-size:16px;color:var(--egz-navy);font-weight:850;line-height:1.45}
.egz-shell .egz-product-meta{color:var(--egz-muted);font-size:12px}
.egz-shell .egz-product-action{margin-top:auto}
.egz-shell .egz-products--results{grid-template-columns:minmax(0,1fr)}
.egz-shell .egz-products--results .egz-product{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;align-items:center}
.egz-shell .egz-products--results .egz-product-media{width:90px;aspect-ratio:1/1}
.egz-shell .egz-products--results .egz-product-action{grid-column:1/-1}
.egz-shell .egz-stock{font-size:12px;font-weight:750;color:var(--egz-success)}
.egz-shell .egz-stock--unknown{color:var(--egz-muted)}
.egz-shell .egz-stock--out{color:var(--egz-warn)}
.egz-shell .egz-qty{display:inline-flex;align-items:center;gap:8px}
.egz-shell .egz-qty button{width:44px;height:44px;border-radius:10px;border:1px solid var(--egz-border);background:#fff;color:var(--egz-navy);font-size:21px}
.egz-shell .egz-qty input{width:61px;height:44px;text-align:center;border:1px solid var(--egz-border);border-radius:10px;color:var(--egz-navy);background:#fff}
/* Operational visuals (demo styling only; authorization and data MUST be server-side). */
.egz-shell .egz-layout-split{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.egz-shell .egz-order-row{display:flex;align-items:flex-start;gap:14px;border-bottom:1px solid var(--egz-border);padding:17px 0}
.egz-shell .egz-order-row:last-child{border-bottom:0}
.egz-shell .egz-order-thumb{width:64px;height:70px;border-radius:10px;background:var(--egz-cloud);flex:none;display:grid;place-items:center}
.egz-shell .egz-order-row h3{font-size:14px;font-weight:850;color:var(--egz-navy)}
.egz-shell .egz-order-row p{font-size:12px;color:var(--egz-muted)}
.egz-shell .egz-panel{background:#fff;border-radius:20px;padding:22px;border:1px solid var(--egz-border)}
.egz-shell .egz-panel h2{font-size:22px;color:var(--egz-navy)}
.egz-shell .egz-status{display:inline-flex;gap:7px;align-items:center;border-radius:999px;background:var(--egz-ice);color:var(--egz-royal);font-weight:750;font-size:11px;padding:5px 12px}
.egz-shell .egz-status--planned{background:#FFF5E5;color:#79571D}
/* Bottom sheet / side drawer shell: visual JS toggles only, no stock logic. */
.egz-shell .egz-sheet{position:fixed;inset:0;z-index:1000;background:rgba(7,21,42,.52);display:grid;align-items:end;opacity:0;visibility:hidden;transition:opacity .18s,visibility .18s}
.egz-shell .egz-sheet[data-egz-open='true']{opacity:1;visibility:visible}
.egz-shell .egz-sheet-dialog{background:#fff;border-radius:25px 25px 0 0;max-height:90vh;overflow:auto;overscroll-behavior:contain;padding:20px;width:100%;box-shadow:0 -18px 52px rgba(0,0,0,.16)}
.egz-shell .egz-sheet-handle{width:42px;height:4px;border-radius:10px;background:#C7D5E4;margin:0 auto 15px}
.egz-shell .egz-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.egz-shell .egz-sheet-head h2{font-size:21px;color:var(--egz-navy)}
.egz-shell .egz-sheet-close{border:1px solid var(--egz-border);background:#fff;border-radius:10px;min-width:44px;min-height:44px;color:var(--egz-navy)}
/* Corporate story / service / footer in a single consistent language. */
.egz-shell .egz-story{background:linear-gradient(133deg,var(--egz-navy),var(--egz-royal));color:#fff;border-radius:var(--egz-radius-lg);padding:clamp(26px,4vw,55px)}
.egz-shell .egz-story h2{color:#fff;font-size:clamp(26px,3vw,38px);line-height:1.36}
.egz-shell .egz-story p{color:#D6E5F4;margin:12px 0 18px;max-width:72ch}
.egz-shell .egz-stat-number{color:#F1D8A6;font:900 clamp(54px,7vw,95px)/1 var(--egz-font-en)}
.egz-shell .egz-footer{background:var(--egz-navy);color:#D8E7F7;padding:54px 0 25px}
.egz-shell .egz-footer-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.egz-shell .egz-footer strong{display:block;color:#fff;font-size:17px;margin-bottom:13px}
.egz-shell .egz-footer p{color:#C4D6EB;font-size:13px;max-width:55ch}
.egz-shell .egz-footer a{display:block;color:#E3EFFB;font-size:13px;margin:9px 0}
.egz-shell .egz-footer a:hover{color:var(--egz-gold-soft)}
.egz-shell .egz-footer-bottom{margin-top:35px;padding-top:18px;border-top:1px solid #334966;color:#B5CAE0;font-size:11px}
/* Responsive design: 320 px phones -> tablet -> desktop */
@media (min-width:600px){
  .egz-shell .egz-container{width:min(var(--egz-max),calc(100% - 48px))}
  .egz-shell .egz-grid--two,.egz-shell .egz-products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .egz-shell .egz-proof-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .egz-shell .egz-proof-item{padding:22px 15px;border-bottom:0}
  .egz-shell .egz-proof-item:not(:last-child){border-inline-end:1px solid var(--egz-border)}
  .egz-shell .egz-footer-grid{grid-template-columns:1.6fr 1fr 1fr}
}
@media (min-width:960px){
  .egz-shell .egz-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
  .egz-shell .egz-hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:45px;padding-block:80px 85px}
  .egz-shell .egz-stage{min-height:400px}
  .egz-shell .egz-products--results .egz-product{grid-template-columns:100px minmax(0,1fr) auto}
  .egz-shell .egz-products--results .egz-product-action{grid-column:auto}
  .egz-shell .egz-layout-split{grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr)}
  .egz-shell .egz-sheet{align-items:stretch;justify-items:end}
  .egz-shell[dir='rtl'] .egz-sheet{justify-items:start}
  .egz-shell .egz-sheet-dialog{max-height:100vh;width:min(460px,96vw);height:100%;border-radius:24px 0 0 24px}
  .egz-shell[dir='rtl'] .egz-sheet-dialog{border-radius:0 24px 24px 0}
}
@media (max-width:959px){
  .egz-shell .egz-menu-toggle{display:inline-flex}
  .egz-shell .egz-demo-headrow{flex-wrap:wrap;padding:11px 0;gap:10px}
  .egz-shell .egz-demo-nav{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;padding:10px 0 18px;gap:0}
  .egz-shell .egz-demo-nav[data-egz-open='true']{display:flex}
  .egz-shell .egz-demo-nav a{padding:11px 5px;border-bottom:1px solid var(--egz-border);min-height:44px}
}
@media (max-width:599px){
  .egz-shell .egz-demo-topline-inner{flex-wrap:wrap;gap:5px;font-size:10px}
  .egz-shell .egz-brand img{height:47px;width:47px}
  .egz-shell .egz-brand strong{font-size:19px}
  .egz-shell .egz-brand small{font-size:8px}
  .egz-shell .egz-search-row{flex-wrap:wrap}
  .egz-shell .egz-search-row .egz-btn{width:100%}
  .egz-shell .egz-hero h1{font-size:clamp(28px,8vw,38px)}
  .egz-shell .egz-hero p{font-size:13px}
  .egz-shell .egz-stage{min-height:205px;padding:18px}
  .egz-shell .egz-stage-brand img{width:100px;height:100px}
  .egz-shell .egz-section{padding-block:53px}
  .egz-shell .egz-products--results .egz-product{grid-template-columns:76px minmax(0,1fr);gap:10px}
  .egz-shell .egz-products--results .egz-product-media{width:76px}
  .egz-shell .egz-product h3{font-size:14px}
  .egz-shell .egz-card{padding:18px}
  .egz-shell .egz-footer{padding-block:42px 20px}
}
@media (prefers-reduced-motion:reduce){
  .egz-shell *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
