body#app {
  background-color: white;
}
.banner--fixed img {
  background-color: rgb(255 255 255);
}
.lazy__bg.lazy.bg-no-repeat.entered.loaded {
    background-color: 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;
}

---------------------
/* خلي الكونتينر داخل سلايدر الصور ياخد كامل العرض */
section.s-block.s-block--photos-slider > .container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* شيل أي مارجن من فوق السلايدر */
section.s-block.s-block--photos-slider {
  margin-top: 0;
  overflow: hidden;
  width: 100%;
}

/* تأكيد إن السلايدرات ياخدوا العرض الكامل */
section.s-block.s-block--photos-slider .s-slider-container,
section.s-block.s-block--photos-slider .swiper-wrapper,
section.s-block.s-block--photos-slider .swiper-slide,
section.s-block.s-block--photos-slider img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0;
  padding: 0;
}
=======
@media (min-width: 1024px) {
    salla-slider.photos-slider .swiper-slide {
        margin-left: 8rem;
        margin-right: 8rem;
        width: 0%;
    }
    salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *) {
        padding-left: 0;
    }
}
salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0;
}
.rounded-md {
    border-radius: 0rem;
}
}
/* --------------------------------- 2. أول بانر (الهيرو) --------------------------------- */
section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1) > .container {
  max-width: 100%;
  margin-top: 0;
padding:0;
}

#main-content > section:nth-child(2) {
    margin-top: 0px;
}
#main-content > section:nth-child(4) > div {
    grid-template-columns: repeat(4,minmax(0,1fr));
}

#main-content > section:nth-child(5) > div {
    grid-template-columns: repeat(3,minmax(0,1fr));
}
.two-row .banner-entry:first-child {
    grid-column: span 1 / span 1; /* امتداد عمود واحد */
    grid-row: span 1 / span 2;    /* امتداد صفين */
}
#main-content > section:nth-child(8) > div > a:nth-child(1) {
    height: 485px;
}
#main-content > section:nth-child(8) > div > a:nth-child(2) {
    height: 485px;
}
#main-content > section:nth-child(6) > div {
    max-width: 100%;
}
.store-footer {
 background-color: #0C5781;             /* إضافة بعض الهوامش للفوتر */
}
.store-footer__inner {
 background-color: #0C5781;             /* إضافة بعض الهوامش للفوتر */
}
.copyright-text p {
    color: rgb(255 255 255);
}
/* ===== بطاقة المنتج ===== */
.s-product-card-entry {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f1f1f1;
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* صورة المنتج */
.s-product-card-image img {
  transition: transform 0.6s ease;
}

/* العنوان */
.s-product-card-content-title a {
  transition: color 0.3s ease;
}

/* السعر */
.s-product-card-price {
  color: #111;
  font-weight: 700;
  transition: color 0.3s ease;
}

/* زر الإضافة */
.s-product-card-content-footer .s-button-element {
  border-radius: 14px;
  transition: 
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

/* ===== Hover بطاقة المنتج ===== */
.s-product-card-entry:hover {
  transform: translateY(-8px);
  border-color: #0C5782;
  box-shadow: 0 18px 45px rgba(12, 87, 130, 0.25);
}

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

/* تغيير لون العنوان عند hover */
.s-product-card-entry:hover .s-product-card-content-title a {
  color: #0C5782;
}

/* تغيير لون السعر عند hover */
.s-product-card-entry:hover .s-product-card-price {
  color: #0C5782;
}

/* تغيير زر الإضافة عند hover */
.s-product-card-entry:hover .s-product-card-content-footer .s-button-element:not(.s-button-disabled) {
  background-color: #0C5782;
  border-color: #0C5782;
  color: #fff;
}

/* ===== الزرار فقط ===== */
.s-button-primary-outline.s-button-btn {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #0C5782, #1a7bb5, #14699c, #0C5782);
  background-size: 350% 350%;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 12px 30px rgba(12, 87, 130, 0.35);
  animation: 
    softGradientShift 7s ease-in-out infinite,
    buttonPulseGlow 4s ease-in-out infinite;
  transition:
    transform .45s cubic-bezier(.2,.8,.2,1),
    box-shadow .45s ease,
    filter .45s ease;
}

/* طبقة لمعة مختلفة */
.s-button-primary-outline.s-button-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,.38), transparent 28%);
  transform: translateX(-120%) scale(1.2);
  opacity: .8;
  animation: liquidLight 5s ease-in-out infinite;
  pointer-events: none;
}

/* النص داخل الزرار */
.s-button-primary-outline .s-button-text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

/* الأيقونة مخفية قبل hover */
.s-button-primary-outline .sicon-shopping-bag {
  margin-left: 0;
  opacity: 0;
  transform: translateY(18px) scale(.7) rotate(-12deg);
  width: 0;
  overflow: hidden;
  transition:
    opacity .45s ease,
    transform .45s cubic-bezier(.2,.9,.2,1.2),
    width .45s ease;
}

/* Hover الزرار */
.s-button-primary-outline.s-button-btn:hover {
  transform: translateY(-5px) scale(1.045);
  box-shadow: 0 24px 55px rgba(12, 87, 130, 0.58);
  filter: saturate(1.08);
}

/* ظهور الأيقونة بسلاسة عند hover */
.s-button-primary-outline.s-button-btn:hover .sicon-shopping-bag {
  opacity: 1;
  width: 18px;
  transform: translateY(0) scale(1) rotate(0deg);
  animation: bagWiggle .75s ease .15s;
}

/* تسريع اللمعة وقت hover */
.s-button-primary-outline.s-button-btn:hover::before {
  animation-duration: 2s;
}

/* Click effect */
.s-button-primary-outline.s-button-btn:active {
  transform: scale(.96);
}

/* ===== Keyframes الزرار ===== */
@keyframes softGradientShift {
  0% { background-position: 0% 50%; }
  35% { background-position: 80% 20%; }
  70% { background-position: 100% 80%; }
  100% { background-position: 0% 50%; }
}

@keyframes buttonPulseGlow {
  0%, 100% { box-shadow: 0 12px 30px rgba(12, 87, 130, .35); }
  50% { box-shadow: 0 18px 42px rgba(26, 123, 181, .55); }
}

@keyframes liquidLight {
  0% { transform: translateX(-120%) scale(1.2); opacity: 0; }
  25% { opacity: .85; }
  55% { transform: translateX(120%) scale(1.2); opacity: 0; }
  100% { transform: translateX(120%) scale(1.2); opacity: 0; }
}

@keyframes bagWiggle {
  0% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(-3px) rotate(-10deg); }
  70% { transform: translateY(1px) rotate(7deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* ===== محتوى البطاقة ===== */
.s-product-card-content {
  display: flex;
  place-content: center;
  align-items: center;
}

.s-product-card-content-title a {
  display: block;
  font-size: 16px;
  color: #0C5782;
}

.s-product-card-content-sub {
  display: flex;
  justify-content: center;
  align-items: center;
}

.s-product-card-price {
  color: #000000;
  font-weight: 700;
  font-size: 21px;
  transition: color 0.3s ease;
}

/* ===== تعديل الموبايل ===== */
@media (max-width: 768px) {
  .s-product-card-content-title a {
    font-size: 14px;
    text-align: center;
    word-break: break-word;
    display: block;
  }
}
@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;

}
#main-content > section:nth-child(8) > div > a:nth-child(1) {
    height: 300px;
}
#main-content > section:nth-child(8) > div > a:nth-child(2) {
    height: 300px;
}
#main-content > section:nth-child(5) {
    margin-top: -60px;
}
#main-content > section:nth-child(4) {
    margin-top: -40px;
}
}

@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;
    grid-auto-flow: dense !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 {
    grid-row: 1 / 2 !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;
  }
}