body#app.index {
    background: white; /* خلفية بيضاء لصفحة الهوم */
}

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;
}
/* ==============================
   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;                   /* إزالة الزوايا الدائرية */
}




/* ==============================
   8- المنتجات (Products)
============================== */
.s-product-card-entry,
custom-salla-product-card.s-product-card-entry {
    border: 2px solid #6B2458;               /* إطار المنتج */
    border-radius: 20px;                      /* زوايا دائرية */
    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: #6B2458;       /* لون السعر */
    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 درجات لليمين */
}



/* توسيط الحاوية */
section[component-id="865190861"] .s-block__title,
section[component-id="1000791303"] .s-block__title .right-side {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* تكبير وتلوين وسنترة العنوان */
section[component-id="865190861"] .s-block__title .right-side h2 {
    color: #6B2458;
    font-size: 28px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
/* ==============================
   10- الفوتر (Footer)
============================== */


.store-footer a.flex h3 {
    font-size: 0;                                      /* إخفاء النص */
    background-image: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/AznDrA/stores/logos/JBiu8lSCzZqeurj5P3B9tEdLucfmb7y77pIsMF07.png); /* شعار */
    background-size: contain;                          /* ملاءمة الحجم */
    background-repeat: no-repeat;                      /* منع التكرار */
    background-position: center;                       /* توسيط */
    display: block;
    width: 200px;
    height: 100px;
}


/* ==============================
   9- الأزرار (Buttons)
============================== */
.s-button-btn.s-button-primary-outline {
    background-color: #6B2458; /* لون الخلفية */
    color: white;             /* لون النص */
  border-radius: 20px; 
  padding: 12px;
  
}

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


/* ==============================
   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;
}
  section[component-id="1889381588"] .banner-entry {
    height: 100px; /* غير القيمة للارتفاع المناسب لك */
}

         section[component-id="1955332136"] .banner-entry {
    height: 100px; /* غير القيمة للارتفاع المناسب لك */
}
  .square-photos-grid--featured-5{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
 
}
   /* 3. توحيد مقاس وطول العناصر الثلاثة جميعاً */
  .square-photos-grid--featured-5 > .banner-entry {
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
    padding: 0 !important;
  }
  .square-photos-grid.square-photos-grid--equal-2.grid.grid-flow-row.gap-3.sm\:gap-8 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}


  @media (min-width: 768px) {
  /* 1. إجبار الحاوية على تقسيم الشاشة لـ 3 أعمدة متساوية بدون صفوف إضافية */
  .square-photos-grid--featured-5{
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: dense !important;
  }

    /* ضبط العرض الأقصى للسكشن نفسه (لأنه هو الحامل لكلاس container) وتوسيعه */
section[component-id="1889381588"].container,
section[component-id="1889381588"] {
    max-width: 89%;
    width: 89%;
    margin-left: auto;
    margin-right: auto;
}

/* تقليل المسافة (gap) بين عناصر البنرات على الموبايل والشاشات الكبيرة */
section[component-id="1889381588"] .square-photos-grid {
    gap: 8px; /* يمكنك تقليلها أو زيادتها حسب رغبتك (مثلاً 6px أو 10px) */
}


/* ضبط العرض الأقصى للسكشن نفسه (لأنه هو الحامل لكلاس container) وتوسيعه */
section[component-id="1955332136"].container,
section[component-id="1955332136"] {
    max-width: 89%;
    width: 89%;
    margin-left: auto;
    margin-right: auto;
}

/* تقليل المسافة (gap) بين عناصر البنرات على الموبايل والشاشات الكبيرة */
section[component-id="1955332136"] .square-photos-grid {
    gap: 8px; /* يمكنك تقليلها أو زيادتها حسب رغبتك (مثلاً 6px أو 10px) */
}

    section[component-id="865190861"] {
    background-color: #FFF0F5;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 80px;
    padding-right: 80px;
    max-width: 80%;
    border-radius: 20px; /* تم تصحيح الكلمة هنا */
    overflow: hidden;    /* يضمن قص الأطراف بشكل سليم */
}

  /* 2. تجريد العنصر الأول تماماً من كل خصائص التمدد والدمج */
  .square-photos-grid--featured-5 > *:first-child,
  .square-photos-grid--featured-5 > .banner-entry:first-child {
    grid-row: 1 / 2 !important;
    grid-column: auto !important;
    grid-area: auto !important;
  }

  /* 3. توحيد مقاس وطول العناصر الثلاثة جميعاً */
  .square-photos-grid--featured-5 > .banner-entry {
    grid-row: 1 / 2 !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    padding: 0 !important;
  }

  /* 4. إجبار الصور والروابط الداخلية على ملء الكرت بالكامل */
  .square-photos-grid--featured-5 > .banner-entry a,
  .square-photos-grid--featured-5 > .banner-entry img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
    display: block !important;
  }

    section[component-id="1955332136"] .banner-entry {
    height: 350px; /* غير القيمة للارتفاع المناسب لك */
}

    section[component-id="1889381588"] .banner-entry {
    height: 350px; /* غير القيمة للارتفاع المناسب لك */
}
    .index section.s-block--fixed-banner > .container{
    max-width: 80%; /* تمديد الكونتينر بعرض الصفحة */
    padding: 0;      /* إزالة الهوامش الداخلية */
}


}

.store-footer__inner {
    background: 
        linear-gradient(90deg, #D94F8A 0%, #28A0DC 100%);
}

.store-footer {
 background: 
        linear-gradient(90deg, #D94F8A 0%, #28A0DC 100%);
}

.copyright-text p {
    color: rgb(255 255 255);
}