/* Add custom CSS styles below */ 


/* Add custom CSS styles below */
body.index{background-color:#fff;}
.navbar-brand img {max-height: 5rem;}
body.index header.store-header + section.s-block.s-block--fixed-banner {
  margin-top:0 !important;
}
body.index salla-slider.photos-slider .swiper {
  padding-bottom: 0 !important;
}
[dir=rtl] .carousel-slider .swiper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
section.s-block.s-block--photos-slider {
  margin-top:0 !important;
}
section.s-block.s-block--photos-slider img {
  border-radius: 0 !important;
}
section.s-block.s-block--photos-slider .swiper-slide {
  margin: 0 !important;
  padding:0 !important; 
  width: 100% !important;
  border-radius: 0 !important;
}

/* Product */
.s-product-card-entry {
  border:1px solid #6D4937 !important;
  box-shadow: 0 0 5px 0px #68686894 !important;
}
.s-products-slider-card {
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}
.s-slider-block__title h2 {
  color: #090909 !important;
}
.s-product-card-image {
  background-color:transparent !important;
}
.s-slider-nav-arrow {
  border-color: #6D4937 !important;
  background-color: #6D4937 !important;
}
.s-slider-nav-arrow svg, .s-slider-nav-arrow:not(:disabled):hover svg {
  fill: #ffffff !important;
}
.product-index-offers .s-products-list-vertical-cards,.product-index .s-products-list-vertical-cards {
 margin:0.2rem; 
}
/* End product */

.s-button-primary-outline {
  background-color: #6D4937 !important;
  color: #fff !important;
}


/**/
.s-block--fixed-banner .container {
  max-width:100% !important;
  padding:0 !important;
  margin: 0 !important;
}
.banner--fixed img {
  border-radius:0 !important;
  background-color: transparent !important;
}

/*** FLEX ***/
section.s-block.s-block--banners.container div.grid {
  display:flex !important;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
section.s-block.s-block--banners.container div.grid a.banner-entry {
  width: 20%;
  background-color: transparent !important;
  border-radius: 0 !important;
  height:375px !important;
}
@media(max-width:767px) {
  section.s-block.s-block--banners.container div.grid a.banner-entry {
    width: 31%;
    height: 180px !important;
  }
  .store-footer__inner * {
  justify-content: center;
  text-align: center;
}	
}
.banner-entry > div {
  background-size:contain !important;
  background-repeat: no-repeat;
}

.store-footer .store-footer__inner {
  background-color: #6D4937 !important;
}
.store-footer {
  color: #fff !important;
}


/* إنشاء شكل الزر باستخدام ::before */
#photos-0-slider .swiper-slide a::before {
    content: "اطلب الآن";
    position: absolute;
    BOTTOM: 18%;
    RIGHT: 0%;
    transform: translate(-50%, -50%);
    background-color: #00BAE6;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 100px;
    font-family: 'zain mob', 'Zain', sans-serif;
    font-size: 24px;
    font-weight: 500;
    z-index: 10;
    pointer-events: none;
    text-align: center;
    transition: all 0.3s ease;
    POSITION: ABSOLUTE;
}
/* تأثير التمرير (Hover) عند مرور الماوس على البانر */
#photos-0-slider .swiper-slide a:hover::before {
    background-color: #0098bc;
    transform: translate(-50%, -50%) scale(1.05); /* تكبير الزر قليلاً */
}

/* تأثير الضغط (Active) */
#photos-0-slider .swiper-slide a:active::before {
    transform: translate(-50%, -50%) scale(0.98);
}

/* ضبط حجم ومكان الزر في الجوال */
@media (max-width: 768px) {
    #photos-0-slider .swiper-slide a::before {
        top: 75%; /* ضبط المسافة أسفل النص في الجوال */
        font-size: 18px;
        padding: 10px 30px;
    }
}
/* الكارد الأول - على اليمين */
.s-block--banners .banner-entry:nth-child(1) {
  height: 250px !important;
  width: 100% !important;
}

.s-block--banners .banner-entry:nth-child(1) .lazy__bg {
  height: 100% !important;
  background-size: contain !important;
}

/* ---------------------------------------- */

/* الكارد التاني - في النص */
.s-block--banners .banner-entry:nth-child(2) {
  height: 400px !important;
  width: 100% !important;
}

.s-block--banners .banner-entry:nth-child(2) .lazy__bg {
  height: 100% !important;
  background-size: contain !important;
}

/* ---------------------------------------- */

/* الكارد التالت - على الشمال */
.s-block--banners .banner-entry:nth-child(3) {
  height: 250px !important;
  width: 100%;
}

.s-block--banners .grid {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

.s-block--banners .banner-entry {
  flex: 1 !important; /* كل كارد ياخد نفس العرض */
}


/* تكبير الكارد عند الهوفر */
.s-block--banners .banner-entry {
  transition: all 0.3s ease; /* مهم عشان الحركة تبقى ناعمة */
  cursor: pointer;
}

.s-block--banners .banner-entry:hover {
  transform: scale(1.05); /* تكبير خفيف */
}





/* 1. إعداد رابط البانر الرابع ليكون الأساس */
main#main-content section:nth-of-type(4) a.banner--fixed {
    position: relative !important;
    display: block !important;
}

/* 2. إضافة وتصميم الزر للبانر الرابع */
main#main-content section:nth-of-type(4) a.banner--fixed::before {
    content: "اطلب الآن";
    position: absolute;
    top: 50%; /* يمكنك تعديلها لرفع أو تنزيل الزر */
    left: 50%; /* يمكنك تعديلها لتحريك الزر يميناً أو يساراً */
    transform: translate(-50%, -50%);
    background-color: #00BAE6;
    color: #ffffff;
    padding: 15px 50px;
    border-radius: 100px;
    font-family: 'zain mob', 'Zain', sans-serif;
    font-size: 24px;
    font-weight: 500;
    z-index: 10;
    pointer-events: none;
    text-align: center;
    transition: all 0.3s ease;
    
    
}

/* 3. تأثير التمرير (Hover) والضغط (Active) */
main#main-content section:nth-of-type(4) a.banner--fixed:hover::before {
    background-color: #0098bc;
    transform: translate(-50%, -50%) scale(1.05);
}

main#main-content section:nth-of-type(4) a.banner--fixed:active::before {
    transform: translate(-50%, -50%) scale(0.98);
}

/* 4. ضبط مقاس ومكان الزر في الجوال */
@media (max-width: 768px) {
    main#main-content section:nth-of-type(4) a.banner--fixed::before {
        font-size: 18px;
        padding: 10px 30px;
        top: 50%; /* عدل هذه القيمة إذا احتجت لتغيير مكانه في الجوال فقط */
        left: 50%;
        
    }
}

/* 1. إعداد رابط البانر السادس ليكون الأساس */
main#main-content section:nth-of-type(6) a.banner--fixed {
    position: relative !important;
    display: block !important;
}

/* 2. إضافة الزر للبانر السادس بنفس القيم المطلوبة */
main#main-content section:nth-of-type(6) a.banner--fixed::before {
    content: "اطلب الآن";
    position: absolute;
    bottom: 4%;
    right: -1.5%;
    transform: translate(-50%, -50%);
    background-color: #00BAE6;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 100px;
    font-family: 'zain mob', 'Zain', sans-serif;
    font-size: 24px;
    font-weight: 500;
    z-index: 10;
    pointer-events: none;
    text-align: center;
    transition: all 0.3s ease;
    
}

/* 3. تأثير التمرير (Hover) والضغط (Active) للبانر السادس */
main#main-content section:nth-of-type(6) a.banner--fixed:hover::before {
    background-color: #0098bc;
    transform: translate(-50%, -50%) scale(1.05);
}

main#main-content section:nth-of-type(6) a.banner--fixed:active::before {
    transform: translate(-50%, -50%) scale(0.98);
}

/* 4. ضبط مقاس ومكان الزر في الجوال للبانر السادس */
@media (max-width: 768px) {
    main#main-content section:nth-of-type(6) a.banner--fixed::before {
        bottom: 15%;
        right: 0%;
        font-size: 18px;
        padding: 10px 30px;
        
    }
}

.s-button-primary-outline {
    background-color: #00bae6 !important;
    color: #fff !important;
}


.store-footer .store-footer__inner {
    background-color: #00bae6 !important;
}

@media (max-width: 768px) {
    main#main-content section:nth-of-type(4) a.banner--fixed::before {
        font-size: 11px;
        padding: 6px 17px;
        position: relative;
        top: 9%;
        left: -5%;
        bottom: -160px;
        width: 50;
      
    }
}


@media (max-width: 768px) {
    main#main-content section:nth-of-type(6) a.banner--fixed::before {
        bottom: 7%;
        right: 4%;
        font-size: 11px;
        padding: 6px 17px;
        position: relative;
        top: 185px;
      
    }
}


@media (max-width: 768px) {
    #photos-0-slider .swiper-slide a::before {
        top: 80%;
        font-size: 11px;
        padding: 6px 17px;
        bottom: 7%;
        right: 4%;
        font-size: 11px;
        padding: 6px 17px;
        position: relative;
        top: 185px;
    
    }
}


button.s-slider-prev.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock {
    visibility: hidden;
}
button.s-slider-next.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock {
    visibility: hidden;
}