@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&display=swap');
:root{
  --afia-teal:  #3D6062;
  --afia-sand:  #CEAD91;
  --afia-coral: #CD8B7F;
  --afia-bg:    #F9F4EE;
  --afia-ink:   #2F4749;
  --afia-line:  #E7DED3;
}
body,
.main-content,
main,
#app,
section{
  background-color: var(--afia-bg);
}
header, .store-header,
footer, .store-footer{
  background-color: var(--afia-bg) !important;
}
.store-footer__inner{
  background-color: #F2EAE1 !important;
  border-top: 1px solid var(--afia-line);
}
.s-product-card-entry,
.product-entry,
.card{
  background-color: #FFFFFF;
  border: 1px solid var(--afia-line);
}
h1, h2, h3,
.section-title,
.slider-title{
  font-family: 'Amiri', serif !important;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--afia-teal);
}
button, .btn, input, select, textarea,
.product-entry__title, p, li, label{
  font-family: 'Readex Pro', sans-serif !important;
}
.text-white h1, .text-white h2, .text-white h3, .text-white h4,
.home-slider__content h1, .home-slider__content h2, .home-slider__content h3,
.swiper-slide h1, .swiper-slide h2, .swiper-slide h3{
  color: #FFFFFF !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.banner-entry__text .banner__title,
.banner-entry__text h1, .banner-entry__text h2,
.banner-entry__text h3, .banner-entry__text h4,
.banner-entry__text p, .banner-entry__text span{
  color: #FFFFFF !important;
  opacity: 1 !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
}
.banner-entry.has-overlay::after{
  background: linear-gradient(to top,
              rgba(20,28,29,.80) 0%,
              rgba(20,28,29,.52) 50%,
              rgba(20,28,29,.22) 100%) !important;
}
.banner-entry__text{ position:relative; z-index:2; }
.btn--primary, button.btn-primary, .s-button-primary{
  background: var(--afia-teal);
  border-color: var(--afia-teal);
  border-radius: 999px;
  padding-inline: 26px;
  transition: background .25s ease;
}
.btn--primary:hover, .s-button-primary:hover{
  background: #33514F;
}
.btn--outline{
  border: 1.5px solid var(--afia-coral);
  color: var(--afia-coral);
  border-radius: 999px;
}
.section-title{ margin-bottom: 4px; }
.section-subtitle,
.section-title + p{
  color: var(--afia-coral);
  font-size: 15px;
  margin-top: 0;
}
.s-product-card-entry img,
.product-entry img,
.card img,
[class*="banner"] img{
  border-radius: 14px;
}
@media (max-width: 768px){
  h1{ font-size: 28px !important; }
  h2{ font-size: 23px !important; }
}
.s-product-card-entry .s-product-card-content-title{
  display:block;
  font-size:23px;
  line-height:1.45;
  margin-bottom:0;
}
.s-product-card-entry .s-product-card-content-title a{ display:block; }
.s-product-card-entry .s-product-card-content-subtitle{
  font-family:'Readex Pro',sans-serif;
  font-weight:400;
  font-size:12.5px;
  line-height:1.7;
  color:var(--afia-coral);
  opacity:1;
  margin-top:4px;
}
.s-product-card-entry .s-product-card-image-cover{
  aspect-ratio:1/1;
  object-fit:cover;
  width:100%;
}

/* --- 9. الهيدر: الشريط العلوي + صف الشعار والسلة --------------------- */
.top-navbar{ background: var(--afia-bg); border-bottom: 1px solid var(--afia-line); }
.top-navbar .container{ align-items:center; min-height:48px; }
.top-navbar .container > .flex-1{ flex:0 0 auto !important; }

.top-navbar .header-search{ flex:0 0 auto !important; width:auto !important; }
.top-navbar .header-search .s-search-placeholder-wrapper{ width:40px !important; max-width:40px !important; padding:0 !important; }
.top-navbar .header-search .s-search-input-wrapper{
  position:relative; width:40px; height:40px; border-radius:50%;
  background:transparent !important; border:0 !important; box-shadow:none !important;
  display:flex; align-items:center; justify-content:center; transition: background .2s ease;
}
.top-navbar .header-search .s-search-input-wrapper:hover{ background:#EFE7DD !important; }
.top-navbar .header-search .s-search-icon-wrap{ position:static !important; margin:0 !important; padding:0 !important; inset:auto !important; }
.top-navbar .header-search .s-search-icon{ color:var(--afia-teal); font-size:19px; }
.top-navbar .header-search input.s-search-placeholder-trigger{
  position:absolute !important; inset:0; width:100% !important; height:100% !important;
  opacity:0; padding:0 !important; border:0 !important; background:transparent !important; cursor:pointer;
}

.afia-top-account{ display:flex; align-items:center; gap:10px; }
.afia-top-account salla-user-menu{ display:inline-flex; align-items:center; }
.s-user-menu-login-btn{
  display:inline-flex !important; align-items:center; gap:7px;
  font-family:'Readex Pro',sans-serif; font-size:13px; line-height:1;
  color:var(--afia-teal); background:transparent; border:0;
  padding:4px 2px; white-space:nowrap; transition:color .2s ease;
}
.s-user-menu-login-btn::after{ content:'تسجيل الدخول'; }
.s-user-menu-login-btn:hover{ color:var(--afia-coral); }

#mainnav .container > .flex.items-stretch{ align-items:center; min-height:66px; }
#mainnav .navbar-brand img{ max-height:52px; width:auto; }
salla-cart-summary .s-cart-summary-wrapper{
  display:flex; align-items:center; gap:9px; padding:6px 14px; border-radius:999px;
  border:1px solid var(--afia-line); background:#FFFFFF;
  transition: border-color .2s ease, background .2s ease;
}
salla-cart-summary .s-cart-summary-wrapper:hover{ border-color:var(--afia-sand); background:#FBF7F2; }
salla-cart-summary .s-cart-summary-wrapper::before{
  content:'سلة التسوق';
  font-family:'Readex Pro',sans-serif; font-size:13px; line-height:1;
  color:var(--afia-teal); white-space:nowrap;
}
salla-cart-summary #s-cart-icon{ position:relative; display:inline-flex; align-items:center; }
salla-cart-summary .s-cart-summary-content{ margin:0 !important; }
salla-cart-summary .s-cart-summary-total{
  font-family:'Readex Pro',sans-serif; font-size:13px; font-weight:500;
  color:var(--afia-ink); white-space:nowrap;
}

.s-search-modal .s-modal-overlay{ background:rgba(20,28,29,.55); }
.s-search-modal .s-modal-body{
  max-width:900px !important; width:calc(100% - 48px);
  border-radius:18px; padding-top:22px; padding-bottom:22px;
}
.s-search-modal .s-search-input-wrapper{ background:#F5F1EB; border:1px solid var(--afia-line); border-radius:12px; min-height:52px; }
.s-search-modal .s-search-input{ font-family:'Readex Pro',sans-serif; font-size:15px; color:var(--afia-ink); }
.s-search-modal .s-search-idle-panel{ padding-top:6px; }

@media (max-width:1024px){
  .s-user-menu-login-btn::after{ display:none; }
  salla-cart-summary .s-cart-summary-wrapper::before{ display:none; }
  salla-cart-summary .s-cart-summary-wrapper{ padding:5px 9px; gap:6px; }
  #mainnav .navbar-brand img{ max-height:40px; }
  .s-search-modal .s-modal-body{ width:calc(100% - 24px); }
}

/* 9.7 تفاصيل نهائية بعد المعاينة */
.s-user-menu-login-btn svg{ width:19px; height:19px; fill:currentColor; flex:none; }
.top-navbar .header-search .s-search-icon{ width:19px !important; height:19px !important; }
salla-cart-summary .s-cart-summary-count{
  background: var(--afia-coral) !important; color:#FFFFFF !important;
  font-family:'Readex Pro',sans-serif; font-size:11px; font-weight:500;
  min-width:18px; height:18px; line-height:18px; text-align:center;
}
.top-navbar .header-search .s-search-icon svg{ width:18px; height:18px; fill:currentColor; }

/* --- 10. ضبط الهيدر (تعديلات بعد المراجعة) --------------------------
   10.1 زر تسجيل الدخول صندوقه ثابت 40px في سلة، فكان النص يفيض خارجه
        وتختل محاذاته مع مجموعة السلة. نجعله بعرض تلقائي.
   10.2 أيقونة البحث كان مركزها على ارتفاع 21px مقابل 30px للدخول.
   10.3 قائمة التنقل تبتعد عن الشعار وتلتصق بجهة اليسار.
   -------------------------------------------------------------------- */

/* 10.1 محاذاة «تسجيل الدخول» و«سلة التسوق» على نفس الحافة اليسرى */
.s-user-menu-login-btn{
  width:auto !important; min-width:0 !important; height:auto !important;
  justify-content:flex-start !important; padding:4px 0 !important;
}
.afia-top-account{ margin-inline-end:0; }

/* 10.2 توسيط أيقونة البحث رأسيًا بمستوى «تسجيل الدخول» */
.top-navbar .header-search .s-search-placeholder-wrapper{
  width:40px !important; max-width:40px !important; min-width:0 !important;
  margin-inline-start:auto !important; padding:0 !important;
  display:flex !important; align-items:center !important;
}
.top-navbar .header-search .s-search-input-wrapper{
  display:flex !important; align-items:center !important; justify-content:center !important;
  padding:0 !important; margin:0 !important;
}
.top-navbar .header-search .s-search-icon-wrap{
  display:flex !important; align-items:center !important; justify-content:center !important;
  height:100% !important; line-height:1 !important;
}

/* 10.3 القائمة بعيدًا عن الشعار وملتصقة بجهة اليسار (سطح المكتب فقط) */
@media (min-width:1025px){
  #mainnav .container > .flex.items-stretch > div:first-child{ flex:1 1 auto; }
  #mainnav custom-main-menu{
    margin-inline-start:auto !important;
    margin-inline-end:32px !important;
  }
}

/* 10.4 توسيط أيقونة البحث بشكل قطعي
   السبب: عنصر .s-search-icon-wrap كان يُحسب عند top:-10px داخل صندوق
   يبدأ من 10px، فالنتيجة انزياح 20px لأعلى. نثبّته بتوسيط مطلق.
   حقل الإدخال الشفاف يأتي بعده في DOM فيبقى فوقه وقابلًا للنقر. */
.top-navbar .header-search .s-search-input-wrapper{ position:relative !important; }
.top-navbar .header-search .s-search-icon-wrap{
  position:absolute !important;
  top:50% !important; left:50% !important; right:auto !important; bottom:auto !important;
  transform:translate(-50%,-50%) !important;
  width:auto !important; height:auto !important; margin:0 !important; padding:0 !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  line-height:0 !important;
}
.top-navbar .header-search .s-search-icon{ display:flex !important; line-height:0 !important; }

/* --- 11. توحيد الخط: Amiri في الموقع كله -----------------------------
   قبل التعديل: 126 عنصرًا على Readex Pro مقابل 12 على Amiri (مقيسة من DOM).
   خطوط الأيقونات (sallaicons) محميّة صراحةً في 11.3 حتى لا تتحول لمربعات.
   Amiri نسخ يرسم أصغر بصريًا من السانس، لذلك نرفع line-height
   وأحجام النصوص الصغيرة في 11.4 حتى تبقى المقروئية كما هي.
   -------------------------------------------------------------------- */

/* 11.1 الأساس */
html, body{
  font-family:'Amiri', serif !important;
  line-height:1.8;
}

/* 11.2 تعميم على كل العناصر ما عدا الأيقونات */
body *:not([class*="sicon"]):not([class*="icomoon"]):not(svg):not(use):not(path){
  font-family:'Amiri', serif !important;
}

/* 11.3 حماية خطوط الأيقونات — تأتي بعد 11.2 فتغلبها */
body [class*="sicon-"],
body i[class*="sicon"],
body [class*="icomoon"]{
  font-family:'sallaicons' !important;
}

/* 11.4 معايرة الأحجام بعد تغيير الخط */
.s-user-menu-login-btn{ font-size:15px !important; }
salla-cart-summary .s-cart-summary-wrapper::before{ font-size:15px !important; }
salla-cart-summary .s-cart-summary-total{ font-size:15px !important; }
.s-search-modal .s-search-input{ font-size:17px !important; }
.top-navbar .header-search input.s-search-placeholder-trigger{ font-size:16px !important; }
.s-product-card-entry .s-product-card-content-subtitle{
  font-size:14.5px !important; line-height:1.9 !important;
}
.s-product-card-entry .s-product-card-content-title{ font-size:25px !important; }
.btn, button, .s-button-primary, .btn--primary{ font-size:16px; }
p, li{ line-height:1.9; }
/* 12. صفحة «من نحن» — مضغوط (المصدر: afia-about.css) */
.afia-about{--afia-u0:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 180' fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 60c30-30 60 30 90 0s60-30 90 0 60 30 90 0'/%3E%3Cpath d='M-20 150c30-30 60 30 90 0s60-30 90 0 60 30 90 0'/%3E%3Ccircle cx='200' cy='105' r='2.2'/%3E%3Ccircle cx='60' cy='12' r='1.6'/%3E%3Cpath d='M120 110c2-12 9-20 20-24-1 12-8 20-20 24Z'/%3E%3C/svg%3E");--afia-u1:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 140' fill='none' stroke='%233D6062' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M40 100c0-34 44-44 70-12s64 34 64 4-40-34-64-4-70 22-70 12Z'/%3E%3Cpath d='M150 70c2-26 18-44 40-52-2 26-16 42-40 52Z'/%3E%3Cpath d='M152 68c10-12 20-24 34-44'/%3E%3C/svg%3E");--a-teal: var(--afia-teal,#3D6062);--a-deep: #355B5B;--a-ink: var(--afia-ink,#2F4749);--a-sea: #87B3AE;--a-sand: var(--afia-sand,#CEAD91);--a-coral: var(--afia-coral,#CD8B7F);--a-ivory: var(--afia-bg,#F9F4EE);--a-paper: #FFFDFA;--a-line: rgba(61,96,98,.14);--a-muted: #5E7274;--a-font: 'Amiri','Noto Naskh Arabic',serif;--afia-hero-photo: none;direction: rtl;text-align: right;font-family: var(--a-font);color: var(--a-ink);font-size: 18px;line-height: 1.95;display: flex;flex-direction: column;gap: 96px;padding-bottom: 24px}.afia-about *{box-sizing:border-box}.content-entry .afia-about :where(p,ul,li,h2,h3,blockquote){margin:0;padding:0}.content-entry .afia-about :where(ul){list-style:none}.content-entry .afia-about :where(a){text-decoration:none}.afia-about h2,.afia-about h3{font-family:var(--a-font)!important;color:var(--a-ink);text-wrap:balance;letter-spacing:0}main:has(.afia-about) .breadcrumbs{display:none}.content--single-page:has(.afia-about){background:transparent!important;padding:0!important;margin-top:0!important;width:100%!important;border-radius:0}.content--single-page:has(.afia-about)>h1{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.afia-about .ai{display:inline-block;width:26px;height:26px;flex:none;background:currentColor;-webkit-mask:var(--ai) center/contain no-repeat;mask:var(--ai) center/contain no-repeat}.afia-about .ai-user{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c0-3.9 3.1-7 7-7s7 3.1 7 7'/%3E%3C/svg%3E")}.afia-about .ai-group{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8.5' r='3'/%3E%3Cpath d='M3 19.5c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9.5' r='2.4'/%3E%3Cpath d='M16 13.6c.3-.1.7-.1 1-.1 2.5 0 4.5 2 4.5 4.5'/%3E%3C/svg%3E")}.afia-about .ai-clock{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E")}.afia-about .ai-badge{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='5.5'/%3E%3Cpath d='M8.8 13.5 7.5 21l4.5-2.4 4.5 2.4-1.3-7.5'/%3E%3Cpath d='m10 9 1.4 1.4L14 7.8'/%3E%3C/svg%3E")}.afia-about .ai-route{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Cpath d='M8 18h6.5a3 3 0 0 0 0-6h-5a3 3 0 0 1 0-6H16'/%3E%3C/svg%3E")}.afia-about .ai-lock{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9.5' rx='2.5'/%3E%3Cpath d='M8.5 11V8a3.5 3.5 0 0 1 7 0v3'/%3E%3Cpath d='M12 14.5v2.5'/%3E%3C/svg%3E")}.afia-about .ai-eye{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/svg%3E")}.afia-about .ai-sprout{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-8'/%3E%3Cpath d='M12 13c0-4 3-7 8-7 0 4-3 7-8 7Z'/%3E%3Cpath d='M12 15.5c0-3-2.5-5.5-7-5.5 0 3 2.5 5.5 7 5.5Z'/%3E%3C/svg%3E")}.afia-about .ai-doc{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7Z'/%3E%3Cpath d='M14 3v4h4'/%3E%3Cpath d='M10 12h5M10 16h5'/%3E%3C/svg%3E")}.afia-about .ai-cal{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5.5' width='16' height='15' rx='2.5'/%3E%3Cpath d='M8 3.5v4M16 3.5v4M4 10h16'/%3E%3Cpath d='m9.5 15 1.8 1.8 3.4-3.6'/%3E%3C/svg%3E")}.afia-about .ai-x{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m9.2 9.2 5.6 5.6M14.8 9.2l-5.6 5.6'/%3E%3C/svg%3E")}.afia-about .ai-arrow{--ai:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='m11 6-6 6 6 6'/%3E%3C/svg%3E")}.afia-about .a-wrap{width:100%;max-width:1160px;margin-inline:auto}.afia-about .a-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:15px;font-weight:700;color:var(--a-teal)}.afia-about .a-eyebrow::before{content:"";width:28px;height:1.5px;background:var(--a-coral);border-radius:2px}.afia-about .a-h2{font-size:clamp(28px,3.2vw,40px);line-height:1.45;font-weight:700;margin-top:10px!important}.afia-about .a-lead{font-size:19px;color:var(--a-muted);max-width:60ch;margin-top:14px!important}.afia-about .a-head{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:40px}.afia-about .a-head.center{align-items:center;text-align:center}.afia-about .a-head.center .a-lead{margin-inline:auto}.afia-about .a-hero{position:relative;isolation:isolate;overflow:hidden;width:100vw;margin-inline:calc(50% - 50vw);min-height:460px;display:grid;place-items:center;padding:88px 20px 120px;text-align:center;color:#fff;background: linear-gradient(180deg,rgba(53,91,91,.86),rgba(47,71,73,.92)),var(--afia-hero-photo) center/cover no-repeat,#355B5B;border-radius:0 0 48px 48px}.afia-about .a-hero::before{content:"";position:absolute;inset:-20%;z-index:-1;pointer-events:none;background: radial-gradient(40% 50% at 12% 20%,rgba(135,179,174,.55),transparent 70%),radial-gradient(30% 40% at 90% 8%,rgba(226,142,125,.30),transparent 70%),radial-gradient(35% 40% at 85% 90%,rgba(135,179,174,.35),transparent 70%),radial-gradient(28% 35% at 30% 100%,rgba(226,142,125,.18),transparent 70%);filter:blur(18px)}.afia-about .a-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.09;background:var(--afia-u0) 0 0/240px 180px repeat}.afia-about .a-hero-mark{position:absolute;z-index:-1;inset-inline-end:-40px;bottom:30px;width:360px;height:230px;opacity:.16;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 140' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M40 100c0-34 44-44 70-12s64 34 64 4-40-34-64-4-70 22-70 12Z'/%3E%3Cpath d='M150 70c2-26 18-44 40-52-2 26-16 42-40 52Z'/%3E%3Cpath d='M152 68c10-12 20-24 34-44'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}.afia-about .a-hero-in{max-width:760px;display:flex;flex-direction:column;align-items:center;gap:18px}.afia-about .a-crumb{font-size:15px;color:rgba(255,255,255,.72)}.afia-about .a-crumb a{color:rgba(255,255,255,.9)}.afia-about .a-crumb a:hover{color:#fff;text-decoration:underline}.afia-about .a-chip{display:inline-flex;align-items:center;gap:8px;padding:4px 16px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);font-size:15px;font-weight:700}.afia-about .a-chip::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--a-coral)}.afia-about .a-hero h2{color:#fff!important;font-size:clamp(34px,5.2vw,60px);line-height:1.35;font-weight:700}.afia-about .a-hero h2 span{color:#F2D3C2}.afia-about .a-hero p{font-size:clamp(17px,1.6vw,20px);color:rgba(255,255,255,.86);max-width:58ch}.afia-about .a-facts{position:relative;z-index:2;margin-top:-160px!important;display:grid;grid-template-columns:repeat(3,1fr);background:var(--a-paper);border-radius:24px;box-shadow:0 24px 60px -30px rgba(47,71,73,.45);border:1px solid var(--a-line)}.afia-about .a-fact{display:flex;gap:16px;align-items:center;padding:26px 30px}.afia-about .a-fact+.a-fact{border-inline-start:1px solid var(--a-line)}.afia-about .a-fact .ai{color:var(--a-teal);width:30px;height:30px}.afia-about .a-fact b{display:block;font-size:19px;color:var(--a-ink)}.afia-about .a-fact small{display:block;font-size:15px;color:var(--a-muted);line-height:1.6}.afia-about .a-why{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}.afia-about .a-why p{margin-top:18px!important;max-width:58ch}.afia-about .a-why .a-quote{font-size:clamp(28px,3.4vw,42px);line-height:1.5;font-weight:700;margin-top:10px!important}.afia-about .a-why .a-quote em{font-style:normal;color:var(--a-teal);background:linear-gradient(transparent 62%,rgba(226,142,125,.28) 62%)}.afia-about .a-art{position:relative;aspect-ratio:4/4.4;max-width:100%;border-radius:32px;overflow:hidden;isolation:isolate;background:linear-gradient(160deg,#EEF4F2,#F7EDE5);display:flex;align-items:flex-end;padding:32px}.afia-about .a-art::before{content:"";position:absolute;inset:-10%;z-index:-1;filter:blur(14px);background:radial-gradient(45% 40% at 70% 25%,rgba(135,179,174,.55),transparent 70%),radial-gradient(40% 35% at 25% 60%,rgba(214,183,157,.45),transparent 70%),radial-gradient(35% 30% at 80% 85%,rgba(226,142,125,.35),transparent 70%)}.afia-about .a-art::after{content:"";position:absolute;z-index:-1;inset:12% 10% 38%;opacity:.55;background:var(--afia-u1) center/contain no-repeat}.afia-about .a-art blockquote{margin:0;background:rgba(255,253,250,.86);backdrop-filter:blur(6px);border-radius:18px;padding:18px 22px;font-size:19px;line-height:1.7;font-weight:700;color:var(--a-ink)}.afia-about .a-art blockquote small{display:block;font-weight:400;font-size:14px;color:var(--a-muted);margin-top:4px}.afia-about .a-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.afia-about .a-card{background:var(--a-paper);border:1px solid var(--a-line);border-radius:24px;padding:30px 28px 26px;display:flex;flex-direction:column;gap:12px;transition:transform .25s ease,box-shadow .25s ease}.afia-about .a-card:hover{transform:translateY(-4px);box-shadow:0 20px 44px -28px rgba(47,71,73,.5)}.afia-about .a-ico{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;margin-bottom:6px}.afia-about .a-card:nth-child(1) .a-ico{background:rgba(61,96,98,.1);color:var(--a-teal)}.afia-about .a-card:nth-child(2) .a-ico{background:rgba(135,179,174,.22);color:#3E7D76}.afia-about .a-card:nth-child(3) .a-ico{background:rgba(226,142,125,.18);color:#B0604F}.afia-about .a-card h3{font-size:24px;line-height:1.5;font-weight:700}.afia-about .a-card p{color:var(--a-muted);flex:1}.afia-about .a-tag{align-self:flex-start;font-size:14px;font-weight:700;color:var(--a-teal);background:var(--a-ivory);border-radius:999px;padding:3px 14px;margin-top:6px}.afia-about .a-band{position:relative;isolation:isolate;overflow:hidden;border-radius:36px;padding:64px 56px;color:#fff;background:linear-gradient(135deg,#355B5B,#2F4749)}.afia-about .a-band::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.07;background:var(--afia-u0) 0 0/240px 180px repeat}.afia-about .a-band::after{content:"";position:absolute;z-index:-1;width:420px;height:420px;border-radius:50%;inset-inline-start:-140px;top:-160px;background:radial-gradient(circle,rgba(135,179,174,.45),transparent 65%);filter:blur(10px)}.afia-about .a-band .a-eyebrow{color:#CFE3E0}.afia-about .a-band .a-h2{color:#fff!important}.afia-about .a-band .a-lead{color:rgba(255,255,255,.8)}.afia-about .a-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.afia-about .a-step{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:22px;padding:28px 26px;display:flex;flex-direction:column;gap:10px}.afia-about .a-step-top{display:flex;align-items:center;justify-content:space-between}.afia-about .a-step .ai{color:#F2D3C2;width:30px;height:30px}.afia-about .a-num{font-size:15px;font-weight:700;color:rgba(255,255,255,.5);font-variant-numeric:tabular-nums}.afia-about .a-step h3{color:#fff!important;font-size:22px;line-height:1.5;font-weight:700}.afia-about .a-step p{color:rgba(255,255,255,.8);font-size:17px}.afia-about .a-not{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;background:#F4EBE2;border:1px solid rgba(206,173,145,.45);border-radius:32px;padding:52px 52px}.afia-about .a-not .a-statement{font-size:22px;font-weight:700;color:var(--a-teal);margin-top:18px!important}.afia-about .a-not p.a-body{margin-top:12px!important;color:var(--a-muted)}.afia-about .a-nolist{display:grid;gap:12px}.afia-about .a-nolist li{display:flex;align-items:center;gap:14px;background:var(--a-paper);border-radius:16px;padding:14px 18px;font-weight:700}.afia-about .a-nolist .ai{color:#B0604F}.afia-about .a-refer{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between;border-top:1px dashed rgba(206,173,145,.8);padding-top:24px}.afia-about .a-refer p{max-width:70ch;font-size:17px}.afia-about .a-link{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--a-teal)!important;white-space:nowrap}.afia-about .a-link .ai{width:20px;height:20px;transition:transform .2s}.afia-about .a-link:hover .ai{transform:translateX(-4px)}.afia-about .a-promises{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--a-line);border-bottom:1px solid var(--a-line)}.afia-about .a-promise{padding:34px 30px;display:flex;flex-direction:column;gap:10px}.afia-about .a-promise+.a-promise{border-inline-start:1px solid var(--a-line)}.afia-about .a-promise .ai{color:var(--a-coral);width:32px;height:32px}.afia-about .a-promise h3{font-size:22px;font-weight:700;line-height:1.5}.afia-about .a-promise p{color:var(--a-muted);font-size:17px}.afia-about .a-cta{position:relative;isolation:isolate;overflow:hidden;border-radius:36px;padding:56px;display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#E4EFED 0%,#F6ECE4 100%)}.afia-about .a-cta::after{content:"";position:absolute;z-index:-1;inset-inline-end:-50px;bottom:-70px;width:320px;height:200px;opacity:.22;background:var(--afia-u1) center/contain no-repeat}.afia-about .a-cta .a-h2{margin-top:0!important}.afia-about .a-cta p{color:var(--a-muted);margin-top:8px!important}.afia-about .a-btns{display:flex;flex-wrap:wrap;gap:12px}.afia-about .a-btn{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:10px 28px;border-radius:999px;font-weight:700;font-size:18px;transition:background .2s,transform .2s,box-shadow .2s}.afia-about .a-btn .ai{width:20px;height:20px}.afia-about .a-btn-p{background:var(--a-teal);color:#fff!important;box-shadow:0 12px 28px -14px rgba(61,96,98,.8)}.afia-about .a-btn-p:hover{background:var(--a-ink);transform:translateY(-2px)}.afia-about .a-btn-s{background:rgba(255,255,255,.7);color:var(--a-teal)!important;border:1px solid var(--a-line)}.afia-about .a-btn-s:hover{background:#fff}.afia-about a:focus-visible{outline:2px solid var(--a-coral);outline-offset:3px;border-radius:8px}@media (max-width:1024px){.afia-about{gap:72px}.afia-about .a-why{grid-template-columns:1fr;gap:32px}.afia-about .a-art{aspect-ratio:16/10}.afia-about .a-cards,.afia-about .a-steps{grid-template-columns:1fr 1fr}.afia-about .a-cards .a-card:last-child,.afia-about .a-steps .a-step:last-child{grid-column:1/-1}}@media (max-width:767px){.afia-about{gap:56px;font-size:17px}.afia-about .a-hero{min-height:0;padding:56px 20px 112px;border-radius:0 0 28px 28px}.afia-about .a-hero-mark{width:220px;height:140px;bottom:20px;inset-inline-end:-50px}.afia-about .a-facts{grid-template-columns:1fr;margin-top:-148px!important;border-radius:20px}.afia-about .a-fact{padding:18px 22px}.afia-about .a-fact+.a-fact{border-inline-start:0;border-top:1px solid var(--a-line)}.afia-about .a-cards,.afia-about .a-steps,.afia-about .a-promises{grid-template-columns:1fr}.afia-about .a-promise+.a-promise{border-inline-start:0;border-top:1px solid var(--a-line)}.afia-about .a-promise{padding:26px 4px}.afia-about .a-band{padding:40px 22px;border-radius:26px}.afia-about .a-not{grid-template-columns:1fr;gap:28px;padding:32px 22px;border-radius:26px}.afia-about .a-cta{padding:36px 22px;border-radius:26px}.afia-about .a-btns,.afia-about .a-btn{width:100%;justify-content:center}.afia-about .a-art{aspect-ratio:4/3;padding:20px}}@media (prefers-reduced-motion:reduce){.afia-about *{transition:none!important}}
/* 13. القائمة الرئيسية في منتصف الهيدر */
@media (min-width:1025px){#mainnav .container>.flex.items-stretch{position:relative}#mainnav .container custom-main-menu{position:absolute !important;left:50%;top:50%;transform:translate(-50%,-50%);margin:0 !important;margin-inline:0 !important;display:flex !important;align-items:center;height:auto !important;min-height:0 !important}#mainnav .container ul.main-menu{display:flex;align-items:center;gap:40px;padding:0 !important}#mainnav ul.main-menu>li.root-level>a{position:relative;display:inline-block;padding:8px 2px !important;font-size:17px !important;font-weight:700 !important;color:var(--afia-ink,#2F4749) !important;white-space:nowrap;transition:color .2s ease}#mainnav ul.main-menu>li.root-level>a::after{content:"";position:absolute;inset-inline:0;bottom:0;height:2px;border-radius:2px;background:var(--afia-coral,#CD8B7F);transform:scaleX(0);transform-origin:center;transition:transform .25s ease}#mainnav ul.main-menu>li.root-level>a:hover{color:var(--afia-teal,#3D6062) !important}#mainnav ul.main-menu>li.root-level>a:hover::after,#mainnav ul.main-menu>li.root-level>a.afia-active::after{transform:scaleX(1)}#mainnav ul.main-menu>li.root-level>a.afia-active{color:var(--afia-teal,#3D6062) !important}#mainnav ul.main-menu>li.root-level>a:focus-visible{outline:2px solid var(--afia-coral,#CD8B7F);outline-offset:4px;border-radius:4px}}#mainnav ul.main-menu>li.lg\:hidden>a.afia-active{color:var(--afia-teal,#3D6062) !important}
/* 14. قائمة الحساب المنقولة: تثبيت القائمة المنسدلة تحت الأيقونة (كانت تطيل الصفحة تحت الفوتر) */
.afia-top-account{position:relative}

/* ===== صفحة انضم كمختص ===== */
.af-join{--af-bg:#F9F4EE;--af-surface:#FFFDFA;--af-ink:#272628;--af-muted:#6B6A66;--af-brand:#3D6062;--af-brand-deep:#2B4547;--af-sage:#D9E0D8;--af-line:#E4DCD1;--af-gold:#B08B57;--af-display:'Amiri',Georgia,'Times New Roman',serif;--af-body:'Amiri',Georgia,'Times New Roman',serif}
.af-join *{box-sizing:border-box}
.af-join{direction:rtl;text-align:right;background:var(--af-bg);color:var(--af-ink);font-family:var(--af-display);font-size:17px;line-height:1.95;padding-inline:20px;padding-block:0;overflow-x:hidden}
.af-join .af-wrap{max-width:1080px;margin-inline:auto}
.af-join h1,.af-join h2,.af-join h3,.af-join h4{margin:0;font-weight:700;text-wrap:balance;line-height:1.35}
.af-join p{margin:0}
.af-join ul{margin:0;padding:0;list-style:none}
.af-join a{color:inherit;text-decoration:none}
.af-join a:focus-visible,.af-join summary:focus-visible{outline:2px solid var(--af-brand);outline-offset:3px;border-radius:6px}
.af-join .af-eyebrow{font-size:.75rem;letter-spacing:.16em;font-weight:700;color:var(--af-brand)}
.af-join .af-lead{font-family:var(--af-body);font-size:1.22rem;line-height:2;color:var(--af-muted);max-width:62ch}
.af-join section{padding-block:clamp(48px,7vw,84px);border-top:1px solid var(--af-line)}
.af-join section:first-of-type{border-top:0}
.af-join .af-head{display:flex;flex-direction:column;gap:14px;margin-bottom:38px;max-width:64ch}
.af-join .af-hero{border-top:0;background:radial-gradient(120% 90% at 88% 0%,rgba(61,96,98,.10) 0%,rgba(61,96,98,0) 60%),linear-gradient(180deg,#FFFDFA 0%,var(--af-bg) 100%);margin-inline:-20px;padding-inline:20px}
.af-join .af-hero-grid{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.af-join .af-hero-main{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:22px}
.af-join .af-hero h1{font-size:clamp(2rem,5.2vw,3.3rem);font-weight:700;letter-spacing:-.01em}
.af-join .af-hero h1 em{font-style:normal;color:var(--af-brand);font-family:var(--af-body);font-weight:700}
.af-join .af-cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.af-join .af-btn{display:inline-flex;align-items:center;gap:10px;padding:14px 26px;border-radius:999px;font-size:.95rem;font-weight:700;background:var(--af-brand);color:#fff;border:1px solid var(--af-brand);transition:background .18s ease,transform .18s ease}
.af-join .af-btn:hover{background:var(--af-brand-deep);transform:translateY(-2px)}
.af-join .af-btn--ghost{background:transparent;color:var(--af-brand);border-color:rgba(61,96,98,.35)}
.af-join .af-btn--ghost:hover{background:rgba(61,96,98,.07);color:var(--af-brand-deep)}
.af-join .af-trust{flex:1 1 280px;min-width:0;background:var(--af-surface);border:1px solid var(--af-line);border-radius:18px;padding:26px 24px;display:flex;flex-direction:column;gap:18px}
.af-join .af-trust h3{font-size:.95rem;font-weight:700}
.af-join .af-stat{display:flex;flex-direction:column;gap:2px;padding-bottom:14px;border-bottom:1px dashed var(--af-line)}
.af-join .af-stat:last-child{border-bottom:0;padding-bottom:0}
.af-join .af-stat b{font-size:1.5rem;font-weight:700;color:var(--af-brand);font-variant-numeric:tabular-nums;line-height:1.3}
.af-join .af-stat span{font-size:.85rem;color:var(--af-muted);line-height:1.6}
.af-join .af-grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:18px}
.af-join .af-card{background:var(--af-surface);border:1px solid var(--af-line);border-top:3px solid var(--af-brand);border-radius:16px;padding:26px 22px;display:flex;flex-direction:column;gap:12px;min-width:0}
.af-join .af-card h3{font-size:1.02rem}
.af-join .af-card p{font-family:var(--af-body);font-size:1.02rem;line-height:1.9;color:var(--af-muted)}
.af-join .af-grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(275px,1fr));gap:20px}
.af-join .af-track{background:var(--af-surface);border:1px solid var(--af-line);border-radius:18px;padding:0;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.af-join .af-track-top{padding:24px 24px 18px;border-bottom:1px solid var(--af-line);background:linear-gradient(180deg,rgba(217,224,216,.42),rgba(217,224,216,0))}
.af-join .af-track-top h3{font-size:1.18rem;margin-bottom:6px}
.af-join .af-track-top p{font-size:.88rem;color:var(--af-muted)}
.af-join .af-track-body{padding:20px 24px 26px;display:flex;flex-direction:column;gap:14px;flex:1}
.af-join .af-req{display:flex;flex-direction:column;gap:9px}
.af-join .af-req li{display:flex;gap:10px;align-items:flex-start;font-family:var(--af-body);font-size:1.02rem;line-height:1.75;color:var(--af-ink)}
.af-join .af-req li::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--af-brand);margin-top:.72em}
.af-join .af-track .af-btn{align-self:flex-start;margin-top:auto;padding:11px 22px;font-size:.88rem}
.af-join .af-crit{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px 32px}
.af-join .af-crit li{display:flex;gap:12px;align-items:flex-start;font-family:var(--af-body);font-size:1.08rem;line-height:1.8;padding-bottom:14px;border-bottom:1px solid var(--af-line);min-width:0}
.af-join .af-check{flex:none;width:22px;height:22px;border-radius:50%;background:var(--af-brand);display:grid;place-items:center;margin-top:.45em}
.af-join .af-check::after{content:"\2713";color:#fff;font-size:.72rem;line-height:1;font-weight:700}
.af-join .af-btn::after{content:"\2190";font-size:1.05em;line-height:1;flex:none}
.af-join .af-btn--ghost::after{content:none}
.af-join .af-rail{position:relative;display:flex;flex-direction:column;gap:0}
.af-join .af-step{display:flex;gap:20px;align-items:flex-start;padding-bottom:30px;position:relative;min-width:0}
.af-join .af-step:last-child{padding-bottom:0}
.af-join .af-step::before{content:"";position:absolute;top:44px;bottom:0;right:21px;width:1px;background:var(--af-line)}
.af-join .af-step:last-child::before{display:none}
.af-join .af-num{flex:none;width:44px;height:44px;border-radius:50%;background:var(--af-bg);border:1.5px solid var(--af-brand);color:var(--af-brand);display:grid;place-items:center;font-weight:700;font-size:1rem;position:relative;z-index:1}
.af-join .af-step--key .af-num{background:var(--af-brand);color:#fff;border-color:var(--af-brand)}
.af-join .af-step-body{display:flex;flex-direction:column;gap:6px;padding-top:4px;min-width:0}
.af-join .af-step-body h3{font-size:1.06rem}
.af-join .af-step-body p{font-family:var(--af-body);font-size:1.06rem;line-height:1.85;color:var(--af-muted)}
.af-join .af-tag{align-self:flex-start;margin-top:4px;font-size:.72rem;letter-spacing:.08em;padding:4px 11px;border-radius:999px;background:var(--af-sage);color:var(--af-brand-deep);font-weight:700}
.af-join .af-assess{background:var(--af-brand);color:#fff;border-radius:22px;padding:clamp(28px,4.5vw,46px);display:flex;flex-direction:column;gap:30px}
.af-join .af-assess .af-eyebrow{color:#C7D6D4}
.af-join .af-assess h2{color:#fff;font-size:clamp(1.5rem,3.4vw,2.1rem)}
.af-join .af-assess .af-lead{color:#D8E3E1}
.af-join .af-assess-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.af-join .af-assess-item{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:22px 20px;display:flex;flex-direction:column;gap:9px;min-width:0}
.af-join .af-assess-item h4{font-size:1rem;color:#fff}
.af-join .af-assess-item p{font-family:var(--af-body);font-size:1rem;line-height:1.8;color:#D8E3E1}
.af-join .af-assess-item b{font-size:.72rem;letter-spacing:.1em;font-weight:700;color:#A9C2BF}
.af-join details{border-bottom:1px solid var(--af-line)}
.af-join summary{cursor:pointer;list-style:none;padding:20px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:1.02rem;font-weight:700}
.af-join summary::-webkit-details-marker{display:none}
.af-join summary::after{content:"+";flex:none;font-size:1.35rem;font-weight:300;color:var(--af-brand);transition:transform .2s ease;line-height:1}
.af-join details[open] summary::after{transform:rotate(45deg)}
.af-join details p{font-family:var(--af-body);font-size:1.06rem;line-height:1.95;color:var(--af-muted);padding-bottom:22px;max-width:70ch}
.af-join .af-final{background:var(--af-surface);border:1px solid var(--af-line);border-radius:22px;padding:clamp(30px,5vw,52px);display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:space-between}
.af-join .af-final-txt{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:12px}
.af-join .af-final h2{font-size:clamp(1.4rem,3.2vw,2rem)}
.af-join .af-note{margin-top:34px;padding:20px 22px;border-radius:14px;background:rgba(176,139,87,.09);border:1px solid rgba(176,139,87,.28);font-family:var(--af-body);font-size:1rem;line-height:1.9;color:#6A5638}
.af-join .af-note strong{font-weight:700;color:var(--af-gold)}
@media (prefers-reduced-motion:reduce){.af-join *{transition:none!important;animation:none!important}}
/* ===== نهاية صفحة انضم كمختص ===== */