/* =========================================================
   LAMA CARE — CUSTOM CSS v2 (REBUILD) — 2026-09-26
   معاينة فقط: نسخة الثيم 12704000. لا يُنشر على الحي بدون موافقة الإدارة.
   بُني من الصفر من الملف الحي (Batch 3، 25,253 bytes) بعد فحص كل Selector
   على 4 صفحات حية (الرئيسية، HL-1M، HL-2M، السلة): 207 من 289 لا تطابق شيئًا.
   أقسام الرئيسية لها ملف مستقل داخل بلوك «02 Trust» (يُحمّل مبكرًا).
   ========================================================= */

/* ---------- 1. VARIABLES ---------- */
:root {
  --lc-green: #1F5E3B;
  --lc-ink: #203829;
  --lc-red: #B3261E;
  --lc-muted: #9CA3AF;
  --lc-ok: #219653;
}

/* ---------- 2. TYPOGRAPHY ----------
   الثيم يعلن Cairo بوزن 400 فقط؛ نعيد إعلان نفس ملفات cf-fonts بمدى 200–1000
   حتى يكون العريض حقيقيًا (بدون أي تحميل إضافي — نفس الروابط).
   في اختبار «خط النظام» يُحذف هذا القسم كاملًا. */
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(https://lamacare.net/cf-fonts/v/cairo/5.2.7/arabic/wght/normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(https://lamacare.net/cf-fonts/v/cairo/5.2.7/latin/wght/normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(https://lamacare.net/cf-fonts/v/cairo/5.2.7/latin-ext/wght/normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- 3. GLOBAL ---------- */
html, body, main, section, .s-block { background: #fff !important; }
[class*="bg-gray"] { background: #fff !important; } /* خلفية صور المعرض */
header { background: revert !important; } /* الفوتر يبقى بخلفيته الداكنة */

/* ---------- 4. HEADER ---------- */
/* إخفاء الشريط العلوي + البحث + الإيميل والجوال */
header :is(.top-navbar, salla-search, a[href^="mailto:"], a[href^="tel:"]) { display: none !important; }
/* الشعار: أبعاد ثابتة (الملف 260×260 ومعلن width/height=100%) = بدون إزاحة */
.navbar-brand { transform: none !important; }
.navbar-brand img { width: 72px !important; height: 72px !important; max-width: none !important; max-height: none !important; aspect-ratio: 1 / 1; object-fit: contain; }

/* ---------- 5. HOME (بلوكات سلة الأصلية — حجز المساحة) ---------- */
/* 01 Hero: بعرض الصفحة كاملًا، يُقص من أعلى وأسفل بالتساوي */
section.s-block[component-id="1345739611"] { margin-top: 0 !important; }
section.s-block[component-id="1345739611"] > .container { max-width: none !important; width: 100% !important; padding-inline: 0 !important; margin-inline: 0 !important; }
section.s-block[component-id="1345739611"] a.banner { position: relative !important; display: block !important; max-width: none !important; margin-inline: 0 !important; border-radius: 0 !important; overflow: hidden !important; aspect-ratio: 39 / 22; }
section.s-block[component-id="1345739611"] a.banner picture { position: absolute !important; inset-inline: 0; top: 50%; transform: translateY(-50%); display: block !important; width: 100%; }
section.s-block[component-id="1345739611"] a.banner img { display: block !important; width: 100% !important; height: auto !important; aspect-ratio: 1080 / 642 !important; }
/* 03 Benefits banner: المقاس الحقيقي 900×900 جوال / 1440×738 كمبيوتر */
section.s-block[component-id="1487908782"] img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; }
/* 05 Offer slider: يبدأ بارتفاع 0 قبل تحميل المكوّن */
section.s-block[component-id="72478120"] { min-height: 370px; }
/* قائمة المنتجات */
salla-products-list.s-products-list { overflow-y: hidden !important; }

/* ---------- 6. PRODUCT CARDS (الأسعار) ---------- */
:is(custom-salla-product-card, salla-products-list) .s-product-card-sale-price { color: inherit !important; background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; gap: 7px !important; align-items: center !important; }
:is(custom-salla-product-card, salla-products-list) .s-product-card-sale-price > h4,
:is(custom-salla-product-card, salla-products-list) .s-product-card-sale-price > h4 * { color: var(--lc-red) !important; text-decoration: none !important; }
:is(custom-salla-product-card, salla-products-list) .s-product-card-sale-price > h4 { font-size: 15px !important; font-weight: 800 !important; }
:is(custom-salla-product-card, salla-products-list) .s-product-card-sale-price > :is(span, del, s),
:is(custom-salla-product-card, salla-products-list) .s-product-card-sale-price > :is(span, del, s) * { color: var(--lc-muted) !important; }
:is(custom-salla-product-card, salla-products-list) .s-product-card-sale-price > :is(span, del, s) { font-size: 14px !important; font-weight: 500 !important; text-decoration: line-through !important; background: transparent !important; }
:is(custom-salla-product-card, salla-products-list) .s-product-card-price { color: var(--lc-red) !important; font-size: 15px !important; font-weight: 800 !important; background: transparent !important; border: 0 !important; padding: 0 !important; }

/* ---------- 7. PRODUCT PAGE ---------- */
/* السعر */
body.product-single :is([data-testid="store-product-price"] p, .price-wrapper .total-price) { color: var(--lc-red) !important; background: transparent !important; border: 0 !important; padding: 0 !important; font-size: 22px !important; font-weight: 800 !important; text-decoration: none !important; }
body.product-single .main-content :is(del, s) { color: var(--lc-muted) !important; font-size: 15px !important; font-weight: 500 !important; text-decoration: line-through !important; }

/* شارة «متوفر» */
body.product-single .main-content > div.flex.whitespace-nowrap.gap-4.items-center { position: relative; padding-bottom: 40px; }
body.product-single .main-content > div.flex.whitespace-nowrap.gap-4.items-center::before { content: "متوفر"; position: absolute; right: 28px; bottom: 4px; color: var(--lc-ok); font-size: 14px; font-weight: 500; line-height: 18px; }
body.product-single .main-content > div.flex.whitespace-nowrap.gap-4.items-center::after { content: ""; position: absolute; right: 0; bottom: 4px; width: 18px; height: 18px; border: 1.5px solid var(--lc-ok); border-radius: 50%; box-sizing: border-box; background: no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' fill='none' stroke='%23219653' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); animation: lc-stock-glow 1.8s ease-in-out 3; }
@keyframes lc-stock-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(33,150,83,0); } 50% { box-shadow: 0 0 7px 2px rgba(33,150,83,.3); } }

/* ترتيب أعلى الصفحة: العنوان والسعر ← تمارا ← الباقي */
body.product-single .main-content { display: flex !important; flex-direction: column !important; }
body.product-single .main-content > :is(.product-brand, h1, h2.product-entry__sub-title, salla-rating-stars, div.flex.whitespace-nowrap.gap-4.items-center) { order: -2; }
body.product-single .main-content > salla-installment { order: -1; width: 100%; margin-top: 10px; margin-bottom: 18px; }

/* مربع «التوفر في الفروع» (فرع واحد والطلب أونلاين) */
body.product-single .main-content > section:has(a[onclick*="scopes::open"]) { display: none !important; }

/* قسم واحد لاختيار الكورس بدل 3 أقسام مكررة */
body.product-single :is(.s-block--bundle-customers-also-bought, .s-block--bundle-customers-also-viewed) { display: none !important; }
body.product-single #main-content:has(.s-block--bundle-similar-products custom-salla-product-card) > .container:has(> salla-products-slider[data-testid="store-product-related"]) { display: none !important; }
@supports not selector(:has(a)) { body.product-single salla-products-slider[data-testid="store-product-related"] { display: none !important; } }
body.product-single #main-content > .s-blocks-wrapper.s-before-related { order: 1; }
body.product-single #main-content > :is(salla-comments, .s-blocks-wrapper.s-after-related) { order: 2; }
body.product-single #main-content > .container:has(> salla-products-slider[data-testid="store-product-related"]) { order: 2; }

/* ---------- 8. GALLERY (حجز المعرض قبل التهيئة — كل المقاسات) ----------
   قبل تهيئة salla-slider تُرسم كل الصور تحت بعض ثم ينكمش المعرض.
   نحجز شكله النهائي: صورة مربعة + 16px + صف مصغرات (64px جوال / 80px كمبيوتر). */
body.product-single salla-slider.details-slider:not(.hydrated) { display: block; position: relative; overflow: hidden; }
body.product-single salla-slider.details-slider:not(.hydrated) > salla-button { position: absolute !important; top: 8px; left: 8px; z-index: 2; }
body.product-single salla-slider.details-slider:not(.hydrated) > [slot="items"] { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
body.product-single salla-slider.details-slider:not(.hydrated) > [slot="items"] > .swiper-slide { display: block; width: 100%; height: 100%; }
body.product-single salla-slider.details-slider:not(.hydrated) > [slot="items"] > .swiper-slide:not(:first-child) { display: none !important; }
body.product-single salla-slider.details-slider:not(.hydrated) > [slot="items"] > .swiper-slide img { width: 100%; height: 100%; object-fit: contain; }
body.product-single salla-slider.details-slider:not(.hydrated) > [slot="thumbs"] { display: flex; gap: 14px; height: 64px; margin-top: 16px; overflow: hidden; }
body.product-single salla-slider.details-slider:not(.hydrated) > [slot="thumbs"] > * { flex: 0 0 72px; width: 72px; height: 64px; }

/* ---------- 9. PAYMENT WIDGETS (حجز تمارا/MIS Pay — بدون حذف أو نقل) ---------- */
@media (max-width: 381px) { body.product-single .main-content > salla-installment { display: block; min-height: 244px; } }
@media (min-width: 382px) and (max-width: 415px) { body.product-single .main-content > salla-installment { display: block; min-height: 223px; } }
@media (min-width: 416px) and (max-width: 767px) { body.product-single .main-content > salla-installment { display: block; min-height: 205px; } }

/* ---------- 10. BUTTONS / STICKY / WHATSAPP ---------- */
a.wa-s-n { z-index: 100 !important; } /* تحت نوافذ سلة (200) وفوق الهيدر */
body.cart:has(salla-cart-summary-card.s-cart-summary-card--mobile) a.wa-s-n { bottom: 118px !important; }
body.cart:has(salla-cart-summary-card.s-cart-summary-card--mobile.s-cart-summary-card--open) a.wa-s-n { display: none !important; }

/* ---------- 11. FOOTER ---------- */
salla-trust-badges[data-testid="store-footer-trust-badges"] { display: block; min-height: 55px; }
.s-trust-badges-image { width: 55px; height: 55px; aspect-ratio: 1 / 1; object-fit: contain; }
/* حارس: إخفاء الرقم الشخصي لو رجع للفوتر */
footer :is(li, .flex, .contact-item):has(a[href$="536638454"]), footer a[href$="536638454"] { display: none !important; }

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width: 767px) {
  .navbar-brand img { width: 54px !important; height: 54px !important; }
}
@media (min-width: 768px) {
  section.s-block[component-id="1345739611"] a.banner { aspect-ratio: 240 / 91; }
  section.s-block[component-id="1345739611"] a.banner img { aspect-ratio: 1440 / 624 !important; }
  section.s-block[component-id="1487908782"] img { aspect-ratio: 1440 / 738 !important; }
  section.s-block[component-id="72478120"] { min-height: 450px; }
  body.product-single salla-slider.details-slider:not(.hydrated) > [slot="thumbs"] { height: 80px; }
  body.product-single salla-slider.details-slider:not(.hydrated) > [slot="thumbs"] > * { flex-basis: 80px; width: 80px; height: 80px; }
}
@media (max-width: 640px) {
  body.product-single.is-sticky-product-bar a.wa-s-n { bottom: 126px !important; } /* الشريط 114px */
}
/* الكمبيوتر (الشريط غير ثابت): صندوق الشراء تحت السعر مباشرة، ثم تمارا */
@media (min-width: 641px) {
  body.product-single .main-content > :is(.product-brand, h1, h2.product-entry__sub-title, salla-rating-stars, div.flex.whitespace-nowrap.gap-4.items-center) { order: -3; }
  body.product-single .main-content > form.product-form { order: -2; }
  /* سطر السعر المكرر داخل صندوق الشراء — يُخفى فقط والمنتج متوفر */
  body.product-single form.product-form > section.flex:not(.sticky-product-bar):has(.out-of-stock.hidden) { display: none !important; }
}
@media (max-width: 767px) {
  body.product-single .s-block--bundle-similar-products .swiper.s-slider-container { padding-left: 5px !important; }
  body.product-single .s-block--bundle-similar-products .swiper-slide { width: 50% !important; }
  body.product-single .s-block--bundle-similar-products .s-product-card-content-title a { font-size: 13px; line-height: 1.5; }
  body.product-single .s-block--bundle-similar-products .s-product-card-sale-price h4 { font-size: 15px; white-space: nowrap; }
  body.product-single .s-block--bundle-similar-products .s-product-card-sale-price span { font-size: 12px; white-space: nowrap; }
  body.product-single .s-block--bundle-similar-products .s-product-card-content-footer .s-button-text i { display: none; }
  body.product-single .s-block--bundle-similar-products .s-product-card-content-footer .s-button-text span { font-size: 13px; }
}

/* C2 — حجز مكوّنات سلة قبل التهيئة (صفحة المنتج) — RAED 26 Sep 2026 */
body.product-single .main-content > div.product-brand { height: 48px; }
body.product-single .main-content > salla-rating-stars:not(.hydrated) { display: block; min-height: 32px; }
body.product-single nav.breadcrumbs salla-breadcrumb:not(.hydrated) { display: block; min-height: 20px; }

/* ==========================================================
   CRO-1 (وُسّعت لتشمل HL-2M وHL-3M — 27 سبتمبر 06:5x) — HL-1M أول شاشة جوال — RAED 27 Sep 2026
   النطاق: منتج 1648445120 فقط، وعرض ≤640px فقط (نفس حد الشريط الثابت).
   الهدف: العنوان + الفائدة + الثقة + السعر/العرض + CTA داخل أول شاشة.
   بدون JS أو صور أو خطوط جديدة. التراجع = حذف هذه الكتلة كاملة.
   ========================================================== */
@media (max-width: 640px) {
  /* مسار التنقل: يُخفى في هذه الصفحة فقط (60px) */
  body.product-single:has(:is(#product-1648445120,#product-943653357,#product-689962330)) .container--breadcrumbs { display: none !important; }
  body.product-single:has(:is(#product-1648445120,#product-943653357,#product-689962330)) .container--product-details { margin-top: 12px !important; }

  /* المعرض: صورة رئيسية 200px + مصغرات 40px — قبل التهيئة وبعدها بنفس المقاس (بدون CLS) */
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .swiper.s-slider-container,
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider:not(.hydrated) > [slot="items"] { height: 200px !important; aspect-ratio: auto !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-container .swiper-wrapper,
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-container .swiper-slide { height: 200px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-container .swiper-slide img { width: 100% !important; height: 200px !important; object-fit: contain !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-thumbs,
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider:not(.hydrated) > [slot="thumbs"] { height: 40px !important; margin-top: 6px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-thumbs .swiper-slide,
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider:not(.hydrated) > [slot="thumbs"] > * { width: 44px !important; height: 40px !important; flex-basis: 44px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-thumbs img { width: 44px !important; height: 40px !important; object-fit: contain !important; }

  :is(#product-1648445120,#product-943653357,#product-689962330) .sidebar { margin-bottom: 8px !important; }

  /* ترتيب أول شاشة: العنوان ← الفائدة ← الثقة ← السعر/العرض ← تمارا ← التقييم */
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h1 { order: -9 !important; font-size: 18px !important; line-height: 28px !important; margin: 4px 0 2px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h2.product-entry__sub-title { order: -8 !important; font-size: 14px !important; line-height: 22px !important; font-weight: 600 !important; color: var(--lc-ok, #219653) !important; margin: 0 0 6px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.product-brand { order: -7 !important; height: auto !important; width: 100% !important; margin: 0 0 6px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.product-brand > * { display: none !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.product-brand::before { content: "✓ صنع في السعودية   ✓ خالٍ من المينوكسيديل والبارابين"; display: block; white-space: pre; font-size: 12.5px; line-height: 20px; font-weight: 500; color: #4b5563; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.flex.whitespace-nowrap.gap-4.items-center { order: -6 !important; padding-bottom: 26px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.flex.whitespace-nowrap.gap-4.items-center::before { content: "متوفر · شحن مجاني لكل المملكة" !important; bottom: 2px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.flex.whitespace-nowrap.gap-4.items-center::after { bottom: 2px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > salla-installment { order: -5 !important; margin-top: 6px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > salla-rating-stars { order: -4 !important; }


}

/* ==========================================================
   PP-1 — HIGH-CONVERSION PRODUCT PAGE (رحلة البيع) — RAED 27 Sep 2026
   النطاق: صفحات المنتجات (body.product-single) — الوصف داخل .lc-pp فقط
   + بلوك «اختاري كورسك» (منتجات سلة الأصلية بأسعار حية).
   بدون JS. Accordion عبر details/summary الأصلية في المتصفح.
   التراجع = حذف هذه الكتلة كاملة + إرجاع الوصف من BACKUP.
   ========================================================== */
body.product-single .lc-pp { --lc-sage: #F2F6F1; --lc-line: #DCE7DD; --lc-ink: #17372A; --lc-mute: #5E6F65; line-height: 1.7; }
body.product-single .lc-pp .lc-s { padding: 18px 0 6px; border-top: 1px solid var(--lc-line); }
body.product-single .lc-pp .lc-s:first-child { border-top: 0; padding-top: 4px; }
body.product-single .lc-pp .lc-h { font-size: 19px; font-weight: 800; color: var(--lc-ink); margin: 0 0 12px; line-height: 1.4; }
body.product-single .lc-pp p { margin: 0 0 10px; color: var(--lc-ink); }
body.product-single .lc-pp .lc-note { font-size: 13px; color: var(--lc-mute); margin-top: 10px; }
body.product-single .lc-pp .lc-link a { color: var(--lc-green, #1F5E3B); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
body.product-single .lc-pp ul, body.product-single .lc-pp ol, body.product-single .lc-pp li { list-style: none !important; margin: 0; padding: 0; }

/* نعرف الإحساس — بطاقة تعاطف */
body.product-single .lc-pp .lc-empathy { background: var(--lc-sage); border-radius: 16px; padding: 16px 16px 8px; border-top: 0; margin-bottom: 6px; }
body.product-single .lc-pp .lc-emp-h { font-size: 20px; font-weight: 800; color: var(--lc-green, #1F5E3B); margin-bottom: 6px; }
body.product-single .lc-pp .lc-empathy p:not(.lc-emp-h) { font-size: 15px; line-height: 1.8; }

/* لمين هذا السيروم؟ — شرائح */
body.product-single .lc-pp .lc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.product-single .lc-pp .lc-chips li { background: var(--lc-sage); border: 1px solid var(--lc-line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--lc-green, #1F5E3B); }

/* الفوائد — قائمة بعلامة ✓ */
body.product-single .lc-pp .lc-list li { position: relative; padding-inline-start: 28px; margin-bottom: 8px; font-size: 15px; color: var(--lc-ink); }
body.product-single .lc-pp .lc-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--lc-green, #1F5E3B) no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* المكونات — بطاقات */
body.product-single .lc-pp .lc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
body.product-single .lc-pp .lc-grid li { background: #fff; border: 1px solid var(--lc-line); border-radius: 14px; padding: 10px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; min-height: 84px; justify-content: center; }
body.product-single .lc-pp .lc-grid b { font-size: 14px; font-weight: 800; color: var(--lc-green, #1F5E3B); line-height: 1.3; }
body.product-single .lc-pp .lc-grid span { font-size: 12px; color: var(--lc-mute); line-height: 1.4; }

/* طريقة الاستخدام — خطوات مرقمة */
body.product-single .lc-pp .lc-steps { counter-reset: st; display: grid; gap: 8px; }
body.product-single .lc-pp .lc-steps li { counter-increment: st; position: relative; padding: 10px 46px 10px 12px; background: var(--lc-sage); border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--lc-ink); }
body.product-single .lc-pp .lc-steps li::before { content: counter(st); position: absolute; inset-inline-start: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--lc-green, #1F5E3B); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* اختيار الكورس — 3 بطاقات */
body.product-single .lc-pp .lc-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
body.product-single .lc-pp .lc-courses a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border: 2px solid var(--lc-line); border-radius: 14px; text-align: center; text-decoration: none; background: #fff; }
body.product-single .lc-pp .lc-courses b { font-size: 15px; font-weight: 800; color: var(--lc-ink); }
body.product-single .lc-pp .lc-courses span { font-size: 12px; color: var(--lc-mute); }
body.product-single #product-1648445120 .lc-courses li:nth-child(1) a,
body.product-single #product-943653357 .lc-courses li:nth-child(2) a,
body.product-single #product-689962330 .lc-courses li:nth-child(3) a { border-color: var(--lc-green, #1F5E3B); background: var(--lc-sage); }

/* الثقة */
body.product-single .lc-pp .lc-trustlist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.product-single .lc-pp .lc-trustlist li { background: var(--lc-sage); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 700; color: var(--lc-ink); }

/* FAQ — Accordion أصلي */
body.product-single .lc-pp .lc-faq { border: 1px solid var(--lc-line); border-radius: 12px; padding: 0 14px; margin-bottom: 8px; background: #fff; }
body.product-single .lc-pp .lc-faq summary { cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: var(--lc-ink); padding: 12px 0 12px 28px; position: relative; }
body.product-single .lc-pp .lc-faq summary::-webkit-details-marker { display: none; }
body.product-single .lc-pp .lc-faq summary::after { content: "+"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--lc-sage); color: var(--lc-green, #1F5E3B); font-weight: 800; font-size: 18px; line-height: 22px; text-align: center; }
body.product-single .lc-pp .lc-faq[open] summary::after { content: "–"; }
body.product-single .lc-pp .lc-faq p, body.product-single .lc-pp .lc-faq ul { padding: 0 0 12px; margin: 0; font-size: 14px; color: var(--lc-mute); }
body.product-single .lc-pp .lc-faq ul li { margin-bottom: 6px; }
body.product-single .lc-pp .lc-legal p { font-size: 12.5px; color: var(--lc-mute); }

/* بلوك «اختاري كورسك المناسب» (منتجات ثابتة من سلة، أسعار حية) — يُنقل تحت الوصف مباشرة */
body.product-single #main-content > .s-blocks-wrapper.s-after-related { order: 0; }
body.product-single .s-block[data-testid="store-home-fixed-products"] .s-block__title h2 { font-size: 20px; font-weight: 800; }
/* «منتجات مشابهة» و«منتجات قد تعجبك» مكررة مع بلوك الكورسات → تُخفى (بدون حذف) */
body.product-single .s-block--bundle-similar-products,
body.product-single #main-content > .container:has(> salla-products-slider[data-testid="store-product-related"]) { display: none !important; }
/* عداد «تم شراؤه N مرة» يشمل طلبات Legacy/تجريبية → يُخفى (قرار الإدارة: لا Legacy Social Proof) */
body.product-single .main-content > div.bg-white.rounded-md.inline-flex { display: none !important; }

@media (max-width: 640px) {
  body.product-single .lc-pp .lc-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  body.product-single .lc-pp .lc-grid b { font-size: 13px; }
  body.product-single .lc-pp .lc-grid span { font-size: 11px; }
}
/* ==========================================================
   CRO-2 — أول شاشة جوال «واضحة» (مرجع: صفحة المنافس) — RAED 27 Sep 2026
   صورة المنتج بعرض الشاشة (مربعة، بدون إطار) + عنوان وسعر أكبر.
   الكورسات الثلاثة، جوال ≤640px فقط. تتغلب على قيم CRO-1 (تأتي بعدها).
   التراجع = حذف هذه الكتلة فقط.
   ========================================================== */
@media (max-width: 640px) {
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .swiper.s-slider-container,
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider:not(.hydrated) > [slot="items"] { height: auto !important; aspect-ratio: 1 / 1 !important; border: 0 !important; border-radius: 0 !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-container .swiper-wrapper,
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-container .swiper-slide { height: 100% !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-container .swiper-slide img { height: 100% !important; object-fit: contain !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-thumbs,
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider:not(.hydrated) > [slot="thumbs"] { height: 46px !important; margin-top: 10px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-thumbs .swiper-slide,
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider:not(.hydrated) > [slot="thumbs"] > * { width: 46px !important; height: 46px !important; flex-basis: 46px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-thumbs img { width: 46px !important; height: 46px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .sidebar { margin-bottom: 14px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h1 { font-size: 22px !important; line-height: 34px !important; font-weight: 800 !important; margin: 6px 0 4px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h2.product-entry__sub-title { font-size: 15px !important; line-height: 24px !important; }
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) :is([data-testid="store-product-price"] p, .price-wrapper .total-price) { font-size: 28px !important; }
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) .main-content :is(del, s) { font-size: 17px !important; }
  /* ترتيب واضح: الاسم ← السعر مباشرة ← الفائدة. سطر الثقة يُخفى هنا (موجود في «ليش تختارينه؟» تحت) */
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.flex.whitespace-nowrap.gap-4.items-center { order: -8 !important; margin: 4px 0 8px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h2.product-entry__sub-title { order: -7 !important; margin: 0 0 4px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.product-brand { display: none !important; }
}

/* CRO-2b — مسافات وترتيب مثل مرجع المنافس (27 Sep 2026): إخفاء صف المصغرات على الجوال (السحب يبقى)، عنوان 24px، مسافات أوسع. التراجع = حذف هذه الكتلة. */
@media (max-width: 640px) {
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .s-slider-thumbs,
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider:not(.hydrated) > [slot="thumbs"] { display: none !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .sidebar { margin-bottom: 22px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h1 { font-size: 24px !important; line-height: 36px !important; font-weight: 700 !important; margin: 0 0 12px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.flex.whitespace-nowrap.gap-4.items-center { margin: 0 0 16px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h2.product-entry__sub-title { margin: 0 0 16px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > salla-installment { margin-top: 4px !important; }
}

/* CRO-2c — عرض الجوال مثل مرجع المنافس (27 Sep 2026): الاسم 26px ← السعر ← متوفر ← تمارا، إخفاء العنوان الفرعي بأول شاشة، القلب مربع أعلى يسار الصورة. الشريط الثابت (الدفع) بدون أي تغيير. النجوم لم تُرفع (بانتظار تنظيف تقييمات الحساب الداخلي). التراجع = حذف هذه الكتلة. */
@media (max-width: 640px) {
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h1 { font-size: 26px !important; line-height: 38px !important; font-weight: 600 !important; margin: 0 0 14px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h2.product-entry__sub-title { display: none !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.flex.whitespace-nowrap.gap-4.items-center { margin: 0 0 18px !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider salla-button.btn--wishlist { top: 12px !important; left: 12px !important; right: auto !important; bottom: auto !important; }
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider salla-button.btn--wishlist button { border-radius: 10px !important; background: #fff !important; border: 1px solid #e5e7eb !important; }
}

/* CRO-2c-2 — الشاشات القصيرة (ارتفاع ≤720px، مثل 360×640): صورة 5:4 حتى لا يغطي الشريط الثابت السعر. */
@media (max-width: 640px) and (max-height: 720px) {
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .swiper.s-slider-container,
  :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider:not(.hydrated) > [slot="items"] { aspect-ratio: 5 / 4 !important; }
}

/* CRO-2e — إخفاء السعر المكرر في الأسفل على الجوال (27 Sep 2026): قسم «السعر» داخل نموذج الشراء يكرر السعر الظاهر تحت الاسم. يُخفى فقط والمنتج متوفر (رسالة «نفذت الكمية» تبقى تظهر إن نفد). التراجع = حذف هذه الكتلة. */
@media (max-width: 640px) {
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) form.product-form > section.flex:not(.sticky-product-bar):has(.out-of-stock.hidden) { display: none !important; }
}

/* CRO-3 — أول شاشة جوال للكورسات الثلاثة (28 Sep 2026، قرار الإدارة: HL-1M ثم «طبق على كل المنتجات»): صورة 5:4، الاسم 22px، إظهار سطر الفائدة المعتمد تحت الاسم، ثم السعر. الكورسات الثلاثة، ≤640px. الشريط الثابت بدون أي تغيير. التراجع = حذف هذه الكتلة. */
@media (max-width: 640px) {
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .swiper.s-slider-container,
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider:not(.hydrated) > [slot="items"] { aspect-ratio: 5 / 4 !important; }
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) .sidebar { margin-bottom: 12px !important; }
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h1 { font-size: 22px !important; line-height: 32px !important; font-weight: 700 !important; margin: 0 0 6px !important; }
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > h2.product-entry__sub-title { display: block !important; order: -8 !important; font-size: 14px !important; line-height: 22px !important; font-weight: 600 !important; color: var(--lc-ok, #219653) !important; margin: 0 0 10px !important; }
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) .main-content > div.flex.whitespace-nowrap.gap-4.items-center { order: -7 !important; margin: 0 0 12px !important; }
}
@media (max-width: 640px) and (max-height: 720px) {
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider .swiper.s-slider-container,
  body.product-single :is(#product-1648445120,#product-943653357,#product-689962330) salla-slider.details-slider:not(.hydrated) > [slot="items"] { aspect-ratio: 3 / 2 !important; }
}