body#app {
  background-color: white;
}
.banner--fixed img {
  background-color: rgb(255 255 255);
}
.lazy__bg.lazy.bg-no-repeat.entered.loaded {
    background-color: #F3E6E8;
}
/* --------------------------------- 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;
}
.s-block__title {
    align-items: center;
    display: flex;
    justify-content: center;
}
.s-block__title h2 {
    font-size: 25px;
    color: #540A17;
}
#main-content > section:nth-child(4) {
    background-color: #F3E6E8;
    max-width: 100%;
    padding: 9%;
}

@media (min-width: 768px) {
    .square-photos-grid--featured-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  .banner-entry {
    height: 325px;
}
}

@media (max-width: 768px) {
    
  .banner-entry {
    height: 250px;
}
}

@media (min-width: 768px) {
  /* جعل الشبكة 3 أعمدة متساوية تماماً وبصف واحد فقط */
  .square-photos-grid--featured-3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 1.25rem !important;
  }

  /* توحيد كل العناصر وإلغاء أي تمدد أو مساحة إضافية للأول */
  .square-photos-grid--featured-3 > .banner-entry,
  .square-photos-grid--featured-3 > *:first-child {
    grid-row: 1 !important;
    grid-column: auto !important;
    grid-area: auto !important;
    height: 320px !important; /* ارتفاع متناسق ومضبوط، يمكنك تعديله */
    min-height: 320px !important;
    padding: 0 !important;
  }

  /* ملء الصور داخل البانر */
  .square-photos-grid--featured-3 > .banner-entry a,
  .square-photos-grid--featured-3 > .banner-entry img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}
section.s-block--fixed-banner[component-id="1664165078"] > .container { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
#main-content > section:nth-child(5) > div > a:nth-child(1) {
    height: 325px;
}
#main-content > section:nth-child(5) > div > a:nth-child(2) {
    height: 325px;
}
/* ===== بطاقة المنتج ===== */
.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: #540a17;
  box-shadow: 0 18px 45px rgba(84, 10, 23, 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: #540a17;
}

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

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

/* ===== الزرار فقط ===== */
.s-button-primary-outline.s-button-btn {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #540a17, #7c1426, #6b1020, #540a17);
  background-size: 350% 350%;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 12px 30px rgba(84, 10, 23, 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(84, 10, 23, 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(84, 10, 23, .35); }
  50% { box-shadow: 0 18px 42px rgba(124, 20, 38, .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: #540a17;
}

.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 (min-width: 1024px) {

  .index .flex.items-stretch.justify-between.relative {
    margin-top: 80px;
  }

  .main-menu .sub-menu {
    background-color: rgb(255 255 255 / 0%);
  }

  /* دمج الناف بار مع أول بانر */
  .index section.s-block--fixed-banner:nth-of-type(1) {
    position: relative !important;
  }

  /* جعل الناف بار فوق أول بانر بخلفية شفافة */
  .index #mainnav {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 9999 !important;
  }

  /* إزالة أي خلفية داخلية */
  .index #mainnav .inner,
  .index #mainnav .container {
    background: transparent !important;
    box-shadow: none !important;
  }

  .index .header-btn__icon,
  .index .s-cart-summary-icon,
  .index .icon.sicon-shopping-bag {
    font-size: 26px;
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    color: #ffffff; /* لون افتراضي يناسب الخلفية الغامقة */
    filter: drop-shadow(0 0 0 rgba(0,0,0,0)); /* بدون glow افتراضي */
  }

  /* Hover effect خفيف وسلس */
  .index .header-btn:hover .header-btn__icon,
  .index .s-cart-summary-wrapper:hover .s-cart-summary-icon,
  .index .s-cart-summary-wrapper:hover .icon.sicon-shopping-bag {
    color: #D9E8F2; /* أبيض مائل لدرجة فاتحة من الهوية */
    transform: scale(1.08); /* تكبير خفيف جدًا */
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); /* glow خفيف */
    animation: pulseGlowSmooth 1.5s infinite ease-in-out;
  }

  /* ===========================
     أيقونة User Menu – hover خفيف وسلس
  =========================== */
  .index .s-user-menu-login-btn svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease, filter 0.3s ease, fill 0.3s ease;
    cursor: pointer;
    fill: #ffffff; /* اللون الافتراضي يناسب الخلفية الغامقة */
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  }

  /* Hover effect */
  .index .s-user-menu-login-btn:hover svg {
    transform: scale(1.08); /* تكبير خفيف جدًا */
    fill: #D9E8F2; /* أبيض مائل لدرجة فاتحة */
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); /* glow خفيف */
    animation: pulseGlowUser 1.5s infinite ease-in-out;
  }

  .index .navbar-brand img {
    max-width: 5rem;
    max-height: 5rem;
  }

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

  .index .main-menu li.root-level {
    color: white;
  }

}

/* الـ keyframes برا الميديا كويري، بس عمليًا هتشتغل بس على الديسكتوب
   لأن العناصر المرتبطة بيها أصلاً جوه الميديا كويري فوق */
@keyframes pulseGlowSmooth {
  0%   { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  50%  { filter: drop-shadow(0 0 6px rgba(255,255,255,0.4)); }
  100% { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
}

@keyframes pulseGlowUser {
  0%   { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  50%  { filter: drop-shadow(0 0 6px rgba(255,255,255,0.4)); }
  100% { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
}
.footer-is-light .store-footer .store-footer__inner {
    background-color: #F3E6E8;
}
.footer-is-light .store-footer {
    background-color: #F3E6E8;
}
@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: 767px) {
 .square-photos-grid--featured-3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 1.25rem !important;
  }

.grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.s-block__title h2 {
    font-size: 15px;
    color: #540A17;
}
#main-content > section:nth-child(5) > div > a:nth-child(1) {
    height: 210px;
}
#main-content > section:nth-child(5) > div > a:nth-child(2) {
    height: 210px;
}
}



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;
}