/* Add custom CSS styles below */ 
body#app.index {
    background: #FFFAF1; /* خلفية بيضاء لصفحة الهوم */
}


/* ==============================
   3- إعدادات اللازي لود (Lazy Loading)
============================== */
.lazy__bg.lazy.entered.loaded {
    background-size: contain;      /* ملاءمة الخلفية بدون قص */
    background-repeat: no-repeat;  /* منع التكرار */
}


/* ==============================
   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-nav-container.fixed-pinned .navbar-brand img,
.navbar-brand img {
    max-height: 5rem; /* تحديد أقصى ارتفاع للشعار */
}
.index section.s-block--fixed-banner:nth-of-type(5) > .container {
    max-width: 100%; /* تمديد الكونتينر بعرض الصفحة */
    padding: 0;      /* إزالة الهوامش الداخلية */
}

salla-slider.photos-slider .swiper-slide {
        margin:0;
        width: 100%;
        padding:0;
    }
    
salla-slider.photos-slider .swiper {
    padding: 0;
}
section.s-block.s-block--photos-slider {
    margin-top: 0;
}
@media (max-width: 768px) {
  
.index section.s-block--fixed-banner:nth-of-type(2) {
   margin-top: -3rem !important; 
}
   .grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  .grid.md\:grid-cols-3 .banner-entry {
    height: 200px !important;
  }
  .grid.one-row.md\:grid-cols-2.grid-flow-row.gap-3.sm\:gap-8 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
.grid.one-row.md\:grid-cols-3 .banner-entry:nth-child(3) {
    transform: translateX(-50%) !important;
}
  .grid.md\:grid-cols-2 .banner-entry {
    height: 200px !important;
  }
}
section.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
    margin-top: 0;
}
/* ==============================
   8- المنتجات (Products)
============================== */
.s-product-card-entry,
custom-salla-product-card.s-product-card-entry {
  background-color: transparent;
  border: 2px solid #00000033;               /* إطار المنتج */
    border-radius: 8px;                      /* زوايا دائرية */
    overflow: hidden;                        /* إخفاء المحتوى الزائد */
    padding: 10px;                           /* حشو داخلي */
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease;        /* تأثير حركة */
}

.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: #AC7600;       /* لون السعر */
    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;
}

/* ميل للصورة كلها لليمين وقت الهوفر */
.s-product-card-image img {
  transition: transform 0.4s ease;
}

.s-product-card-image img:hover {
  transform: rotate(5deg); /* تميل 5 درجات لليمين */
}





 .grid.md\:grid-cols-2 .banner-entry {
    height: 420px ;
  }

.grid.md\:grid-cols-3 .banner-entry {
    height: 500px ;
  }

@media (min-width: 768px) {
  .grid.md\:grid-cols-3 .banner-entry:nth-child(2) {
height: 550px !important;
  }
    
}



.s-block--features__item {
    background-color: transparent;
    border: 1px solid #8E8E8E6B;
}

.store-footer__inner {
    background-image: url(https://i.ibb.co/6S4S2FT/Group-1261154987.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}

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

div#mainnav {
    background-color: transparent;
}

.s-block--features__item p {

    display: none;
}
.s-product-card-content-title {
    flex-wrap: nowrap;
    display: flex;
}
.s-product-card-content-title a {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
   
}
.s-product-card-content-title a {
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* عدد الأسطر التي نسمح بها */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* إضافة التلت نقط */
  white-space: nowrap; /* التأكد من أن النص في سطر واحد */
}
/* استهداف صورة الواتساب داخل الرابط */
#whatsapp-button img {
  width: 40px !important;
  height: 40px !important;
}

/* ==============================
   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-product-card-content-title a {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 👈 تم تغييرها إلى 2 ليظهر العنوان على سطرين */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* 👈 تم تغييرها من pre إلى normal لكي يسمح للنص بالالتفاف والنزول لسطر جديد */
}
}