/* ========================================
   MAW — مستودع مظلة الدواء
   Main Stylesheet v2.0
   ======================================== */

:root {
  --primary-dark:  #204289;
  --primary:       #2553b8;
  --primary-light: #2b6cf5;
  --primary-xlight:#eef2ff;
  --green-wa:      #25D366;
  --text-dark:     #1f2937;
  --text-mid:      #374151;
  --text-light:    #6b7280;
  --white:         #ffffff;
  --bg-body:       #f8fafc;
  --bg-card:       #ffffff;
  --border:        #e5e7eb;
  --shadow-sm:     0 2px 8px rgba(32,66,137,.07);
  --shadow-md:     0 8px 24px rgba(32,66,137,.12);
  --shadow-lg:     0 16px 48px rgba(32,66,137,.16);
  --transition:    all .3s ease;
  --r:             12px;
  --r-lg:          20px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

html[dir="rtl"] body { font-family:'Cairo',sans-serif; }
html[dir="ltr"] body { font-family:'Cairo','Inter',sans-serif; }

body {
  color: var(--text-dark);
  background: var(--bg-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width:100%; display:block; }
a  { text-decoration:none; color:inherit; }

/* ── LOADING SKELETON ── */
@keyframes shimmer {
  0%   { background-position: -468px 0; }
  100% { background-position:  468px 0; }
}

.skeleton-box {
  background: linear-gradient(90deg,#f0f0f0 25%,#e8e8e8 50%,#f0f0f0 75%);
  background-size: 468px 104px;
  animation: shimmer 1.4s infinite linear;
  border-radius: 8px;
}

.skeleton-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
}

.skeleton-card .sk-img  { height:190px; background:#f0f0f0; animation:shimmer 1.4s infinite linear; background-size:468px 104px; background: linear-gradient(90deg,#f0f0f0 25%,#e8e8e8 50%,#f0f0f0 75%); background-size: 468px 104px; animation: shimmer 1.4s infinite linear; }
.skeleton-card .sk-pad  { padding:1.1rem; display:flex; flex-direction:column; gap:.6rem; }
.skeleton-card .sk-line { height:14px; border-radius:6px; background: linear-gradient(90deg,#f0f0f0 25%,#e8e8e8 50%,#f0f0f0 75%); background-size: 468px 104px; animation: shimmer 1.4s infinite linear; }
.skeleton-card .sk-line.w80 { width:80%; }
.skeleton-card .sk-line.w60 { width:60%; }
.skeleton-card .sk-line.w40 { width:40%; }

/* ── NAVBAR ── */
.navbar {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(32,66,137,.35);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: .5px;
  line-height: 1;
}

.nav-logo-sub {
  font-size: .68rem;
  color: rgba(255,255,255,.62);
  font-weight: 500;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-links a {
  color: rgba(255,255,255,.80);
  padding: 7px 13px;
  border-radius: 8px;
  font-size: .87rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

.nav-actions { display:flex; align-items:center; gap:9px; }

.btn-lang {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  padding: 5px 13px;
  border-radius: 18px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  transition: var(--transition);
  font-family: inherit;
}
.btn-lang:hover { background:rgba(255,255,255,.22); }

.btn-wa-nav {
  background: var(--green-wa);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(37,211,102,.3);
}
.btn-wa-nav:hover { transform:scale(1.1); }

.menu-toggle {
  display: none;
  background: none; border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer; padding: 4px;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(140deg,#0a1c55 0%,var(--primary-dark) 45%,var(--primary-light) 100%);
  min-height: 560px;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events:none;
}

.hero-glow {
  position:absolute;
  top:-150px; right:-150px;
  width:600px; height:600px;
  background:radial-gradient(circle,rgba(43,108,245,.25) 0%,transparent 65%);
  pointer-events:none;
}

.hero-content {
  max-width: 1280px; margin:0 auto;
  padding: 5rem 2rem;
  position: relative; z-index:1; width:100%;
}

.hero-badge {
  display: inline-flex; align-items:center; gap:7px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  padding: 6px 16px;
  border-radius: 24px;
  font-size: .8rem; font-weight:700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.hero-title {
  color: var(--white);
  font-size: clamp(2rem,5.5vw,3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: rgba(255,255,255,.75);
  font-size: clamp(.95rem,2vw,1.15rem);
  margin-bottom: 2.5rem;
  max-width: 550px;
  line-height: 1.75;
}

.hero-btns {
  display: flex; gap:1rem; flex-wrap:wrap;
}

.btn-hero-primary {
  background: var(--white);
  color: var(--primary-dark);
  padding: 14px 30px;
  border-radius: 10px;
  font-size: .95rem; font-weight:800;
  display: inline-flex; align-items:center; gap:8px;
  transition: var(--transition);
  border: none; cursor:pointer; font-family:inherit;
}
.btn-hero-primary:hover { transform:translateY(-3px); box-shadow:0 10px 28px rgba(0,0,0,.2); }

.btn-hero-wa {
  background: var(--green-wa);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: .95rem; font-weight:700;
  display: inline-flex; align-items:center; gap:8px;
  transition: var(--transition);
  border: none; cursor:pointer; font-family:inherit;
}
.btn-hero-wa:hover { transform:translateY(-3px); box-shadow:0 10px 28px rgba(37,211,102,.35); }

/* ── STATS ── */
.stats-bar {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: relative; z-index:2;
}

.stats-inner {
  max-width: 1280px; margin:0 auto;
  padding: 1.6rem 2rem;
  display: flex; justify-content:center;
  gap: 4rem; flex-wrap:wrap;
}

.stat-item { text-align:center; }
.stat-num  { font-size:2.1rem; font-weight:900; color:var(--primary-dark); line-height:1; display:block; margin-bottom:3px; }
.stat-label{ font-size:.77rem; color:var(--text-light); font-weight:600; text-transform:uppercase; letter-spacing:.5px; }

/* ── SECTION HEADING ── */
.sec-head { text-align:center; margin-bottom:2.8rem; }

.sec-tag {
  display:inline-block;
  background:var(--primary-xlight); color:var(--primary-light);
  padding:5px 15px; border-radius:18px;
  font-size:.76rem; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  margin-bottom:.75rem;
}

.sec-title  { font-size:clamp(1.5rem,3.5vw,2.3rem); font-weight:900; color:var(--primary-dark); margin-bottom:.4rem; }
.sec-desc   { font-size:.93rem; color:var(--text-light); max-width:460px; margin:0 auto; line-height:1.7; }

/* ── SECTION CARDS (homepage) ── */
.sections-wrap { padding:5rem 2rem; background:var(--bg-body); }

.sections-grid {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.8rem;
}

.sec-card {
  background:var(--bg-card);
  border-radius:var(--r-lg);
  padding:2.5rem 2rem;
  text-align:center;
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
  display:flex; flex-direction:column; align-items:center;
  border:1px solid var(--border);
  position:relative; overflow:hidden;
  cursor:pointer;
}

.sec-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  transition:var(--transition);
}

.sec-card.med::before   { background:linear-gradient(90deg,#204289,#2b6cf5); }
.sec-card.cosmo::before { background:linear-gradient(90deg,#9d174d,#ec4899); }
.sec-card.supp::before  { background:linear-gradient(90deg,#166534,#22c55e); }

.sec-card:hover { transform:translateY(-10px); box-shadow:var(--shadow-lg); }

.card-icon-wrap {
  width:80px; height:80px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.9rem; margin-bottom:1.4rem;
}

.sec-card.med   .card-icon-wrap { background:#dbeafe; color:#204289; }
.sec-card.cosmo .card-icon-wrap { background:#fce7f3; color:#9d174d; }
.sec-card.supp  .card-icon-wrap { background:#dcfce7; color:#166534; }

.card-title { font-size:1.25rem; font-weight:800; color:var(--text-dark); margin-bottom:.6rem; }
.card-desc  { font-size:.88rem; color:var(--text-light); margin-bottom:1rem; line-height:1.75; flex:1; }

.card-badge { font-size:.73rem; font-weight:700; padding:4px 12px; border-radius:10px; margin-bottom:1.4rem; }
.sec-card.med   .card-badge { background:#dbeafe; color:#204289; }
.sec-card.cosmo .card-badge { background:#fce7f3; color:#9d174d; }
.sec-card.supp  .card-badge { background:#dcfce7; color:#166534; }

.card-link-btn {
  padding:11px 26px; border-radius:9px;
  font-size:.88rem; font-weight:700;
  display:inline-flex; align-items:center; gap:7px;
  transition:var(--transition);
  border:none; cursor:pointer; font-family:inherit;
}
.sec-card.med   .card-link-btn { background:#204289; color:#fff; }
.sec-card.cosmo .card-link-btn { background:#9d174d; color:#fff; }
.sec-card.supp  .card-link-btn { background:#166534; color:#fff; }
.card-link-btn:hover { opacity:.88; transform:translateY(-2px); }

/* ── ABOUT ── */
.about-wrap { padding:5rem 2rem; background:var(--white); }

.about-inner {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center;
}

.about-visual {
  background:var(--bg-body); border-radius:var(--r-lg);
  padding:3rem; text-align:center; border:1px solid var(--border);
  position:relative; overflow:hidden;
}
.about-visual::before {
  content:''; position:absolute; top:-60px; right:-60px;
  width:200px; height:200px;
  background:radial-gradient(circle,rgba(32,66,137,.08) 0%,transparent 70%);
  border-radius:50%;
}

.about-logo-img { max-height:120px; max-width:180px; object-fit:contain; margin:0 auto 1rem; }
.about-logo-text { font-size:4rem; font-weight:900; color:var(--primary-dark); line-height:1; }
.about-logo-sub { font-size:.85rem; color:var(--text-light); margin-top:.4rem; }

.about-text .sec-tag { display:inline-block; margin-bottom:.8rem; }
.about-title { font-size:clamp(1.5rem,3vw,2.1rem); font-weight:900; color:var(--primary-dark); margin-bottom:1rem; line-height:1.3; }
.about-p { font-size:.92rem; color:var(--text-mid); line-height:1.85; margin-bottom:.7rem; }

.about-feats { display:grid; grid-template-columns:1fr 1fr; gap:.8rem; margin-top:1.8rem; }

.feat-item { display:flex; align-items:center; gap:9px; }
.feat-icon { width:34px; height:34px; background:var(--primary-xlight); border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--primary-dark); font-size:.82rem; flex-shrink:0; }
.feat-label { font-size:.84rem; font-weight:700; color:var(--text-dark); }

/* ── CONTACT / MAP ── */
.contact-wrap { padding:5rem 2rem; background:var(--bg-body); }

.contact-inner {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start;
}

.contact-info { display:flex; flex-direction:column; gap:1.5rem; }

.contact-card {
  background:var(--white);
  border-radius:var(--r);
  padding:1.4rem;
  display:flex; align-items:flex-start; gap:1rem;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--border);
}

.contact-card-icon {
  width:44px; height:44px; border-radius:10px;
  background:var(--primary-xlight); color:var(--primary-dark);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; flex-shrink:0;
}

.contact-card-title { font-size:.78rem; color:var(--text-light); font-weight:600; text-transform:uppercase; letter-spacing:.4px; margin-bottom:.3rem; }
.contact-card-value { font-size:.9rem; color:var(--text-dark); font-weight:600; line-height:1.5; }
.contact-card-value a { color:var(--primary-dark); }
.contact-card-value a:hover { text-decoration:underline; }

.map-wrap { flex:1; margin-top:1.8rem; }

.map-iframe-wrap {
  border-radius:var(--r-lg);
  overflow:hidden;
  box-shadow:0 8px 32px rgba(32,66,137,.15);
  border:none;
  height:320px;
  position:relative;
}

.map-iframe-wrap::before {
  content:'';
  position:absolute; inset:0;
  border-radius:var(--r-lg);
  border:2px solid transparent;
  background:linear-gradient(var(--white),var(--white)) padding-box,
             linear-gradient(135deg,var(--primary-dark),var(--primary-light)) border-box;
  pointer-events:none; z-index:1;
}

.map-iframe-wrap iframe { width:100%; height:100%; border:none; display:block; }

.btn-directions {
  display:flex; align-items:center; justify-content:center; gap:.6rem;
  margin-top:.9rem;
  padding:12px 28px;
  background:linear-gradient(135deg,var(--primary-dark),var(--primary-light));
  color:var(--white);
  border-radius:12px;
  font-size:.9rem; font-weight:700;
  text-decoration:none;
  font-family:inherit;
  box-shadow:0 4px 16px rgba(32,66,137,.25);
  transition:var(--transition);
  width:100%;
}
.btn-directions:hover {
  box-shadow:0 8px 24px rgba(32,66,137,.38);
  transform:translateY(-2px);
}
.btn-directions i { font-size:1rem; }

/* ── WA CTA ── */
.wa-cta {
  background:linear-gradient(135deg,#0f6532,var(--green-wa));
  padding:5rem 2rem; text-align:center; color:var(--white);
}

.wa-cta h2 { font-size:clamp(1.5rem,3.5vw,2.3rem); font-weight:900; margin-bottom:.8rem; }
.wa-cta p  { font-size:.97rem; opacity:.88; margin-bottom:2.2rem; max-width:480px; margin-left:auto; margin-right:auto; }

.btn-wa-big {
  background:var(--white); color:#0f6532;
  padding:15px 42px; border-radius:12px;
  font-size:1.05rem; font-weight:800;
  display:inline-flex; align-items:center; gap:10px;
  transition:var(--transition);
  box-shadow:0 8px 28px rgba(0,0,0,.14);
  font-family:inherit;
}
.btn-wa-big:hover { transform:translateY(-4px); box-shadow:0 14px 34px rgba(0,0,0,.2); }

/* ── FOOTER ── */
.footer {
  background:var(--primary-dark);
  color:rgba(255,255,255,.75);
  padding:3.5rem 2rem 1.5rem;
}

.footer-inner { max-width:1280px; margin:0 auto; }

.footer-top {
  display:grid; grid-template-columns:2.2fr 1fr 1fr;
  gap:3rem; padding-bottom:2.5rem; margin-bottom:1.5rem;
  border-bottom:1px solid rgba(255,255,255,.1);
}

.footer-logo { display:flex; align-items:center; gap:10px; margin-bottom:1rem; }
.footer-logo-img { height:36px; }
.footer-logo-text { color:var(--white); font-size:1.2rem; font-weight:900; }

.footer-desc { font-size:.85rem; line-height:1.8; margin-bottom:1.2rem; }

.footer-parent {
  display:inline-flex; align-items:center; gap:6px;
  font-size:.76rem; background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.55); padding:5px 13px; border-radius:18px;
  border:1px solid rgba(255,255,255,.1); margin-bottom:1.5rem;
}

.footer-social { display:flex; gap:8px; flex-wrap:wrap; }

.social-icon {
  width:36px; height:36px; border-radius:9px;
  background:rgba(255,255,255,.1);
  color:rgba(255,255,255,.8);
  display:flex; align-items:center; justify-content:center;
  font-size:.9rem;
  transition:var(--transition);
  border:1px solid rgba(255,255,255,.12);
}
.social-icon:hover { background:var(--primary-light); color:var(--white); transform:translateY(-2px); }
.social-icon.wa:hover { background:var(--green-wa); }

.footer-col-title { color:var(--white); font-size:.85rem; font-weight:800; margin-bottom:1rem; text-transform:uppercase; letter-spacing:.5px; }

.footer-links { list-style:none; display:flex; flex-direction:column; gap:8px; }
.footer-links a { color:rgba(255,255,255,.62); font-size:.84rem; transition:var(--transition); display:flex; align-items:center; gap:6px; }
.footer-links a:hover { color:var(--white); }

.footer-bottom { text-align:center; font-size:.78rem; color:rgba(255,255,255,.38); }

/* ── PRODUCT PAGE HERO ── */
.page-hero {
  background:linear-gradient(140deg,#0a1c55,var(--primary-dark) 50%,var(--primary-light));
  padding:3.5rem 2rem; color:var(--white);
  position:relative; overflow:hidden;
}

.page-hero::after {
  content:''; position:absolute; top:-60%;  right:-5%;
  width:320px; height:320px;
  background:rgba(255,255,255,.04); border-radius:50%; pointer-events:none;
}

.page-hero-inner { max-width:1280px; margin:0 auto; position:relative; z-index:1; }

.breadcrumb {
  display:flex; align-items:center; gap:7px;
  font-size:.8rem; color:rgba(255,255,255,.58); margin-bottom:1rem; flex-wrap:wrap;
}
.breadcrumb a { color:rgba(255,255,255,.58); transition:var(--transition); }
.breadcrumb a:hover { color:var(--white); }
.breadcrumb .sep { opacity:.45; }

.page-title   { font-size:clamp(1.8rem,4.5vw,2.9rem); font-weight:900; margin-bottom:.4rem; }
.page-subtitle{ font-size:.97rem; color:rgba(255,255,255,.72); }

/* ── FILTER BAR ── */
.flt-select {
  display:none;
  width:100%; padding:9px 14px;
  border:1.5px solid var(--border); border-radius:10px;
  font-size:.85rem; font-weight:600; font-family:inherit;
  color:var(--text-dark); background:var(--white);
  cursor:pointer; outline:none;
  appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:left 12px center;
}
.filter-bar {
  background:var(--white);
  border-bottom:1px solid var(--border);
  padding:1.1rem 2rem;
  position:sticky; top:66px; z-index:100;
  box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.filter-bar-inner { max-width:1280px; margin:0 auto; display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.filter-lbl { font-size:.78rem; font-weight:700; color:var(--text-light); text-transform:uppercase; letter-spacing:.4px; white-space:nowrap; }

.flt-btn {
  padding:6px 16px; border-radius:18px;
  border:1.5px solid var(--border);
  background:var(--white); color:var(--text-dark);
  font-size:.81rem; font-weight:600; cursor:pointer;
  transition:var(--transition); font-family:inherit; white-space:nowrap;
}
.flt-btn:hover  { border-color:var(--primary-light); color:var(--primary-light); }
.flt-btn.active { background:var(--primary-dark); color:var(--white); border-color:var(--primary-dark); }

/* ── PRODUCTS GRID ── */
.products-wrap { max-width:1280px; margin:0 auto; padding:2.2rem 2rem 4rem; }

.products-count { font-size:.83rem; color:var(--text-light); margin-bottom:1.3rem; font-weight:600; }
.products-count span { color:var(--primary-dark); font-weight:800; }

.prod-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:1.2rem;
}

.prod-card {
  background:var(--white);
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 4px 16px rgba(32,66,137,.08);
  transition:var(--transition);
  cursor:pointer;
  display:flex; flex-direction:column;
  position:relative;
}

.prod-card::before {
  content:'';
  position:absolute; top:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg,var(--primary-dark),var(--primary-light));
  opacity:0;
  transition:opacity .3s;
  z-index:1;
}

.prod-card:hover { transform:translateY(-8px); box-shadow:0 24px 56px rgba(32,66,137,.14); border-color:transparent; }
.prod-card:hover::before { opacity:1; }

.prod-img-wrap {
  background:linear-gradient(135deg,#f0f4ff 0%,#e8eeff 100%);
  height:170px;
  display:flex; align-items:center; justify-content:center;
  padding:1rem; position:relative; overflow:hidden;
}

.prod-img-wrap img { max-height:140px; max-width:85%; object-fit:contain; transition:transform .4s cubic-bezier(.34,1.56,.64,1); }
.prod-card:hover .prod-img-wrap img { transform:scale(1.08); }

.prod-cat-tag {
  position:absolute; top:10px;
  background:linear-gradient(135deg,var(--primary-dark),var(--primary-light));
  color:var(--white);
  font-size:.64rem; font-weight:700;
  padding:4px 12px; border-radius:20px;
  letter-spacing:.4px; text-transform:uppercase;
  box-shadow:0 3px 10px rgba(32,66,137,.3);
  z-index:2;
}
html[dir="rtl"] .prod-cat-tag { right:10px; }
html[dir="ltr"] .prod-cat-tag { left:10px; }

.prod-info { padding:.85rem 1rem .9rem; display:flex; flex-direction:column; gap:.3rem; }
.prod-name  { font-size:.85rem; font-weight:800; color:var(--text-dark); line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.prod-sub   { font-size:.68rem; color:var(--primary-light); font-weight:700; letter-spacing:.3px; }

.prod-footer {
  display:flex; align-items:center; justify-content:space-between; gap:.4rem;
  margin-top:.6rem;
  padding-top:.7rem;
  border-top:1px solid rgba(32,66,137,.07);
}

.prod-price        { font-size:1rem; font-weight:900; color:var(--primary-dark); white-space:nowrap; }
.prod-price .cur   { font-size:.68rem; font-weight:600; opacity:.65; }
.prod-price.contact{ font-size:.72rem; color:var(--text-light); font-weight:500; }

.btn-view {
  background:linear-gradient(135deg,var(--primary-dark),var(--primary-light));
  color:var(--white); border:none;
  padding:6px 14px; border-radius:20px;
  font-size:.74rem; font-weight:700;
  cursor:pointer; transition:var(--transition);
  font-family:inherit; white-space:nowrap;
  box-shadow:0 2px 8px rgba(32,66,137,.2);
}
.btn-view:hover {
  box-shadow:0 5px 16px rgba(32,66,137,.32);
  transform:translateY(-1px);
}

/* ── MODAL ── */
.modal-overlay {
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,.58); z-index:2000;
  padding:1.5rem 1rem; overflow-y:auto;
  backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px);
}

.modal-overlay.open { display:flex; align-items:flex-start; justify-content:center; padding-top:2rem; }

.modal-box {
  background:var(--white); border-radius:var(--r-lg);
  max-width:760px; width:100%; overflow:hidden;
  box-shadow:0 30px 70px rgba(0,0,0,.28);
  animation:modalIn .3s ease; margin-bottom:2rem;
}

@keyframes modalIn {
  from { transform:translateY(40px); opacity:0; }
  to   { transform:translateY(0);    opacity:1; }
}

.modal-hdr {
  background:linear-gradient(140deg,#0a1c55,var(--primary-light));
  padding:1.4rem 1.7rem;
  display:flex; align-items:flex-start; justify-content:space-between; gap:1rem;
}

.modal-hdr-name { color:var(--white); font-size:1.02rem; font-weight:800; line-height:1.4; }
.modal-hdr-sku  { color:rgba(255,255,255,.55); font-size:.72rem; margin-top:3px; }

.btn-modal-close {
  background:rgba(255,255,255,.18); border:none; color:var(--white);
  width:36px; height:36px; min-width:36px; border-radius:50%;
  cursor:pointer; font-size:.95rem;
  display:flex; align-items:center; justify-content:center;
  transition:var(--transition);
}
.btn-modal-close:hover { background:rgba(255,255,255,.28); }

.modal-body { display:grid; grid-template-columns:220px 1fr; }

.modal-img-col {
  background:#f1f5f9; display:flex; align-items:center; justify-content:center;
  padding:1.8rem; min-height:210px;
}
.modal-img-col img { max-height:190px; max-width:100%; object-fit:contain; }

.modal-detail-col { padding:1.7rem; overflow-y:auto; max-height:68vh; }

.modal-meta-row  { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:1.1rem; }
.meta-tag { background:var(--primary-xlight); color:var(--primary-dark); padding:3px 12px; border-radius:9px; font-size:.72rem; font-weight:700; }

.modal-price-card {
  background:linear-gradient(135deg,#eef2ff,#dbeafe);
  border-radius:9px; padding:.9rem 1.3rem;
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:1.3rem; border:1px solid #bfdbfe;
}
.modal-price-lbl { font-size:.8rem; color:var(--primary-dark); font-weight:600; }
.modal-price-val { font-size:1.5rem; font-weight:900; color:var(--primary-dark); }
.modal-price-val .cur { font-size:.78rem; font-weight:600; opacity:.7; }
.modal-price-val.contact { font-size:.88rem; color:var(--text-light); }

.modal-section { margin-bottom:1.3rem; }

.modal-sec-title {
  font-size:.77rem; font-weight:800; color:var(--primary-dark);
  text-transform:uppercase; letter-spacing:.5px; margin-bottom:.55rem;
  display:flex; align-items:center; gap:6px;
}
.modal-sec-title::before { content:''; width:3px; height:13px; background:var(--primary-light); border-radius:2px; flex-shrink:0; }

.modal-text { font-size:.88rem; color:var(--text-mid); line-height:1.78; }

.modal-benefits-list { list-style:none; display:flex; flex-direction:column; gap:6px; }
.modal-benefits-list li { display:flex; align-items:flex-start; gap:7px; font-size:.86rem; color:var(--text-mid); line-height:1.55; }
.modal-benefits-list li::before { content:'✓'; color:#16a34a; font-weight:800; flex-shrink:0; margin-top:1px; }

.modal-ftr {
  padding:1.2rem 1.7rem; border-top:1px solid var(--border);
  display:flex; gap:1rem; flex-wrap:wrap; align-items:center;
}

.btn-wa-modal {
  flex:1; min-width:160px;
  background:var(--green-wa); color:var(--white);
  padding:11px 22px; border-radius:9px;
  font-size:.92rem; font-weight:700;
  display:flex; align-items:center; justify-content:center; gap:7px;
  transition:var(--transition); font-family:inherit; border:none; cursor:pointer;
}
.btn-wa-modal:hover { transform:translateY(-2px); box-shadow:0 7px 20px rgba(37,211,102,.4); }

/* ── FLOATING WHATSAPP ── */
.floating-wa {
  position:fixed; bottom:1.8rem; z-index:999;
  background:var(--green-wa); color:var(--white);
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem;
  box-shadow:0 4px 20px rgba(37,211,102,.5);
  transition:var(--transition);
  animation:waPulse 2.5s infinite;
}
html[dir="rtl"] .floating-wa { left:1.8rem; }
html[dir="ltr"] .floating-wa { right:1.8rem; }

@keyframes waPulse {
  0%,100% { box-shadow:0 4px 20px rgba(37,211,102,.5); }
  50%      { box-shadow:0 4px 28px rgba(37,211,102,.8),0 0 0 8px rgba(37,211,102,.1); }
}
.floating-wa:hover { transform:scale(1.1); }

/* ── EMPTY STATE ── */
.empty-state { text-align:center; padding:5rem 2rem; color:var(--text-light); }
.empty-state i { font-size:2.8rem; margin-bottom:.8rem; display:block; color:#d1d5db; }

/* ── BUTTON SYSTEM ── */
.btn-primary {
  background:var(--primary-dark); color:var(--white);
  padding:11px 24px; border-radius:9px;
  font-size:.87rem; font-weight:700; display:inline-flex; align-items:center; gap:7px;
  transition:var(--transition); border:none; cursor:pointer; font-family:inherit;
}
.btn-primary:hover { background:var(--primary-light); transform:translateY(-2px); }

/* ── LTR FIXES ── */
html[dir="ltr"] .footer-links a .fa-chevron-left::before { content:'\f054'; }
html[dir="ltr"] .card-link-btn .fa-arrow-left::before   { content:'\f061'; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .contact-inner { grid-template-columns:1fr; }
  .map-iframe-wrap { height:280px; }
}

@media (max-width:900px) {
  .about-inner { grid-template-columns:1fr; gap:2.5rem; }
  .footer-top { grid-template-columns:1fr; gap:2rem; }
  .modal-body { grid-template-columns:1fr; }
  .modal-img-col { min-height:180px; }
  .modal-detail-col { max-height:none; }
}

@media (max-width:768px) {
  .nav-links { display:none; }
  .nav-links.show {
    display:flex; flex-direction:column;
    position:absolute; top:66px; left:0; right:0;
    background:var(--primary-dark); padding:1rem 1.5rem;
    box-shadow:var(--shadow-md); z-index:999;
    border-top:1px solid rgba(255,255,255,.1);
  }
  .nav-links.show a { padding:8px 12px; font-size:.84rem; }
  .nav-links.show a.active { background:rgba(255,255,255,.12); font-weight:700; }
  .menu-toggle { display:block; }
  .hero-btns { flex-direction:column; }
  .btn-hero-primary, .btn-hero-wa { justify-content:center; }
  .sections-grid { grid-template-columns:1fr; }
  .stats-inner { gap:2.5rem; }
  .products-wrap { padding:1.5rem 1rem 3.5rem; }
  .prod-grid { grid-template-columns:repeat(auto-fill,minmax(145px,1fr)); gap:.75rem; }
  .prod-img-wrap { height:148px; }
  .prod-img-wrap img { max-height:118px; }
  .filter-bar { top:66px; }
  .flt-btns { display:none; }
  .flt-select { display:block; }
  .about-feats { grid-template-columns:1fr; }
  .hero-content { padding:3.5rem 1.2rem; }
  .hero-title { font-size:2rem; }
}

@media (max-width:480px) {
  .stat-item:last-child { display:none; }
  .products-wrap { padding:1.2rem .5rem 3rem; }
  .prod-grid { grid-template-columns:repeat(2,1fr); gap:.5rem; }
  .prod-img-wrap { height:140px; }
  .prod-img-wrap img { max-height:115px; max-width:88%; }
  .prod-info { padding:.65rem .7rem .7rem; gap:.2rem; }
  .prod-name { font-size:.78rem; }
  .prod-sub { font-size:.63rem; }
  .prod-footer { margin-top:.5rem; padding-top:.55rem; }
  .prod-price { font-size:.9rem; }
  .btn-view { padding:5px 10px; font-size:.68rem; }
  .modal-box { border-radius:12px 12px 0 0; margin-bottom:0; }
}

/* ── MOBILE PERFORMANCE — تخفيف الثقل على الموبايل ── */
@media (max-width:768px) and (hover:none) {
  * { transition:none !important; animation:none !important; }
  .prod-card { box-shadow:0 2px 8px rgba(32,66,137,.08); }
  .prod-card::before { display:none; }
  .prod-img-wrap { background:#f0f4ff; }
  .map-iframe-wrap { box-shadow:0 4px 12px rgba(32,66,137,.1); }
  .map-iframe-wrap::before { display:none; }
  .filter-bar { position:static; }
}

/* ══════════════════════════════════════════════════
   MISSING / ALIAS STYLES — fixes HTML ↔ CSS gaps
   ══════════════════════════════════════════════════ */

/* ── Navbar logo image (no class in HTML, target by parent) ── */
.nav-logo img {
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}

/* ── Hero .btn-primary override — needs white bg on dark hero ── */
.hero .btn-primary {
  background: var(--white);
  color: var(--primary-dark);
  padding: 14px 30px;
  font-size: .95rem;
  font-weight: 800;
}
.hero .btn-primary:hover {
  background: rgba(255,255,255,.92);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}

/* ── Hero decorative orbs ── */
.hero-orb1, .hero-orb2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb1 {
  width: 600px; height: 600px;
  top: -200px; right: -180px;
  background: radial-gradient(circle,rgba(43,108,245,.22) 0%,transparent 65%);
}
.hero-orb2 {
  width: 400px; height: 400px;
  bottom: -180px; left: -120px;
  background: radial-gradient(circle,rgba(255,255,255,.07) 0%,transparent 65%);
}

/* ── Hero paragraph (HTML uses .hero-sub, CSS had .hero-subtitle) ── */
.hero-sub {
  color: rgba(255,255,255,.78);
  font-size: clamp(.95rem,2vw,1.15rem);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.8;
}

/* ── White outline button for hero WA CTA ── */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-family: inherit;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}

/* ── Section heading wrapper (HTML uses .sec-heading, CSS had .sec-head) ── */
.sec-heading {
  text-align: center;
  margin-bottom: 2.8rem;
}
.sec-heading .sec-tag   { display: inline-block; margin-bottom: .75rem; }
.sec-heading .sec-title { margin-bottom: .4rem; }
.sec-heading .sec-desc  { max-width: 460px; margin: 0 auto; }

/* ── Footer brand block (HTML uses .footer-brand / .footer-brand-name) ── */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1;
}
.footer-brand-name img {
  height: 38px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* ── Footer links list (HTML uses .footer-links-list, CSS had .footer-links) ── */
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links-list a {
  color: rgba(255,255,255,.62);
  font-size: .84rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links-list a:hover { color: var(--white); }

/* ── LTR chevron fix for .footer-links-list ── */
html[dir="ltr"] .footer-links-list .fa-chevron-left::before { content: '\f054'; }
