/*
Theme Name: Estkdam Indo Premium
Theme URI: https://estkdamindo.com/
Author: Estkdam Indo
Description: قالب عربي احترافي لموقع استقدام العمالة بألوان مستوحاة من شعار Estkdam Indo مع دعم WooCommerce وإدارة العمالة والخدمات والباقات.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: estkdam-indo
*/
:root{
 --navy:#061A33;
 --navy-2:#0B2A4A;
 --navy-3:#123B60;
 --gold:#DAA11E;
 --gold-dark:#B77D08;
 --gold-light:#F4D77A;
 --cream:#FBF8F0;
 --text:#152238;
 --muted:#66758A;
 --white:#FFFFFF;
 --border:#E9E2D2;
 --radius:20px;
 --shadow:0 18px 50px rgba(6,26,51,.09);
 --shadow-hover:0 24px 60px rgba(6,26,51,.16);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Tahoma,Arial,sans-serif;color:var(--text);background:#fff;line-height:1.8;letter-spacing:.05px}
a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1180px,92%);margin:auto}.site-main{min-height:45vh}
.site-header{background:rgba(255,255,255,.94);border-bottom:1px solid rgba(218,161,30,.45);position:sticky;top:0;z-index:99;box-shadow:0 8px 30px rgba(6,26,51,.07);backdrop-filter:blur(14px)}
.header-inner{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:25px;position:relative}
.logo{display:flex;align-items:center;min-width:260px}.logo img{max-height:78px;width:auto}.logo .custom-logo{max-height:78px;width:auto}.logo-default{display:block;width:240px;height:80px;max-height:80px;object-fit:contain;object-position:center}.logo-text{font-weight:900;font-size:22px;color:var(--navy)}
.main-nav{position:absolute!important;top:50%;left:50%;width:max-content;transform:translate(-50%,-50%)!important;z-index:2}.main-nav ul{display:flex;gap:5px;list-style:none;margin:0;padding:6px;border:1px solid rgba(6,26,51,.08);border-radius:999px;background:rgba(251,248,240,.8)}.main-nav a{display:block;font-weight:800;font-size:14px;color:var(--navy);padding:8px 15px;border-radius:999px;transition:background .2s,color .2s}.main-nav a:hover,.main-nav .current-menu-item a{color:var(--navy);background:var(--gold-light)}
.menu-toggle{display:none;border:0;background:var(--navy);color:#fff;padding:10px 14px;border-radius:10px;font-weight:800}
.hero{background:radial-gradient(circle at 12% 12%,rgba(218,161,30,.23) 0,transparent 27%),radial-gradient(circle at 86% 72%,rgba(18,59,96,.58) 0,transparent 35%),linear-gradient(135deg,#0b2a4a 0%,var(--navy) 53%,#031020 100%);color:#fff;padding:112px 0;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:500px;height:500px;left:-240px;bottom:-330px;border:1px solid rgba(244,215,122,.22);border-radius:50%}.hero:after{content:"";position:absolute;inset:auto -10% -75% -10%;height:320px;background:rgba(218,161,30,.10);border-radius:50%}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center;position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--gold-light);font-weight:900;letter-spacing:.5px}.eyebrow:before{content:"";width:32px;height:2px;background:var(--gold)}.hero h1{font-size:clamp(36px,5vw,60px);line-height:1.25;margin:14px 0 20px;letter-spacing:-.5px}.hero p{color:#E1E8F1;max-width:680px;font-size:18px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 23px;border-radius:12px;font-weight:900;border:1px solid transparent;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}.btn:hover{transform:translateY(-3px)}.btn-primary{background:var(--gold);color:var(--navy);box-shadow:0 10px 25px rgba(218,161,30,.22)}.btn-primary:hover{background:var(--gold-light);box-shadow:0 14px 30px rgba(218,161,30,.3)}.btn-outline{border-color:rgba(255,255,255,.5);color:#fff;background:rgba(255,255,255,.04)}.btn-outline:hover{background:#fff;color:var(--navy)}.hero-card{background:rgba(255,255,255,.08);border:1px solid rgba(218,161,30,.45);border-radius:28px;padding:30px;backdrop-filter:blur(12px);box-shadow:0 25px 70px rgba(0,0,0,.25)}.hero-card .badge{display:inline-block;background:rgba(6,26,51,.48);border:1px solid rgba(244,215,122,.7);padding:7px 12px;border-radius:30px;color:#fff5ce;margin:4px}.hero-image-card{min-height:390px;padding:0;overflow:hidden;position:relative}.hero-image-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 20%;transition:transform .5s}.hero-image-card:hover>img{transform:scale(1.035)}.hero-image-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,26,51,.05) 20%,rgba(6,26,51,.9) 100%)}.hero-image-content{position:absolute;inset:auto 0 0;z-index:1;padding:32px}.hero-image-content h3{margin:18px 0 8px;font-size:27px}.hero-image-content p{margin:0;font-size:16px}
.section{padding:92px 0}.section:nth-of-type(even){background:linear-gradient(180deg,var(--cream),#fffdf8)}.section-head{text-align:center;max-width:750px;margin:0 auto 44px}.section-head h2{font-size:clamp(28px,3.2vw,38px);margin:0 0 10px;color:var(--navy);line-height:1.35}.section-head p{color:var(--muted);margin:0}.grid{display:grid;gap:22px}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s,border-color .25s}.card:hover{transform:translateY(-7px);box-shadow:var(--shadow-hover);border-color:rgba(218,161,30,.55)}.card h3{margin:0 0 8px;color:var(--navy)}.card p{margin-bottom:0;color:var(--muted)}.icon{width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,rgba(218,161,30,.22),rgba(244,215,122,.34));color:var(--gold-dark);display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:18px;border:1px solid rgba(218,161,30,.28)}
.arrivals-section{background:linear-gradient(180deg,#fff 0%,#f7f3e9 100%)}.section-kicker{display:inline-block;margin-bottom:8px;padding:5px 13px;border:1px solid rgba(218,161,30,.42);border-radius:999px;background:rgba(218,161,30,.09);color:var(--gold-dark);font-size:13px;font-weight:900}.arrivals-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.arrival-card{overflow:hidden;background:#fff;border:1px solid rgba(6,26,51,.1);border-radius:22px;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s}.arrival-card:hover{transform:translateY(-7px);box-shadow:var(--shadow-hover)}.arrival-photo{height:260px;background:linear-gradient(135deg,var(--navy-2),var(--navy));display:flex;align-items:center;justify-content:center;color:var(--gold-light);font-weight:800}.arrival-photo img{width:100%;height:100%;object-fit:cover;display:block}.arrival-body{padding:22px}.arrival-body h3{margin:0 0 16px;color:var(--navy);font-size:22px}.arrival-detail{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--border);font-size:14px}.arrival-detail span{color:var(--muted)}.arrival-detail strong{color:var(--navy)}
.countries-pricing{background:linear-gradient(145deg,#f8f4e9 0%,#edf3f7 100%);color:var(--navy);position:relative;overflow:hidden}.countries-pricing:before{content:"";position:absolute;width:560px;height:560px;left:-250px;top:-350px;border:1px solid rgba(218,161,30,.26);border-radius:50%}.countries-pricing .section-head{position:relative}.countries-pricing .section-head h2{color:var(--navy)}.countries-pricing .section-head p{color:var(--muted)}.countries-pricing .section-kicker{color:var(--gold-dark);background:rgba(218,161,30,.12);border-color:rgba(218,161,30,.4)}.countries-pricing-grid{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.country-price-card{background:#fff;border:1px solid rgba(218,161,30,.35);border-radius:18px;padding:24px;box-shadow:0 14px 30px rgba(6,26,51,.08);transition:transform .25s,border-color .25s,box-shadow .25s}.country-price-card:hover{transform:translateY(-6px);border-color:var(--gold);box-shadow:0 20px 40px rgba(6,26,51,.14)}.country-price-top{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--border)}.country-flag{display:flex;width:44px;height:34px;flex:0 0 44px;align-items:center;justify-content:center;border:1px solid rgba(6,26,51,.1);border-radius:7px;background:#fff;font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:25px;line-height:1;box-shadow:0 4px 12px rgba(6,26,51,.12)}.country-price-top h3{margin:0;color:var(--navy);font-size:19px;line-height:1.45}.country-price-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.country-price-list div{min-width:0}.country-price-list span{display:block;color:var(--muted);font-size:12px}.country-price-list strong{display:block;margin-top:4px;color:var(--gold-dark);font-size:18px;white-space:nowrap}.country-airports{margin-top:20px;padding-top:17px;border-top:1px solid var(--border)}.country-airports>span{display:block;margin-bottom:10px;color:var(--muted);font-size:12px;font-weight:800}.airport-tags{display:flex;flex-wrap:wrap;gap:7px}.airport-tags b{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid rgba(218,161,30,.42);border-radius:999px;background:#fff9e9;color:var(--navy);font-size:12px;font-weight:700}
.home .countries-pricing{background:#f5f7f8!important;color:#061a33!important}.home .countries-pricing .section-head h2,.home .countries-pricing .country-price-top h3{color:#061a33!important}.home .countries-pricing .section-head p,.home .countries-pricing .country-price-list span,.home .countries-pricing .country-airports>span{color:#52657a!important}.home .countries-pricing .country-price-card{background:#ffffff!important;border:1px solid #d9ad42!important;box-shadow:0 14px 34px rgba(6,26,51,.12)!important}.home .countries-pricing .country-price-list strong{color:#9a6500!important}.home .countries-pricing .country-airports{border-color:#e6ddca!important}.home .countries-pricing .airport-tags b{background:#fff7dd!important;border-color:#d9ad42!important;color:#061a33!important}
.service-types{background:linear-gradient(135deg,#fffdf8,var(--cream))}.visa-card{position:relative;overflow:hidden;background:#fff;border:1px solid rgba(218,161,30,.28);border-radius:var(--radius);padding:30px;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s}.visa-card:before{content:"";position:absolute;top:0;right:0;left:0;height:4px;background:linear-gradient(90deg,var(--gold-light),var(--gold),var(--gold-light))}.visa-card:hover{transform:translateY(-7px);box-shadow:var(--shadow-hover)}.visa-card h3{margin:18px 0 8px;color:var(--navy);font-size:22px}.visa-card p{margin:0;color:var(--muted)}.visa-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:var(--navy);color:var(--gold-light);font-size:23px;box-shadow:0 10px 20px rgba(6,26,51,.15)}
.worker-card{overflow:hidden;padding:0}.worker-card .thumb{height:260px;background:#F4F1E8;display:flex;align-items:center;justify-content:center;overflow:hidden}.worker-card .thumb img{width:100%;height:100%;object-fit:cover}.worker-card .body{padding:20px}.meta{color:var(--muted);font-size:14px}.price{font-size:22px;font-weight:900;color:var(--navy);margin:10px 0}.countries{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.country{background:#fff;border:1px solid var(--border);padding:16px 22px;border-radius:14px;font-weight:800;box-shadow:var(--shadow);color:var(--navy)}
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.step{position:relative;text-align:center}.step-number{width:52px;height:52px;border-radius:50%;margin:0 auto 14px;background:linear-gradient(145deg,var(--navy-2),var(--navy));color:var(--gold-light);display:flex;align-items:center;justify-content:center;font-weight:900;border:2px solid var(--gold);box-shadow:0 8px 18px rgba(6,26,51,.13)}
.cta{background:radial-gradient(circle at 85% 10%,rgba(218,161,30,.24),transparent 25%),linear-gradient(135deg,var(--navy),var(--navy-2));color:#fff;border-radius:28px;padding:54px;border:1px solid rgba(218,161,30,.42);box-shadow:0 22px 50px rgba(6,26,51,.16)}.cta h2{margin:0 0 8px;color:#fff}.site-footer{background:linear-gradient(135deg,#04172d,var(--navy));color:#DCE6F0;padding:55px 0 20px;border-top:3px solid var(--gold)}.site-footer h3{color:var(--gold-light)}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:35px}.footer-bottom{border-top:1px solid rgba(218,161,30,.25);margin-top:30px;padding-top:18px;color:#A9B8C9;font-size:13px}
.success-clients{background:linear-gradient(180deg,#fffdf8,#f4f7f9)}.clients-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.client-card{display:flex;flex-direction:column;min-height:204px;overflow:hidden;background:#fff;border:1px solid #e5e7e8;border-radius:18px;box-shadow:0 12px 28px rgba(6,26,51,.07);transition:transform .25s,box-shadow .25s,border-color .25s}.client-card:hover{transform:translateY(-6px);border-color:rgba(218,161,30,.6);box-shadow:var(--shadow-hover)}.client-logo{height:126px;padding:20px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#fff,#f8f7f2);border-bottom:1px solid #edf0f2}.client-logo img{width:100%;height:100%;object-fit:contain;display:block}.client-logo span{color:var(--muted);font-size:13px;font-weight:800}.client-info{padding:15px 18px}.client-info h3{margin:0 0 4px;color:var(--navy);font-size:16px;line-height:1.5}.client-info span{color:var(--gold-dark);font-size:13px;font-weight:800}
.sponsors-section{background:linear-gradient(145deg,#061a33,#0e355b);color:#fff}.sponsors-section .section-head h2{color:#fff}.sponsors-section .section-head p{color:#d5e1ee}.sponsors-section .section-kicker{color:var(--gold-light);background:rgba(218,161,30,.14);border-color:rgba(244,215,122,.42)}.sponsors-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.sponsor-card{display:flex;flex-direction:column;min-height:204px;overflow:hidden;background:rgba(255,255,255,.96);border:1px solid rgba(244,215,122,.5);border-radius:18px;box-shadow:0 15px 30px rgba(0,0,0,.17);transition:transform .25s,box-shadow .25s}.sponsor-card:hover{transform:translateY(-6px);box-shadow:0 22px 40px rgba(0,0,0,.28)}.sponsor-logo{height:126px;padding:20px;display:flex;align-items:center;justify-content:center;background:#fff;border-bottom:1px solid #edf0f2}.sponsor-logo img{width:100%;height:100%;object-fit:contain;display:block}.sponsor-logo span{color:var(--muted);font-size:13px;font-weight:800}.sponsor-info{padding:15px 18px}.sponsor-info h3{margin:0 0 4px;color:var(--navy);font-size:16px;line-height:1.5}.sponsor-info span{color:var(--gold-dark);font-size:13px;font-weight:800}
.home .sponsors-section{background:#f5f7f8!important;color:#061a33!important}.home .sponsors-section .section-head h2{color:#061a33!important}.home .sponsors-section .section-head p{color:#52657a!important}.home .sponsors-section .section-kicker{color:#9a6500!important;background:#fff7dd!important;border-color:#d9ad42!important}.home .sponsors-section .sponsor-card{background:#ffffff!important;border:1px solid #d9ad42!important;box-shadow:0 14px 34px rgba(6,26,51,.12)!important}.home .sponsors-section .sponsor-logo{background:#ffffff!important;border-bottom-color:#e6ddca!important}.home .sponsors-section .sponsor-info h3{color:#061a33!important}.home .sponsors-section .sponsor-info span{color:#9a6500!important}
.home .sponsors-section{position:relative;overflow:hidden}.home .sponsors-section:before,.home .sponsors-section:after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:0;animation:sponsor-orbit 12s ease-in-out infinite alternate}.home .sponsors-section:before{width:310px;height:310px;top:-155px;right:-85px;border:2px solid rgba(218,161,30,.28);box-shadow:0 0 0 28px rgba(218,161,30,.06),0 0 0 60px rgba(6,26,51,.035)}.home .sponsors-section:after{width:190px;height:190px;bottom:-100px;left:6%;background:rgba(218,161,30,.09);border:1px solid rgba(218,161,30,.25);animation-delay:-5s}.home .sponsors-section .container{position:relative;z-index:1}@keyframes sponsor-orbit{0%{transform:translate3d(0,0,0) scale(1)}100%{transform:translate3d(-22px,18px,0) scale(1.08)}}@media(prefers-reduced-motion:reduce){.home .sponsors-section:before,.home .sponsors-section:after{animation:none}}
.single-wrap{padding:60px 0}.single-card{background:#fff;border-radius:24px;padding:35px;border:1px solid var(--border);box-shadow:var(--shadow)}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.form-grid input,.form-grid select,.form-grid textarea{width:100%;padding:13px;border:1px solid #D9D2C2;border-radius:10px;background:#fff;font:inherit}.form-grid .full{grid-column:1/-1}.woocommerce .site-main{padding:50px 0}.woocommerce .button{background:var(--navy)!important;color:#fff!important;border-radius:10px!important}.woocommerce .button:hover{background:var(--gold)!important;color:var(--navy)!important}.woocommerce .woocommerce-loop-product__title{color:var(--navy)}
@media(max-width:900px){.hero-grid,.footer-grid{grid-template-columns:1fr}.grid-3,.grid-4,.arrivals-grid,.countries-pricing-grid,.clients-grid,.sponsors-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:1fr 1fr}.main-nav{display:none}.main-nav.open{display:block;position:absolute!important;top:calc(100% + 1px);right:0;left:0;width:auto;transform:none!important;background:#fff;padding:18px;text-align:center;border-bottom:3px solid var(--gold);box-shadow:0 14px 25px rgba(6,26,51,.12)}.main-nav ul{flex-direction:column;align-items:center;border:0;background:transparent;padding:0}.main-nav a{padding:10px 12px}.menu-toggle{display:block}.hero{padding:82px 0}.hero-image-card{min-height:340px}}
@media(max-width:600px){.grid-3,.grid-4,.form-grid,.arrivals-grid,.countries-pricing-grid,.clients-grid,.sponsors-grid{grid-template-columns:1fr}.steps{grid-template-columns:1fr}.hero{padding:65px 0}.section{padding:55px 0}.header-inner{min-height:78px}.logo{min-width:170px}.logo img,.logo .custom-logo{max-height:56px}.logo-default{width:170px;height:57px;max-height:57px}.arrival-photo{height:300px}}


/* =========================================================
   RESPONSIVE HEADER — v1.4.5
   Desktop: navigation centered, language switcher at the side.
   Mobile: [Language] [Centered logo] [Menu].
   ========================================================= */

/* Accessibility helper */
.screen-reader-text{
  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;
}

/* Header side anchors keep the mobile controls independent from the centered logo. */
.header-side{
  display:flex;
  align-items:center;
  flex:0 0 220px;
  min-width:220px;
  position:relative;
  z-index:30;
}
.header-side-start{justify-content:flex-start;}
.header-side-end{justify-content:flex-end;}

.language-switcher{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:var(--navy);
}
.language-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:38px;
  color:var(--gold-dark);
  font-size:17px;
}
.language-select{
  appearance:none;
  -webkit-appearance:none;
  min-width:112px;
  height:40px;
  padding:0 34px 0 13px;
  border:1px solid rgba(218,161,30,.55);
  border-radius:12px;
  background:
    linear-gradient(45deg,transparent 50%,var(--navy) 50%) calc(100% - 16px) 17px/6px 6px no-repeat,
    linear-gradient(135deg,var(--navy) 50%,transparent 50%) calc(100% - 12px) 17px/6px 6px no-repeat,
    #fff;
  color:var(--navy);
  font:800 13px Tahoma,Arial,sans-serif;
  cursor:pointer;
  outline:none;
  box-shadow:0 5px 15px rgba(6,26,51,.06);
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
.language-select:hover{
  border-color:var(--gold);
  box-shadow:0 7px 18px rgba(6,26,51,.1);
}
.language-select:focus-visible{
  border-color:var(--gold-dark);
  box-shadow:0 0 0 3px rgba(218,161,30,.22);
}
.language-select:active{transform:translateY(1px);}

/* Keep the logo genuinely centered in the viewport on desktop too. */
.site-header .logo{
  position:absolute;
  left:50%;
  top:50%;
  width:240px;
  min-width:240px;
  height:80px;
  margin:0;
  padding:0;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:20;
}
.site-header .logo img,
.site-header .logo .logo-default,
.site-header .logo .custom-logo{
  display:block;
  width:auto;
  max-width:240px;
  height:auto;
  max-height:78px;
  object-fit:contain;
  object-position:center;
}

.menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:86px;
  min-width:86px;
  height:42px;
  margin:0;
  padding:0 12px;
  border:1px solid rgba(6,26,51,.12);
  border-radius:12px;
  background:var(--navy);
  color:#fff;
  font:800 13px Tahoma,Arial,sans-serif;
  cursor:pointer;
  box-shadow:0 7px 18px rgba(6,26,51,.14);
  transition:background .2s,transform .2s,box-shadow .2s;
}
.menu-toggle:hover{background:var(--navy-2);}
.menu-toggle:active{transform:translateY(1px);}
.menu-toggle:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(218,161,30,.28),0 7px 18px rgba(6,26,51,.14);
}
.menu-toggle-icon{
  display:flex;
  flex-direction:column;
  gap:3px;
  width:16px;
}
.menu-toggle-icon i{
  display:block;
  width:16px;
  height:2px;
  border-radius:2px;
  background:#fff;
}
.menu-toggle-text{white-space:nowrap;}

@media (min-width:901px){
  .site-header .header-inner{
    min-height:104px;
    padding:0;
  }
  .main-nav{
    top:50%;
    left:50%;
  }
  .header-side-start,
  .header-side-end{
    min-height:104px;
  }
  body.lang-en .header-side-start{justify-content:flex-end;}
  body.lang-en .header-side-end{justify-content:flex-start;}
  body.lang-en .header-side-start{order:3;}
  body.lang-en .logo{order:2;}
  body.lang-en .header-side-end{order:1;}
}

@media (max-width:900px){
  .site-header .header-inner{
    min-height:82px!important;
    width:min(1180px,94%)!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    position:relative!important;
    gap:0!important;
  }

  /* Mobile: language and menu are always on opposite sides. */
  .header-side{
    flex:0 0 100px!important;
    min-width:100px!important;
    height:82px!important;
    z-index:50!important;
  }
  .header-side-start{justify-content:flex-start!important;}
  .header-side-end{justify-content:flex-end!important;}

  /* In English/RTL switching, the controls swap sides so the language
     remains opposite the menu and the logo stays centered. */
  body.lang-en .header-side-start{
    order:3!important;
    justify-content:flex-end!important;
  }
  body.lang-en .site-header .logo{order:2!important;}
  body.lang-en .header-side-end{
    order:1!important;
    justify-content:flex-start!important;
  }

  .site-header .logo{
    left:50%!important;
    top:50%!important;
    width:150px!important;
    min-width:150px!important;
    height:64px!important;
    transform:translate(-50%,-50%)!important;
    z-index:40!important;
  }
  .site-header .logo img,
  .site-header .logo .logo-default,
  .site-header .logo .custom-logo{
    max-width:150px!important;
    max-height:56px!important;
  }

  .language-switcher{
    gap:0!important;
    z-index:55!important;
  }
  .language-label{
    display:none!important;
  }
  .language-select{
    min-width:92px!important;
    width:92px!important;
    height:40px!important;
    padding:0 28px 0 10px!important;
    font-size:12px!important;
    border-radius:11px!important;
    background:
      linear-gradient(45deg,transparent 50%,var(--navy) 50%) calc(100% - 15px) 17px/5px 5px no-repeat,
      linear-gradient(135deg,var(--navy) 50%,transparent 50%) calc(100% - 11px) 17px/5px 5px no-repeat,
      #fff!important;
  }

  .menu-toggle{
    display:inline-flex!important;
    position:relative!important;
    width:86px!important;
    min-width:86px!important;
    height:40px!important;
    z-index:55!important;
  }

  /* The dropdown opens below the header and never overlaps the logo/controls. */
  .site-header .main-nav{
    display:none!important;
    position:absolute!important;
    top:calc(100% + 1px)!important;
    right:0!important;
    left:0!important;
    width:auto!important;
    margin:0!important;
    padding:14px!important;
    transform:none!important;
    z-index:45!important;
    background:#fff!important;
    border:1px solid rgba(218,161,30,.32)!important;
    border-top:3px solid var(--gold)!important;
    border-radius:0 0 18px 18px!important;
    box-shadow:0 16px 35px rgba(6,26,51,.15)!important;
  }
  .site-header .main-nav.open{
    display:block!important;
  }
  .site-header .main-nav ul{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:4px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
  }
  .site-header .main-nav li{list-style:none!important;}
  .site-header .main-nav a{
    display:block!important;
    padding:11px 14px!important;
    border-radius:10px!important;
    text-align:center!important;
  }

  /* When the menu is open, make the control visibly active. */
  .menu-toggle[aria-expanded="true"]{
    background:var(--gold)!important;
    color:var(--navy)!important;
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i{
    background:var(--navy)!important;
  }
}

@media (max-width:480px){
  .site-header .header-inner{
    min-height:76px!important;
    width:calc(100% - 20px)!important;
  }
  .header-side{
    flex-basis:94px!important;
    min-width:94px!important;
    height:76px!important;
  }
  .site-header .logo{
    width:140px!important;
    min-width:140px!important;
    height:60px!important;
  }
  .site-header .logo img,
  .site-header .logo .logo-default,
  .site-header .logo .custom-logo{
    max-width:140px!important;
    max-height:52px!important;
  }
  .language-select{
    min-width:84px!important;
    width:84px!important;
    height:38px!important;
    font-size:11px!important;
  }
  .menu-toggle{
    width:82px!important;
    min-width:82px!important;
    height:38px!important;
    font-size:12px!important;
  }
}

@media (max-width:360px){
  .site-header .header-inner{
    width:calc(100% - 14px)!important;
  }
  .header-side{
    flex-basis:88px!important;
    min-width:88px!important;
  }
  .site-header .logo{
    width:128px!important;
    min-width:128px!important;
  }
  .site-header .logo img,
  .site-header .logo .logo-default,
  .site-header .logo .custom-logo{
    max-width:128px!important;
    max-height:48px!important;
  }
  .language-select{
    min-width:78px!important;
    width:78px!important;
    padding-left:7px!important;
    font-size:10px!important;
  }
  .menu-toggle{
    width:76px!important;
    min-width:76px!important;
    font-size:11px!important;
  }
}

/* Prevent page direction from accidentally reversing the controls. */
body.lang-ar .header-side-start{order:1;}
body.lang-ar .site-header .logo{order:2;}
body.lang-ar .header-side-end{order:3;}

/* Desktop header layout: logo + navigation stay together on one side; language alone on the opposite side. */
@media (min-width:901px){
  .site-header .header-inner{
    display:grid!important;
    grid-template-columns:minmax(170px,1fr) auto minmax(170px,1fr)!important;
    align-items:center!important;
    min-height:104px!important;
    gap:18px!important;
    position:relative!important;
  }

  /* Reset the mobile/flex positioning on desktop. */
  .site-header .header-side{
    position:static!important;
    min-width:0!important;
    width:auto!important;
    height:auto!important;
    min-height:104px!important;
    flex:none!important;
  }

  /* Arabic: language is at the far left; menu + logo are on the right. */
  body.lang-ar .header-side-start{
    grid-column:1!important;
    grid-row:1!important;
    justify-content:flex-start!important;
    order:initial!important;
  }
  body.lang-ar .main-nav{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    position:static!important;
    width:auto!important;
    max-width:none!important;
    transform:none!important;
    z-index:25!important;
  }
  body.lang-ar .logo{
    grid-column:3!important;
    grid-row:1!important;
    justify-self:end!important;
    position:static!important;
    width:240px!important;
    min-width:240px!important;
    height:80px!important;
    margin:0!important;
    transform:none!important;
    z-index:20!important;
  }

  /* English: logo + menu move to the left; language moves to the far right. */
  body.lang-en .header-side-start{
    grid-column:3!important;
    grid-row:1!important;
    justify-content:flex-end!important;
    order:initial!important;
  }
  body.lang-en .main-nav{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:start!important;
    position:static!important;
    width:auto!important;
    max-width:none!important;
    transform:none!important;
    z-index:25!important;
  }
  body.lang-en .logo{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    position:static!important;
    width:240px!important;
    min-width:240px!important;
    height:80px!important;
    margin:0!important;
    transform:none!important;
    z-index:20!important;
  }

  /* The desktop menu must never share the language/logo area or overlap them. */
  .site-header .main-nav ul{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:5px!important;
    width:max-content!important;
    max-width:none!important;
    margin:0!important;
    padding:6px!important;
    white-space:nowrap!important;
  }
  .site-header .main-nav a{
    padding:8px 12px!important;
    font-size:13px!important;
    white-space:nowrap!important;
  }
  .site-header .header-side-end{display:none!important;}
}

/* Medium desktop screens: keep all three zones usable without collisions. */
@media (min-width:901px) and (max-width:1180px){
  .site-header .header-inner{
    grid-template-columns:minmax(125px,1fr) auto minmax(125px,1fr)!important;
    gap:10px!important;
  }
  .site-header .logo{
    width:190px!important;
    min-width:190px!important;
    height:70px!important;
  }
  .site-header .logo img,
  .site-header .logo .logo-default,
  .site-header .logo .custom-logo{
    max-width:190px!important;
    max-height:64px!important;
  }
  .site-header .main-nav ul{gap:2px!important;padding:4px!important;}
  .site-header .main-nav a{padding:7px 7px!important;font-size:12px!important;}
  .language-select{min-width:94px!important;}
}

/* v1.4.9 — definitive header layout: desktop uses two independent zones,
   while mobile keeps language / centered logo / menu on opposite sides. */
@media (min-width:901px){
  .site-header .header-inner{
    display:grid!important;
    grid-template-columns:1fr auto 1fr!important;
    align-items:center!important;
    min-height:104px!important;
    gap:28px!important;
    position:relative!important;
  }
  .site-header .header-language{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    display:flex!important;
    align-items:center!important;
    position:static!important;
    min-width:0!important;
    width:auto!important;
  }
  .site-header .header-brand-nav{
    grid-column:3!important;
    grid-row:1!important;
    justify-self:end!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:26px!important;
    min-width:0!important;
    width:auto!important;
    position:static!important;
  }
  .site-header .header-brand-nav .logo{
    position:static!important;
    flex:0 0 240px!important;
    width:240px!important;
    min-width:240px!important;
    height:80px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:20!important;
  }
  .site-header .header-brand-nav .logo img,
  .site-header .header-brand-nav .logo .logo-default,
  .site-header .header-brand-nav .logo .custom-logo{
    display:block!important;
    width:auto!important;
    max-width:240px!important;
    height:auto!important;
    max-height:78px!important;
    object-fit:contain!important;
  }
  .site-header .header-brand-nav .main-nav{
    position:static!important;
    flex:0 1 auto!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    z-index:25!important;
  }
  .site-header .header-brand-nav .main-nav ul{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:4px!important;
    width:max-content!important;
    max-width:100%!important;
    margin:0!important;
    padding:6px!important;
    white-space:nowrap!important;
  }
  .site-header .header-brand-nav .main-nav a{
    display:block!important;
    padding:8px 12px!important;
    font-size:13px!important;
    white-space:nowrap!important;
  }
  .site-header .header-menu{display:none!important;}

  /* English: mirror the entire desktop arrangement. */
  body.lang-en .site-header .header-language{
    grid-column:3!important;
    justify-self:end!important;
  }
  /* Language-aware logo placement: Arabic = logo on the RIGHT, English = logo on the LEFT.
     Explicit flex ordering prevents RTL/LTR or inherited styles from reversing the logo. */
  .site-header .header-brand-nav{
    flex-direction:row!important;
  }
  body.lang-ar .site-header .header-brand-nav .logo{
    order:2!important;
  }
  body.lang-ar .site-header .header-brand-nav .main-nav{
    order:1!important;
  }

  body.lang-en .site-header .header-brand-nav{
    grid-column:1!important;
    justify-self:start!important;
    flex-direction:row!important;
  }
  body.lang-en .site-header .header-brand-nav .logo{
    order:1!important;
  }
  body.lang-en .site-header .header-brand-nav .main-nav{
    order:2!important;
  }
}

@media (min-width:901px) and (max-width:1200px){
  .site-header .header-inner{gap:14px!important;}
  .site-header .header-brand-nav{gap:14px!important;}
  .site-header .header-brand-nav .logo{flex-basis:190px!important;width:190px!important;min-width:190px!important;height:70px!important;}
  .site-header .header-brand-nav .logo img,
  .site-header .header-brand-nav .logo .logo-default,
  .site-header .header-brand-nav .logo .custom-logo{max-width:190px!important;max-height:64px!important;}
  .site-header .header-brand-nav .main-nav a{padding:7px 7px!important;font-size:12px!important;}
  .site-header .header-brand-nav .main-nav ul{gap:2px!important;padding:4px!important;}
}

@media (max-width:900px){
  .site-header .header-inner{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    position:relative!important;
    min-height:82px!important;
    gap:0!important;
  }
  .site-header .header-language{order:1!important;flex:0 0 100px!important;display:flex!important;justify-content:flex-start!important;align-items:center!important;}
  .site-header .header-brand-nav{order:2!important;display:block!important;position:static!important;flex:0 0 0!important;}
  .site-header .header-brand-nav .logo{position:absolute!important;left:50%!important;top:50%!important;width:150px!important;min-width:150px!important;height:64px!important;transform:translate(-50%,-50%)!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:40!important;}
  .site-header .header-brand-nav .logo img,
  .site-header .header-brand-nav .logo .logo-default,
  .site-header .header-brand-nav .logo .custom-logo{max-width:150px!important;max-height:56px!important;}
  .site-header .header-brand-nav .main-nav{display:none!important;position:absolute!important;top:calc(100% + 1px)!important;right:0!important;left:0!important;width:auto!important;margin:0!important;padding:14px!important;transform:none!important;z-index:45!important;background:#fff!important;}
  .site-header .header-brand-nav .main-nav.open{display:block!important;}
  .site-header .header-menu{order:3!important;flex:0 0 100px!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;}
  body.lang-en .site-header .header-language{order:3!important;justify-content:flex-end!important;}
  body.lang-en .site-header .header-brand-nav{order:2!important;}
  body.lang-en .site-header .header-menu{order:1!important;justify-content:flex-start!important;}
}


/* =========================================================
   v1.5.0 — Countries & Prices: delivery time + CV presentation
   ========================================================= */
.countries-pricing .country-price-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  position:relative;
  overflow:hidden;
}
.countries-pricing .country-price-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,var(--gold-light),var(--gold),var(--gold-light));
  opacity:.9;
}
.countries-pricing .country-price-top{
  min-height:62px;
}
.countries-pricing .country-price-top h3{
  flex:1;
}
.countries-pricing .country-delivery-time{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
  padding:13px 14px;
  border:1px solid rgba(218,161,30,.28);
  border-radius:14px;
  background:linear-gradient(135deg,#fffaf0,#fff);
  box-shadow:0 7px 18px rgba(6,26,51,.055);
}
.countries-pricing .country-delivery-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:11px;
  background:var(--navy);
  color:var(--gold-light);
  font-size:18px;
  line-height:1;
}
.countries-pricing .country-delivery-time > span:last-child{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.countries-pricing .country-delivery-time small{
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  line-height:1.4;
}
.countries-pricing .country-delivery-time strong{
  color:var(--navy);
  font-size:14px;
  line-height:1.55;
  font-weight:900;
}
.countries-pricing .country-cv-wrap{
  margin-top:auto;
  padding-top:16px;
}
.countries-pricing .country-cv-button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  min-height:48px;
  padding:10px 14px;
  border:1px solid var(--navy);
  border-radius:13px;
  background:var(--navy);
  color:#fff!important;
  text-decoration:none!important;
  font-size:14px;
  font-weight:900;
  box-shadow:0 9px 20px rgba(6,26,51,.14);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease;
}
.countries-pricing .country-cv-button:hover,
.countries-pricing .country-cv-button:focus-visible{
  background:var(--gold-dark);
  border-color:var(--gold-dark);
  color:#fff!important;
  transform:translateY(-2px);
  box-shadow:0 13px 25px rgba(6,26,51,.18);
  outline:none;
}
.countries-pricing .country-cv-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:28px;
  padding:0 7px;
  border-radius:8px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.3);
  font-size:12px;
  letter-spacing:.3px;
}
.countries-pricing .country-cv-label{
  flex:1;
  text-align:center;
}
.countries-pricing .country-cv-arrow{
  font-size:18px;
  line-height:1;
  transition:transform .2s ease;
}
.countries-pricing .country-cv-button:hover .country-cv-arrow,
.countries-pricing .country-cv-button:focus-visible .country-cv-arrow{
  transform:translateX(-3px);
}
.home .countries-pricing .country-delivery-time{
  background:#fffaf0!important;
  border-color:#e6ddca!important;
}
.home .countries-pricing .country-delivery-icon{
  background:#061a33!important;
  color:#f4d77a!important;
}
.home .countries-pricing .country-delivery-time small{
  color:#52657a!important;
}
.home .countries-pricing .country-delivery-time strong{
  color:#061a33!important;
}
.home .countries-pricing .country-cv-button{
  background:#061a33!important;
  border-color:#061a33!important;
}
.home .countries-pricing .country-cv-button:hover,
.home .countries-pricing .country-cv-button:focus-visible{
  background:#b77d08!important;
  border-color:#b77d08!important;
}
@media (max-width:1100px){
  .countries-pricing-grid{grid-template-columns:repeat(2,1fr)!important;}
}
@media (max-width:700px){
  .countries-pricing-grid{grid-template-columns:1fr!important;gap:14px!important;}
  .countries-pricing .country-price-card{padding:19px!important;border-radius:16px!important;}
  .countries-pricing .country-price-top h3{font-size:18px!important;}
  .countries-pricing .country-price-list strong{font-size:16px!important;}
  .countries-pricing .country-delivery-time{padding:12px!important;}
  .countries-pricing .country-delivery-time strong{font-size:13px!important;}
  .countries-pricing .country-cv-button{min-height:50px!important;}
}
@media (prefers-reduced-motion:reduce){
  .countries-pricing .country-price-card,
  .countries-pricing .country-cv-button,
  .countries-pricing .country-cv-arrow{transition:none!important;}
}


/* v1.5.1 — language-aware desktop logo direction */
@media (min-width:901px){
  body.lang-ar .site-header .header-brand-nav{direction:ltr!important;}
  body.lang-en .site-header .header-brand-nav{direction:ltr!important;}
}

/* =========================================================
   HEADER LAYOUT — v1.5.2
   Arabic desktop: Logo (right) | Navigation (center) | Language (left)
   English desktop: Language (right) | Navigation (center) | Logo (left)
   ========================================================= */
@media (min-width:901px){
  .site-header .header-inner{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    position:relative!important;
  }

  .site-header .header-brand-nav{
    display:contents!important;
  }

  .site-header .header-language{
    position:absolute!important;
    top:50%!important;
    left:0!important;
    right:auto!important;
    transform:translateY(-50%)!important;
    z-index:35!important;
  }

  .site-header .logo{
    position:absolute!important;
    top:50%!important;
    right:0!important;
    left:auto!important;
    width:240px!important;
    min-width:240px!important;
    height:80px!important;
    margin:0!important;
    transform:translateY(-50%)!important;
    z-index:20!important;
    justify-content:flex-end!important;
  }

  .site-header .main-nav{
    position:absolute!important;
    top:50%!important;
    left:50%!important;
    right:auto!important;
    width:max-content!important;
    transform:translate(-50%,-50%)!important;
    z-index:25!important;
  }

  .site-header .header-menu{display:none!important;}

  /* English: mirror the two side controls while keeping navigation centered. */
  body.lang-en .site-header .header-language{
    left:auto!important;
    right:0!important;
  }
  body.lang-en .site-header .logo{
    right:auto!important;
    left:0!important;
    justify-content:flex-start!important;
  }
}

/* Mobile remains responsive: centered logo with language and menu on opposite sides. */
@media (max-width:900px){
  .site-header .header-brand-nav{display:contents!important;}
  .site-header .header-language{position:static!important;transform:none!important;}
}

/* =========================================================
   v1.5.2 — FINAL HEADER GEOMETRY FIX
   Desktop:
   Arabic  = logo RIGHT | navigation CENTER | language LEFT
   English = language RIGHT | navigation CENTER | logo LEFT
   Mobile keeps logo truly centered with controls at the sides.
   ========================================================= */
@media (min-width:901px){
  .site-header .header-inner{
    display:block!important;
    position:relative!important;
    min-height:104px!important;
    width:100%!important;
  }

  /* The language control is anchored to the outer edge, independent of the logo. */
  .site-header .header-language{
    position:absolute!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    z-index:60!important;
    display:flex!important;
    align-items:center!important;
  }
  body.lang-ar .site-header .header-language{
    left:0!important;
    right:auto!important;
  }
  body.lang-en .site-header .header-language{
    right:0!important;
    left:auto!important;
  }

  /* Brand/navigation wrapper becomes a full-width positioning layer. */
  .site-header .header-brand-nav{
    position:static!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  /* Logo is anchored to the correct edge — never to the viewport center. */
  .site-header .header-brand-nav .logo{
    position:absolute!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:220px!important;
    min-width:220px!important;
    height:78px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:55!important;
    flex:none!important;
  }
  body.lang-ar .site-header .header-brand-nav .logo{
    right:0!important;
    left:auto!important;
  }
  body.lang-en .site-header .header-brand-nav .logo{
    left:0!important;
    right:auto!important;
  }

  .site-header .header-brand-nav .logo img,
  .site-header .header-brand-nav .logo .logo-default,
  .site-header .header-brand-nav .logo .custom-logo{
    display:block!important;
    width:auto!important;
    max-width:220px!important;
    height:auto!important;
    max-height:70px!important;
    object-fit:contain!important;
    margin:0!important;
  }

  /* Navigation has its own independent center anchor. */
  .site-header .header-brand-nav .main-nav{
    position:absolute!important;
    top:50%!important;
    left:50%!important;
    right:auto!important;
    width:max-content!important;
    max-width:calc(100% - 500px)!important;
    margin:0!important;
    padding:0!important;
    transform:translate(-50%,-50%)!important;
    z-index:50!important;
  }
  .site-header .header-brand-nav .main-nav ul{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    width:max-content!important;
    max-width:100%!important;
    margin:0!important;
    padding:5px!important;
    gap:3px!important;
    white-space:nowrap!important;
  }
  .site-header .header-brand-nav .main-nav a{
    display:block!important;
    white-space:nowrap!important;
    padding:8px 11px!important;
    font-size:13px!important;
  }

  /* Desktop menu button is intentionally absent. */
  .site-header .header-menu{
    display:none!important;
  }
}

@media (min-width:901px) and (max-width:1200px){
  .site-header .header-brand-nav .logo{
    width:190px!important;
    min-width:190px!important;
  }
  .site-header .header-brand-nav .logo img,
  .site-header .header-brand-nav .logo .logo-default,
  .site-header .header-brand-nav .logo .custom-logo{
    max-width:190px!important;
    max-height:62px!important;
  }
  .site-header .header-brand-nav .main-nav{
    max-width:calc(100% - 430px)!important;
  }
  .site-header .header-brand-nav .main-nav a{
    padding:7px 7px!important;
    font-size:12px!important;
  }
}

/* Mobile: preserve a real viewport-centered logo, with language/menu on opposite sides. */
@media (max-width:900px){
  .site-header .header-inner{
    display:flex!important;
    position:relative!important;
    min-height:82px!important;
    width:100%!important;
  }
  .site-header .header-brand-nav{
    position:static!important;
    display:block!important;
    width:0!important;
    min-width:0!important;
    flex:0 0 0!important;
  }
  .site-header .header-brand-nav .logo{
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    width:150px!important;
    min-width:150px!important;
    height:64px!important;
    margin:0!important;
    padding:0!important;
    z-index:70!important;
  }
}


/* =========================================================
   v1.5.4 — Arabic desktop header: physical left/center/right
   Desktop only. Mobile/tablet behavior is intentionally untouched.
   Arabic: [ Language LEFT ] [ Navigation CENTER ] [ Logo RIGHT ]
   ========================================================= */
@media (min-width:901px){
  html[lang="ar"] .site-header .header-inner{
    display:block!important;
    position:relative!important;
    width:100%!important;
    min-height:104px!important;
    direction:ltr!important;
  }
  html[lang="ar"] .site-header .header-language{
    position:absolute!important;
    top:50%!important;
    left:0!important;
    right:auto!important;
    transform:translateY(-50%)!important;
    z-index:100!important;
    display:flex!important;
    align-items:center!important;
    width:auto!important;
    margin:0!important;
  }
  html[lang="ar"] .site-header .header-brand-nav{
    position:static!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    direction:ltr!important;
  }
  html[lang="ar"] .site-header .header-brand-nav .logo{
    position:absolute!important;
    top:50%!important;
    right:0!important;
    left:auto!important;
    transform:translateY(-50%)!important;
    width:220px!important;
    min-width:220px!important;
    height:78px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    z-index:90!important;
  }
  html[lang="ar"] .site-header .header-brand-nav .logo img,
  html[lang="ar"] .site-header .header-brand-nav .logo .logo-default,
  html[lang="ar"] .site-header .header-brand-nav .logo .custom-logo{
    display:block!important;
    width:auto!important;
    max-width:220px!important;
    height:auto!important;
    max-height:70px!important;
    object-fit:contain!important;
    margin:0!important;
  }
  html[lang="ar"] .site-header .header-brand-nav .main-nav{
    position:absolute!important;
    top:50%!important;
    left:50%!important;
    right:auto!important;
    transform:translate(-50%,-50%)!important;
    width:max-content!important;
    max-width:calc(100% - 500px)!important;
    margin:0!important;
    padding:0!important;
    z-index:80!important;
    direction:rtl!important;
  }
  html[lang="ar"] .site-header .header-brand-nav .main-nav ul{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    width:max-content!important;
    max-width:100%!important;
    margin:0!important;
    padding:5px!important;
    gap:3px!important;
    white-space:nowrap!important;
  }
  html[lang="ar"] .site-header .header-menu{display:none!important;}
}
@media (min-width:901px) and (max-width:1200px){
  html[lang="ar"] .site-header .header-brand-nav .logo{
    width:190px!important;
    min-width:190px!important;
  }
  html[lang="ar"] .site-header .header-brand-nav .logo img,
  html[lang="ar"] .site-header .header-brand-nav .logo .logo-default,
  html[lang="ar"] .site-header .header-brand-nav .logo .custom-logo{
    max-width:190px!important;
    max-height:62px!important;
  }
  html[lang="ar"] .site-header .header-brand-nav .main-nav{
    max-width:calc(100% - 430px)!important;
  }
}

/* =========================================================
   v1.5.4 — Restore previous mobile header layout
   Mobile/tablet only: centered logo, language left, menu right.
   Desktop Arabic layout remains unchanged above.
   ========================================================= */
@media (max-width:900px){
  .site-header .header-inner{
    display:flex!important;
    position:relative!important;
    min-height:82px!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding-left:12px!important;
    padding-right:12px!important;
    direction:ltr!important;
  }
  .site-header .header-language{
    order:1!important;
    flex:0 0 100px!important;
    display:flex!important;
    justify-content:flex-start!important;
    align-items:center!important;
    position:static!important;
    transform:none!important;
    margin:0!important;
  }
  .site-header .header-brand-nav{
    order:2!important;
    position:static!important;
    display:block!important;
    width:0!important;
    min-width:0!important;
    flex:0 0 0!important;
    height:auto!important;
  }
  .site-header .header-brand-nav .logo{
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    width:150px!important;
    min-width:150px!important;
    height:64px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:70!important;
  }
  .site-header .header-brand-nav .logo img,
  .site-header .header-brand-nav .logo .logo-default,
  .site-header .header-brand-nav .logo .custom-logo{
    max-width:150px!important;
    max-height:56px!important;
  }
  .site-header .header-brand-nav .main-nav{
    display:none!important;
    position:absolute!important;
    top:calc(100% + 1px)!important;
    right:0!important;
    left:0!important;
    width:auto!important;
    margin:0!important;
    padding:14px!important;
    transform:none!important;
    z-index:45!important;
    background:#fff!important;
  }
  .site-header .header-brand-nav .main-nav.open{
    display:block!important;
  }
  .site-header .header-menu{
    order:3!important;
    flex:0 0 100px!important;
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
  }
  /* English keeps the previous mirrored mobile arrangement. */
  body.lang-en .site-header .header-language{
    order:3!important;
    justify-content:flex-end!important;
  }
  body.lang-en .site-header .header-brand-nav{
    order:2!important;
  }
  body.lang-en .site-header .header-menu{
    order:1!important;
    justify-content:flex-start!important;
  }
}


/* v1.5.6 — Mobile header: keep both side controls clearly inside the viewport.
   The inset is applied to the header container itself so controls cannot sit on the
   screen edges, while the logo remains mathematically centered in the viewport. */
@media (max-width:900px){
  .site-header .header-inner{
    width:100%!important;
    box-sizing:border-box!important;
    padding-left:24px!important;
    padding-right:24px!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .site-header .header-language{
    margin-left:0!important;
    margin-right:0!important;
  }
  .site-header .header-menu{
    margin-left:0!important;
    margin-right:0!important;
  }
}


/* v1.5.7 — Arabic desktop: keep the logo safely inside the screen edge. */
@media (min-width:901px){
  html[lang="ar"] .site-header .header-brand-nav .logo{
    right:24px!important;
  }
}
@media (min-width:901px) and (max-width:1200px){
  html[lang="ar"] .site-header .header-brand-nav .logo{
    right:24px!important;
  }
}
