/* =============================================================
   Baydah — theme.css   (يتحمّل قبل base.css في كل الصفحات)
   داكن  = :root  → نفس قيم الموقع الأصلية بالظبط
   فاتح  = html[data-theme="light"] → هو اللي بيغيّر القيم بس
   ============================================================= */

/* ---------- داكن (القيم الأصلية) ---------- */
:root{
  --w:255,255,255;            /* لون الشفافيات: rgba(var(--w),.5) */
  --hdr-rgb:5,5,5;            /* زجاج الهيدر */
  --t1:#fff;                  /* النص الأبيض */
  --btn-bg:#fff;              /* خلفية الأزرار البيضاء */
  --btn-fg:#0a0908;           /* نص الأزرار البيضاء */
  --cta-fg:#050505;           /* نص زر الهيدر عند الضغط/الهوفر */
  --hov-fg:#14110d;           /* نص الزر الذهبي لما يبقى أبيض في الهوفر */
  --on-gold-i:#14110d;        /* أيقونة الخطوة المكتملة (تتبع الطلب) */
  --gold-bg:rgb(216, 191, 138);   /* الذهبي كخلفية زر */
  --gold-tx:rgb(216, 191, 138);   /* الذهبي كنص */
  --grad-txt:linear-gradient(90deg,#e9a3b3,#f0b8a4 35%,#d4a980 68%,#dcc06f);  /* عناوين متدرجة */
  --card-h:#171614;           /* كارت في الهوفر */
  --pill-bg:#050505;          /* كبسولات المنتج */
  --tg:#cfc8ba;               /* تسميات الهيرو */
  --ln-end:#e9d9b4;           /* نقطة نهاية خطوط الهيرو */
  --floor:rgba(255,240,210,.16);   /* لمعة تحت الزجاجة */
  --bottle-shadow:rgba(0,0,0,.7);   /* ظل زجاجة الرئيسية */
  --pill-shadow:rgba(0,0,0,.5);      /* ظل كبسولات المنتج */
  --go-pulse:rgba(255,255,255,.4); --go-pulse0:rgba(255,255,255,0);   /* نبضة زر اكتشف العطور */
  /* ألوان العطور: زهري · وردي · برتقالي · ذهبي (--pc-*)، وتُستخدم عبر كلاسات .c-* أسفل الملف */
  --pc-pink:#e9a3b3;   --pc-pink-rgb:233,163,179;   --pc-pink-tx:#e9a3b3;      /* زهري */
  --pc-rose:#f0b8a4;   --pc-rose-rgb:240,184,164;   --pc-rose-tx:#f0b8a4;      /* وردي */
  --pc-orange:#d98f4a; --pc-orange-rgb:217,143,74;  --pc-orange-tx:#d98f4a;    /* برتقالي */
  --pc-gold:#e6b832;   --pc-gold-rgb:230,184,50;    --pc-gold-tx:#e6b832;      /* ذهبي */
  --orbit:#d8c8a0;            /* حلقة المدار */
  --pane2:#0d0c0b;            /* لوحة بيانات التواصل (إتمام الشراء) */
  --grad:linear-gradient(90deg,#e9a3b3,#f0b8a4 35%,#d98f4a 68%,#e6b832);   /* تدرج زر الدفع */
  --gold-focus:#e8b76e;       /* ذهبي التركيز/الهوفر في صفحة تواصل معنا */
  --okc:#7bd88f; --errc:#ff8a80;                  /* نجاح / خطأ */
  --stage1:#1d1a16; --stage2:#0a0908; --stage3:#030303;   /* خلفية الهيرو */
  /* رمادييات */
  --g-a3a3a3:#a3a3a3; --g-8f8f8f:#8f8f8f; --g-9b9b9b:#9b9b9b; --g-7a7a7a:#7a7a7a; --g-6f6f6f:#6f6f6f;
  --g-3a3a3a:#3a3a3a; --g-2a2a2a:#2a2a2a; --g-373737:#373737; --g-32291a:#32291a;
  --g-1a1917:#1a1917; --g-12110f:#12110f;
}

/* ---------- فاتح ---------- */
html[data-theme="light"]{
  color-scheme:light;
  --bg:#e4e4e4; --fg:#161616; --mut:#6b6b6b;
  /* --gold:#8a6a2c;   --w:0,0,0; */ 
  --gold-tx2:#8a6a2c;
  --gold-focus:#d8bf8a;
 
  --gold:#d8bf8a;    
  --gold-tx:#d8bf8a; 
  /* ذهبي للنصوص/الخطوط على الخلفية الفاتحة */
  --card:#efefef; --card-h:#f5f5f5; --pane2:#efefef;
  --w:0,0,0;      
  --hdr-rgb:228,228,228;
  --t1:#111;
  --btn-bg:#111; --btn-fg:#fff; --cta-fg:#fff; --hov-fg:#fff; --on-gold-i:rgb(0, 0, 0);
  --gold-bg:#c9a96a; 
  --grad-txt:linear-gradient(90deg,#c0647c,#c9754f 35%,#a8742f 68%,#8f7410);
  --pill-bg:#fff;
  --tg:#444;
  --ln-end:#8a6a2c; --orbit:#8a6a2c;
  --floor:rgba(0,0,0,.07);
  --bottle-shadow:rgba(0,0,0,.2);
  --pill-shadow:rgba(0,0,0,.1);
  --go-pulse:rgba(201,169,106,.55); --go-pulse0:rgba(201,169,106,0);
  /* العطور في الفاتح: درجة أغمق للنصوص فقط */
  --pc-pink-tx:#b84a68; --pc-rose-tx:#b0573a; --pc-orange-tx:#9a5a12; --pc-gold-tx:#8a6a0a;
  --okc:#1d7a3a; --errc:#c0392b;
  --stage1:#e4e4e4; --stage2:#e4e4e4; --stage3:#e4e4e4;
  --g-a3a3a3:#555; --g-8f8f8f:#6b6b6b; --g-9b9b9b:#6b6b6b; --g-7a7a7a:#7d7d7d; --g-6f6f6f:#7d7d7d;
  --g-3a3a3a:#b8b8b8; --g-2a2a2a:#c9c9c9; --g-373737:#c4c4c4; --g-32291a:#d8d0bd;
  --g-1a1917:#efefef; --g-12110f:#d9d9d9;
}

/* لون العطر: كلاس واحد (c-pink / c-rose / c-orange / c-gold) على أي عنصر يغيّر ألوانه — الفاتح والداكن تلقائي */
.c-pink  {--ac:var(--pc-pink);   --ac-rgb:var(--pc-pink-rgb);   --ac-tx:var(--pc-pink-tx)}     /* زهري */
.c-rose  {--ac:var(--pc-rose);   --ac-rgb:var(--pc-rose-rgb);   --ac-tx:var(--pc-rose-tx)}     /* وردي */
.c-orange{--ac:var(--pc-orange); --ac-rgb:var(--pc-orange-rgb); --ac-tx:var(--pc-orange-tx)}   /* برتقالي */
.c-gold  {--ac:var(--pc-gold);   --ac-rgb:var(--pc-gold-rgb);   --ac-tx:var(--pc-gold-tx)}     /* ذهبي */

/* ---------- اللوجو في الفاتح (يتحول لأسود) — استبدله بنسخة غامقة لما تجهز ---------- */
html[data-theme="light"] .brand img{filter:brightness(0)}

/* ---------- زر التبديل: الشمس/القمر في الفاتح (الشكل الأساسي للزر في base.css) ---------- */
html[data-theme="light"] .tgl .sun{display:none}
html[data-theme="light"] .tgl .moon{display:block}         /* فاتح: يظهر القمر (اضغط للداكن) */

/* ---------- زر اللغة في الفاتح: ذهبي ---------- */
html[data-theme="light"] .lang{background:var(--gold-bg); border-color:var(--gold-bg); color:#fff}
@media (hover:hover){ html[data-theme="light"] .lang:hover{background:var(--gold-bg); border-color:var(--gold-bg); color:#fff; opacity:.85} }

/* ---------- زر "تتبع طلبك" في الفاتح: خلفية بيضا ---------- */
html[data-theme="light"] .cta{background:#fff; border-color:#fff}
html[data-theme="light"] .cta:active,html[data-theme="light"] .cta:focus-visible{background:var(--btn-bg); border-color:var(--btn-bg); color:var(--cta-fg)}
@media (hover:hover){ html[data-theme="light"] .cta:hover{background:var(--btn-bg); border-color:var(--btn-bg); color:var(--cta-fg)} }

/* ---------- توهّج أبيض دائري خلف زجاجة الرئيسية (الفاتح فقط) ----------
   على .stage نفسه (z-index:1) عشان يبقى تحت الخطوط (3) والمكونات (4) والزجاجة (5) */
html[data-theme="light"] .stage:before{
  content:""; position:absolute; z-index:1; pointer-events:none;
  left:50%; top:calc(50% + var(--bh)*.024);          /* منتصف الزجاجة */
  width:calc(var(--bh)*2.24); aspect-ratio:1; transform:translate(-50%,-50%);
  background:radial-gradient(circle closest-side,#fff 0%,rgba(255,255,255,.96) 35%,rgba(255,255,255,.72) 57%,rgba(255,255,255,.34) 75%,rgba(255,255,255,0) 96%);
}

/* =============================================================
   صفحة العطور + قصتنا — الفاتح فقط
   ============================================================= */
/* العناوين المتدرجة (background-clip:text): النص شفاف تمامًا عشان ما تظهرش حافة غامقة */
html[data-theme="light"] .phead h1,
html[data-theme="light"] .s-hero .big{color:transparent}

/* المقاسات غير المختارة: خلفية بيضا */
html[data-theme="light"] .sz input:not(:checked) + span{background:#fff}

/* أنبوب الكمية: خلفية بيضا */
html[data-theme="light"] .qty{background:#fff}

/* القائمة الجانبية: البند المفتوح (العنوان + التفاصيل) كارت أبيض */
html[data-theme="light"] .acc{padding-inline:18px; border-radius:15px; transition:background-color .35s ease}
html[data-theme="light"] .acc[open]{background:#fff; border-bottom-color:transparent}
/* البند اللي بيقفل: الخلفية البيضا تتلاشى مع انطواء الارتفاع (لازم بعد قاعدة [open]) */
html[data-theme="light"] .acc.closing{background-color:transparent}

/* ---------- القائمة الجانبية: عناوين البنود سودا (الفاتح) ---------- */
html[data-theme="light"] .acc summary,
html[data-theme="light"] .acc.closing summary,
html[data-theme="light"] .acc[open] summary,
html[data-theme="light"] .acc summary:hover{color:var(--t1)}

/* ---------- الفوتر: كل الخطوط سودا (الفاتح) ---------- */
html[data-theme="light"] .foot,
html[data-theme="light"] .foot p,
html[data-theme="light"] .foot a{color:var(--t1)}
@media (hover:hover){ html[data-theme="light"] .foot-links a:hover{opacity:.6} }   /* بدل تغيّر اللون في الهوفر */

/* ---------- الفوتر (الفاتح): شارات الدفع ---------- */
html[data-theme="light"] .pay b{background:#fff}

/* =============================================================
   صفحة قصتنا — الفاتح فقط
   ============================================================= */
/* عنوان "بداية": تدرج أكثر حيوية */
html[data-theme="light"] .s-hero .big{
  background:linear-gradient(90deg,#e0607f,#e8774f 35%,#d98a1c 68%,#c99a10);
  -webkit-background-clip:text; background-clip:text;
}

/* توهّج أبيض خلف قسم "بداية" (العنوان + الوصف + الدوائر) — نفس فكرة الرئيسية.
   بيستخدم .s-hero:before الموجود أصلًا (z-index:-1 خلف الدوائر والنص).
   الحجم محسوب إن التدرج يخلص قبل حافة القسم عشان ما يظهرش خط قطع */
html[data-theme="light"] .s-hero:before{
  width:min(100vmin,1000px);
  background:radial-gradient(circle closest-side,#fff 0%,rgba(255,255,255,.96) 30%,rgba(255,255,255,.72) 50%,rgba(255,255,255,.34) 68%,rgba(255,255,255,0) 88%);
}

/* البني: نفس لون زر "اكتشف العطور" في الخطوط والنصوص الصغيرة */
html[data-theme="light"] .kick{color:var(--gold-bg)}
html[data-theme="light"] .st .el{background-color:var(--card); transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .35s,background-color .35s; border:solid 1px transparent}
html[data-theme="light"] .st .el:hover{border-color:var(--ac); transform:translateY(-6px); background:rgba(var(--ac-rgb),.05)}
/* =============================================================
   صفحة إتمام الشراء — الفاتح فقط
   ============================================================= */
/* خطوة "مراجعة الطلب" (المكتملة): خلفية بيضا */
html[data-theme="light"] .steps li.done{background:#fff}

/* نبوت كود الخصم + حقول بيانات التواصل: خلفية بيضا */
html[data-theme="light"] .coupon,
html[data-theme="light"] .fld,
html[data-theme="light"] .grp{background:#fff}

/* جوه مجموعة العنوان: الحقل الداخلي يفضل شفاف عشان الخلفية البيضا تيجي من .grp */
html[data-theme="light"] .grp .fld{background:none}

html[data-theme="light"] .pv:before{
  content:""; position:absolute; z-index:0; pointer-events:none;
  left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(calc(var(--bh)*1.9),100vw); aspect-ratio:1;
  background:radial-gradient(circle closest-side,#fff 0%,rgba(255,255,255,.96) 30%,rgba(255,255,255,.72) 50%,rgba(255,255,255,.34) 68%,rgba(255,255,255,0) 88%);
}