/* Add custom CSS styles below *//* تغيير لون الخلفية الأساسي للمتجر */
:root {
    --bg-color: #222C3D !important;
}

body, #app, .app-inner {
    background-color: #222C3D !important;
}


/* 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;
}


.s-block--photos-slider .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

.s-block--photos-slider .photos-slider {
    width: 100% !important;
}

.s-block--photos-slider .swiper-slide img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

section.s-block.s-block--photos-slider {
    margin-top: -21px !important;
}

.banner-entry {
    height: 96px;
    overflow: hidden;
    position: relative;
    --tw-bg-opacity: 1;
    background-color: #f3f4f6;
    background-color: rgba(243, 244, 246, var(--tw-bg-opacity, 1));
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    padding: .75rem;
    text-align: center;
    --tw-text-opacity: 1;
    color: #fff;
    color: rgba(255, 255, 255, var(--tw-text-opacity, 1));
}


#squares-3 .swiper-wrapper {
    justify-content: center !important;
}

.store-footer .store-footer__inner {
    background-color: #0086A2 !important;
}

/*animation for the last section*/
/* تأثير تفاعلي عند تمرير الماوس على السلايدر رقم 11 */
#squares-11 .banner-square {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 8px !important; /* إضافة حواف ناعمة للمربع */
}

#squares-11 .banner-square:hover {
    transform: translateY(-8px) scale(1.02) !important; /* رفع وتكبير خفيف للعنصر بالكامل */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important; /* إضافة ظل ناعم */
    z-index: 10 !important;
}

/* تكبير الصورة الداخلية بشكل مستقل لإعطاء عمق 3D */
#squares-11 .box-img img {
    transition: transform 0.5s ease !important;
}

#squares-11 .banner-square:hover .box-img img {
    transform: scale(1.1) !important;
}



/*animation for cards */
/* إعداد حركة ناعمة للمربع الأساسي */
.s-slider-container .banner-square {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 12px !important;
}

/* التأثير عند مرور الماوس (رفع المربع وإضافة ظل) */
.s-slider-container .banner-square:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    z-index: 10 !important;
}

/* إعداد حركة ناعمة للصورة داخل المربع */
.s-slider-container .banner-square .box-img img {
    transition: transform 0.4s ease !important;
}

/* تكبير الصورة قليلاً عند مرور الماوس (Zoom in) */
.s-slider-container .banner-square:hover .box-img img {
    transform: scale(1.08) !important;
}

/* تغيير لون النص أو العنوان عند الهوفر (اختياري) */
.s-slider-container .banner-square:hover h3 {
    color: #4dceee !important; /* يمكنك تغييره للون متجرك الأساسي */
    transition: color 0.3s ease !important;
}



/* إيقاف عمل السلايدر الأفقي وتحويله إلى نظام الشبكة (Grid) */
#squares-5 .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 3 أعمدة في كل صف */
    gap: 15px !important; /* المسافة بين الكروت */
    width: 100% !important;
    transform: none !important; /* إلغاء حركة السحب الخاصة بالسلايدر */
}

/* ضبط عرض الكروت لتملأ المساحة المتاحة في الشبكة */
#squares-5 .banner-square {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important; /* إلغاء المسافات الافتراضية الخاصة بالسلايدر */
}

/* إخفاء أزرار التقليب (السهم يمين ويسار) لأننا لم نعد نحتاجها */
#squares-5 .s-slider-block__title-nav {
    display: none !important;
}

/* ضبط العرض على شاشات الموبايل (صورتين في كل صف أو صورة واحدة حسب رغبتك) */
@media (max-width: 768px) {
    #squares-5 .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr) !important; /* يعرض صورتين في كل صف للموبايل */
        /* إذا أردت صورة واحدة في كل صف للموبايل، غيرها إلى: grid-template-columns: 1fr !important; */
    }
}


#squares-5 .banner-square {
    width: 77% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
}

.dark .s-product-card-entry {
    background-color: #222c3d;
}

img.s-product-card-image-contain.lazy__bg.lazy_img.lazy.loaded {
    background-color: #222c3d !important;
}



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


.dark .s-product-card-content-title {
    color: #ffffff;
}



.dark label {
    color: #ffffff;
}

.dark .da-tm {
    color: #ffffff !important;
}

.s-slider-block__title h2 {
    color: #ffffff !important;
}

.link--primary {
    color: #414042;
    color: #ffffff;
    transition-duration: .15s;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}