/* ==============================
   2- إعدادات الصفحة الأساسية (Body)
============================== */
body {
    background-image: url(https://i.ibb.co/0pDP0RXT/image.png) !important; /* صورة الخلفية */
    background-size: cover;        /* تغطي الصفحة بالكامل */
    background-position: center;    /* توسيط الصورة */
  
}

body#app.index .s-slider-block__title h2,body#app.index section.s-block.s-block--banners.container .s-block__title .right-side h2
  {
    color: white; /* خلفية بيضاء لصفحة الهوم */
      border: 2px solid #4D9815;  /* إطار العنوان */
    border-radius: 10px;        /* زوايا دائرية */
    padding: 10px 20px;         /* مساحة داخلية */
    display: inline-block; 
}

@media (min-width: 1024px) {
  .index section.s-block--fixed-banner:nth-of-type(1) > .container {
    max-width: 50%; /* تمديد الكونتينر بعرض الصفحة */
    padding: 0;      /* إزالة الهوامش الداخلية */
    height: 70vh;
  }
}
#more-content p strong,
#more-content p span {
    color: white !important;
}







.banner-entry {
    height: 392px;
    }

div#mainnav {
    color: white;
    background-color: transparent;
}
div#mainnav .flex.items-center.justify-end * {
    color: white;
}
/* ==============================
   3- إعدادات اللازي لود (Lazy Loading)
============================== */
.lazy__bg.lazy.entered.loaded {
    background-size: contain;      /* ملاءمة الخلفية بدون قص */
    background-repeat: no-repeat;  /* منع التكرار */
}

/* تغيير لون الخط في القايمة المنسدلة */
.sub-menu ul li a span {
  color: black !important; /* أخضر فاتح (limegreen) */
}

/* ==============================
   4- إعدادات الصور والبنرات
============================== */
a.banner-entry.square-photos {
    background: transparent; /* خلفية شفافة */
}

.banner-entry {
    transition:
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),       /* حركة تكبير/تصغير */
        background-size 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), /* انتقال حجم الخلفية */
        background-position 0.6s ease;                             /* انتقال موضع الخلفية */
}

.banner-entry:hover {
    transform: scale(1.05) translateY(-10px); /* تكبير وتحريك لأعلى عند الهوفر */
}

img {
    background: transparent !important; /* إزالة خلفية الصور */
    border-radius: 0;                   /* إزالة الزوايا الدائرية */
}
.main-content.md\:sticky.md\:overflow-hidden.top-24.w-full.md\:w-2\/4.md\:pb-16 {
color : white; 
}
h1.text-xl.md\:text-2xl.leading-10.font-bold.mb-6.text-gray-800 { 
color : white; } 

nav.breadcrumbs.w-full.py-5 { 
color : white ; } 
.mb-4.sm\:mb-6.flex.justify-between.items-center {
color : white ; } 

/* ==============================
   5- إعدادات الهيدر والشعار
============================== */
.store-header .inner .container {
    max-width: 85%; /* تقليل عرض الكونتينر */
}

.main-nav-container.fixed-pinned .navbar-brand img,
.navbar-brand img {
    max-height: 5rem; /* تحديد أقصى ارتفاع للشعار */
}


/* ==============================
   6- إعدادات البانرات (Banners)
============================== */



/* ميديا كويري للشاشات الصغيرة */
@media (max-width: 768px) {
    .s-block--banners .grid.one-row {
        grid-template-columns: repeat(2, 1fr); /* عمودين للشاشات الصغيرة */
        gap: 1rem;
    }
    .banner-entry {
    height: 165px;
    }
}


/* ==============================
   7- عناوين الأقسام (Titles)
============================== */
.s-block__title {
    justify-content: center; /* توسيط العنوان */
}

.s-block__title h2 {
    border: 2px solid #4D9815;  /* إطار العنوان */
    border-radius: 10px;        /* زوايا دائرية */
    padding: 10px 20px;         /* مساحة داخلية */
    display: inline-block;      /* عرض داخلي */
    font-weight: bold;          /* سمك النص */
    font-size: 2rem;            /* حجم النص */
}

.s-block__title .right-side:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0; /* إزالة الحشو لليمين */
}
.s-slider-block__title-left {
    display: none;

}
.s-slider-block__title {
    justify-content: center;
}

.s-slider-block__title h2 {
    font-size: 1.5rem; /* حجم أصغر */
   
}

section.s-block.s-block--banners.container .s-block__title .right-side h2 {
  
    font-weight: bold;
    font-size: 2rem;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *),
.s-slider-block__title-right:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0;
}


/* ==============================
   8- المنتجات (Products)
============================== */
.s-product-card-entry,
custom-salla-product-card.s-product-card-entry {
    border: 2px solid #5B6453;               /* إطار المنتج */
    border-radius: 8px;                      /* زوايا دائرية */
    overflow: hidden;                        /* إخفاء المحتوى الزائد */
    padding: 10px;                           /* حشو داخلي */
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease;        /* تأثير حركة */
                background-color:transparent;
                
}

.s-product-card-entry:hover,
custom-salla-product-card.s-product-card-entry:hover {
    transform: scale(0.97); /* تصغير بسيط عند الهوفر */
    box-shadow: none;       /* إلغاء الظل */
}

.s-product-card-price {
    color: #4D9815;       /* لون السعر */
    text-align: center;   /* توسيط السعر */
}

.s-product-card-content-sub {
    text-align: center;
    display: inline-block;
}

.s-product-card-content-title a {
    font-size: 16px;     /* حجم النص */
    font-weight: bold;   /* نص سميك */
    text-align: center;
    display: block;
    color:white;
}


/* ==============================
   9- الأزرار (Buttons)
============================== */
.s-button-btn.s-button-primary-outline {
    background-color: #4D9815; /* لون الخلفية */
    color: white;             /* لون النص */
}

.s-button-btn.s-button-primary-outline:hover {
    background-color: #4D9815;
    color: white;
}

.s-product-card-content-title a:hover {
    color: #4D9815;
}
/* ==============================
   10- الفوتر (Footer)
============================== */
.store-footer__inner {
    background-color: #00000040; /* خلفية الفوتر */
}

.store-footer a.flex h3 {
    font-size: 0;                                      /* إخفاء النص */
    background-image: url(https://i.ibb.co/Hf7zD5v0/logo-47-new-01-2.png); /* شعار */
    background-size: contain;                          /* ملاءمة الحجم */
    background-repeat: no-repeat;                      /* منع التكرار */
    background-position: center;                       /* توسيط */
    display: block;
    width: 200px;
    height: 100px;
}




/* ==============================
   12- responsive
============================== */

@media(max-width:767px){
#photos-0-slider > div.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-ios.swiper-backface-hidden{
   padding:0;
}
.s-products-slider-card {
    max-width: 185px;
}
.main-nav-container {
    min-height: 56px;
}
  .s-button-element:not(:disabled):not([loading]) {
    font-size: 11px;
}
}


.s-button-element {
  position: relative;
  overflow: hidden;
}

.s-button-element::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.s-button-element:hover::before {
  left: 120%;
}
.s-slider-block__title {
color : white ; 

}
salla-installment.hydrated {
    color: #4D9815;

} 

.s-product-card-content-subtitle {
 
    color: white !important; 
}