/* Add custom CSS styles below */ 
/* أسعار المنتجات باللون الأحمر */
.s-product-card-price,
.s-product-card-sale-price,
.s-product-card-content .product-price {
    color: #FF0000 !important;
    text-align: center !important;
    font-weight: 700 !important;
}

/* توسيط الأسعار داخل بطاقة المنتج */
.s-product-card-content-sub,
.s-product-card-content .price-wrapper {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

/* إظهار اسم المنتج كاملاً بدون قص */
.s-product-card-content-title,
.s-product-card-content-title a,
.s-product-card-content h3,
.s-product-card-content h3 a {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    height: auto !important;
    max-height: none !important;
    text-align: center !important;
    line-height: 1.7 !important;
    overflow-wrap: break-word !important;
}
/* ========================================
   ثيم ملاك - متجر فحم العربية
   توسيط عناوين المنتجات وآراء العملاء
======================================== */

/* 1. حاوية عناوين سلايدر المنتجات */
salla-products-slider .s-slider-block__title,
salla-slider.testimonials-slider .s-slider-block__title {
    position: relative !important;
    width: 100% !important;
    min-height: 55px !important;
}

/* 2. ضبط حاوية العنوان فقط */
salla-products-slider .s-slider-block__title-right,
salla-slider.testimonials-slider .s-slider-block__title-right {
    position: static !important;
}

/* 3. توسيط جميع عناوين المنتجات وآراء العملاء */
salla-products-slider
.s-slider-block__title-right > h2,
salla-slider.testimonials-slider
.s-slider-block__title-right > h2 {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: max-content !important;
    max-width: 55% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
    z-index: 1 !important;
}

/* ========================================
   4. تحسين العرض على الجوال
======================================== */

@media (max-width: 640px) {

    salla-products-slider .s-slider-block__title,
    salla-slider.testimonials-slider .s-slider-block__title {
        min-height: 55px !important;
    }

    salla-products-slider
    .s-slider-block__title-right > h2,
    salla-slider.testimonials-slider
    .s-slider-block__title-right > h2 {
        max-width: 45% !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}


/* ========================================
   متجر فحم العربية - ثيم ملاك
   القائمة الأفقية + إصلاح قائمة الحساب
======================================== */

/* ========================================
   1. إصلاح طبقات الهيدر وقائمة الحساب
======================================== */

/* الهيدر فوق شريط التصنيفات */
header.store-header {
    z-index: 1000 !important;
    overflow: visible !important;
}

/* السماح للقوائم المنسدلة بالظهور */
header.store-header #mainnav,
header.store-header .header-inner,
header.store-header .header-container {
    overflow: visible !important;
}

/* قائمة الحساب والقوائم المنسدلة */
header.store-header .dropdown-menu,
header.store-header .user-dropdown,
header.store-header .account-dropdown {
    z-index: 1100 !important;
}

/* ========================================
   2. شريط التصنيفات الأفقي
======================================== */

#arabia-horizontal-nav {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    z-index: 20 !important;
    direction: rtl;
    font-family: inherit;
}

/* اعتماد خط المتجر */
#arabia-horizontal-nav,
#arabia-horizontal-nav * {
    font-family: inherit;
    box-sizing: border-box;
}

/* ========================================
   3. ترتيب التصنيفات
======================================== */

#arabia-horizontal-nav .arabia-nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 10px 15px;
    list-style: none;
}

/* التصنيفات الرئيسية */
#arabia-horizontal-nav .arabia-nav-entry {
    position: relative;
    list-style: none;
}

/* اسم التصنيف والسهم */
#arabia-horizontal-nav .arabia-nav-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ========================================
   4. أسماء التصنيفات والخط
======================================== */

#arabia-horizontal-nav .arabia-nav-label > a,
#arabia-horizontal-nav .arabia-nav-label > span {
    display: block;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
    color: #222222;
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 5px;
}

/* تغيير اللون عند التمرير */
#arabia-horizontal-nav
.arabia-nav-entry:hover > .arabia-nav-label > a,
#arabia-horizontal-nav
.arabia-nav-entry:hover > .arabia-nav-label > span,
#arabia-horizontal-nav
.arabia-nav-entry.is-open > .arabia-nav-label > a,
#arabia-horizontal-nav
.arabia-nav-entry.is-open > .arabia-nav-label > span {
    color: #ff442f;
}

/* ========================================
   5. أسهم التصنيفات الفرعية
======================================== */

#arabia-horizontal-nav .arabia-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777777;
    cursor: pointer;
}

/* رسم السهم */
#arabia-horizontal-nav .arabia-nav-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

/* ========================================
   6. القوائم المنسدلة
======================================== */

#arabia-horizontal-nav .arabia-nav-sub {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 190px;
    margin: 0;
    padding: 6px 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 20px #00000020;
    list-style: none;
    z-index: 100;
}

/* التصنيفات الفرعية */
#arabia-horizontal-nav
.arabia-nav-sub .arabia-nav-label {
    justify-content: space-between;
    padding: 0 10px;
}

#arabia-horizontal-nav
.arabia-nav-sub .arabia-nav-label > a,
#arabia-horizontal-nav
.arabia-nav-sub .arabia-nav-label > span {
    font-family: inherit;
    font-weight: 700;
    white-space: normal;
}

/* فتح القائمة عند التمرير أو الضغط */
#arabia-horizontal-nav
.arabia-nav-entry:hover > .arabia-nav-sub,
#arabia-horizontal-nav
.arabia-nav-entry:focus-within > .arabia-nav-sub,
#arabia-horizontal-nav
.arabia-nav-entry.is-open > .arabia-nav-sub {
    display: block;
}

/* المستوى الثالث من التصنيفات */
#arabia-horizontal-nav
.arabia-nav-sub .arabia-nav-sub {
    top: 0;
    right: 100%;
}

/* ========================================
   7. إخفاء القائمة الجانبية القديمة
======================================== */

html.arabia-nav-ready
header.store-header a.mburger[href="#mobile-menu"],
html.arabia-nav-ready
header.store-header a[href="#mobile-menu"],
html.arabia-nav-ready #mobile-menu {
    display: none !important;
}

/* ========================================
   8. توافق الجوال
======================================== */

@media (max-width: 640px) {

    #arabia-horizontal-nav .arabia-nav-list {
        gap: 4px;
        padding: 7px;
    }

    #arabia-horizontal-nav
    .arabia-nav-label > a,
    #arabia-horizontal-nav
    .arabia-nav-label > span {
        font-size: 12px;
        padding: 8px 3px;
    }

    #arabia-horizontal-nav .arabia-nav-toggle {
        width: 16px;
    }

    #arabia-horizontal-nav .arabia-nav-sub {
        min-width: 150px;
    }
}

/* =====================================
   ثيم ملاك - تنسيق صفحات التصنيفات
===================================== */

/* إزالة خلفية رأس التصنيف */
body:has(salla-products-list)
:is(
    .category-header,
    .category-page-header,
    .category-banner,
    .category-hero,
    section.bg-gray-100:has(h1),
    div.bg-gray-100:has(h1)
) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* توسيط اسم التصنيف */
body:has(salla-products-list)
:is(
    .category-header,
    .category-page-header,
    .category-banner,
    .category-hero,
    .bg-gray-100:has(h1)
) h1 {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 10px !important;
}

/* ترتيب التصنيفات الفرعية */
body:has(salla-products-list)
:is(
    .sub-categories,
    .subcategories,
    .category-children
) {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    background: transparent !important;
}

/* =====================================
   ثيم ملاك - إصلاح زر البحث على الجوال
===================================== */

@media (max-width: 767px) {

    /* إخفاء سهم الرجوع في الرئيسية فقط */
    body.index header.store-header #back-Btn {
        display: none !important;
    }

    /* تنسيق زر البحث */
    header.store-header #arabia-search-right {
        width: 36px !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        z-index: 30 !important;
    }

    /* وضع البحث في يمين الصفحة الرئيسية */
    body.index header.store-header
    #arabia-search-right {
        right: 12px !important;
        left: auto !important;
    }

    /* ترك مسافة لسهم الرجوع في الصفحات الأخرى */
    body:not(.index) header.store-header
    #arabia-search-right {
        right: 50px !important;
        left: auto !important;
    }

    /* حجم أيقونة البحث */
    header.store-header
    #arabia-search-right .sicon-search {
        font-size: 20px !important;
    }
}

/* =====================================
   فحم العربية - ثيم ملاك
   زخرفة أسفل عناوين أقسام المنتجات
===================================== */

/* توفير مساحة للزخرفة */
salla-products-slider .s-slider-block__title {
    min-height: 85px !important;
}

/* السماح بظهور الزخرفة */
salla-products-slider
.s-slider-block__title-right > h2 {
    overflow: visible !important;
}

/* الخط والدائرتان بنفس الشكل */
salla-products-slider
.s-slider-block__title-right > h2::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;

    left: 50% !important;
    top: calc(100% + 8px) !important;
    transform: translateX(-50%) !important;

    width: 270px !important;
    max-width: 70vw !important;
    height: 20px !important;

    /* لون المتجر الأساسي تلقائياً */
    background-color: var(
        --theme-primary-color,
        #e55b2a
    ) !important;

    /* دائرة - خط - دائرة */
    -webkit-mask:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cline x1='21' y1='12' x2='379' y2='12' stroke='black' stroke-width='2'/%3E%3Ccircle cx='388' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")
      center / 100% 100% no-repeat !important;

    mask:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cline x1='21' y1='12' x2='379' y2='12' stroke='black' stroke-width='2'/%3E%3Ccircle cx='388' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")
      center / 100% 100% no-repeat !important;

    pointer-events: none !important;
}

/* ضبط الحجم على الجوال */
@media (max-width: 640px) {

    salla-products-slider
    .s-slider-block__title-right > h2::after {
        width: 190px !important;
        height: 16px !important;
    }

}

/* Responsive banner layout — work copy 562804164 */
body.index .s-block--fixed-banner {
  margin:0!important;
  padding:12px 0 0!important;
}
body.index .s-block--fixed-banner > .container {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  padding-inline:10px!important;
}
body.index .s-block--fixed-banner a.banner,
body.index .s-block--fixed-banner picture {
  display:block;
  width:100%;
}
body.index .s-block--fixed-banner img {
  display:block;
  width:100%!important;
  height:auto!important;
}
body.index .s-block--bundle-animated-banners {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:12px 10px 0!important;
  position:relative;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}

/* Desktop banner width: centered and consistent at large viewports */
@media (min-width: 768px) {
  body.index .s-block--fixed-banner > .container {
    box-sizing: border-box !important;
    width: calc(100% - 32px) !important;
    max-width: 1440px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  body.index .s-block--bundle-animated-banners {
    box-sizing: border-box !important;
    width: calc(100% - 32px) !important;
    max-width: 1440px !important;
    margin-inline: auto !important;
    padding: 12px 0 0 !important;
  }
}

/* توحيد عرض بنرات الصفحة الرئيسية على الكمبيوتر */
@media (min-width: 768px) {
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    box-sizing: border-box !important;
    width: calc(100% - 32px) !important;
    max-width: 1200px !important;
    margin-inline: auto !important;
  }

  body.index .s-block--fixed-banner > .container,
  body.index .s-block--fixed-banner .banner,
  body.index .s-block--bundle-animated-banners > * {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }
}

/* عرض موحّد للبنرات على الجوال مع هامش جانبي بسيط */
@media (max-width: 767px) {
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    box-sizing: border-box !important;
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  body.index .s-block--fixed-banner > .container,
  body.index .s-block--fixed-banner .banner,
  body.index .s-block--bundle-animated-banners > * {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }
}

/* توحيد عرض كل البنرات مع حاوية المتجر القياسية */
.s-block--fixed-banner,
.s-block--bundle-animated-banners,
body.index .s-block--fixed-banner,
body.index .s-block--bundle-animated-banners {
  box-sizing: border-box !important;
  width: calc(100% - 32px) !important;
  max-width: 1440px !important;
  margin-inline: auto !important;
}

.s-block--fixed-banner > .container,
.s-block--fixed-banner .banner,
.s-block--bundle-animated-banners > * {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

/* بنرات الجوال بعرض موحّد وهوامش متساوية */
@media (max-width: 767px) {
  .s-block--fixed-banner,
  .s-block--bundle-animated-banners,
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }
}

/* توحيد عرض جميع بنرات المتجر مع الحاوية القياسية */
.s-block--fixed-banner,
.s-block--bundle-animated-banners,
body.index .s-block--fixed-banner,
body.index .s-block--bundle-animated-banners {
  box-sizing: border-box !important;
  width: calc(100% - 32px) !important;
  max-width: 1440px !important;
  margin-inline: auto !important;
}

.s-block--fixed-banner > .container,
.s-block--fixed-banner .banner,
.s-block--bundle-animated-banners > * {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

@media (max-width: 767px) {
  .s-block--fixed-banner,
  .s-block--bundle-animated-banners,
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }
}

/* محاذاة حدود البنرات مع محتوى سلايدر المنتجات في الثيم */
.s-block--fixed-banner,
.s-block--bundle-animated-banners,
body.index .s-block--fixed-banner,
body.index .s-block--bundle-animated-banners {
  box-sizing: border-box !important;
  width: calc(100% - 32px) !important;
  max-width: 1460px !important;
  margin-inline: auto !important;
}

.s-block--fixed-banner > .container {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-inline: 0 !important;
  margin-inline: auto !important;
}

.s-block--fixed-banner .banner,
.s-block--bundle-animated-banners > * {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

.s-block--bundle-animated-banners {
  padding-inline: 0 !important;
}

@media (max-width: 767px) {
  .s-block--fixed-banner,
  .s-block--bundle-animated-banners,
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    width: calc(100% - 20px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }
}

/* محاذاة حدود البنرات مع محتوى سلايدر المنتجات في الثيم */
.s-block--fixed-banner,
.s-block--bundle-animated-banners,
body.index .s-block--fixed-banner,
body.index .s-block--bundle-animated-banners {
  box-sizing: border-box !important;
  width: calc(100% - 32px) !important;
  max-width: 1460px !important;
  margin-inline: auto !important;
}

.s-block--fixed-banner > .container {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-inline: 0 !important;
  margin-inline: auto !important;
}

.s-block--fixed-banner .banner,
.s-block--bundle-animated-banners > * {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

.s-block--bundle-animated-banners {
  padding-inline: 0 !important;
}

@media (max-width: 767px) {
  .s-block--fixed-banner,
  .s-block--bundle-animated-banners,
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    width: calc(100% - 20px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }
}

/* إزالة الهامش الزائد حتى تتطابق حافة البنر مع حافة محتوى المنتجات */
.s-block--fixed-banner,
.s-block--bundle-animated-banners,
body.index .s-block--fixed-banner,
body.index .s-block--bundle-animated-banners {
  width: calc(100% - 20px) !important;
  max-width: 1460px !important;
}
@media (max-width: 767px) {
  .s-block--fixed-banner,
  .s-block--bundle-animated-banners,
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    width: calc(100% - 20px) !important;
  }
}

/* إزالة الهامش الزائد حتى تتطابق حافة البنر مع حافة محتوى المنتجات */
.s-block--fixed-banner,
.s-block--bundle-animated-banners,
body.index .s-block--fixed-banner,
body.index .s-block--bundle-animated-banners {
  width: calc(100% - 20px) !important;
  max-width: 1460px !important;
}
@media (max-width: 767px) {
  .s-block--fixed-banner,
  .s-block--bundle-animated-banners,
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    width: calc(100% - 20px) !important;
  }
}

/* تطابق البنرات مع الحافة الخارجية لمسار سلايدر المسار المنتجات على الكمبيوتر */
.s-block--fixed-banner,
.s-block--bundle-animated-banners,
body.index .s-block--fixed-banner,
body.index .s-block--bundle-animated-banners {
  width: calc(100% - 20px) !important;
  max-width: 1480px !important;
}
@media (max-width: 767px) {
  .s-block--fixed-banner,
  .s-block--bundle-animated-banners,
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    width: calc(100% - 20px) !important;
    max-width: none !important;
  }
}

/* مطابقة حدود البنرات مع مسار المنتجات على الجوال */
@media (max-width: 767px) {
  .s-block--fixed-banner,
  .s-block--bundle-animated-banners,
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;
  }
}


/* إزالة الحشو الداخلي الذي كان يترك فرق 10px على الجوال */
@media (max-width: 767px) {
  body.index .s-block--fixed-banner > .container,
  body.index .s-block--bundle-animated-banners > .container,
  .s-block--fixed-banner > .container,
  .s-block--bundle-animated-banners > .container {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.index .s-block--fixed-banner .banner,
  body.index .s-block--fixed-banner img,
  body.index .s-block--bundle-animated-banners > *,
  .s-block--fixed-banner .banner,
  .s-block--fixed-banner img,
  .s-block--bundle-animated-banners > * {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* إزالة حشوة القسم المتحرك التي تزحزح الصورة عن المسار */
@media (max-width: 767px) {
  body.index .s-block--bundle-animated-banners,
  .s-block--bundle-animated-banners {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* القاعدة النهائية: البنرات بعرض حاوية مسار السلايدر حتى 1480px */
.s-block--fixed-banner,
.s-block--bundle-animated-banners,
body.index .s-block--fixed-banner,
body.index .s-block--bundle-animated-banners {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1480px !important;
  margin-inline: auto !important;
}


/* مطابقة البنرات مع حدود بطاقات المنتجات الظاهرة */
.s-block--fixed-banner,
.s-block--bundle-animated-banners,
body.index .s-block--fixed-banner,
body.index .s-block--bundle-animated-banners {
  box-sizing: border-box !important;
  width: calc(100% - 8px) !important;
  max-width: 1472px !important;
  margin-inline: auto !important;
}
@media (max-width: 767px) {
  .s-block--fixed-banner,
  .s-block--bundle-animated-banners,
  body.index .s-block--fixed-banner,
  body.index .s-block--bundle-animated-banners {
    width: calc(100% - 20px) !important;
    max-width: none !important;
  }
}
/* إشعارات فحم العربية */
.arabia-proof{background}
/* تنسيق إشعارات فحم العربية */
.arabia-proof{background:#fffaf7!important;border:1px solid rgba(229,91,42,.28)!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(75,48,35,.16)!important;color:#3c302a!important}.arabia-proof-icon{background:#fff0e8!important;border:1px solid rgba(229,91,42,.18)!important;color:#e55b2a!important}.arabia-proof-visitor{width:fit-content!important;max-width:calc(100vw - 28px)!important;min-height:0!important;padding:8px 11px!important;gap:8px!important;border-radius:999px!important}.arabia-proof-visitor .arabia-proof-copy{flex:0 1 auto!important;white-space:nowrap!important}.arabia-proof-visitor strong{color:#e55b2a!important}.arabia-proof-purchase{width:min(320px,calc(100vw - 32px))!important;min-height:0!important;padding:10px 12px!important}.arabia-proof-product{color:#d34f22!important}.arabia-proof-close{color:#8b6556!important}@media(max-width:600px){.arabia-proof-visitor{right:14px!important;left:auto!important;bottom:14px!important;width:fit-content!important}.arabia-proof-purchase{right:14px!important;left:auto!important;bottom:82px!important;width:calc(100vw - 28px)!important}}

/* رفع إشعارات الزوار والشراء لتكون أوضح */
.arabia-proof-visitor,.arabia-proof-purchase{bottom:88px!important}
@media(max-width:600px){.arabia-proof-visitor{bottom:88px!important}.arabia-proof-purchase{bottom:158px!important}}

/* رفع الإشعارات أكثر إلى أعلى */
.arabia-proof-visitor,.arabia-proof-purchase{bottom:180px!important}
@media(max-width:600px){.arabia-proof-visitor{bottom:180px!important}.arabia-proof-purchase{bottom:250px!important}}

/* فصل إشعار الزوار عن إشعار الشراء رأسيًا */
.arabia-proof-visitor{top:clamp(100px,18vh,200px)!important;bottom:auto!important;right:20px!important;left:auto!important}
.arabia-proof-purchase{top:clamp(220px,34vh,360px)!important;bottom:auto!important;left:20px!important;right:auto!important}
@media(max-width:600px){.arabia-proof-visitor{top:clamp(100px,16vh,150px)!important;right:14px!important;left:auto!important}.arabia-proof-purchase{top:clamp(220px,32vh,280px)!important;right:14px!important;left:auto!important}}

/* Align triple-banner row with neighboring banners on desktop */
@media (min-width: 768px) {
  body.index .s-block--bundle-triple-banners > * {
    transform: scale(1.0266) !important;
    transform-origin: center center !important;
  }
}

/* Align triple-banner row with neighboring banners on mobile */
@media (max-width: 767px) {
  body.index .s-block--bundle-triple-banners > * {
    transform: scale(1.028) !important;
    transform-origin: center center !important;
  }
}

/* تصغير إشعار الشراء على الجوال مثل متجر الطيب */
@media (max-width: 600px) {
  .arabia-proof-purchase {
    position: fixed !important;
    top: auto !important;
    bottom: 210px !important;
    left: 8px !important;
    right: auto !important;
    width: min(310px, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
    min-height: 0 !important;
    padding: 8px !important;
    box-sizing: border-box !important;
  }
}

/* بطاقة شراء مدمجة على الجوال */
@media (max-width: 600px) {
  .arabia-proof-purchase {
    width: min(230px, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
    gap: 6px !important;
    padding: 6px !important;
    align-items: center !important;
    overflow: hidden !important;
  }
  .arabia-proof-purchase .arabia-proof-icon {
    width: 30px !important; height: 30px !important; flex: 0 0 30px !important;
  }
  .arabia-proof-purchase .arabia-proof-image {
    width: 42px !important; height: 42px !important; flex: 0 0 42px !important; object-fit: cover !important;
  }
  .arabia-proof-purchase .arabia-proof-copy {
    min-width: 0 !important; flex: 1 1 auto !important;
  }
  .arabia-proof-purchase .arabia-proof-copy p {
    margin: 0 0 3px !important; font-size: 11px !important; line-height: 1.2 !important;
  }
  .arabia-proof-purchase .arabia-proof-product {
    display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important;
    overflow: hidden !important; font-size: 12px !important; line-height: 1.25 !important;
  }
  .arabia-proof-purchase .arabia-proof-close {
    width: 16px !important; flex: 0 0 16px !important; font-size: 15px !important;
  }
}
/* إظهار زر العملة في رأس المتجر على الجوال */
@media (max-width: 767px) {
  header.store-header .header-container .justify-start > button.currency[aria-label="العملة"] {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 78px !important;
    padding: 4px 3px !important;
    margin: 0 4px !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    line-height: 1 !important;
    color: inherit !important;
  }
  header.store-header .header-container .justify-start > button.currency .currency-btn {
    margin: 0 !important;
  }
}
/* وضع زر العملة في الجهة اليسرى بجوار الحساب على الجوال */
@media (max-width: 767px) {
  header.store-header .header-container .justify-start > button.currency[aria-label="العملة"] {
    position: absolute !important;
    left: 60px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 40 !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,.04) !important;
  }
  header.store-header .header-container .justify-start > button.currency .currency-btn > span:first-child {
    display: none !important;
  }
  header.store-header .header-container .justify-start > button.currency .currency-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* عرض اسم العملة فقط بجوار الحساب دون خلفية أو رمز */
@media (max-width: 767px) {
  header.store-header .header-container .justify-start > button.currency[aria-label="العملة"] {
    position: absolute !important; left: 60px !important; right: auto !important; top: 50% !important;
    transform: translateY(-50%) !important; z-index: 40 !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: auto !important; min-width: 0 !important; max-width: none !important; height: auto !important;
    margin: 0 !important; padding: 0 2px !important;
    border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
    font-size: 11px !important; line-height: 1.2 !important; white-space: nowrap !important;
  }
  header.store-header .header-container .justify-start > button.currency .currency-btn > span:first-child,
  header.store-header .header-container .justify-start > button.currency .currency-btn > .symbol-code {
    display: none !important;
  }
  header.store-header .header-container .justify-start > button.currency .currency-btn > .symbol-name {
    display: inline !important; margin: 0 !important; visibility: visible !important;
  }
}