/* خلفية للهوم بيدج فقط */
body {
  background-image: url("https://i.postimg.cc/7Z3FHW8J/2.png");
  background-size: cover;         /* تخلي الصورة تغطي كل الشاشة */
  background-repeat: no-repeat;   /* تمنع تكرار الصورة */
  background-attachment: fixed;   /* تثبت الصورة أثناء التمرير */
  background-position: center;    /* توسيط الصورة */
}
.banner--fixed img {
    background-color: transparent !important;
}
}
img{
background-color: transparnet !important;
}
a.banner-entry.square-photos {
    background: transparent; /* خلفية شفافة */
}
body#app {
  background-color: transparent;
}

.lazy__bg.lazy.bg-no-repeat.entered.loaded {
    background-color: transparent;
}
section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1) > .container {
  margin-top: 0;
  max-width: 80%;
}

/* الكونتينر داخل البانر ياخد كامل العرض */
.index section.s-block.s-block--fixed-banner.wide-placeholder > .container {
  max-width: 80%;
  padding: 0;
}
/* البانر الأول ياخد ارتفاع كامل */
section.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
  margin-top: 0;
  height: 100%;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .banner-entry {
    height: 380px;
  }
}
.s-slider-block__title {
  display: flex;
  justify-content: center;   /* العنوان في النص */
  align-items: center;
  position: relative;
  margin-bottom: 40px; /* يبعد عن السكشن اللي بعده */
}

/* العنوان نفسه */
.s-slider-block__title-right {
  flex: 1;                  
  text-align: center;       
}

.s-slider-block__title-right h2 {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(90deg, #0a8d47, #077539, #0a8d47);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 3s linear infinite;
  display: inline-block;
  
  border: 2px solid #077539;    /* البوردر نفس اللون */
  padding: 8px 25px;            /* مساحة داخلية حول النص */
  border-radius: 10px;          /* حواف ناعمة */
  position: relative;
  z-index: 1;                   /* يخليه فوق العناصر الأخرى */
}

/* أنيمشن اللمعة */
@keyframes shineText {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}
/* لون دائرة العدّاد فوق السلة */
.s-cart-summary-count {
  background-color: #077539 !important;
  color: #fff !important;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
}

/* ستايل الهوفر للأيقونتين (الأكونت والسلة) */
.header-btn__icon,
.s-cart-summary-icon,
.icon.sicon-shopping-bag {
  transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

/* تأثير hover */
.header-btn:hover .header-btn__icon,
.s-cart-summary-wrapper:hover .icon.sicon-shopping-bag {
  transform: scale(1.15);
  color: #077539 !important;
  filter: drop-shadow(0 0 5px rgba(7, 117, 57, 0.6));
}
.s-product-card-entry {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #fff;
}

/* الصورة داخل الكارد */
.s-product-card-entry .s-product-card-image img {
  transition: transform 0.5s ease;
  will-change: transform;
}

/* تأثير الهوفر */
.s-product-card-entry:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* تكبير الصورة */
.s-product-card-entry:hover .s-product-card-image img {
  transform: scale(1.08);
}

/* لمعة خفيفة */
.s-product-card-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-25deg);
  z-index: 2;
}

/* تشغيل الحركة */
.s-product-card-entry:hover::before {
  animation: shineMove 1.4s ease forwards;
}

@keyframes shineMove {
  0% { left: -75%; }
  100% { left: 125%; }
}

@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 (min-width: 1024px) {
  .grid.one-row .banner-entry {
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .grid.one-row .banner-entry:hover {
    transform: translateY(-5px); /* طلعة بسيطة جدًا */
    filter: brightness(1.05);     /* لمعة خفيفة */
  }
}
.s-product-card-entry .s-product-card-image img {
    transition: transform 0.5s 
ease;
    will-change: transform;
    object-fit: contain;
    background-color: white;
    height: 225px;
}
.s-product-card-image {
  
    background-color: #ffffff;
    }
    
    .two-row .banner-entry:first-child {
    grid-column: span 1 / span 1; /* امتداد عمود واحد */
    grid-row: span 1 / span 2;    /* امتداد صفين */
}

.s-block--banners .grid.two-row {
    display: grid;                         /* تفعيل شبكة العرض */
    grid-template-columns: repeat(4, 1fr); /* 4 أعمدة متساوية */
    gap: 1rem;                             /* مسافة بين العناصر */
}

/* ميديا كويري للشاشات الصغيرة */
@media (max-width: 768px) {
    .s-block--banners .grid.two-row {
        grid-template-columns: repeat(2, 1fr); /* عمودين للشاشات الصغيرة */
        gap: 1rem;
    }
}

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