/* 💎 قسم "ليش تختار فلوتشي؟" – نسخة نظيفة بدون خلفيات ولا ظلال */
.fq-why {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  color: #222;
}

/* العنوان */
.fq-why__title {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 50px;               /* المسافة الافتراضية على الشاشات الكبيرة */
  text-align: center;
  color: #000;
}

/* الشبكة */
.fq-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  justify-items: center;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

/* الأجهزة المتوسطة */
@media (max-width: 1024px) {
  .fq-why__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
  }
}

/* الجوال (تحسين الفراغات) */
@media (max-width: 600px) {
  .fq-why__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;                  /* row-gap, column-gap */
  }

  .fq-why__title {
    font-size: 1.9rem;
    /* مسافة أكبر وتجنب انهيار الهوامش في iOS */
    margin-bottom: 56px !important;
    line-height: 1.25;
    display: block;
    padding-bottom: 4px;
  }

  /* (اختياري) تصغير الأيقونات قليلًا على الجوال */
  .fq-why__icon img {
    width: 84px;
    height: 84px;
  }
}

/* العناصر */
.fq-why__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .25s ease-in-out;
}

.fq-why__item:hover {
  transform: translateY(-6px);
}

/* الأيقونة بدون خلفية أو ظل */
.fq-why__icon img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  transition: transform .3s ease;
}

/* الحركة عند التمرير */
.fq-why__item:hover .fq-why__icon img {
  transform: scale(1.15) rotate(-3deg);
}

/* النص */
.fq-why__text {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  line-height: 1.6;
  min-height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}








/* =========[ فلوتشي - قسم النكهات (نسخة نهائية محسّنة) ]========= */
:root{
  --flv-bg: #ffffff;
  --flv-text: #1f1f1f;
  --flv-muted: #6f6660;
  --flv-accent: #1f1f1f;

  --bag-w-desktop: 420px;
  --bag-h-desktop: 470px;
  --bag-w-tablet:  300px;
  --bag-h-tablet:  390px;
  --bag-w-mobile:  240px;
  --bag-h-mobile:  320px;

  --flv-gap: clamp(20px, 3vw, 40px);
}

/* الحاوية العامة */
.flv-section{
  --gutter: clamp(16px, 4vw, 32px);              /* الهامش الجانبي الأساسي */
  padding-left:  max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* العنوان */
.flv-head{
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 48px);
}
  
.flv-head h2{
  font-size: clamp(24px, 4.2vw, 44px);
  line-height: 1.3;
  color: var(--flv-text);
   text-align: center; /* 🔥 يخلي العنوان الكبير في الوسط */
}

.flv-head p{
  margin-top: 6px;
  color: var(--flv-muted);
  font-size: clamp(14px, 1.8vw, 17px);
  text-align: center; /* 🔥 يخلي العنوان الكبير في الوسط */
}


/* ===== الشبكة (Desktop + Tablet + Mobile) ===== */
.flv-grid{ margin-top: 0 !important; position: relative; z-index: 0;
  display: grid;
  gap: var(--flv-gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: center;
  justify-items: center;
  align-items: start;
  width: min(100% - 40px, 1300px);
  margin-inline: auto;
  row-gap: clamp(32px, 4vw, 48px);
  column-gap: max(16px, var(--flv-gap));

}

/* تابلت */
@media (max-width: 1023px){
  .flv-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ✅ موبايل: صفين وكل صف فيه نكهتين */
@media (max-width: 767px){
  .flv-grid{
grid-template-columns: repeat(2, 1fr);
    column-gap: max(14px, 3vw);
    row-gap: max(24px, 4vw);
  }
}

/* ✅ لو الجوال أصغر جدًا (شاشات صغيرة أقل من 400px) صف واحد فقط */
@media (max-width: 400px){
  .flv-grid{
    grid-template-columns: 1fr; /* نكهة واحدة بالصف */
  }
}

/* البطاقة */
.flv-card{
  text-align: center;
  color: var(--flv-text);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* صورة الكيس */
.flv-media{
  position: relative;
  width: var(--bag-w-desktop);
  height: var(--bag-h-desktop);
  margin-inline: auto;
  background: transparent;
  overflow: visible;
  box-shadow: none;
  max-width: 100%;
}
@media (max-width: 1023px){
  .flv-media{ width: var(--bag-w-tablet); height: var(--bag-h-tablet); }
}
@media (max-width: 520px){
  .flv-media{ width: var(--bag-w-mobile); height: var(--bag-h-mobile); }
}

.flv-media img{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity .3s ease;
  max-width: 100%;
}

/* النصوص */
.flv-sub{
  margin-top: 18px;
  font-size: clamp(13px, 1.6vw, 15px);
  color: var(--flv-muted);
  letter-spacing: .05em;
  font-weight: 500;
  text-align: center;

  /* 🔥 الحل هنا */
  white-space: normal;       /* يسمح بتكسر النص */
  word-break: break-word;    /* يكسر الكلمة الطويلة لو احتاج */
  overflow-wrap: anywhere;   /* يجعل النص يلتف بشكل مرن */
  line-height: 1.5;          /* يوازن المسافات بين السطور */
}
.flv-title{
  margin-top: 4px;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--flv-accent);
  line-height: 1.25;
  font-family: inherit;
}









/* ===== Flowchy Stats — Stripe / Divider Row (no cards, no shadows) ===== */
:root{
  --stats-maxw: 1200px;
  --stats-gap: clamp(20px, 4vw, 56px);

  /* ألوان قريبة من هوية فلووتشي */
  --brand-ink: #470893;     /* بنفسجي داكن للنص القوي */
  --brand-muted:#6B7280;    /* رمادي للنصوص الفرعية */
  --divider: rgba(111,60,195,.16); /* فواصل رفيعة بنفسجية خفيفة */
}

/* القسم */
.stats-section{
  background: #fff;                 /* خلفية بيضاء نظيفة (بدون مربعات/ظلال) */
  padding: clamp(32px, 6vw, 72px) 0;
  text-align: center;
  padding-left:  max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* العنوان والوصف */
.stats-head{
  margin-bottom: clamp(24px, 4.8vw, 44px);
}
.stats-head h3{
  margin: 0;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.2;
  color: var(--brand-ink);
  letter-spacing: .2px;
}
.stats-head p{
  margin: 10px auto 0;
  max-width: 60ch;
  color: var(--brand-muted);
  font-size: clamp(13px, 1.7vw, 15px);
  line-height: 1.8;
}

/* شبكة العناصر بشكل شريط بفواصل */
.stats-grid{
  width: min(100%, var(--stats-maxw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--stats-gap);
}

/* كل عنصر */
.stat-card{
  flex: 1;
  position: relative;
  padding: 0 clamp(8px, 2vw, 16px);
  text-align: center;
}

/* الفواصل بين العناصر */
.stat-card + .stat-card::before{
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: 0;              /* RTL */
  width: 1px;
  background: var(--divider);
}
html[dir="ltr"] .stat-card + .stat-card::before{
  left: 0; right: auto;  /* LTR */
}

/* إخفاء الأيقونة (لو حاب ترجعها احذف هذي السطرين) */
.stat-icon{ display: none; }

/* الرقم والـ + بجانب بعض */
.stat-number{
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-weight: 900;
  color: var(--brand-ink);
  font-size: clamp(28px, 5.2vw, 44px);
  line-height: 1.1;
  letter-spacing: .2px;
}
.stat-suffix{
  font-size: .9em;
  line-height: 1;
  transform: translateY(-1px);
  color: var(--brand-ink);
}

/* التسمية */
.stat-label{
  margin-top: 6px;
  color: var(--brand-muted);
  font-size: clamp(12px, 1.6vw, 14px);
  line-height: 1.5;
}

/* موبايل: عمودي + فواصل أفقية بسيطة */
@media (max-width: 768px){
  .stats-grid{
    flex-direction: column;
    align-items: stretch;
    gap: clamp(12px, 4vw, 18px);
  }
  .stat-card{
    padding: 14px 0;
  }
  .stat-card + .stat-card::before{ display:none; }
  .stat-card{
    border-top: 1px solid var(--divider);
  }
  .stat-card:first-child{ border-top: none; }
}

/* دعم الاتجاه */
html[dir="rtl"] .stat-number{ flex-direction: row-reverse; }







/* ============== Flowchy | Seamless Marquee Belt ============== */
:root {
  --belt-bg: #470893;     /* 💜 لون الخلفية العامة للشريط */
  
  /* 🎨 ألوان الحبات (pills) */
  --pill-black: #0b0b0b;  /* أسود */
  --pill-red:   #db4043;  /* أحمر */
  --pill-lilac: #e6cdeb;  /* بنفسجي فاتح */
  --pill-lime:  #ebfd44;  /* أصفر-ليموني */
  --pill-blue:  #60b2e0;  /* أزرق سماوي */
  --pill-green:  #90e079; /* اخضر فاقع */
  --pill-orange: #ffa94d; /* برتقالي */
  --pill-gap:42px;        /* تباعد داخل الصف */
  --pill-radius:20px;
  --pill-padY:14px;
  --pill-padX:28px;

  --speed:25s;            /* سرعة التحريك (قللها = أسرع) */
  /* سيتم حقن --loop بـ JS بطول الصف الأول بالبيكسل */
}

.fq-belt{
  background:var(--belt-bg);
  padding:56px 0 60px;              /* حشوة أكبر لمنع القص */
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.fq-belt__caption{
  text-align:center;
  font-weight:600;
  letter-spacing:.3px;
  color:#2b2b2b;
  font-size:clamp(14px,1.6vw,18px);
  margin-bottom:18px;
}

.fq-belt__viewport{
  overflow:hidden;
  width:100%;
  padding:10px 0;                   /* هام لتفادي القص العمودي */
}

/* المسار العام يضم صفّين متتاليين */
.fq-belt__track{
  display:flex;
  /* مهم: بلا فجوة بين الصفّين حتى لا يظهر “درز” */
  gap:0;
  width:max-content;
  will-change:transform;
  animation: fq-scroll var(--speed) linear infinite;
  /* سيقرأ keyframes قيمة --loop من style المطبق على العنصر */
}

/* الصف الواحد (sequence) – هنا يكون التباعد */
.fq-row{
  display:flex;
  align-items:center;
  gap:var(--pill-gap);
}

/* فاصل ختامي داخل الصف لتكرار فجوة النهاية/البداية بسلاسة */
.fq-row .fq-spacer{
  flex:0 0 var(--pill-gap);
  width:var(--pill-gap);
  height:1px; /* مجرد عنصر قياس */
}

/* الكبسولة */
.fq-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;

  color:#fff;
  font-weight:900;
  font-size:clamp(18px,2.4vw,44px);
  line-height:1;

  padding:var(--pill-padY) var(--pill-padX);
  border-radius:var(--pill-radius);
  transform:rotate(var(--rot,0deg));
  /* لا هوامش خارجية إطلاقاً */
  margin:0;
}

.fq-pill.is-black{ background:var(--pill-black); }
.fq-pill.is-red{ background:var(--pill-red); }
.fq-pill.is-lilac{ background:var(--pill-lilac); color:#111; }
.fq-pill.is-lime{ background:var(--pill-lime); color:#111; }
.fq-pill.is-blue{ background:var(--pill-blue);   color:#fff; }
.fq-pill.is-green{ background:var(--pill-green);  color:#111; }
.fq-pill.is-orange { background:var(--pill-orange); color:#111; }

/* لمسة ميلان لطيفة */
.fq-row .fq-pill:nth-child(5n+1){ --rot:-5deg; }
.fq-row .fq-pill:nth-child(5n+2){ --rot:2.5deg; }
.fq-row .fq-pill:nth-child(5n+3){ --rot:-3deg; }
.fq-row .fq-pill:nth-child(5n+4){ --rot:4deg; }
.fq-row .fq-pill:nth-child(5n+5){ --rot:-1.5deg; }

/* الحركة: المسافة بالضبط = طول الصف الأول (يُحقَن في --loop) */
@keyframes fq-scroll{
  from{ transform:translateX(0); }
  to  { transform:translateX(calc(-1 * var(--loop, 0px))); }
}

/* إلغاء أي تأثير توقف بالهوفر (يبقى يتحرك دائماً) */
.fq-belt:hover .fq-belt__track{ animation-play-state:running; }

/* إزالة أي فراغ بين الشريط والفوتر */
.fq-belt {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}










/* ============== Flowchy | PDP Info (All Products) ============== */
:root{
  --fq-accent:#470893;
  --fq-border:#e9e7f2;
  --fq-text:#16161a;
  --fq-muted:#6b7280;
  --fq-card:#fff;
  --fq-radius:16px;
  --fq-shadow:0 8px 24px rgba(10,8,30,.06);
}

.fq-pdp-info{
  max-width:min(1040px,95vw);
  margin:clamp(20px,3.5vw,48px) auto;
  font-family:inherit; color:var(--fq-text);
}
.fq-pdp-head{ margin-bottom:14px; }
.fq-pdp-title{
  font-weight:900; line-height:1.1;
  font-size:clamp(22px,3.2vw,34px);
}
.fq-pdp-sub{ color:var(--fq-muted); margin-top:6px; font-size:14.5px; }

/* Accordion */
.fq-acc{ display:grid; gap:14px; margin-top:18px; }
.fq-acc__item{
  background:var(--fq-card);
  border:1px solid var(--fq-border);
  border-radius:var(--fq-radius);
  box-shadow:var(--fq-shadow);
  overflow:hidden;
}
.fq-acc__btn{
  -webkit-tap-highlight-color:transparent;
  width:100%; display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:16px 18px; background:transparent; border:0; cursor:pointer;
  font:inherit; font-weight:800; font-size:clamp(15px,2vw,18px);
}
.fq-acc__plus{
  inline-size:34px; block-size:34px; flex:0 0 34px;
  display:grid; place-items:center; border-radius:999px;
  background:#efe7ff; color:var(--fq-accent); font-weight:900;
  transition:transform .25s ease, background .25s ease, color .25s ease;
}
.fq-acc__item.is-open .fq-acc__plus{ background:var(--fq-accent); color:#fff; transform:rotate(45deg); }
.fq-acc__panel{ height:0; overflow:hidden; border-top:1px solid var(--fq-border); transition:height .35s ease; }
.fq-acc__inner{ padding:16px 18px 18px; }

/* Ingredients */
.fq-ingredients{ font-size:15.5px; line-height:1.9; }
.fq-ingredients b{ font-weight:900; }

/* Nutrition card */
.fq-nutri{ border:2px solid #1e1b4b; border-radius:14px; overflow:hidden; margin-top:8px; background:#fff; }
.fq-nutri__head{
  display:flex; flex-wrap:wrap; gap:10px 18px; align-items:baseline;
  padding:12px 14px; background:#f7f7ff; border-bottom:2px solid #1e1b4b;
  font-weight:700; font-size:14px;
}
.fq-nutri__cal{
  display:flex; align-items:flex-end; gap:12px; padding:14px; border-bottom:2px solid #1e1b4b;
}
.fq-nutri__cal .lbl{ color:var(--fq-muted); font-weight:700; }
.fq-nutri__cal .val{ font-size:42px; line-height:1; font-weight:900; color:var(--fq-text); }
.fq-nutri__tbl{ width:100%; border-collapse:collapse; }
.fq-nutri__tbl th, .fq-nutri__tbl td{ padding:10px 12px; border-top:1px solid #1e1b4b; font-size:14px; }
.fq-nutri__tbl th{ text-align:start; }
.fq-nutri__tbl td:last-child{ text-align:end; font-weight:800; }
.fq-nutri__note{ margin:10px 12px 14px; color:var(--fq-muted); font-size:12.5px; line-height:1.6; }

html[dir="rtl"] .fq-nutri__tbl td:last-child{ text-align:start; }
html[dir="rtl"] .fq-acc__btn{ direction: rtl; }

/* MIX layout */
.fq-pdp-info.is-mix .fq-pdp-sub{ margin-top:8px; color:var(--fq-muted); }
.fq-mix-grid{ display:grid; gap:14px; margin-top:10px; grid-template-columns:1fr; }
@media (min-width: 900px){ .fq-mix-grid{ grid-template-columns:1fr 1fr; } }
.fq-mix__card{
  background:var(--fq-card); border:1px solid var(--fq-border);
  border-radius:var(--fq-radius); box-shadow:var(--fq-shadow); overflow:hidden;
}
.fq-mix__head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; cursor:pointer; -webkit-tap-highlight-color:transparent;
  font-weight:800; font-size:16px;
}
.fq-mix__plus{
  inline-size:32px; block-size:32px; flex:0 0 32px;
  display:grid; place-items:center; border-radius:999px;
  background:#efe7ff; color:var(--fq-accent); font-weight:900;
  transition:transform .25s ease, background .25s ease, color .25s ease;
}
.fq-mix__card.is-open .fq-mix__plus{ background:var(--fq-accent); color:#fff; transform:rotate(45deg); }
.fq-mix__panel{ height:0; overflow:hidden; border-top:1px solid var(--fq-border); transition:height .35s ease; }
.fq-mix__inner{ padding:16px; }
.fq-mix__ingredients{ font-size:15.5px; line-height:1.9; margin-bottom:12px; }
.fq-mix__ingredients b{ font-weight:900; }
.fq-mix__nutri .fq-nutri{ margin-top:0; }














/* =======================================================
   🌐 Flowchy Product Feature Banner | Final Responsive
   ======================================================= */

/* ===== الأساس ===== */
.fq-feature {
  position: relative;
  overflow: visible;
  z-index: 1;
  padding: clamp(80px, 10vw, 120px) 0;
  margin: clamp(70px, 8vw, 100px) 0;
}

.fq-feature::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: var(--fqF-bg, #f7f4ff);
  z-index: -1;
}

/* ===== الشبكة ===== */
.fq-feature__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  justify-items: center;
  gap: clamp(40px, 6vw, 80px);
  width: min(95%, 1250px);
  margin: 0 auto;
}

/* ===== النصوص ===== */
.fq-feature__content {
  max-width: 600px;
}

.fq-feature__title {
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 970;
  line-height: 1.3;
  color: var(--fqF-accent, #6f3cc3);
  margin-bottom: clamp(18px, 2vw, 28px);
  letter-spacing: -0.8px;
}

.fq-feature__desc {
  font-size: clamp(16px, 1.6vw, 18px);
  color: #6b6b6b;
  line-height: 1.8;
  margin-bottom: clamp(18px, 2vw, 24px);
}

/* ===== قائمة النقاط ===== */
.fq-feature__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px 20px;
}

.fq-feature__list li {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 17px);
  color: #222;
}

.fq-feature__list li::before {
  content: "✓";
  color: var(--fqF-accent, #6f3cc3);
  font-weight: 900;
  font-size: 1.2em;
}

/* ===== الصورة ===== */
.fq-feature__media {
  overflow: visible;
  display: flex;
  justify-content: center;
}

.fq-feature__img {
  width: clamp(420px, 40vw, 540px);
  height: auto;
  display: block;
  transform: translateY(8%);
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.15));
  pointer-events: none;
  transition: none;
}

.fq-feature__chip {
  display: none;
}

/* ===== اللغة العربية ===== */
html[dir="rtl"] .fq-feature__grid {
  grid-template-columns: 0.9fr 1.1fr;
}

html[dir="rtl"] .fq-feature__content {
  text-align: right;
}

html[dir="rtl"] .fq-feature__list li {
  flex-direction: row;
  justify-content: flex-start;
  text-align: right;
}

html[dir="rtl"] .fq-feature__list li::before {
  margin-left: 0;
  margin-right: 8px;
}

/* ===== اللغة الإنجليزية ===== */
html:not([dir="rtl"]) .fq-feature__content {
  text-align: left;
}

html:not([dir="rtl"]) .fq-feature__list li {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
}

html:not([dir="rtl"]) .fq-feature__list li::before {
  margin-right: 8px;
  margin-left: 0;
}

/* ===== الموبايل ===== */
@media (max-width: 900px) {
  .fq-feature {
    padding: clamp(60px, 12vw, 90px) 0;
    margin: clamp(52px, 7vw, 80px) 0;
  }

  .fq-feature__grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "content"
      "media";
    gap: clamp(22px, 6vw, 36px);
  }

  .fq-feature__content {
    grid-area: content;
    max-width: 90%;
  }

  .fq-feature__media {
    grid-area: media;
    display: flex;
    justify-content: center;
  }

  .fq-feature__img {
    width: clamp(460px, 92vw, 560px);
    transform: translateY(10%);
  }

  /* العربية */
  html[dir="rtl"] .fq-feature__content {
    text-align: right;
  }

  html[dir="rtl"] .fq-feature__list li {
    flex-direction: row;
    justify-content: flex-start;
    text-align: right;
  }

  html[dir="rtl"] .fq-feature__list li::before {
    margin-left: 0;
    margin-right: 8px;
  }

  /* الإنجليزية */
  html:not([dir="rtl"]) .fq-feature__content {
    text-align: left;
  }

  html:not([dir="rtl"]) .fq-feature__list li {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  html:not([dir="rtl"]) .fq-feature__list li::before {
    margin-right: 8px;
    margin-left: 0;
  }
}

/* شاشات صغيرة جداً */
@media (max-width: 360px) {
  .fq-feature__img {
    width: 95vw;
    transform: translateY(8%);
  }
}