/* روسا: الشعار بدل اسم المتجر في التذييل */
.store-footer__inner a.flex.items-center h3 { font-size: 0; line-height: 0; margin: 0; }
.store-footer__inner a.flex.items-center h3::before {
  content: "";
  display: block;
  width: 170px;
  height: 48px;
  background: url("https://cdn.files.salla.network/other/225872709/e9b1ddb7-6748-4538-8207-3af2567da695-original.webp") no-repeat right center / contain;
}

/* روسا: العلامة التجارية في سطر الحقوق */
.copyright-text p::after { content: " · علامة تجارية سعودية مسجّلة رقم TM-01-00-57575-25"; }
/* روسا: إخفاء أيقونة الدفع عند الاستلام لأنه غير متاح */
footer img[alt="COD"] { display: none !important; }
/* روسا: نص زر أضف إلى السلة كاملًا على الجوال */
@media (max-width: 480px) {
  .s-product-card-vertical .s-product-card-content-footer .s-button-text { font-size: 12.5px !important; }
  .s-product-card-vertical .s-product-card-content-footer button { padding-left: 6px !important; padding-right: 6px !important; }
}

/* ROSA-LUXE */
/* ==========================================================
   روسا — «الفخامة الهادئة» — CSS مخصص لثيم رائد (تنسيق رائد رقم 2)
   المكان: تصميم المتجر ← تخصيص التنسيق ← تخصيص متقدم ← CSS
   ترتيب أقسام الرئيسية الذي تعتمد عليه القواعد (main > section بالترتيب):
   1 غلاف١  2 غلاف٢ (جوال)  3 غلاف٣ (جوال)  4 المجموعة  5 زيوت روسا  6 بوكس١  7 بوكس٢ (جوال)
   8 سعر البوكس  9 حكايتنا١  10 حكايتنا٢ (جوال)  11 مميزات: حكايتنا
   12 الطقس  13 مميزات: الخطوات  14 الوعد  15 مميزات: الوعد أ  16 مميزات: الوعد ب  17 المساعدة
   أي تغيير في ترتيب الأقسام يتطلب تعديل الأرقام هنا.
   ========================================================== */

:root {
  --rosa-jade: #006665;
  --rosa-deep: #045150;
  --rosa-deeper: #033F3E;
  --rosa-rose: #EFAC8E;
  --rosa-sand: #E8C7AA;
  --rosa-ink: #1A2323;
  --rosa-muted: #5D6B68;
  --rosa-cream: #FBF6F0;
  --rosa-cream2: #F3E9DD;
  --rosa-line: #EADFD1;
}

/* ---------- الأساس ---------- */
body { background: var(--rosa-cream) !important; color: var(--rosa-ink); }
.store-header .top-navbar { background: var(--rosa-cream) !important; border-bottom: 1px solid var(--rosa-line); }
#mainnav, #mainnav .inner { background: var(--rosa-cream) !important; box-shadow: none !important; }
#mainnav { border-bottom: 1px solid var(--rosa-line); }

/* ---------- البنرات: تتابع بلا فراغات بعرض الصفحة ---------- */
body.index #main-content > section.s-block--fixed-banner { margin: 0 !important; padding: 0 !important; }
body.index #main-content > section.s-block--fixed-banner .container { max-width: 1440px; padding: 0 !important; margin: 0 auto; }
body.index #main-content > section.s-block--fixed-banner .banner { border-radius: 0 !important; margin: 0 !important; display: block; }
body.index #main-content > section.s-block--fixed-banner img { width: 100%; height: auto !important; display: block; object-fit: contain !important; border-radius: 0 !important; }

/* ---------- المجموعة (القسم 4) والزيوت (القسم 5): نفس التنسيق ---------- */
body.index #main-content > section:nth-of-type(4) { margin-top: 24px !important; }
body.index #main-content > section:nth-of-type(5) { margin-top: 40px !important; }
body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-block__title { border-bottom: 1px solid var(--rosa-rose); padding-bottom: 14px; margin-bottom: 20px; }
body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-block__title h2 { font-weight: 300 !important; font-size: 34px !important; color: var(--rosa-ink) !important; }
#main-content custom-salla-product-card { background: transparent !important; box-shadow: none !important; }
#main-content .s-product-card-wishlist-btn { display: none !important; }
#main-content .s-product-card-image { background: transparent !important; }
#main-content .s-product-card-image img { object-fit: contain !important; }
#main-content .s-product-card-content-title, #main-content .s-product-card-content-title a { font-weight: 400 !important; color: var(--rosa-ink) !important; }
#main-content .s-product-card-content-subtitle { color: var(--rosa-muted) !important; opacity: 1 !important; }
#main-content .s-product-card-price { font-weight: 300 !important; color: var(--rosa-ink) !important; }
#main-content .s-product-card-promotion-title {
  background: transparent !important; color: var(--rosa-jade) !important; font-weight: 400 !important;
  font-size: 13px !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
#main-content .s-product-card-promotion-title::before {
  content: ""; display: inline-block; width: 18px; height: 1px; background: var(--rosa-rose);
  vertical-align: middle; margin-inline-end: 8px;
}
#main-content .s-product-card-content-footer .s-button-element {
  background: var(--rosa-jade) !important; color: #F6CDB8 !important; border-color: var(--rosa-jade) !important;
  border-radius: 0 !important;
}

/* الجوال: منتجان في كل صف في المجموعة والزيوت، والصور مربعة بنفس المقاس، والشارة تحت الصورة */
@media (max-width: 767px) {
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-products-list-wrapper {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 12px !important;
  }
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) custom-salla-product-card { flex-direction: column !important; justify-content: flex-start !important; border: 0 !important; padding: 0 !important; }
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-product-card-image,
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-product-card-image > a { display: contents !important; }
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-product-card-image-cover {
    order: 1; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover !important; border-radius: 14px;
  }
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-product-card-promotion-title {
    order: 2; position: static !important; inset: auto !important; transform: none !important;
    margin: 12px 0 0 !important; white-space: nowrap; font-size: 12px !important; text-align: right;
  }
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-product-card-content { order: 3; flex-grow: 1; padding: 6px 0 0 !important; }
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-product-card-content-sub { margin-top: auto !important; padding-top: 10px; }
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-block__title h2 { font-size: 28px !important; }
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-product-card-content-title a { font-size: 16px !important; }
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-product-card-content-subtitle { font-size: 13px !important; line-height: 1.7 !important; }
}

/* ---------- سعر البوكس (القسم 8) ---------- */
body.index #main-content > section:nth-of-type(8) {
  background: var(--rosa-deeper); margin: 0 auto !important; padding: 6px 16px 40px !important; max-width: 1440px;
}
body.index #main-content > section:nth-of-type(8) .s-block__title { display: none !important; }
body.index #main-content > section:nth-of-type(8) .s-products-list-wrapper { display: block !important; }
body.index #main-content > section:nth-of-type(8) custom-salla-product-card {
  display: flex !important; flex-direction: column; align-items: center; text-align: center;
  max-width: 420px; margin: 0 auto !important; border: 0 !important; padding: 0 !important;
}
body.index #main-content > section:nth-of-type(8) .s-product-card-content,
body.index #main-content > section:nth-of-type(8) .s-product-card-image,
body.index #main-content > section:nth-of-type(8) .s-product-card-image a { display: contents !important; }
body.index #main-content > section:nth-of-type(8) .s-product-card-image img,
body.index #main-content > section:nth-of-type(8) .s-product-card-content-main { display: none !important; }
body.index #main-content > section:nth-of-type(8) .s-product-card-content-sub { order: 1; justify-content: center; border-top: 1px solid rgba(239,172,142,.35); padding-top: 22px; width: 100%; }
body.index #main-content > section:nth-of-type(8) .s-product-card-price { color: var(--rosa-rose) !important; font-size: 44px !important; font-weight: 300 !important; }
body.index #main-content > section:nth-of-type(8) .s-product-card-price i { color: var(--rosa-rose) !important; }
body.index #main-content > section:nth-of-type(8) .s-product-card-promotion-title {
  order: 2; position: static !important; color: var(--rosa-sand) !important; font-size: 15px !important; margin: 8px 0 18px;
}
body.index #main-content > section:nth-of-type(8) .s-product-card-content-footer { order: 3; width: 100%; }
body.index #main-content > section:nth-of-type(8) .s-product-card-content-footer .s-button-element {
  background: var(--rosa-cream) !important; color: var(--rosa-deeper) !important; border-color: var(--rosa-cream) !important; height: 52px;
}

/* ---------- المميزات: أساس مشترك ---------- */
body.index #main-content > section.s-block--features .feature-icon { display: none !important; }
body.index #main-content > section.s-block--features .s-block--features__item {
  background: transparent !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; text-align: right;
}
body.index #main-content > section.s-block--features h2 { font-weight: 400 !important; color: var(--rosa-jade) !important; }
body.index #main-content > section.s-block--features p { color: var(--rosa-muted) !important; }
/* رائد يمدّ العنصر الأول على عمودين في الجوال؛ نلغي ذلك حتى لا تنشأ أعمدة ضمنية */
body.index #main-content > section.s-block--features .s-block--features__item { grid-column: auto !important; }
body.index #main-content > section:nth-of-type(13) .s-block--features__item,
body.index #main-content > section:nth-of-type(15) .s-block--features__item,
body.index #main-content > section:nth-of-type(16) .s-block--features__item { grid-column: 1 / -1 !important; }

/* حكايتنا (القسم 11): فقرة كاملة العرض ثم حقيقتان */
body.index #main-content > section:nth-of-type(11) { margin-top: 0 !important; padding-top: 28px !important; }
body.index #main-content > section:nth-of-type(11) > div { grid-template-columns: 1fr 1fr !important; gap: 0 !important; }
body.index #main-content > section:nth-of-type(11) .s-block--features__item:first-child { grid-column: 1 / -1 !important; margin-bottom: 26px; }
body.index #main-content > section:nth-of-type(11) .s-block--features__item:first-child h2 { display: none !important; }
body.index #main-content > section:nth-of-type(11) .s-block--features__item:first-child p { font-size: 17px !important; line-height: 2 !important; color: var(--rosa-ink) !important; }
body.index #main-content > section:nth-of-type(11) .s-block--features__item:not(:first-child) {
  border-top: 1px solid var(--rosa-rose); border-bottom: 1px solid var(--rosa-rose); padding: 16px 12px !important;
}
body.index #main-content > section:nth-of-type(11) .s-block--features__item:nth-child(2) { border-left: 1px solid var(--rosa-rose); }
body.index #main-content > section:nth-of-type(11) .s-block--features__item:not(:first-child) h2 { font-size: 17px !important; margin: 0 0 4px !important; }
body.index #main-content > section:nth-of-type(11) .s-block--features__item:not(:first-child) p { font-size: 14px !important; }

/* الخطوات (القسم 13) على خلفية الطقس */
body.index #main-content > section:nth-of-type(13) {
  background: var(--rosa-cream2); margin: 0 auto !important; padding: 0 20px 36px !important; max-width: 1440px; counter-reset: rosa-step;
}
body.index #main-content > section:nth-of-type(13) > div { grid-template-columns: 1fr !important; gap: 0 !important; border-top: 1px solid var(--rosa-rose); }
body.index #main-content > section:nth-of-type(13) .s-block--features__item {
  position: relative; padding: 22px 76px 22px 0 !important; border-bottom: 1px solid var(--rosa-rose); counter-increment: rosa-step;
}
body.index #main-content > section:nth-of-type(13) .s-block--features__item::before {
  content: "0" counter(rosa-step); position: absolute; right: 0; top: 18px; font-size: 40px; font-weight: 300; color: var(--rosa-jade); line-height: 1;
}
body.index #main-content > section:nth-of-type(13) h2 { font-size: 21px !important; color: var(--rosa-ink) !important; margin: 0 0 6px !important; }
body.index #main-content > section:nth-of-type(13) p { font-size: 15px !important; line-height: 1.9 !important; }

/* الوعد (القسمان 15 و16): جدول بخطوط شعرية متصل */
body.index #main-content > section:nth-of-type(15),
body.index #main-content > section:nth-of-type(16) { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
body.index #main-content > section:nth-of-type(15) > div,
body.index #main-content > section:nth-of-type(16) > div { grid-template-columns: 1fr !important; gap: 0 !important; }
body.index #main-content > section:nth-of-type(15) .s-block--features__item:first-child { text-align: center; padding: 0 8px 22px !important; border-bottom: 1px solid var(--rosa-ink); }
body.index #main-content > section:nth-of-type(15) .s-block--features__item:first-child h2 { display: none !important; }
body.index #main-content > section:nth-of-type(15) .s-block--features__item:first-child p { font-size: 16px !important; line-height: 1.9 !important; text-align: center; }
body.index #main-content > section:nth-of-type(15) .s-block--features__item:not(:first-child),
body.index #main-content > section:nth-of-type(16) .s-block--features__item {
  display: grid !important; grid-template-columns: 68px 1fr; align-items: baseline; padding: 16px 0 !important; border-bottom: 1px solid var(--rosa-line);
}
body.index #main-content > section:nth-of-type(15) .s-block--features__item h2,
body.index #main-content > section:nth-of-type(16) .s-block--features__item h2 { font-size: 15px !important; margin: 0 !important; }
body.index #main-content > section:nth-of-type(15) .s-block--features__item:not(:first-child) p,
body.index #main-content > section:nth-of-type(16) .s-block--features__item p { font-size: 15px !important; color: var(--rosa-ink) !important; line-height: 1.8 !important; margin: 0 !important; }
body.index #main-content > section:nth-of-type(16) { padding-bottom: 20px !important; }

@media (min-width: 768px) {
  body.index #main-content > section:nth-of-type(13) > div { grid-template-columns: repeat(3, 1fr) !important; column-gap: 32px !important; border-top: 0; }
  body.index #main-content > section:nth-of-type(13) .s-block--features__item { border-top: 1px solid var(--rosa-rose); grid-column: auto !important; }
  body.index #main-content > section:nth-of-type(15),
  body.index #main-content > section:nth-of-type(16) { max-width: 780px; margin-inline: auto !important; }
  body.index #main-content > section:nth-of-type(11) { max-width: 780px; margin-inline: auto !important; }
}

/* ---------- التذييل يشمي داكن ---------- */
.store-footer, .store-footer__inner { background: var(--rosa-deeper) !important; color: var(--rosa-sand) !important; }
.store-footer a, .store-footer h3, .store-footer p, .store-footer span, .store-footer .s-contacts-item { color: var(--rosa-sand) !important; }
.store-footer h3 { color: var(--rosa-rose) !important; font-weight: 400 !important; }
.store-footer .copyright-text, .store-footer .copyright-text p { color: rgba(232,199,170,.7) !important; }
.store-footer > div:last-child { background: #022f2e !important; }

/* شعار التذييل بالوردي الذهبي على الخلفية الداكنة */
.store-footer__inner a.flex.items-center h3::before { background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 4825.4 837.7' style='enable-background:new 0 0 4825.4 837.7;' xml:space='preserve'%3E %3Cstyle type='text/css'%3E .st0%7Bfill:#EFAC8E;%7D %3C/style%3E %3Cg%3E %3Cpath class='st0' d='M2815.5,264.3c-18.3-18.3-39.5-32.9-62.2-43.4c24.3-41.3,18.1-95-16.6-129.6c-33.5-33.5-84.5-40.4-125.2-19 c-12.3-20.3-28.3-40.3-47.8-59.7L2551.2,0l-88.1,88.1c-76.3,76.3-76.3,200.6,0,276.9c38.2,38.2,88.3,57.3,138.5,57.3 c50.2,0,100.3-19.1,138.5-57.3l88.1-88.1L2815.5,264.3z M2711.6,116.5c24.7,24.7,27.7,63.9,7.4,92c-25.3-6.8-51.4-8.6-76.5-5.1 c0.9-7.3,1.3-14.6,1.3-21.9c0.1-26.3-5.2-52.2-15.9-77.6C2655,89.5,2689.2,94.1,2711.6,116.5 M2488.3,339.9 c-62.5-62.5-62.5-164.1,0-226.6l62.6-62.6c38.2,42.4,57.5,86.3,57.4,130.7c0,10.1-1.1,20.4-3.1,30.7l-0.5,0.1l0.3,0.9 c-9.6,47.4-40,97-90.7,147.8C2505,355,2496.3,347.9,2488.3,339.9 M2714.8,339.9c-45.1,45.1-110.5,57.6-167,37.6 c43.9-45.9,72.8-91.5,86.6-136.4c47.5-11.5,101.5,2.6,142.7,36.4L2714.8,339.9z'/%3E %3Cpath class='st0' d='M2254.8,12.6c-18.3,18.3-32.9,39.5-43.4,62.2c-41.3-24.3-95-18.1-129.6,16.6c-33.5,33.5-40.4,84.6-19,125.2 c-20.3,12.4-40.3,28.3-59.7,47.8l-12.6,12.6l88.1,88.1c76.3,76.3,200.6,76.3,276.9,0c38.2-38.2,57.3-88.3,57.3-138.5 c0-50.2-19.1-100.3-57.3-138.5L2267.4,0L2254.8,12.6z M2107,116.5c24.7-24.7,63.9-27.7,92-7.4c-6.8,25.3-8.7,51.4-5.1,76.5 c-7.3-0.9-14.6-1.3-21.9-1.3c-26.3-0.1-52.2,5.2-77.6,16C2080,173.1,2084.6,138.9,2107,116.5 M2330.3,339.8 c-62.5,62.5-164.1,62.5-226.6,0l-62.6-62.6c42.4-38.2,86.3-57.5,130.7-57.4c10.1,0,20.4,1.1,30.7,3.1l0.1,0.5l0.9-0.3 c47.4,9.6,96.9,39.9,147.8,90.7C2345.4,323.1,2338.4,331.8,2330.3,339.8 M2330.3,113.3c45.1,45.1,57.6,110.5,37.6,167 c-45.9-43.9-91.5-72.8-136.4-86.6c-11.5-47.5,2.6-101.5,36.4-142.7L2330.3,113.3z'/%3E %3Cpath class='st0' d='M2003,573.3c18.3,18.3,39.5,32.9,62.2,43.4c-24.3,41.3-18.1,95,16.6,129.6c33.5,33.5,84.6,40.4,125.2,19 c12.3,20.3,28.3,40.3,47.8,59.7l12.6,12.6l88.1-88.1c76.3-76.3,76.3-200.6,0-276.9c-38.2-38.2-88.3-57.3-138.5-57.3 c-50.2,0-100.3,19.1-138.5,57.3l-88.1,88.1L2003,573.3z M2107,721.1c-24.7-24.7-27.7-63.9-7.4-92c25.3,6.8,51.4,8.6,76.5,5.1 c-0.9,7.3-1.3,14.6-1.3,21.9c-0.1,26.3,5.2,52.2,15.9,77.6C2163.6,748.1,2129.4,743.5,2107,721.1 M2330.3,497.8 c62.5,62.5,62.5,164.1,0,226.6l-62.6,62.6c-38.2-42.4-57.5-86.3-57.4-130.7c0-10.1,1.1-20.4,3.1-30.7l0.5-0.1l-0.3-0.9 c9.6-47.4,40-97,90.7-147.8C2313.5,482.7,2322.3,489.7,2330.3,497.8 M2103.8,497.8c45.1-45.1,110.5-57.6,167-37.6 c-43.9,45.9-72.8,91.5-86.6,136.4c-47.5,11.5-101.5-2.6-142.7-36.4L2103.8,497.8z'/%3E %3Cpath class='st0' d='M2563.8,825.1c18.3-18.3,32.9-39.5,43.4-62.2c41.3,24.3,95,18.1,129.6-16.6c33.5-33.5,40.4-84.6,19-125.2 c20.3-12.4,40.3-28.3,59.7-47.8l12.6-12.6l-88.1-88.1c-76.3-76.3-200.6-76.3-276.9,0c-38.2,38.2-57.3,88.3-57.3,138.5 c0,50.2,19.1,100.3,57.3,138.5l88.1,88.1L2563.8,825.1z M2711.6,721.2c-24.7,24.7-63.9,27.7-92,7.4c6.8-25.3,8.7-51.4,5.1-76.5 c7.3,0.9,14.6,1.3,21.9,1.3c26.3,0.1,52.2-5.2,77.6-16C2738.6,664.6,2734,698.8,2711.6,721.2 M2488.2,497.8 c62.5-62.5,164.1-62.5,226.6,0l62.6,62.6c-42.4,38.2-86.3,57.5-130.7,57.4c-10.1,0-20.4-1.1-30.7-3.1l-0.1-0.5l-0.9,0.3 c-47.4-9.6-96.9-39.9-147.8-90.7C2473.1,514.6,2480.2,505.9,2488.2,497.8 M2488.2,724.4c-45.1-45.1-57.6-110.5-37.6-167 c45.9,43.9,91.5,72.8,136.4,86.6c11.5,47.5-2.6,101.5-36.4,142.7L2488.2,724.4z'/%3E %3Cpath class='st0' d='M4111.6,632.4c-16.1,0-32.4-1.2-48.5-3.7c-42.3-6.5-103-24.3-152.6-72.4l49.6-51.1 c61.4,59.7,166.6,68.3,228.9,41.9c15.9-6.7,42.6-21.7,42.6-46.8c0-4.3,0-13.2-25.2-24.5c-24.9-11.2-62.1-18.5-97.9-25.1 c-67.9-12.4-181.5-33.3-181.5-119.7c0-41,21.7-75.9,61.1-98.1c77-43.5,217.8-34.6,307.4,19.4l-36.7,61 c-66.7-40.2-181.3-49.2-235.7-18.4c-22.3,12.6-24.9,26.7-24.9,36.1c0,27.1,92.7,44,123.1,49.6c40.2,7.4,82.1,15.8,114.3,30.2 c55.6,25,67.2,62.4,67.2,89.4c0,48.3-31.4,89.3-86.1,112.4C4186.2,625.6,4149.5,632.4,4111.6,632.4'/%3E %3Cpath class='st0' d='M3636.2,632.4c-129.6,0-235-95.8-235-213.6c0-117.8,105.4-213.6,235-213.6c129.6,0,235,95.8,235,213.6 C3871.2,536.6,3765.8,632.4,3636.2,632.4 M3636.2,276.4c-90.3,0-163.8,63.9-163.8,142.4c0,78.5,73.5,142.4,163.8,142.4 c90.3,0,163.8-63.9,163.8-142.4C3800,340.3,3726.5,276.4,3636.2,276.4'/%3E %3Cpolygon class='st0' points='3173.4,625.3 3102.2,625.3 3102.2,212.3 3401.3,212.3 3401.3,283.5 3173.4,283.5 '/%3E %3Cpath class='st0' d='M4754.2,212.3v80.3c-40.2-53-105-87.5-178-87.5c-121.7,0-220.7,95.8-220.7,213.6c0,117.8,99,213.6,220.7,213.6 c73,0,137.8-34.5,178-87.5v80.4h71.2v-413H4754.2z M4590.4,561.2c-90.3,0-163.8-63.9-163.8-142.4c0-78.5,73.4-142.4,163.8-142.4 c90.3,0,163.8,63.9,163.8,142.4C4754.2,497.4,4680.7,561.2,4590.4,561.2'/%3E %3Cpath class='st0' d='M1284.9,191c-129.6,0-235,95.8-235,213.6c0,117.8,105.4,213.6,235,213.6c44.4,0,87.2-11.3,123.9-32v14.2 c0,34.7-14.4,60.8-44,79.5c-56.6,35.9-162.3,36.9-235.5,2.3l-30.4,64.4c41.7,19.7,97.2,32.2,153.3,32.2 c53.6,0,107.7-11.4,150.8-38.7c50.4-32,77.1-80.2,77.1-139.7l0-376.9C1480,223.5,1397.4,191,1284.9,191 M1408.8,497.7 c-31.2,31.4-76,49.4-123.9,49.4c-90.3,0-163.8-63.9-163.8-142.4c0-78.5,73.5-142.4,163.8-142.4c72.1,0,123.9,17.2,123.9,17.2V497.7 z'/%3E %3Cpath class='st0' d='M1716.4,212.3v381c0,96.6-66.6,162.8-178.1,177.2l-9.1-70.6c95.9-12.4,116-64.9,116-106.6v-381H1716.4z'/%3E %3Cpath class='st0' d='M964.5,212.4v398.7H715.3c-27.3,0-52.3-10.3-71.2-27.3c-18.9,16.9-43.9,27.3-71.2,27.3H430.4 c-27.3,0-52.3-10.3-71.2-27.3c-18.9,16.9-43.9,27.3-71.2,27.3H-6.8V84.2h71.2v455.7H288c19.7,0,35.6-16,35.6-35.6V212.4h71.2v291.9 c0,19.6,16,35.6,35.6,35.6h142.4c19.7,0,35.6-16,35.6-35.6V212.4h71.2v291.9c0,19.6,16,35.6,35.6,35.6h178V212.4H964.5z'/%3E %3C/g%3E %3C/svg%3E") !important; }

/* ---------- الشريط العلوي في سطر واحد على الجوال ---------- */
@media (max-width: 767px) {
  .s-advertisement .s-advertisement-content-icon { display: none !important; }
  .s-advertisement .s-advertisement-content-main { justify-content: center; }
  .s-advertisement .s-advertisement-content-main a { font-size: clamp(11.5px, 3.3vw, 14px) !important; white-space: nowrap !important; line-height: 1.4 !important; }
}

/* ---------- أيقونة العميل بعد تسجيل الدخول بدل الصورة الافتراضية ---------- */
salla-user-menu .s-user-menu-trigger { background: transparent !important; }
salla-user-menu[avatar-only] .s-user-menu-trigger { padding: 0 !important; }
salla-user-menu img.s-user-menu-trigger-avatar,
salla-user-menu .s-user-menu-dropdown-header img { display: none !important; }
salla-user-menu .s-user-menu-avatar-wrap::before,
salla-user-menu .s-user-menu-dropdown-header::before {
  content: ""; display: block; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 9999px;
  border: 1px solid var(--rosa-line);
  background: var(--rosa-cream2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006665' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8.5' r='3.75'/%3E%3Cpath d='M4.75 19.5c1.2-3.3 4-5 7.25-5s6.05 1.7 7.25 5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
/* رأس القائمة على الجوال: دائرة أكبر بالأيقونة نفسها */
salla-user-menu .s-user-menu-dropdown-header::before { width: 48px; height: 48px; background-size: 24px; margin-inline-end: 12px; }
salla-user-menu .s-user-menu-trigger-name { color: var(--rosa-ink) !important; }

/* ---------- السعر المخفّض على الخلفية الخضراء (القسم 8) — عرض 10 إلى 18 نوفمبر 2026 ----------
   سلة تعرض السعر المخفّض بالأحمر الغامق والقديم بالأسود، فلا يُقرآن على الأخضر الغامق. */
body.index #main-content > section:nth-of-type(8) .s-product-card-sale-price { display: flex !important; align-items: baseline; justify-content: center; gap: 14px; }
body.index #main-content > section:nth-of-type(8) .s-product-card-sale-price h4,
body.index #main-content > section:nth-of-type(8) .s-product-card-sale-price h4 i { color: #F4877A !important; font-size: 44px !important; font-weight: 300 !important; margin: 0 !important; }
body.index #main-content > section:nth-of-type(8) .s-product-card-sale-price h4 i { font-size: 30px !important; }
body.index #main-content > section:nth-of-type(8) .s-product-card-sale-price span,
body.index #main-content > section:nth-of-type(8) .s-product-card-sale-price span i { color: rgba(246, 237, 227, .6) !important; font-size: 24px !important; text-decoration: line-through !important; }

/* مؤقت (31 أكتوبر 2026): فهرس منتجات سلة ما زال يعرض سعر البوكس قبل الضريبة (120.87) في البطاقات،
   بينما صفحة المنتج والسلة صحيحتان (139). نعرض السعر الشامل على بطاقة البوكس فقط حتى يتحدّث الفهرس، ثم يُحذف هذا الجزء.
   إن تغيّر سعر البوكس يجب تعديل الرقم هنا. */
custom-salla-product-card:has(a[href*="p174655308"]) .s-product-card-price,
body.index #main-content > section:nth-of-type(8) custom-salla-product-card:has(a[href*="p174655308"]) .s-product-card-price,
body.index #main-content > section:nth-of-type(4) custom-salla-product-card:has(a[href*="p174655308"]) .s-product-card-price { font-size: 0 !important; }
custom-salla-product-card:has(a[href*="p174655308"]) .s-product-card-price::before { content: "١٣٩"; font-size: 22px; }
body.index #main-content > section:nth-of-type(8) custom-salla-product-card:has(a[href*="p174655308"]) .s-product-card-price::before { font-size: 44px; }
custom-salla-product-card:has(a[href*="p174655308"]) .s-product-card-price i { font-size: 18px !important; margin-inline-start: 6px; }
body.index #main-content > section:nth-of-type(8) custom-salla-product-card:has(a[href*="p174655308"]) .s-product-card-price i { font-size: 30px !important; }

/* ---------- المجموعة والزيوت على الكمبيوتر: 4 أعمدة متساوية (المجموعة فيها البوكس رابعًا) ---------- */
@media (min-width: 768px) {
  body.index #main-content > section:is(:nth-of-type(4), :nth-of-type(5)) .s-products-list-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important; column-gap: 32px !important;
  }
}

/* ---------- شارة المنتج («من المدينة المنورة» / «خلطة أعشاب») على الصورة الأولى فقط في معرض صفحة المنتج ---------- */
salla-slider.details-slider .s-slider-container > .promotion-title { transition: opacity .25s ease; }
salla-slider.details-slider .s-slider-container:has(> .swiper-wrapper > .swiper-slide:first-child:not(.swiper-slide-active)) > .promotion-title {
  opacity: 0; pointer-events: none;
}