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

img {
    background: transparent !important; /* إزالة خلفية الصور */
    border-radius: 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;
}


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


/* ========== أزرار الشراء والسلة فقط ========== */
.s-button-btn.s-button-primary-outline,
.s-button-btn.s-button-solid,
.s-fast-checkout-button {
    position: relative;
    overflow: hidden;
    border: 2px solid #EE2020;
    background-color: #EE2020;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    padding: 12px 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
}

/* تأثير التكبير عند الهوفر */
.s-button-btn.s-button-primary-outline:hover,
.s-button-btn.s-button-solid:hover,
.s-fast-checkout-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(245, 100, 169, 0.4);
    background-color: #EE2020;
}

/* لمعة متحركة */
.s-button-btn.s-button-primary-outline::after,
.s-button-btn.s-button-solid::after,
.s-fast-checkout-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

/* تحريك اللمعة عند الهوفر */
.s-button-btn.s-button-primary-outline:hover::after,
.s-button-btn.s-button-solid:hover::after,
.s-fast-checkout-button:hover::after {
    left: 200%;
}

/* تأثير عند الضغط */
.s-button-btn.s-button-primary-outline:active,
.s-button-btn.s-button-solid:active,
.s-fast-checkout-button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(245, 100, 169, 0.3);
}

/* ========== اللودر (Spinner) عند التحميل ========== */
.s-button-btn.s-button-primary-outline.is-loading,
.s-button-btn.s-button-solid.is-loading,
.s-fast-checkout-button.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.s-button-btn.s-button-primary-outline.is-loading::before,
.s-button-btn.s-button-solid.is-loading::before,
.s-fast-checkout-button.is-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ====== ويدجت salla-mini-checkout-widget ====== */
salla-mini-checkout-widget,
salla-mini-checkout-widget .s-add-product-button-mini-checkout-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    border: 2px solid #EE2020;
    background-color: #EE2020;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;  
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

/* تأثير التكبير عند الهوفر */
salla-mini-checkout-widget:hover,
salla-mini-checkout-widget .s-add-product-button-mini-checkout-content:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(245, 100, 169, 0.4);
    background-color: #EE2020;
}

/* لمعة متحركة */
salla-mini-checkout-widget::after,
salla-mini-checkout-widget .s-add-product-button-mini-checkout-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

salla-mini-checkout-widget:hover::after,
salla-mini-checkout-widget .s-add-product-button-mini-checkout-content:hover::after {
    left: 200%;
}

/* تأثير عند الضغط */
salla-mini-checkout-widget:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(245, 100, 169, 0.3);
}

/* ====== اللودر ====== */
salla-mini-checkout-widget.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

salla-mini-checkout-widget.is-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (min-width: 768px) {
    .square-photos-grid--featured-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .square-photos-grid.square-photos-grid--equal-2.grid.grid-flow-row.gap-3.sm\:gap-8 {
    grid-template-columns: repeat(4, minmax(0px, 1fr));
}
}
@media (max-width: 768px) {
    .square-photos-grid--featured-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
   .square-photos-grid.square-photos-grid--equal-2.grid.grid-flow-row.gap-3.sm\:gap-8 {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
}
}

   

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

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

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

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

@media (max-width: 768px) {
  section[component-id="1492685510"] {
    display: none !important;
  }
}

@media (min-width: 768px) {
  section[component-id="1915829699"] {
    display: none !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;
}
}
@media (max-width: 768px) {
  /* توسيط نصوص وعناصر الفوتر بالكامل */
  footer.store-footer,
  footer.store-footer .store-footer__inner,
  footer.store-footer .container {
    text-align: center !important;
    justify-items: center !important;
  }

  /* توسيط الشعار والروابط */
  footer.store-footer a.flex,
  footer.store-footer .s-contacts-title,
  footer.store-footer h3 {
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* توسيط أيقونات التواصل الاجتماعي */
  footer.store-footer .s-social-list {
    justify-content: center !important;
    display: flex !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  /* توسيط وثيقة العمل الحر */
  footer.store-footer .flex.gap-4,
  footer.store-footer salla-trust-badges {
    justify-content: center !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* توسيط قائمة معلومات التواصل (واتساب، هاتف، إيميل) */
  footer.store-footer .s-contacts-list,
  footer.store-footer .s-contacts-item {
    justify-content: center !important;
    text-align: center !important;
    display: flex !important;
  }

  /* توسيط شريط الحقوق ووسائل الدفع السفلي */
  footer.store-footer .copyright-text,
  footer.store-footer .s-payments-list-wrap,
  footer.store-footer .s-payments-list {
    justify-content: center !important;
    display: flex !important;
    text-align: center ;
    margin: 0 auto ;
  }

  .store-footer__inner {
    background-color: rgb(0 0 0);
  }
}



.main-nav-container.fixed-pinned .navbar-brand img,
.navbar-brand img {
    max-height: 6rem; 
}