/* ════════════════════════════════════════════════
   HASKELL — Brand-aligned Design System
   Colors taken directly from official brand book
════════════════════════════════════════════════ */
:root {
  /* Brand palette */
  --navy:        #0d2547;
  --navy-light:  #1a3760;
  --navy-dark:   #081a35;
  --orange:      #e8804a;
  --orange-light:#f29867;
  --orange-dark: #c96936;
  --cream:       #f7f3ed;
  --cream-dark:  #ede5d6;
  --white:       #ffffff;

  /* Text */
  --text:        #0d2547;
  --text-soft:   #4a5568;
  --text-mute:   #8a96a8;
  --text-light:  #ffffff;
  --text-light-soft: rgba(255,255,255,0.78);
  --text-light-mute: rgba(255,255,255,0.5);

  /* Surfaces */
  --bg:          #ffffff;
  --bg-alt:      #f9f5ec;
  --bg-dark:     #0d2547;
  --surface:     #ffffff;
  --border:      #e5dccb;
  --border-dark: rgba(255,255,255,0.12);

  /* Effects */
  --shadow-sm:   0 2px 8px rgba(13,37,71,0.06);
  --shadow:      0 8px 24px rgba(13,37,71,0.08);
  --shadow-lg:   0 18px 48px rgba(13,37,71,0.14);
  --shadow-orange: 0 12px 32px rgba(232,128,74,0.32);

  /* Geometry */
  --r-sm:  8px;
  --r:     14px;
  --r-lg:  22px;
  --r-xl:  28px;
}

/* ════════════════════════════════════
   RESET
════════════════════════════════════ */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html {
  scroll-behavior:smooth;
  overflow-x:hidden;
  width:100%;
  max-width:100vw;
}
body {
  font-family:'Cairo',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  overflow-x:hidden;
  width:100%;
  max-width:100vw;
  position:relative;
  -webkit-font-smoothing:antialiased;
}
body.loading { overflow:hidden; }
img, svg, video, canvas { max-width:100%; }

/* Custom selection */
::selection { background:var(--orange); color:#fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width:10px; height:10px; }
::-webkit-scrollbar-track { background:var(--cream); }
::-webkit-scrollbar-thumb { background:linear-gradient(180deg, var(--orange) 0%, var(--orange-dark) 100%); border-radius:10px; border:2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background:var(--orange-dark); }

/* ════════════════════════════════════
   PRELOADER
════════════════════════════════════ */
.preloader {
  position:fixed; inset:0; z-index:9999;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:30px;
  transition:opacity .6s cubic-bezier(.4,0,.2,1), visibility .6s;
}
.preloader.hide { opacity:0; visibility:hidden; pointer-events:none; }
.preloader::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 50% 40% at 30% 30%, rgba(232,128,74,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 70%, rgba(232,128,74,0.12) 0%, transparent 60%);
  pointer-events:none;
}
.pl-logo {
  position:relative; z-index:2;
  width:120px; height:120px;
  display:flex; align-items:center; justify-content:center;
  animation:plPulse 2s ease-in-out infinite;
}
.pl-logo img {
  width:100%; height:100%; object-fit:contain;
  filter:brightness(0) invert(1);
  animation:plFloat 3s ease-in-out infinite;
}
.pl-ring {
  position:absolute; inset:-20px;
  border:2px solid rgba(232,128,74,0.25);
  border-top-color:var(--orange);
  border-radius:50%;
  animation:plSpin 1.4s linear infinite;
}
.pl-ring.r2 {
  inset:-36px;
  border-color:rgba(255,255,255,0.08);
  border-top-color:rgba(255,255,255,0.4);
  animation-duration:2.2s;
  animation-direction:reverse;
}
.pl-brand {
  position:relative; z-index:2;
  text-align:center; color:#fff;
}
.pl-brand .pb-name {
  font-family:'Syne',sans-serif; font-size:24px; font-weight:800;
  letter-spacing:8px; margin-bottom:8px;
  background:linear-gradient(90deg, #fff 0%, var(--orange) 50%, #fff 100%);
  background-size:200% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:plShimmer 2.5s linear infinite;
}
.pl-brand .pb-tag {
  font-size:11px; color:var(--text-light-soft); letter-spacing:3px;
}
.pl-bar {
  position:relative; z-index:2;
  width:200px; height:3px;
  background:rgba(255,255,255,0.08); border-radius:3px; overflow:hidden;
}
.pl-bar::after {
  content:''; position:absolute; top:0; bottom:0; left:0; width:40%;
  background:linear-gradient(90deg, transparent, var(--orange), transparent);
  border-radius:3px;
  animation:plBar 1.4s ease-in-out infinite;
}
@keyframes plSpin   { to { transform:rotate(360deg); } }
@keyframes plPulse  { 0%,100% { transform:scale(1); } 50% { transform:scale(1.05); } }
@keyframes plFloat  { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-6px); } }
@keyframes plShimmer { 0% { background-position:-100% center; } 100% { background-position:200% center; } }
@keyframes plBar    { 0% { left:-40%; } 100% { left:100%; } }
@media(prefers-reduced-motion:reduce) {
  .pl-logo, .pl-logo img, .pl-ring, .pl-bar::after, .pl-brand .pb-name { animation:none !important; }
}
[lang=en] body { font-family:'Inter','Cairo',sans-serif; }
img { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }
button { font-family:inherit; cursor:pointer; }
input,textarea,select { font-family:inherit; }

/* ════════════════════════════════════
   ANIMATIONS
════════════════════════════════════ */
@keyframes fadeUp    { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }
@keyframes fadeIn    { from{opacity:0} to{opacity:1} }
@keyframes slideDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:none} }
@keyframes scaleIn   { from{opacity:0;transform:scale(.94)} to{opacity:1;transform:scale(1)} }
@keyframes pulseDot  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.6)} }
@keyframes shimmer   { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
@keyframes float     { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes wiggle    { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-3deg)} 75%{transform:rotate(3deg)} }
@keyframes slideInRight { from{opacity:0;transform:translateX(40px)} to{opacity:1;transform:none} }
@keyframes slideInLeft  { from{opacity:0;transform:translateX(-40px)} to{opacity:1;transform:none} }

.rv { opacity:0; transform:translateY(28px);
  transition:opacity .65s cubic-bezier(.25,.46,.45,.94), transform .65s cubic-bezier(.25,.46,.45,.94); }
.rv.in { opacity:1; transform:none; }
.rv-l { opacity:0; transform:translateX(36px); transition:opacity .65s ease, transform .65s ease; }
.rv-l.in { opacity:1; transform:none; }
.rv-r { opacity:0; transform:translateX(-36px); transition:opacity .65s ease, transform .65s ease; }
.rv-r.in { opacity:1; transform:none; }
.rv-s { opacity:0; transform:scale(.93); transition:opacity .55s ease, transform .55s ease; }
.rv-s.in { opacity:1; transform:scale(1); }
.d1{transition-delay:.06s}.d2{transition-delay:.12s}.d3{transition-delay:.18s}
.d4{transition-delay:.24s}.d5{transition-delay:.30s}.d6{transition-delay:.36s}

/* ════════════════════════════════════
   NAVBAR
════════════════════════════════════ */
.navbar {
  position:sticky; top:0; z-index:200; height:74px;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 44px;
  transition:box-shadow .3s, background .3s;
  animation:slideDown .55s ease both;
}
.navbar.scrolled {
  background:rgba(255,255,255,0.98);
  box-shadow:0 4px 24px rgba(13,37,71,0.07);
}
.nav-logo { display:flex; align-items:center; gap:11px; }
.nav-logo img { height:46px; width:auto; }
.nav-logo-txt .brand { font-family:'Syne',sans-serif; font-size:16px; font-weight:800;
  letter-spacing:2px; color:var(--navy); }
.nav-logo-txt .sub { font-size:9.5px; color:var(--text-mute); letter-spacing:.6px; }

.nav-links { display:flex; gap:30px; list-style:none; align-items:center; }
.nav-links a {
  color:var(--navy); font-size:13.5px; font-weight:600;
  position:relative; padding:6px 0;
  transition:color .22s;
}
.nav-links a::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:2px;
  background:var(--orange); border-radius:2px;
  transform:scaleX(0); transform-origin:center; transition:transform .3s;
}
.nav-links a:hover, .nav-links a.active { color:var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform:scaleX(1); }

.nav-right { display:flex; align-items:center; gap:14px; }

.lang-sw {
  display:flex; background:var(--cream); border:1px solid var(--border);
  border-radius:30px; padding:3px; gap:2px;
}
.lang-btn {
  padding:5px 13px; font-size:11px; font-weight:700;
  background:transparent; border:none; color:var(--text-mute);
  border-radius:28px; transition:all .22s;
}
.lang-btn.active { background:var(--orange); color:#fff; }

/* Cart icon button */
.cart-btn {
  position:relative; width:42px; height:42px;
  background:var(--cream); border:1px solid var(--border); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; color:var(--navy);
  transition:all .25s;
}
.cart-btn:hover { background:var(--orange); border-color:var(--orange); color:#fff; transform:translateY(-2px); }
.cart-btn svg { width:18px; height:18px; }
.cart-count {
  position:absolute; top:-3px; right:-3px;
  background:var(--orange); color:#fff;
  width:20px; height:20px; border-radius:50%;
  font-size:10px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  border:2px solid #fff;
  animation:scaleIn .3s ease;
}
.cart-count.hidden { display:none; }

.btn-cta {
  padding:10px 22px; border-radius:30px;
  background:var(--orange); color:#fff;
  font-size:13px; font-weight:700; border:none;
  display:inline-flex; align-items:center; gap:6px;
  position:relative; overflow:hidden;
  transition:transform .2s, box-shadow .3s, background .25s;
}
.btn-cta::before {
  content:''; position:absolute; top:-50%; inset-inline-start:-60%;
  width:55%; height:200%; background:rgba(255,255,255,0.25);
  transform:skewX(-20deg); transition:inset-inline-start .5s;
}
.btn-cta:hover::before { inset-inline-start:115%; }
.btn-cta:hover { background:var(--orange-dark); transform:translateY(-1px); box-shadow:var(--shadow-orange); }

.nav-ham {
  display:none; background:none; border:1px solid var(--border);
  border-radius:8px; width:38px; height:38px;
  align-items:center; justify-content:center;
  flex-direction:column; gap:4px; padding:8px;
  transition:border-color .22s;
}
.nav-ham span { width:18px; height:1.8px; background:var(--navy); border-radius:2px; }
.nav-ham:hover { border-color:var(--orange); }

/* Mobile nav */
.mobile-nav {
  display:none; position:fixed; inset:0; z-index:300;
  background:rgba(255,255,255,0.98); backdrop-filter:blur(20px);
  flex-direction:column; align-items:center; justify-content:center; gap:26px;
}
.mobile-nav.open { display:flex; animation:fadeIn .3s ease; }
.mobile-nav a {
  font-size:21px; font-weight:700; color:var(--navy); padding:6px 0;
  transition:color .2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color:var(--orange); }
.mn-close {
  position:absolute; top:24px; background:none; border:none;
  color:var(--navy); font-size:28px; cursor:pointer;
}
[dir=rtl] .mn-close { left:24px; }
[dir=ltr] .mn-close { right:24px; }

/* ════════════════════════════════════
   SHARED LAYOUT
════════════════════════════════════ */
.section { padding:90px 44px; position:relative; }
.section-tight { padding:64px 44px; }
.container { max-width:1200px; margin:0 auto; }

.sec-label {
  font-family:'Syne',sans-serif; font-size:11px; font-weight:700;
  color:var(--orange); letter-spacing:3px;
  display:flex; align-items:center; gap:10px; margin-bottom:12px;
}
.sec-label::before { content:''; width:30px; height:2px; background:var(--orange); border-radius:2px; }
[dir=ltr] .sec-label { flex-direction:row-reverse; }
[dir=ltr] .sec-label::before { order:1; }
.sec-label.ctr { justify-content:center; }
.sec-label.ctr::before, .sec-label.ctr::after { display:block; }
.sec-label.ctr::after { content:''; width:30px; height:2px; background:var(--orange); border-radius:2px; }
/* قسم الشركاء: "شركاء النجاح" أكبر وأوضح */
.partners-section .sec-label { font-size:22px; letter-spacing:1.5px; }
.partners-section .sec-label::before, .partners-section .sec-label::after { width:40px; }

.sec-title {
  font-family:'Syne',sans-serif;
  font-size:clamp(28px,3.4vw,46px); font-weight:800;
  color:var(--navy); line-height:1.18; margin-bottom:14px;
}
.sec-title .acc { color:var(--orange); }
.sec-sub { font-size:15px; color:var(--text-soft); line-height:1.85; max-width:560px; }
.tc { text-align:center; }
.tc .sec-sub { margin:0 auto; }

/* Buttons */
.btn-primary {
  padding:13px 30px; border-radius:var(--r);
  background:var(--orange); color:#fff;
  font-size:14px; font-weight:700; border:none;
  display:inline-flex; align-items:center; gap:8px;
  position:relative; overflow:hidden;
  transition:transform .25s, box-shadow .3s, background .25s;
}
.btn-primary::before {
  content:''; position:absolute; top:-50%; inset-inline-start:-60%;
  width:55%; height:200%; background:rgba(255,255,255,0.25);
  transform:skewX(-20deg); transition:inset-inline-start .5s;
}
.btn-primary:hover::before { inset-inline-start:115%; }
.btn-primary:hover { background:var(--orange-dark); box-shadow:var(--shadow-orange); }
.btn-primary:not(.magnetic):hover { transform:translateY(-3px); }
.btn-primary .arr { transition:transform .25s ease; display:inline-block; }
.btn-primary:hover .arr { transform:translateX(-4px); }
[dir=ltr] .btn-primary:hover .arr { transform:translateX(4px); }

.btn-outline {
  padding:13px 30px; border-radius:var(--r);
  background:transparent; border:2px solid var(--navy); color:var(--navy);
  font-size:14px; font-weight:700;
  display:inline-flex; align-items:center; gap:8px;
  transition:all .25s;
}
.btn-outline:hover { background:var(--navy); color:#fff; }
.btn-outline:not(.magnetic):hover { transform:translateY(-2px); }
.magnetic { transition:transform .2s cubic-bezier(.2,.8,.2,1), background .25s, box-shadow .3s; }

.btn-outline-light {
  padding:13px 30px; border-radius:var(--r);
  background:transparent; border:2px solid rgba(255,255,255,0.4); color:#fff;
  font-size:14px; font-weight:700;
  display:inline-flex; align-items:center; gap:8px;
  transition:all .25s;
}
.btn-outline-light:hover { background:#fff; color:var(--navy); border-color:#fff; transform:translateY(-2px); }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer {
  background:var(--navy);
  color:var(--text-light-soft);
  padding:64px 44px 28px;
  position:relative;
}
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:42px; }
.footer-brand img { height:42px; width:auto; margin-bottom:14px; filter:brightness(0) invert(1); }
.footer-brand p { font-size:13px; color:var(--text-light-soft); line-height:1.85; margin-bottom:18px; max-width:260px; }
.footer-social { display:flex; gap:9px; }
.fs-btn {
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.18);
  display:flex; align-items:center; justify-content:center;
  transition:all .25s; color:#fff;
}
.fs-btn svg { width:16px; height:16px; }
.fs-btn:hover { background:var(--orange); border-color:var(--orange); transform:translateY(-2px); }

.footer-col h4 {
  font-family:'Syne',sans-serif; font-size:12px; font-weight:700;
  color:var(--orange); letter-spacing:2px; margin-bottom:18px;
}
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a {
  font-size:13px; color:var(--text-light-soft);
  transition:color .2s, transform .2s; display:inline-block;
}
.footer-col ul li a:hover { color:var(--orange); transform:translateX(-3px); }
[dir=ltr] .footer-col ul li a:hover { transform:translateX(3px); }
.fc-item { display:flex; align-items:center; gap:9px; margin-bottom:11px; font-size:13px; color:var(--text-light-soft); }
.fc-item svg { width:14px; height:14px; color:var(--orange); flex-shrink:0; }
.fc-item a { color:var(--text-light-soft); transition:color .2s; }
.fc-item a:hover { color:var(--orange); }

.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.08); padding-top:24px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:10px;
}
.footer-bottom p { font-size:12px; color:var(--text-light-mute); }

/* Scroll-to-top */
.scroll-top {
  position:fixed; bottom:28px; z-index:150;
  width:46px; height:46px; border-radius:50%;
  background:var(--orange); color:#fff; border:none;
  display:flex; align-items:center; justify-content:center;
  font-size:20px; font-weight:700;
  box-shadow:var(--shadow-orange);
  opacity:0; transform:translateY(16px); transition:all .3s;
}
[dir=rtl] .scroll-top { left:28px; }
[dir=ltr] .scroll-top { right:28px; }
.scroll-top.vis { opacity:1; transform:none; }
.scroll-top:hover { background:var(--orange-dark); transform:translateY(-3px); }

/* WhatsApp floating button */
.wa-float {
  position:fixed; bottom:90px; z-index:150;
  width:54px; height:54px; border-radius:50%;
  background:#25D366; color:#fff; border:none;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px rgba(37,211,102,0.4);
  transition:transform .25s;
}
[dir=rtl] .wa-float { left:28px; }
[dir=ltr] .wa-float { right:28px; }
.wa-float:hover { transform:scale(1.08); }
.wa-float svg { width:28px; height:28px; }

/* ════════════════════════════════════
   CART DRAWER
════════════════════════════════════ */
.cart-overlay {
  position:fixed; inset:0; z-index:400;
  background:rgba(13,37,71,0.5); backdrop-filter:blur(4px);
  opacity:0; pointer-events:none; transition:opacity .3s;
}
.cart-overlay.open { opacity:1; pointer-events:auto; }

.cart-drawer {
  position:fixed; top:0; bottom:0; z-index:401;
  width:100%; max-width:420px;
  background:#fff;
  display:flex; flex-direction:column;
  transition:transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow:-4px 0 24px rgba(13,37,71,0.15);
}
[dir=rtl] .cart-drawer { left:0; transform:translateX(-100%); }
[dir=rtl] .cart-drawer.open { transform:none; }
[dir=ltr] .cart-drawer { right:0; transform:translateX(100%); }
[dir=ltr] .cart-drawer.open { transform:none; }

.cart-header {
  padding:24px; border-bottom:1px solid var(--border);
  display:flex; justify-content:space-between; align-items:center;
}
.cart-header h2 { font-family:'Syne',sans-serif; font-size:20px; color:var(--navy); }
.cart-close { background:none; border:none; color:var(--text-mute); font-size:24px; }

.cart-body { flex:1; overflow-y:auto; padding:20px 24px; }
.cart-empty { text-align:center; padding:40px 20px; color:var(--text-mute); }
.cart-empty svg { width:64px; height:64px; margin:0 auto 16px; color:var(--cream-dark); }

.cart-item {
  display:grid; grid-template-columns:1fr auto;
  gap:8px 14px; padding:16px 0;
  border-bottom:1px solid var(--border);
}
.cart-item-name { font-size:14px; font-weight:700; color:var(--navy); }
.cart-item-cat { font-size:11px; color:var(--text-mute); }
.cart-item-controls {
  grid-column:1 / -1;
  display:flex; align-items:center; gap:10px;
  margin-top:6px;
}
.qty-ctrl {
  display:flex; align-items:center;
  background:var(--cream); border-radius:30px; padding:3px;
}
.qty-btn {
  width:28px; height:28px; border-radius:50%;
  background:#fff; border:1px solid var(--border);
  color:var(--navy); font-size:14px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  transition:all .2s;
}
.qty-btn:hover { background:var(--orange); color:#fff; border-color:var(--orange); }
.qty-num { padding:0 12px; font-size:14px; font-weight:700; min-width:36px; text-align:center; color:var(--navy); }
.cart-item-remove {
  margin-inline-start:auto;
  background:none; border:none; color:var(--text-mute);
  font-size:13px; transition:color .2s;
}
.cart-item-remove:hover { color:#dc3545; }

.cart-footer {
  padding:20px 24px;
  border-top:1px solid var(--border);
  background:var(--cream);
}
.cart-summary { font-size:13px; color:var(--text-soft); margin-bottom:14px; text-align:center; }
.cart-summary strong { color:var(--navy); font-size:16px; }
.btn-checkout {
  width:100%; padding:14px;
  background:#25D366; color:#fff; border:none; border-radius:var(--r);
  font-size:15px; font-weight:700;
  display:flex; align-items:center; justify-content:center; gap:10px;
  transition:background .25s, transform .2s;
}
.btn-checkout svg { width:20px; height:20px; }
.btn-checkout:hover { background:#1ebe5d; transform:translateY(-2px); }
.btn-checkout:disabled { background:var(--text-mute); cursor:not-allowed; transform:none; }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width:900px) {
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
}
@media (max-width:768px) {
  /* Navbar mobile fix — show ONLY logo + cart + hamburger */
  .navbar {
    padding:0 14px !important;
    height:64px !important;
    gap:8px !important;
  }
  .nav-links { display:none !important; }
  .navbar .lang-sw,
  .nav-right .lang-sw,
  .lang-sw { display:none !important; }
  .navbar .btn-cta,
  .nav-right .btn-cta,
  .btn-cta { display:none !important; }
  .nav-ham { display:flex !important; flex-shrink:0; }
  .nav-right { gap:8px !important; }
  .nav-logo img { height:38px; }
  .nav-logo-txt .brand { font-size:13px; letter-spacing:1.5px; }
  .nav-logo-txt .sub { font-size:8.5px; }
  .cart-btn { width:38px !important; height:38px !important; flex-shrink:0; }

  /* Re-enable buttons inside the mobile menu overlay */
  .mobile-nav .lang-sw,
  .mobile-nav .lang-btn,
  .mobile-nav .btn-cta {
    display:inline-flex !important;
  }

  .section { padding:54px 16px; }
  .footer { padding:44px 16px 22px; }
  .footer-grid { grid-template-columns:1fr; }

  /* Page hero adjustments */
  .page-hero { padding:48px 16px 50px !important; }
}
@media (max-width:480px) {
  .footer-bottom { flex-direction:column; text-align:center; }
  .navbar { padding:0 10px !important; }
  .nav-logo { gap:7px; }
  .nav-logo img { height:34px; }
  .nav-logo-txt .brand { font-size:12px; letter-spacing:1px; }
  .nav-logo-txt .sub { display:none; }
}

.lang-fade { animation:fadeIn .35s ease; }

/* ════════════════════════════════════
   IMAGE FALLBACK — only for raster product images
════════════════════════════════════ */
.product-img img,
.item-img img,
.cat-img img,
.cat-banner-img img,
.cat-hero-img img,
.gal-item img,
.partner-row img {
  background:linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

/* ════════════════════════════════════
   TOAST NOTIFICATIONS
════════════════════════════════════ */
.toast-container {
  position:fixed; bottom:28px; z-index:500;
  display:flex; flex-direction:column; gap:10px;
  pointer-events:none;
}
[dir=rtl] .toast-container { right:28px; }
[dir=ltr] .toast-container { left:28px; }
@media(max-width:768px){
  [dir=rtl] .toast-container { right:14px; left:14px; }
  [dir=ltr] .toast-container { left:14px; right:14px; }
  .toast-container { bottom:14px; }
}

.toast {
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:14px 18px;
  box-shadow:var(--shadow-lg);
  display:flex; align-items:center; gap:12px;
  min-width:280px; max-width:380px;
  pointer-events:auto;
  animation:toastIn .35s cubic-bezier(.4,0,.2,1) both;
  position:relative; overflow:hidden;
}
.toast.exit { animation:toastOut .3s ease forwards; }
.toast::before {
  content:''; position:absolute; top:0; bottom:0;
  width:4px; background:var(--orange);
}
[dir=rtl] .toast::before { right:0; }
[dir=ltr] .toast::before { left:0; }
.toast.success::before { background:#28a745; }
.toast-icon {
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  background:var(--cream);
  display:flex; align-items:center; justify-content:center;
  font-size:18px; color:var(--orange);
}
.toast.success .toast-icon { background:#e8f5ee; color:#28a745; }
.toast-body { flex:1; }
.toast-title { font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:2px; }
.toast-msg { font-size:12.5px; color:var(--text-soft); }
.toast-close {
  background:none; border:none; color:var(--text-mute);
  font-size:18px; cursor:pointer; padding:0; line-height:1;
}

@keyframes toastIn {
  from { opacity:0; transform:translateY(20px) scale(.95); }
  to   { opacity:1; transform:none; }
}
@keyframes toastOut {
  from { opacity:1; transform:none; }
  to   { opacity:0; transform:translateY(20px) scale(.95); }
}

/* ════════════════════════════════════
   LIGHTBOX GALLERY
════════════════════════════════════ */
.lightbox {
  position:fixed; inset:0; z-index:600;
  background:rgba(13,37,71,0.94); backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none;
  transition:opacity .3s;
}
.lightbox.open { opacity:1; pointer-events:auto; }
.lb-close {
  position:absolute; top:24px; z-index:5;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2);
  color:#fff; width:44px; height:44px; border-radius:50%;
  font-size:22px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, transform .2s;
}
[dir=rtl] .lb-close { left:24px; }
[dir=ltr] .lb-close { right:24px; }
.lb-close:hover { background:var(--orange); transform:rotate(90deg); }

.lb-stage {
  position:relative; width:90vw; max-width:1100px;
  height:80vh; display:flex; align-items:center; justify-content:center;
}
.lb-img-wrap {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  position:relative;
}
.lb-img {
  max-width:100%; max-height:100%; object-fit:contain;
  border-radius:var(--r); box-shadow:0 20px 60px rgba(0,0,0,0.5);
  animation:scaleIn .35s ease;
}
.lb-caption {
  position:absolute; bottom:-46px; left:0; right:0; text-align:center;
  color:rgba(255,255,255,0.85); font-size:14px; font-weight:600;
}

.lb-nav {
  position:absolute; top:50%; transform:translateY(-50%);
  width:50px; height:50px; border-radius:50%;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2);
  color:#fff; font-size:22px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, transform .2s;
}
.lb-nav:hover { background:var(--orange); transform:translateY(-50%) scale(1.08); }
.lb-prev { left:-70px; }
.lb-next { right:-70px; }
@media(max-width:1024px){
  .lb-prev { left:10px; }
  .lb-next { right:10px; }
}

.lb-counter {
  position:absolute; top:24px;
  color:rgba(255,255,255,0.7); font-size:13px;
  font-family:'Syne',sans-serif; letter-spacing:1px;
}
[dir=rtl] .lb-counter { right:24px; }
[dir=ltr] .lb-counter { left:24px; }

.lb-thumbs {
  position:absolute; bottom:20px; left:50%; transform:translateX(-50%);
  display:flex; gap:8px; max-width:90vw; overflow-x:auto;
  padding:4px 8px;
  scrollbar-width:none;
}
.lb-thumbs::-webkit-scrollbar { display:none; }
.lb-thumb {
  width:54px; height:54px; flex-shrink:0;
  border-radius:8px; overflow:hidden;
  border:2px solid transparent; cursor:pointer;
  opacity:0.5; transition:all .2s;
}
.lb-thumb:hover { opacity:0.85; }
.lb-thumb.active { border-color:var(--orange); opacity:1; }
.lb-thumb img { width:100%; height:100%; object-fit:cover; }
@media(max-width:600px){
  .lb-thumbs { display:none; }
  .lb-stage { height:65vh; }
}

/* ════════════════════════════════════════════════
   ENGLISH TYPOGRAPHY PASS
   Inter has a tighter cap-height than Cairo, so we
   relax line-heights, add subtle negative tracking
   on big headings, and bump small body sizes by ~1px
   for visual parity with the Arabic version.
════════════════════════════════════════════════ */
[lang=en] body {
  font-family:'Inter','Cairo',sans-serif;
  line-height:1.6;
  letter-spacing:-0.005em;
}

/* — Big display headings (Syne) — */
[lang=en] .hero-h1        { letter-spacing:-0.02em; line-height:1.12; }
[lang=en] .hero-h1 .l1    { letter-spacing:0.02em; font-size:.42em; text-transform:uppercase; }
[lang=en] .hero-h1 .l2    { letter-spacing:-0.025em; }
[lang=en] .hero-h1 .l3    { letter-spacing:-0.01em; font-size:.55em; }
[lang=en] .sec-title      { letter-spacing:-0.018em; line-height:1.2; }
[lang=en] .page-hero h1   { letter-spacing:-0.018em; line-height:1.18; }

/* — Body & sub copy — */
[lang=en] .hero-sub,
[lang=en] .sec-sub,
[lang=en] .page-hero p    { line-height:1.7; letter-spacing:0; max-width:540px; }
[lang=en] .tc .sec-sub,
[lang=en] .page-hero p    { max-width:600px; margin-left:auto; margin-right:auto; }
[lang=en] .ql-desc,
[lang=en] .why-desc,
[lang=en] .footer-brand p,
[lang=en] .fc-item        { line-height:1.65; }

/* — Pill / caps labels (kept airy, slightly less letter-spacing for Inter) — */
[lang=en] .hero-badge     { letter-spacing:1.6px; padding:8px 18px; font-size:11px; }
[lang=en] .sec-label      { letter-spacing:2.4px; font-size:11px; }
[lang=en] .footer-col h4  { letter-spacing:1.8px; font-size:12px; }
[lang=en] .pl-brand .pb-name { letter-spacing:7px; }
[lang=en] .pl-brand .pb-tag  { letter-spacing:2.6px; }
[lang=en] .lb-counter     { letter-spacing:.8px; }
[lang=en] .scroll-cue     { letter-spacing:2.4px; }

/* — Brand mark in nav — */
[lang=en] .nav-logo-txt .brand { letter-spacing:1.8px; font-size:15px; }
[lang=en] .nav-logo-txt .sub   { letter-spacing:.8px; font-size:9.5px; text-transform:uppercase; }

/* — Nav links: Inter at 13.5px reads small, bump slightly — */
[lang=en] .nav-links a    { font-size:14px; letter-spacing:0.2px; font-weight:500; }
[lang=en] .mobile-nav a   { font-size:22px; letter-spacing:-0.01em; font-weight:600; }

/* — Buttons (Inter benefits from a touch of tracking at small sizes) — */
[lang=en] .btn-primary,
[lang=en] .btn-outline,
[lang=en] .btn-outline-light,
[lang=en] .btn-cta        { letter-spacing:0.3px; font-weight:600; }
[lang=en] .btn-checkout   { letter-spacing:0.4px; font-weight:600; }

/* — Stats numbers / hero floating card — */
[lang=en] .stat-num,
[lang=en] .hero-card-3 .num { letter-spacing:-0.02em; }
[lang=en] .hero-card-3 .txt { letter-spacing:.2px; line-height:1.45; }
[lang=en] .stat-lbl       { letter-spacing:0.2px; font-weight:500; }

/* — Hero trust row — */
[lang=en] .ht-item        { font-size:13px; letter-spacing:0.1px; font-weight:500; }

/* — Quick-link / why titles — */
[lang=en] .ql-title,
[lang=en] .why-title      { letter-spacing:-0.01em; line-height:1.3; }

/* — Cart / forms — */
[lang=en] .cart-header h2 { letter-spacing:-0.01em; }
[lang=en] .cart-item-name { letter-spacing:-0.005em; line-height:1.4; }
[lang=en] .toast-title    { letter-spacing:-0.005em; line-height:1.35; }
[lang=en] .toast-msg      { line-height:1.55; }

/* — Lang switcher — */
[lang=en] .lang-btn       { letter-spacing:0.4px; }

/* — CTA banner & footer — */
[lang=en] .cta-banner h2  { letter-spacing:-0.018em; line-height:1.18; }
[lang=en] .cta-banner p   { line-height:1.7; }
[lang=en] .footer-bottom p { letter-spacing:0.1px; }

/* — Mobile spacing tweak: Inter at small sizes can feel cramped — */
@media(max-width:768px){
  [lang=en] .hero-h1      { line-height:1.15; }
  [lang=en] .sec-title    { line-height:1.22; }
  [lang=en] .hero-sub,
  [lang=en] .sec-sub      { line-height:1.7; }
}

/* ═══ Testimonials (آراء العملاء) ═══ */
.testi-section { background:var(--bg-alt); }
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media(max-width:900px){ .testi-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .testi-grid{ grid-template-columns:1fr; } }
.testi-card {
  background:#fff; border:1px solid var(--border); border-radius:var(--r-xl);
  padding:30px 28px; display:flex; flex-direction:column; gap:16px;
  transition:transform .35s, box-shadow .35s, border-color .35s;
}
.testi-card:hover { transform:translateY(-6px); border-color:var(--orange); box-shadow:var(--shadow-lg); }
.testi-stars { color:var(--orange); font-size:16px; letter-spacing:3px; }
.testi-quote { font-size:14.5px; color:var(--text-soft); line-height:1.95; flex:1; }
.testi-author { display:flex; align-items:center; gap:12px; border-top:1px dashed var(--border); padding-top:16px; }
.testi-avatar {
  width:48px; height:48px; border-radius:50%; flex-shrink:0; overflow:hidden;
  background:linear-gradient(135deg,var(--orange),var(--orange-dark));
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-family:'Syne',sans-serif; font-weight:700; font-size:18px;
}
.testi-avatar img { width:100%; height:100%; object-fit:cover; }
.testi-name { font-weight:700; color:var(--navy); font-size:14.5px; }
.testi-role { font-size:12px; color:var(--text-mute); }

/* ═══ How we work (آلية العمل) ═══ */
.proc-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:10px; }
@media(max-width:900px){ .proc-grid{ grid-template-columns:1fr 1fr; gap:34px 20px; } }
@media(max-width:480px){ .proc-grid{ grid-template-columns:1fr; } }
.proc-step {
  position:relative; text-align:center;
  background:#fff; border:1px solid var(--border); border-radius:var(--r-lg);
  padding:40px 24px 30px;
  transition:transform .3s, box-shadow .3s, border-color .3s;
}
.proc-step:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:var(--orange); }
.proc-num {
  position:absolute; top:-20px; left:50%; transform:translateX(-50%);
  width:44px; height:44px; border-radius:50%;
  background:linear-gradient(135deg,var(--orange),var(--orange-dark)); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:'Syne',sans-serif; font-weight:800; font-size:18px;
  box-shadow:var(--shadow-orange);
}
.proc-icon { font-size:38px; margin-bottom:14px; }
.proc-title { font-family:'Syne',sans-serif; font-size:17px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.proc-desc { font-size:13px; color:var(--text-soft); line-height:1.75; }
/* خط رابط بين الخطوات (ديسكتوب) */
@media(min-width:901px){
  .proc-step:not(:last-child)::after {
    content:''; position:absolute; top:50%; width:20px; height:2px;
    background:repeating-linear-gradient(90deg,var(--orange) 0 5px,transparent 5px 10px);
  }
  [dir=rtl] .proc-step:not(:last-child)::after { left:-20px; }
  [dir=ltr] .proc-step:not(:last-child)::after { right:-20px; }
}

/* ═══ FAQ (أسئلة شائعة) ═══ */
.faq-section { background:var(--bg-alt); }
.container-narrow { max-width:820px; margin:0 auto; }
.faq-list { display:flex; flex-direction:column; gap:12px; }
.faq-item { background:#fff; border:1px solid var(--border); border-radius:var(--r); overflow:hidden; transition:border-color .25s, box-shadow .25s; }
.faq-item.open { border-color:var(--orange); box-shadow:var(--shadow); }
.faq-q {
  width:100%; text-align:start; background:transparent; border:none;
  padding:20px 24px; font-family:inherit; font-size:15.5px; font-weight:700; color:var(--navy);
  display:flex; align-items:center; justify-content:space-between; gap:14px; cursor:pointer;
}
.faq-ico {
  flex-shrink:0; width:28px; height:28px; border-radius:50%;
  background:var(--cream); color:var(--orange);
  display:grid; place-items:center; font-size:20px; font-weight:700; line-height:1;
  transition:transform .3s, background .25s, color .25s;
}
.faq-item.open .faq-ico { transform:rotate(45deg); background:var(--orange); color:#fff; }
.faq-a { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-item.open .faq-a { max-height:320px; }
.faq-a p { padding:0 24px 22px; font-size:14px; color:var(--text-soft); line-height:1.85; }

/* ═══ Featured work (أعمال مميزة في الهوم) ═══ */
.featured-section { background:#fff; }
.featured-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media(max-width:900px){ .featured-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .featured-grid{ grid-template-columns:1fr; } }
.fw-item {
  position:relative; display:block; border-radius:var(--r-lg); overflow:hidden;
  aspect-ratio:4/3; background:var(--cream);
  box-shadow:var(--shadow-sm); transition:transform .35s, box-shadow .35s;
}
.fw-item:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.fw-item img { width:100%; height:100%; object-fit:cover; transition:transform .55s ease; }
.fw-item:hover img { transform:scale(1.08); }
.fw-overlay {
  position:absolute; inset:0; padding:18px;
  background:linear-gradient(to top, rgba(13,37,71,.85) 0%, rgba(13,37,71,.1) 45%, transparent 70%);
  display:flex; align-items:flex-end; opacity:0; transition:opacity .3s;
}
.fw-item:hover .fw-overlay { opacity:1; }
.fw-title { color:#fff; font-family:'Syne',sans-serif; font-weight:700; font-size:15px; }

/* ═══ Quote request (طلب عرض سعر) ═══ */
.quote-section { background:var(--bg-alt); }
.quote-card {
  background:#fff; border:1px solid var(--border); border-radius:var(--r-xl);
  padding:44px 40px; box-shadow:var(--shadow);
}
@media(max-width:560px){ .quote-card{ padding:32px 22px; } }
.quote-form { display:flex; flex-direction:column; gap:14px; }
.qf-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media(max-width:560px){ .qf-row{ grid-template-columns:1fr; } }
.quote-form input, .quote-form textarea {
  width:100%; padding:14px 16px; font-family:inherit; font-size:14px; color:var(--text);
  background:var(--bg-alt); border:1px solid var(--border); border-radius:var(--r);
  transition:border-color .2s, box-shadow .2s, background .2s; resize:vertical;
}
.quote-form input:focus, .quote-form textarea:focus {
  outline:none; border-color:var(--orange); background:#fff; box-shadow:0 0 0 3px rgba(232,128,74,.12);
}
.qf-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:4px; }
.qf-actions .btn-primary { flex:1; justify-content:center; min-width:160px; }
.btn-wa-quote {
  display:inline-flex; align-items:center; gap:9px; justify-content:center;
  padding:14px 22px; border-radius:30px; font-family:inherit; font-size:14px; font-weight:700;
  background:#25D366; color:#fff; border:none; cursor:pointer; transition:transform .2s, box-shadow .2s; min-width:160px;
}
.btn-wa-quote:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(37,211,102,.32); }
.qf-msg { font-size:13.5px; font-weight:600; min-height:18px; text-align:center; }

/* ═══ Scroll progress bar ═══ */
.scroll-progress {
  position:fixed; top:0; left:0; height:3px; width:0;
  background:linear-gradient(90deg, var(--orange), var(--orange-light));
  z-index:9999; transition:width .1s linear; pointer-events:none;
  box-shadow:0 0 8px rgba(232,128,74,.5);
}
[dir=rtl] .scroll-progress { left:auto; right:0; }
