/* =====================================================
   ManaTrit — Main Stylesheet
   Mobile First | Premium Design | v2.0
   ===================================================== */

/* ── Google Fonts ────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Manrope:wght@400;600;700&display=swap');

/* ── CSS Custom Properties ───────────────────────────── */
:root {
  /* Brand Colors */
  --mn-black:      #0F0F1A;
  --mn-orange:     #FF6B00;
  --mn-orange-lt:  #FFF0E6;
  --mn-orange-md:  #FF8C38;
  --mn-white:      #FFFFFF;
  --mn-gray-bg:    #F7F8FA;
  --mn-gray-bd:    #E5E7EB;
  --mn-text:       #1A1A2E;
  --mn-text-soft:  #6B7280;
  --mn-wa:         #25D366;
  --mn-wa-dark:    #1EBF5A;
  --mn-success:    #10B981;
  --mn-teal:       #0EA5E9;

  /* Spacing */
  --mn-gap-xs:  8px;
  --mn-gap-sm:  16px;
  --mn-gap-md:  24px;
  --mn-gap-lg:  40px;
  --mn-gap-xl:  64px;

  /* Radius */
  --mn-r-sm:   8px;
  --mn-r-md:   14px;
  --mn-r-lg:   24px;
  --mn-r-full: 9999px;

  /* Shadow */
  --mn-shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --mn-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --mn-shadow-lg: 0 12px 40px rgba(0,0,0,0.12);

  /* Typography */
  --mn-font-ar: 'Tajawal', 'Noto Sans Arabic', Arial, sans-serif;
  --mn-font-num: 'Manrope', sans-serif;
}

/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--mn-font-ar);
  color: var(--mn-text);
  background: var(--mn-white);
  line-height: 1.6;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

/* ── WordPress/Gutenberg Cleanup ─────────────────────── */
.wp-block-post-date,
.wp-block-post-author,
.wp-block-post-terms,
.wp-site-title { display: none !important; }

/* ── STICKY HEADER ───────────────────────────────────── */
.wp-block-template-part[class*="header"],
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--mn-black) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* ── NAVIGATION ──────────────────────────────────────── */
.wp-block-navigation {
  font-family: var(--mn-font-ar) !important;
}
.wp-block-navigation-item__content {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  color: rgba(255,255,255,0.9) !important;
  transition: color 0.2s !important;
}
.wp-block-navigation-item__content:hover {
  color: var(--mn-orange) !important;
}
/* Contact link = orange pill */
.wp-block-page-list a[href$="/contact/"],
.wp-block-navigation-item a[href$="/contact/"] {
  background: var(--mn-orange) !important;
  color: #fff !important;
  padding: 7px 18px !important;
  border-radius: var(--mn-r-full) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
}
/* Hide cluttered nav items */
.wp-block-page-list a[href$="/faq/"],
.wp-block-page-list a[href$="/about/"],
.wp-block-page-list a[href$="/shop-coming-soon/"],
.wp-block-page-list a[href$="/diagnostic/"],
.wp-block-page-list a[href$="/terms/"],
.wp-block-page-list li:has(a[href$="/faq/"]),
.wp-block-page-list li:has(a[href$="/about/"]),
.wp-block-page-list li:has(a[href$="/shop-coming-soon/"]),
.wp-block-page-list li:has(a[href$="/diagnostic/"]),
.wp-block-page-list li:has(a[href$="/terms/"]) { display: none !important; }

/* ── WHATSAPP FLOATING BUTTON ────────────────────────── */
.mn-wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--mn-wa);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: var(--mn-r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  text-decoration: none;
  overflow: hidden;
}
.mn-wa-float:hover {
  width: 150px;
  border-radius: var(--mn-r-full);
  background: var(--mn-wa-dark);
}
.mn-wa-float__icon { width: 28px; height: 28px; flex-shrink: 0; }
.mn-wa-float__label {
  display: none;
  font-size: 14px;
  font-weight: 700;
  margin-right: 8px;
  white-space: nowrap;
}
.mn-wa-float:hover .mn-wa-float__label { display: inline; }

/* WhatsApp CTA Buttons */
.mn-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mn-wa);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: var(--mn-r-full);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
  border: none;
  cursor: pointer;
}
.mn-btn-wa:hover {
  background: var(--mn-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}
.mn-btn-wa svg { flex-shrink: 0; }

/* Orange CTA Button */
.mn-btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mn-orange);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: var(--mn-r-full);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(255,107,0,0.3);
}
.mn-btn-orange:hover {
  background: var(--mn-orange-md);
  transform: translateY(-2px);
}

/* Ghost Button */
.mn-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff !important;
  padding: 12px 24px;
  border-radius: var(--mn-r-full);
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.25s;
}
.mn-btn-ghost:hover {
  border-color: var(--mn-orange);
  background: rgba(255,107,0,0.12);
}

/* ── HERO SECTION ────────────────────────────────────── */
.mn-hero {
  background: linear-gradient(145deg, #0F0F1A 0%, #1a1a3e 50%, #0F0F1A 100%);
  padding: 72px 20px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mn-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mn-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mn-hero__eyebrow {
  display: inline-block;
  background: rgba(255,107,0,0.15);
  color: var(--mn-orange-md);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: var(--mn-r-full);
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.mn-hero__title {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #fff !important;
  line-height: 1.25;
  margin-bottom: 12px;
}
.mn-hero__title span { color: var(--mn-orange); }
.mn-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ── SEARCH BAR ──────────────────────────────────────── */
.mn-search {
  max-width: 520px;
  margin: 0 auto 28px;
  position: relative;
}
.mn-search__input {
  width: 100%;
  padding: 16px 20px 16px 60px;
  border-radius: var(--mn-r-full);
  border: 2px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--mn-font-ar);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  direction: rtl;
}
.mn-search__input::placeholder { color: rgba(255,255,255,0.5); }
.mn-search__input:focus {
  border-color: var(--mn-orange);
  background: rgba(255,255,255,0.12);
}
.mn-search__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}
.mn-search__results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0; left: 0;
  background: #fff;
  border-radius: var(--mn-r-md);
  box-shadow: var(--mn-shadow-lg);
  overflow: hidden;
  display: none;
  z-index: 100;
  text-align: right;
}
.mn-search__results.is-open { display: block; }
.mn-search__result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--mn-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.15s;
  border-bottom: 1px solid var(--mn-gray-bd);
}
.mn-search__result-item:last-child { border-bottom: none; }
.mn-search__result-item:hover { background: var(--mn-gray-bg); }
.mn-search__result-icon { font-size: 1.3rem; }

/* ── HERO BUTTONS ────────────────────────────────────── */
.mn-hero__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── TRUST BAR ───────────────────────────────────────── */
.mn-trust-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--mn-gap-sm);
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--mn-gray-bd);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mn-trust-bar::-webkit-scrollbar { display: none; }
.mn-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--mn-text-soft);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 6px 12px;
  background: var(--mn-gray-bg);
  border-radius: var(--mn-r-full);
  border: 1px solid var(--mn-gray-bd);
}
.mn-trust-bar__item .check { color: var(--mn-success); font-weight: 700; }

/* ── SMART ASSISTANT WIDGET ──────────────────────────── */
.mn-assistant {
  background: #fff;
  border: 1px solid var(--mn-gray-bd);
  border-radius: var(--mn-r-lg);
  padding: var(--mn-gap-md);
  margin: var(--mn-gap-md) auto;
  max-width: 560px;
  text-align: center;
  box-shadow: var(--mn-shadow-md);
}
.mn-assistant__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mn-orange-lt);
  color: var(--mn-orange);
  border-radius: var(--mn-r-full);
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.mn-assistant__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mn-text);
  margin-bottom: 16px;
}
.mn-assistant__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--mn-gap-sm);
}
.mn-assistant__opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--mn-gray-bg);
  border: 2px solid var(--mn-gray-bd);
  border-radius: var(--mn-r-md);
  text-decoration: none;
  color: var(--mn-text);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}
.mn-assistant__opt:hover,
.mn-assistant__opt.is-active {
  border-color: var(--mn-orange);
  background: var(--mn-orange-lt);
  color: var(--mn-orange);
  transform: translateY(-2px);
}
.mn-assistant__opt-icon { font-size: 1.5rem; }
.mn-assistant__followup {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: var(--mn-orange-lt);
  border-radius: var(--mn-r-md);
  text-align: center;
}
.mn-assistant__followup.is-open { display: block; }
.mn-assistant__followup p {
  font-size: 0.9rem;
  color: var(--mn-text);
  margin-bottom: 12px;
}

/* ── SECTION CONTAINER ───────────────────────────────── */
.mn-section {
  padding: 56px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.mn-section--bg {
  background: var(--mn-gray-bg);
  max-width: 100%;
  border-radius: 0;
}
.mn-section--bg .mn-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px;
}
.mn-section--dark {
  background: linear-gradient(145deg, #0F0F1A 0%, #1a1a3e 100%);
  max-width: 100%;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}

.mn-section__eyebrow {
  display: inline-block;
  background: var(--mn-orange-lt);
  color: var(--mn-orange);
  border-radius: var(--mn-r-full);
  padding: 3px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.mn-section__title {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  font-weight: 800;
  color: var(--mn-text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.mn-section--dark .mn-section__title { color: #fff !important; }
.mn-section__sub {
  font-size: 0.95rem;
  color: var(--mn-text-soft);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.mn-section--dark .mn-section__sub { color: rgba(255,255,255,0.75); }

/* ── CATEGORY NAV ────────────────────────────────────── */
.mn-cat-nav {
  display: flex;
  gap: var(--mn-gap-xs);
  padding: 0 20px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mn-cat-nav::-webkit-scrollbar { display: none; }
.mn-cat-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  padding: 10px 12px;
  background: var(--mn-gray-bg);
  border: 2px solid var(--mn-gray-bd);
  border-radius: var(--mn-r-md);
  text-decoration: none;
  color: var(--mn-text);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.mn-cat-nav__item:hover {
  border-color: var(--mn-orange);
  background: var(--mn-orange-lt);
  color: var(--mn-orange);
}
.mn-cat-nav__icon { font-size: 1.4rem; }

/* ── SERVICES GRID ───────────────────────────────────── */
.mn-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--mn-gap-sm);
}
.mn-service-card {
  background: #fff;
  border: 1px solid var(--mn-gray-bd);
  border-radius: var(--mn-r-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: var(--mn-gap-sm);
  text-decoration: none;
  color: var(--mn-text);
  transition: all 0.25s;
  box-shadow: var(--mn-shadow-sm);
}
.mn-service-card:hover {
  border-color: var(--mn-orange);
  box-shadow: var(--mn-shadow-md);
  transform: translateY(-2px);
}
.mn-service-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--mn-orange-lt);
  border-radius: var(--mn-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mn-service-card__content { flex: 1; min-width: 0; }
.mn-service-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mn-text);
  margin-bottom: 4px;
}
.mn-service-card__desc {
  font-size: 0.8rem;
  color: var(--mn-text-soft);
  line-height: 1.5;
}
.mn-service-card__arrow {
  color: var(--mn-orange);
  flex-shrink: 0;
  font-size: 1.2rem;
  margin-right: auto;
}

/* ── HOW IT WORKS ────────────────────────────────────── */
.mn-steps {
  display: flex;
  flex-direction: column;
  gap: var(--mn-gap-sm);
}
.mn-step {
  display: flex;
  align-items: flex-start;
  gap: var(--mn-gap-sm);
  padding: 16px;
  background: #fff;
  border: 1px solid var(--mn-gray-bd);
  border-radius: var(--mn-r-md);
  box-shadow: var(--mn-shadow-sm);
}
.mn-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--mn-orange);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: var(--mn-font-num);
  flex-shrink: 0;
}
.mn-step__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mn-text);
  margin-bottom: 2px;
}
.mn-step__desc {
  font-size: 0.8rem;
  color: var(--mn-text-soft);
  line-height: 1.5;
}

/* ── PRICING TYPES ───────────────────────────────────── */
.mn-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--mn-gap-sm);
}
.mn-price-card {
  background: #fff;
  border: 2px solid var(--mn-gray-bd);
  border-radius: var(--mn-r-md);
  padding: var(--mn-gap-md);
  box-shadow: var(--mn-shadow-sm);
  transition: border-color 0.2s;
}
.mn-price-card:hover { border-color: var(--mn-orange); }
.mn-price-card__badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--mn-r-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.mn-price-card__badge--fixed {
  background: #E8F8F5;
  color: var(--mn-success);
}
.mn-price-card__badge--diag {
  background: var(--mn-orange-lt);
  color: var(--mn-orange);
}
.mn-price-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mn-text);
  margin-bottom: 8px;
}
.mn-price-card__desc {
  font-size: 0.875rem;
  color: var(--mn-text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ── PROTECTION / GUARANTEE ──────────────────────────── */
.mn-guarantee {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  padding: 48px 20px;
  text-align: center;
  color: #fff;
}
.mn-guarantee h2 { color: #fff !important; font-weight: 800; margin-bottom: 12px; }
.mn-guarantee p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 24px; line-height: 1.7; }

/* ── VISITORS SECTION ────────────────────────────────── */
.mn-visitors {
  background: var(--mn-gray-bg);
  padding: 48px 20px;
  text-align: center;
}
.mn-visitors .dir-ltr,
.dir-ltr { direction: ltr !important; text-align: center !important; }

/* ── FINAL CTA ───────────────────────────────────────── */
.mn-final-cta {
  background: linear-gradient(145deg, #0F0F1A 0%, #1a1a3e 100%);
  padding: 64px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mn-final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,0,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.mn-final-cta h2 { color: #fff !important; font-weight: 800; margin-bottom: 12px; }
.mn-final-cta p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 28px; }

/* ── FOOTER ──────────────────────────────────────────── */
.wp-block-template-part[class*="footer"] footer,
.wp-block-template-part[class*="footer"] {
  background: #0F0F1A !important;
  color: rgba(255,255,255,0.7);
}
/* Hide placeholder footer nav */
footer nav[aria-label*=" 2"],
footer nav[aria-label*=" 3"],
footer .wp-block-navigation-link a[href="#"],
footer li.wp-block-navigation-item:has(a[href="#"]),
footer nav:has(a[href="#"]),
footer a[href*="wordpress.org"],
footer .wp-block-site-title { display: none !important; }

/* ── MANATRIT-ASSISTANT SHORTCODE ────────────────────── */
.manatrit-assistant {
  background: #fff;
  border: 1px solid var(--mn-gray-bd);
  border-radius: var(--mn-r-lg);
  padding: var(--mn-gap-md);
  text-align: center;
  margin: 20px 0;
  box-shadow: var(--mn-shadow-md);
}

/* WhatsApp inline shortcode */
.manatrit-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mn-wa);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: var(--mn-r-full);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.25s;
}
.manatrit-whatsapp-btn:hover { background: var(--mn-wa-dark); }

/* ── RESPONSIVE — Tablet 768px ───────────────────────── */
@media (min-width: 768px) {
  .mn-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mn-service-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  .mn-service-card__icon {
    margin: 0 auto;
  }
  .mn-service-card__arrow { display: none; }
  .mn-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .mn-step { flex: 1 1 calc(50% - 8px); }
  .mn-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── RESPONSIVE — Desktop 1024px ─────────────────────── */
@media (min-width: 1024px) {
  .mn-hero { padding: 100px 20px 80px; text-align: right; }
  .mn-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    text-align: right;
  }
  .mn-services-grid { grid-template-columns: repeat(3, 1fr); }
  .mn-service-card {
    flex-direction: column;
    text-align: center;
  }
  .mn-steps { flex-wrap: nowrap; }
  .mn-step { flex: 1; }
  .mn-hero__btns { justify-content: flex-end; }
  .mn-search { margin: 0 0 28px; }
}

/* ── RESPONSIVE — Small phones 360px ─────────────────── */
@media (max-width: 360px) {
  .mn-assistant__options { grid-template-columns: 1fr; }
  .mn-trust-bar__item { font-size: 0.72rem; padding: 5px 10px; }
}

/* ── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mn-animate { animation: fadeInUp 0.45s ease both; }
.mn-animate--d1 { animation-delay: 0.1s; }
.mn-animate--d2 { animation-delay: 0.2s; }
.mn-animate--d3 { animation-delay: 0.3s; }


/* ══════════════════════════════════════════════════════════════
   MANATRIT HEADER — Phase A v4.0 (Active)
   Matches: parts/header.html (v4)
   Generated: 2026-08-14
   Lines above this comment: preserved exactly (Variables, Reset,
   Navigation, WhatsApp v1, Hero, Search, Trust, AI, Services,
   Categories, How It Works, Pricing, Footer, Responsive, Animations)
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   MANATRIT HEADER — Phase A v4.0
   Matches: parts/header.html (v4)
   Classes must match EXACTLY what is in parts/header.html
   DO NOT edit lines 1-813 of manatrit.css — those belong to
   Hero, Search, Trust, AI, Services, Footer, Responsive, etc.
   ══════════════════════════════════════════════════════════════ */

/* ─── Site Header Wrapper ─── */
.mn-site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  width: 100%;
}

.admin-bar .mn-site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .mn-site-header { top: 46px; }
}

/* ─────────────────────────────────────────────────────────────
   ROW 1: MAIN HEADER BAR — White background, 70px height
───────────────────────────────────────────────────────────── */
.mn-hdr-main {
  background: #ffffff;
  height: 70px;
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.mn-hdr-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  direction: ltr;
}

/* ── Logo ── */
.mn-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  color: inherit;
}

.mn-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

.mn-logo-words {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mn-logo-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1A1A2E;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.mn-logo-accent { color: #FF6B00; }

.mn-logo-tag {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.6rem;
  color: #6B7280;
  font-weight: 400;
  white-space: nowrap;
}

/* ── Flex Spacer ── */
.mn-hdr-spacer {
  flex: 1;
  min-width: 0;
  display: block;
}

/* ── Right Actions Container ── */
.mn-hdr-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Country / Language Selectors */
.mn-hdr-selectors {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mn-hdr-sel {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 11px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1A1A2E;
  white-space: nowrap;
  line-height: 1;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.mn-hdr-sel:hover {
  border-color: #FF6B00;
  color: #FF6B00;
  background: #FFF0E6;
}

.mn-hdr-chv {
  font-size: 0.5rem;
  opacity: 0.45;
  line-height: 1;
}

/* Icon Buttons — Wishlist, Cart */
.mn-hdr-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  color: #1A1A2E;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.mn-hdr-icon-btn:hover {
  border-color: #FF6B00;
  color: #FF6B00;
  background: #FFF0E6;
}

.mn-hdr-icon-btn svg { pointer-events: none; }

/* Sign In */
.mn-hdr-signin {
  padding: 8px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  color: #1A1A2E;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.mn-hdr-signin:hover {
  border-color: #FF6B00;
  color: #FF6B00;
  background: #FFF0E6;
}

/* Get Started CTA */
.mn-hdr-get-started {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: #FF6B00;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(255,107,0,0.30);
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.mn-hdr-get-started:hover {
  background: #e85f00;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(255,107,0,0.40);
}

/* Hamburger Button — hidden on desktop, visible on mobile */
.mn-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.18s, background 0.18s;
}

.mn-burger:hover {
  border-color: #FF6B00;
  background: #FFF0E6;
}

.mn-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1A1A2E;
  border-radius: 2px;
  transition: transform 0.28s, opacity 0.2s;
}

.mn-burger.mn-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mn-burger.mn-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mn-burger.mn-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────────────────────
   ROW 2: NAVIGATION BAR — Dark Navy, 46px height
───────────────────────────────────────────────────────────── */
.mn-hdr-nav {
  background: #1A1A2E;
  height: 46px;
}

.mn-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: stretch;
  direction: ltr;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mn-nav-inner::-webkit-scrollbar { display: none; }

/* All Categories — Orange, full height, leftmost */
.mn-nav-cats-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  background: #FF6B00;
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  transition: background 0.18s;
}

.mn-nav-cats-btn:hover { background: #e85f00; }

.mn-nav-cats-icon {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  flex-shrink: 0;
}

.mn-nav-cats-icon span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
}

/* Nav Links */
.mn-nav-lnk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  color: rgba(255,255,255,0.74) !important;
  text-decoration: none !important;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  transition: color 0.18s;
}

.mn-nav-lnk::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #FF6B00;
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s;
}

.mn-nav-lnk:hover { color: #fff !important; }
.mn-nav-lnk:hover::after { transform: scaleX(1); }

.mn-nav-active { color: #fff !important; font-weight: 700; }
.mn-nav-active::after { transform: scaleX(1); }

/* Coming Soon Badge */
.mn-nav-soon {
  font-size: 0.58rem;
  font-weight: 700;
  background: rgba(255,107,0,0.18);
  color: #FFB066;
  border: 1px solid rgba(255,107,0,0.28);
  padding: 2px 5px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Manrope', sans-serif;
  line-height: 1.4;
}

/* ManaTrit AI — Purple */
.mn-nav-ai { color: #A78BFA !important; }
.mn-nav-ai:hover { color: #C4B5FD !important; }
.mn-nav-ai::after { background: #A78BFA !important; }

/* ─────────────────────────────────────────────────────────────
   MOBILE DRAWER
───────────────────────────────────────────────────────────── */

/* Overlay */
.mn-drw-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 8990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}

.mn-drw-overlay.mn-open {
  opacity: 1;
  pointer-events: all;
}

/* Drawer Panel */
.mn-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(290px, 86vw);
  height: 100vh;
  background: #ffffff;
  box-shadow: 6px 0 28px rgba(0,0,0,0.16);
  z-index: 8991;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mn-drawer.mn-open { transform: translateX(0); }

/* Drawer Header */
.mn-drw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #1A1A2E;
  flex-shrink: 0;
}

.mn-drw-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.mn-drw-close {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}

.mn-drw-close:hover { background: rgba(255,255,255,0.22); }

/* Drawer Nav Links */
.mn-drw-nav {
  flex: 1;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}

.mn-drw-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  color: #1A1A2E;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.15s, color 0.15s, padding-right 0.15s;
  direction: rtl;
}

.mn-drw-nav a:hover {
  background: #FFF0E6;
  color: #FF6B00;
  padding-right: 26px;
}

.mn-drw-ai-lnk { color: #7C3AED !important; }

.mn-drw-soon {
  font-size: 0.62rem;
  background: #FFF0E6;
  color: #FF6B00;
  border: 1px solid #FFD0A8;
  padding: 1px 5px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
}

/* Drawer Footer */
.mn-drw-foot {
  padding: 16px 18px;
  border-top: 1px solid #E5E7EB;
  flex-shrink: 0;
}

.mn-drw-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 3px 16px rgba(37,211,102,0.4);
  transition: background 0.18s;
}

.mn-drw-wa-btn:hover { background: #1ebe5e; }

/* ─────────────────────────────────────────────────────────────
   FLOATING WHATSAPP BUTTON
───────────────────────────────────────────────────────────── */
.mn-wa-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 8980;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(37,211,102,0.42);
  overflow: hidden;
  gap: 0;
  transition: width 0.3s ease, border-radius 0.3s ease, padding 0.3s ease;
}

.mn-wa-fab-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.mn-wa-fab-txt {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 0.3s ease, opacity 0.25s ease;
}

.mn-wa-fab:hover {
  width: 148px;
  border-radius: 999px;
  padding: 0 18px;
  gap: 8px;
}

.mn-wa-fab:hover .mn-wa-fab-txt {
  max-width: 90px;
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — HEADER ONLY
───────────────────────────────────────────────────────────── */

/* Tablet ≤1024px */
@media (max-width: 1024px) {
  .mn-hdr-inner { padding: 0 20px; gap: 12px; }
  .mn-logo-tag { display: none; }
  .mn-hdr-selectors { gap: 4px; }
  .mn-hdr-sel { padding: 6px 9px; }
}

/* Mobile ≤768px */
@media (max-width: 768px) {
  .mn-hdr-main { height: 60px; }
  .mn-hdr-inner { padding: 0 14px; gap: 10px; }
  .mn-hdr-selectors { display: none; }
  .mn-hdr-signin { display: none; }
  .mn-hdr-icon-btn { display: none; }
  .mn-hdr-nav { display: none; }
  .mn-logo-tag { display: none; }
  .mn-burger { display: flex; }
}

@media (max-width: 400px) {
  .mn-hdr-inner { padding: 0 10px; }
  .mn-hdr-get-started { padding: 8px 14px; font-size: 0.78rem; }
  .mn-logo-name { font-size: 1rem; }
}
