/* Add custom CSS styles below */ 
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 #9CB5A4;               /* إطار المنتج */
    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: #9CB5A4;       /* لون السعر */
    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: #9CB5A4; /* لون الخلفية */
    color: white;             /* لون النص */
}

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




#promo-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,.55);
  display:none;z-index:9998;
}
#promo-modal{
  position:fixed;left:50%;top:50%;
  transform:translate(-50%,-50%);
  width:min(92vw,480px);
  background:#fff;border-radius:14px;
  padding:22px 20px;box-shadow:0 12px 45px rgba(0,0,0,.25);
  display:none;z-index:9999;direction:rtl;
  font-family:inherit;text-align:center;
}
#promo-modal.show,#promo-overlay.show{display:none;}

#promo-title{font-size:20px;font-weight:800;margin-bottom:10px;}
#promo-text{font-size:15px;color:#333;margin-bottom:16px;}

#promo-code-box{
  display:flex;gap:8px;align-items:stretch;
  justify-content:center;margin-top:10px;
}
#promo-code{
  flex:1;padding:10px;
  border:1px dashed #aaa;border-radius:8px;
  font-weight:700;font-size:18px;user-select:all;
}
#promo-copy{
  min-width:110px;padding:10px 14px;
  background:#111827;color:#fff;border:none;
  border-radius:8px;font-weight:700;cursor:pointer;
}
#promo-copy.copied{background:#9CB5A4;}
#promo-close{
  position:absolute;top:8px;inset-inline-end:8px;
  background:#f3f3f3;border:none;border-radius:50%;
  width:32px;height:32px;cursor:pointer;
  font-size:18px;line-height:1;
}


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