/* Add custom CSS styles below */
/* الخط الرئيسي */
body,
* {
    font-family: "Zahey", sans-serif !important;
}

/* اسم المنتج */
.product-entry__title a {
    font-size: 1.6rem !important;
    font-weight: bold;
    color: #fff;
    text-align: center;
    display: block;
    line-height: 1.4;
    word-break: break-word;
}

/* تنسيق السعر */
h4.inline-block.font-bold.text-lg.lg\:text-xl.\!leading-none {
    font-size: 2rem !important;
    color: #e9d9b4 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.7rem;
}

/* رمز ريال */
h4.inline-block i.sicon-sar,
span.text-xxs.ps-0\.5 i.sicon-sar {
    font-size: 1.6rem !important;
    color: #e9d9b4 !important;
    line-height: 1 !important;
    vertical-align: middle;
    margin-left: 0.1rem;
}

/* السعر المخفض */
span.text-lg.lg\:text-xl.txt-danger.line-through.leading-none {
    font-size: 1.3rem !important;
    color: #ffffffaa !important;
}

/* زر الإضافة للسلة */
button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
    font-size: 1.3rem !important;
}

/* تحسين وضوح زر القلب */
button.btn--wishlist svg {
    stroke: #a57342 !important;
    stroke-width: 2.5px !important;
    transform: scale(1.3);
    opacity: 1;
}

/* تنسيق بطاقة المنتج */
.product-entry {
    border-radius: 1.6rem !important;
    padding-bottom: 1rem;
    min-height: 450px !important;
    transition: all 0.6s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.05);
    /* backdrop-filter: blur(1.5px); */
}

/* تأثير المرور على البطاقة */
.product-entry:hover {
    transform: translateY(-16px) scale(1.015);
    box-shadow: 0 20px 45px rgba(165, 115, 66, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.08);
    border: 1px solid rgba(165, 115, 66, 0.3);
}

/* البنرات - شفافية وتأثير مرور */
.banner--fixed img {
    transition: 0.5s ease-in-out;
    opacity: 0.85;
    border-radius: 1.2rem;
}

.banner--fixed:hover img {
    transform: scale(0.95);
    opacity: 1;
}

/* خلفية المتجر */
.bg-secondary {
    background: url(https://i.ibb.co/DHvmXg9X/image.jpg);
    background-size: cover;
    background-position: center;
}

/* دعم شفافيات PNG */
img[src$=".png"],
img[src*=".png"] {
    background: transparent !important;
    background-color: transparent !important;
    mix-blend-mode: normal !important;
    filter: none !important;
    opacity: 1 !important;
}

/* إخفاء عناوين جميع أقسام المنتجات */
.s-slider-block__title,
.s-slider-block__title-right,
.s-slider-block__title-left {
    display: none !important;
}

/* ✅ التوافق مع الجوال فقط */
@media (max-width: 768px) {
    .product-entry__title a {
        font-size: 1.3rem !important;
        line-height: 1.3;
    }

    h4.inline-block.font-bold.text-lg.lg\:text-xl.\!leading-none {
        font-size: 1.3rem !important;
    }

    h4.inline-block i.sicon-sar,
    span.text-xxs.ps-0\.5 i.sicon-sar {
        font-size: 1.4rem !important;
    }

    span.text-lg.lg\:text-xl.txt-danger.line-through.leading-none {
        font-size: 1.1rem !important;
    }

    button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
        font-size: 1.2rem !important;
    }
}

/* ظل أنعم وأوضح مع حواف مستديرة */
.f_end-btns button,
.f_start-btns button,
.search-btn,
.f_user-icon-button,
.header-buttons .btn--rounded-gray,
.s-cart-summary-wrapper {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.3s ease-in-out;
    border-radius: 999px !important;
}

/* تأثير ذهبي عند المرور */
.f_end-btns button:hover,
.f_start-btns button:hover,
.search-btn:hover,
.f_user-icon-button:hover,
.header-buttons .btn--rounded-gray:hover,
.s-cart-summary-wrapper:hover {
    box-shadow: 0 6px 14px rgba(163, 115, 67, 0.3) !important;
    transform: translateY(-2px) scale(1.035);
    background-color: #a37343 !important;
    color: white !important;
}

/* جعل الأيقونات داخل الأزرار بلون أبيض عند المرور */
.f_end-btns button:hover i,
.f_start-btns button:hover i,
.search-btn:hover i,
.f_user-icon-button:hover i,
.header-buttons .btn--rounded-gray:hover i,
.s-cart-summary-wrapper:hover i {
    color: #fff !important;
    fill: #fff !important;
}
/* خلفية زر السلة */
.s-cart-summary-wrapper {
    background-color: #a37343 !important; /* بني */
    color: white !important;
    border-radius: 2rem;
    padding: 0.6rem 1rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: none;
}

/* إزالة المربع الأبيض حول الأيقونة */
.s-cart-summary-icon,
.s-cart-summary-wrapper svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: white !important;
    stroke: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* نص المبلغ (ريال) */
.s-cart-summary-total {
    color: white !important;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* رمز الريال */
.s-cart-summary-total i {
    color: white !important;
    font-size: 1px;
}

/* رقم المنتجات */
.s-cart-summary-count {
    background-color: red !important;
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -8px;
    right: -5px;
    z-index: 2;
}

/* تأثير عند المرور */
.s-cart-summary-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(255, 215, 0, 0.3); /* ظل ذهبي */
} /* الشكل العام لأزرار الهيدر */
.header-btn,
.s-cart-summary-wrapper {
    background-color: white !important;
    color: #a37343 !important; /* ذهبي */
    border-radius: 2.5rem;
    padding: 0.6rem 1rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: none;
    position: relative;
}

/* الأيقونات داخل الأزرار */
.header-btn svg,
.s-cart-summary-wrapper svg,
.header-btn i,
.s-cart-summary-wrapper i {
    fill: #a37343 !important;
    color: #a37343 !important;
    width: 22px;
    height: 22px;
    transition: all 0.3s ease-in-out;
}

/* تأثير المرور */
.header-btn:hover,
.s-cart-summary-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(163, 115, 67, 0.3); /* ظل ذهبي ناعم */
}

/* عداد المنتجات (الدائرة الحمراء) */
.s-cart-summary-count {
    background-color: red !important;
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -8px;
    right: -5px;
    z-index: 2;
}

/* نص المجموع (ريال) */
.s-cart-summary-total {
    color: #a37343 !important;
    font-size: 15px;
    font-weight: bold;
}

/* رمز الريال */
.s-cart-summary-total i {
    color: #a37343 !important;
}
/* الشكل الأساسي لكل الأزرار */
.header-btn,
.s-cart-summary-wrapper {
    background-color: white !important;
    color: #a37343 !important;
    border-radius: 2.5rem;
    padding: 0.6rem 1.1rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* ظل ناعم */
    position: relative;
}

/* الأيقونات داخل الأزرار */
.header-btn svg,
.s-cart-summary-wrapper svg,
.header-btn i,
.s-cart-summary-wrapper i {
    width: 22px;
    height: 22px;
    fill: #a37343 !important;
    color: #a37343 !important;
    transition: all 0.3s ease-in-out;
}

/* تأثير عند المرور - بدون تغيير الخلفية */
.header-btn:hover,
.s-cart-summary-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ظل خفيف فقط */
}

/* عداد المنتجات (الدائرة الحمراء) */
.s-cart-summary-count {
    background-color: red !important;
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -8px;
    right: -5px;
    z-index: 2;
}

/* تنسيق المبلغ (ريال) */
.s-cart-summary-total {
    color: #a37343 !important;
    font-size: 15px;
    font-weight: bold;
    font-family: "Zahey", sans-serif;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* رمز الريال */
.s-cart-summary-total i {
    font-size: 15px;
    color: #a37343 !important;
}

/* إزالة المربع الأبيض حول الأيقونة */
.s-cart-summary-icon,
.s-cart-summary-wrapper i {
    background: none !important;
    box-shadow: none !important;
}

/* تكبير أيقونة السلة */
.s-cart-summary-wrapper svg,
.s-cart-summary-wrapper i.s-cart-summary-icon {
    width: 26px !important;
    height: 26px !important;
    fill: #a37343 !important;
    color: #a37343 !important;
    margin-top: 1px;
}

/* تكبير كلمة ريال والمبلغ ومحاذاة وسط */
.s-cart-summary-total {
    font-size: 17px !important;
    font-weight: bold;
    color: #a37343 !important;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Zahey", sans-serif;
    margin-top: 1px;
}

/* تكبير رمز الريال */
.s-cart-summary-total i {
    font-size: 18px !important;
    color: #a37343 !important;
    line-height: 1 !important;
}
.f_logo {
    position: relative;
    right: 6px; /* ← تكة يسار */
    /* a(0,0,0,0.05); */
}
/* إزالة الخلفية البنية بالكامل من الفوتر */
.store-footer,
.store-footer::before,
.store-footer::after,
.store-footer__inner,
.store-footer__inner > div,
.store-footer__bottom {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* إخفاء الطبقة السفلية التي تكرّر البني */
.store-footer__bottom {
    display: none !important;
}
/* استهداف دقيق للفقرة التي تحتوي على هذا النص */
.store-footer__inner p {
    color: #5c2c14 !important; /* بني */
    font-weight: 500 !important; /* متوسط */
    font-size: 15px !important;
    text-align: center !important;
}

/* استهداف أيقونة البريد وتغيير لونها إلى بيج */
.store-footer__inner .s-contacts-icon svg path {
    fill: #e7c4a0 !important; /* بيج */
}

/* نص البريد إذا كان موجودًا */
.store-footer__inner .s-contacts-icon + .unicode {
    color: #e7c4a0 !important;
    font-weight: 400 !important;
}

/* تصغير بنر السكاكين فقط */
.banner--knives img {
    max-height: 110px !important; /* أو 100px حسب ما يناسبك */
    height: auto !important;
    object-fit: contain !important;
}
/* تصغير صورة بنر السكاكين فقط */
.banner img[src*="F9ytXAepn8HJa3I1xqVdB8cWJOXE747oE9rDel3j.png"] {
    max-height: 110px !important; /* أو الحجم اللي يناسبك */
    height: auto !important;
    object-fit: contain !important;
}
/* تصغير كامل البنر الخاص بالسكاكين */
.banner[href*="F9ytXAepn8HJa3I1xqVdB8cWJOXE747oE9rDel3j.png"],
.banner img[src*="F9ytXAepn8HJa3I1xqVdB8cWJOXE747oE9rDel3j.png"] {
    max-height: 110px !important;
    height: auto !important;
    object-fit: contain !important;
}
/* تنسيق البنر العريض للصورة الجديدة فقط */
.banner img[src*="a1b650c3-6388-4a94-963b-eefc70a55429.png"] {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    margin-top: -30px !important; /* لدمجه مع الهيدر من الأعلى */
    z-index: 2;
    position: relative;
}
/* تخصيص بانر السيوف */
.banner--fixed img[src*="42bcbf7a-3933-425f-9d86-e1c724414788"] {
    width: 100%;
    height: auto;
    object-fit: contain !important;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    margin-top: -40px; /* لإدخاله في الهيدر */
    transition: all 0.3s ease-in-out;
}

/* تحكم إضافي عند الهوفر */
.banner--fixed img[src*="42bcbf7a-3933-425f-9d86-e1c724414788"]:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.4);
}
/* تخصيص بانر السيوف فقط */
.banner--fixed img[src*="h8ZYVts8lktfZ4VpVfvQSVRbndYjn1J5W8JFxbqa"] {
    width: 100%;
    height: auto;
    object-fit: contain !important;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
    margin-top: -40px; /* إدخاله على الهيدر */
    transition: all 0.3s ease-in-out;
}

/* تأثير لطيف عند المرور */
.banner--fixed img[src*="h8ZYVts8lktfZ4VpVfvQSVRbndYjn1J5W8JFxbqa"]:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
/* إزالة القيود على عرض القسم */
#EF_banner_sec_0,
#EF_banner_sec_0 .container,
#EF_banner_sec_0 .banners.single-banner,
#EF_banner_sec_0 .banner--fixed {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* جعل البنر يغطي الشاشة */
#EF_banner_sec_0 .banner--fixed img {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    margin: 0 auto !important;
}

/* إزالة المسافة العلوية والسفلية */
#EF_banner_sec_0 {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}
/* تغيير لون السعر */
.item-price.text-xxs.leading-none.text-\[var\(--secondary-color\)\] {
    color: #4f2a22 !important;
}

/* تغيير لون وصف الوزن */
p.text-xs.text-\[var\(--secondary-color\)\] {
    color: #4f2a22 !important;
}

/* اللون داخل span (مثل ٠.١ كجم) */
p.text-xs.text-\[var\(--secondary-color\)\] span {
    color: #4f2a22 !important;
}
/* تغيير لون السعر */
span[class*="item-price"].text-xxs {
    color: #4f2a22 !important;
}

/* تغيير لون عبارة "الوزن" */
p.text-xs.text-\[var\(--secondary-color\)\],
p.text-xs[class*="text-[var(--secondary-color)]"] {
    color: #4f2a22 !important;
}

/* تغيير لون الرقم داخل الوزن */
p.text-xs span {
    color: #4f2a22 !important;
}
/* تغيير لون السعر والوزن في صفحة السلة */
.item-price.text-xxs,
.item-price.text-xxs i,
.text-xs.text-\[var\(--secondary-color\)\] {
    color: #4f2a22 !important;
}

/* تأكيد أن النص داخل <span> يتلون أيضًا */
.text-xs.text-\[var\(--secondary-color\)\] span {
    color: #4f2a22 !important;
}
/* تغيير لون السعر والوزن داخل عنصر السلة */
.cart-item .item-price,
.cart-item .item-price i,
.cart-item p.text-xs.text-\[var\(--secondary-color\)\],
.cart-item p.text-xs.text-\[var\(--secondary-color\)\] span {
    color: #4f2a22 !important;
}
/* رفع السعر ورمز الريال */
custom-salla-product-card
    h4.inline-block.font-bold.text-lg.lg\:text-xl.\!leading-none {
    position: relative;
    top: -6px; /* يرفع الرقم */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
}

/* رفع رمز الريال أكثر */
custom-salla-product-card h4.inline-block i.sicon-sar {
    position: relative;
    top: -2px;
    font-size: 1.4rem !important;
}
/* البنر العلوي يدخل على الهيدر */
#EF_banner_sec_0 {
    margin-top: -4rem;
    padding-top: 0;
    padding-bottom: 0;
    z-index: 1;
    position: relative;
    border-radius: 0 0 3rem 3rem;
    overflow: hidden;
}

/* البنر الثاني يدخل داخل العلوي */
#EF_banner_sec_1 {
    margin-top: -3rem;
    position: relative;
    z-index: 0;
}

/* تحسين الشكل في الجوال */
@media (max-width: 768px) {
    #EF_banner_sec_0 {
        margin-top: -2rem;
        border-radius: 0 0 1.5rem 1.5rem;
    }

    #EF_banner_sec_1 {
        margin-top: 1.5rem;
    }
}

/* تعديلات */
.s-block--enhanced-fixed-banner .container {
    max-width: unset !important;
    padding: 0px !important;
}

#EF_banner_sec_0.s-block--enhanced-fixed-banner {
    margin-top: -100px !important;
    margin-bottom: -100px !important;
}

/* تحسين الشكل في الجوال */
@media (max-width: 768px) {
    #EF_banner_sec_0.s-block--enhanced-fixed-banner {
        margin-top: -18px !important;
    }
}

.s-block--enhanced-fixed-banner img {
    transform: none !important;
}

.bg-secondary {
    background: url("https://cdn.salla.sa/form-builder/SIAz9AodeLnXAhPUoPSLFRzTYEeMI8kDdHkZ4gjL.jpg") !important;
    background-size: cover;
    background-position: center;
}

.s-cart-summary-wrapper:hover .s-cart-summary-total {
    color: #fff !important;
}

.text-\[var\(--secondary-color\)\] {
    color: rgb(71 36 26) !important;
}
/* تأثير جيف على زر إضافة للسلة */
button.s-button-element.s-button-primary:before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  background-image: url(https://i.ibb.co/sjq2RJh/output-onlinegiftools.gif);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: -5px;
  right: -5px;
  transform: translateX(45%);
  transition: 0.5s ease-in-out;
  pointer-events: none;
  z-index: 2;
}

/* تأكد أن الزر نفسه عنده position: relative */
button.s-button-element.s-button-primary {
  position: relative !important;
  overflow: visible !important;
  z-index: 1;
}
.fly-img {
  position: fixed;
  width: 60px;
  height: 60px;
  z-index: 9999;
  pointer-events: none;
  transition: transform 1s ease-in-out, opacity 1s;
  border-radius: 50%;
  overflow: hidden;
}
.fly-img {
  position: fixed;
  width: 60px;
  height: 60px;
  z-index: 9999;
  pointer-events: none;
  transition: transform 1s ease-in-out, opacity 1s;
  border-radius: 50%;
}
.fly-img {
  position: fixed;
  width: 60px;
  height: 60px;
  z-index: 9999;
  pointer-events: none;
  transition: transform 1s ease-in-out, opacity 1s;
  border-radius: 50%;
}.fly-img {
  position: fixed;
  border-radius: 10px;
  pointer-events: none;
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
  z-index: 9999;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(163, 115, 66, 0.7);
}