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


/* ==============================
   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) !important; /* تكبير وتحريك لأعلى عند الهوفر */
}

img {
    background: transparent !important; /* إزالة خلفية الصور */
    border-radius: 0;                   /* إزالة الزوايا الدائرية */
}

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

.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: #2BB9B1;       /* لون السعر */
    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 درجات لليمين */
}

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

.s-button-btn.s-button-primary-outline:hover {
    background-color: #2BB9B1;
    color: white;
}
.s-product-card-entry, custom-salla-product-card.s-product-card-entry {

    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
/* ==============================
   10- الفوتر (Footer)
============================== */
.store-footer__inner {
    background-color: #383435 !important; /* خلفية الفوتر */
}

.store-footer .store-footer__logo {
  display: inline-block;
  width: 200px;
  height: 100px;
  background-image: url("https://archive.org/download/gemini-generated-image-9s-4zn-9s-4zn-9s-4zn-9/Gemini_Generated_Image_9s4zn9s4zn9s4zn9.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.store-footer .store-footer__logo img {
  opacity: 0;
  width: 100%;
  height: 100%;
}


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

  .grid.md\:grid-cols-3.two-row.grid-flow-row.gap-3.sm\:gap-8 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
  section[data-live-block="1086866431"] a.banner-entry.square-photos {
  height: 200px !important;
}
}
p.s-product-card-content-subtitle.opacity-80 {
    text-align: center;
}

@media (width >= 640px) {
    .two-row .banner-entry:first-child {
        grid-area: span 1 / span 1 / span 1 / span 1 !important;
    }
  .grid.md\:grid-cols-3.two-row.grid-flow-row.gap-3.sm\:gap-8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
  section[data-live-block="1086866431"] a.banner-entry.square-photos {
  height: 470px;
}

}




.s-product-card-content-sub {
    justify-content: center;
}



.s-product-card-content-sub {
    justify-content: center !important;
    
}

.s-product-card .s-product-card-content-footer .s-button-btn {

    color: #ffffff !important;
}

.s-product-card-image img {
    transition: transform 0.4s ease !important;
}

footer.store-footer.store-footer--columns.relative.mt-8.sm\:mt-16.bg-\[\#0E0F0F\].text-white {
    background-color: #383435 !important;
}

/* على الديسكتوب (768px فأعلى): 3 أعمدة جنب بعض */
@media (min-width: 768px) {
  section[data-live-block="1086866431"] .grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  section[data-live-block="1086866431"] .grid > a.banner-entry.square-photos:nth-child(3) {
    grid-column: auto !important;
    justify-self: stretch !important;
    width: auto !important;
  }
}

/* على الموبايل (أقل من 768px): أول 2 جنب بعض، والتالت تحتهم في النص */
@media (max-width: 767px) {
  section[data-live-block="1086866431"] .grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  section[data-live-block="1086866431"] .grid > a.banner-entry.square-photos:nth-child(3) {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: calc(50% - 6px) !important; /* نفس عرض العنصر الواحد في صف العمودين مع gap-3 */
  }
}