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

/* أول بانر بس من غير مارجن توب وياخد فول ويدث */
section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1) > .container {
  margin-top: 0;
  max-width: 100%;
}

/* الكونتينر داخل البانر ياخد كامل العرض */
.index section.s-block.s-block--fixed-banner.wide-placeholder > .container {
  max-width: 100%;
  padding: 0;
}
.square-photos-grid.square-photos-grid--featured-5.grid.grid-flow-row.gap-3.sm\:gap-8 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.square-photos-grid--featured-5>.banner-entry:first-child {
    grid-column: span 1/span 2;
}
.banner-entry {
    height: 72px;
}
.square-photos-grid--featured-3>.banner-entry:first-child, .square-photos-grid--featured-5>.banner-entry:first-child {
    grid-row: span 1/span 2;
    height: 44%;
    padding: 1.25rem;
}
#main-content > section:nth-child(9) > div > a:nth-child(1) {
    height: 310px;
}
#main-content > section:nth-child(9) > div > a:nth-child(2) {
    height: 310px;
}
#slider-with-bg-6 > div.s-slider-block__title {
    display: none;
}
#best-offers-6-slider {
    margin-top: -5%;
}
/* ===== بطاقة المنتج ===== */
.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: #1470B1;
  box-shadow: 0 18px 45px rgba(20, 112, 177, 0.22);
}

/* تكبير الصورة عند 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: #1470B1;
}

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

/* تغيير زر الإضافة عند hover */
.s-product-card-entry:hover .s-product-card-content-footer .s-button-element:not(.s-button-disabled) {
  background: linear-gradient(90deg, #1470B1, #3ba2af);
  border-color: #1470B1;
  color: #fff;
}

/* ===== الزرار فقط (تدرج أفقي ناعم وانسيابي) ===== */
.s-button-primary-outline.s-button-btn {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: none;
  background: linear-gradient(90deg, #1470B1 0%, #2589bd 45%, #50B7B2 100%);
  background-size: 200% auto;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 12px 30px rgba(20, 112, 177, 0.32);
  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(20, 112, 177, 0.48);
  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%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes buttonPulseGlow {
  0%, 100% { box-shadow: 0 12px 30px rgba(20, 112, 177, .32); }
  50% { box-shadow: 0 18px 42px rgba(80, 183, 178, .45); }
}

@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: #1470B1;
}

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

/* ===========================
   صندوق المميزات – تصميم متقدم
=========================== */
.s-block--features__item {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 1;
  border: 2px solid #1470B1;
}

/* طبقة خلفية متحركة داخل الصندوق */
.s-block--features__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #1470B1, #50B7B2, #1470B1, #50B7B2);
  background-size: 200% 200%;
  z-index: 0;
  border-radius: 16px;
  transition: opacity 0.5s ease;
  opacity: 0;
  animation: bgMove 6s linear infinite;
}

/* حركة الخلفية داخل الصندوق */
@keyframes bgMove {
  0% { background-position: 0% 0%; }
  25% { background-position: 50% 50%; }
  50% { background-position: 100% 0%; }
  75% { background-position: 50% 50%; }
  100% { background-position: 0% 0%; }
}

/* هوفر الصندوق */
.s-block--features__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(20, 112, 177, 0.25);
}

.s-block--features__item:hover::before {
  opacity: 0.25; /* ظهور الخلفية المتحركة بهدوء وبشكل خفيف */
}

/* الأيقونة */
.s-block--features__item .feature-icon {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(20, 112, 177, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.s-block--features__item:hover .feature-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 6px 20px rgba(20, 112, 177, 0.35);
}

.s-block--features__item .feature-icon i {
  font-size: 2rem;
  color: #1470B1;
  transition: transform 0.4s ease;
}

/* النصوص */
.s-block--features__item h2 {
  position: relative;
  z-index: 2;
  color: #1470B1;
  margin-top: 12px;
  font-size: 1.3rem;
  font-weight: 600;
  transition: color 0.3s ease;
  text-align: center;
}

.s-block--features__item p {
  position: relative;
  z-index: 2;
  color: #334155;
  margin-top: 6px;
  font-size: 1rem;
  transition: color 0.3s ease;
  text-align: center;
}

/* ===========================
   Media Query للموبايل
=========================== */
@media (max-width: 768px) {
  .s-block--features__item {
    padding: 20px 15px;
  }

  .s-block--features__item .feature-icon {
    width: 50px;
    height: 50px;
  }

  .s-block--features__item .feature-icon i {
    font-size: 1.5rem;
  }

  .s-block--features__item h2 {
    font-size: 1.1rem;
  }

  .s-block--features__item p {
    font-size: 0.9rem;
  }
}

.store-footer {
 background-color: #1470B1;             /* إضافة بعض الهوامش للفوتر */
}
.store-footer__inner {
 background-color: #1470B1;             /* إضافة بعض الهوامش للفوتر */
}
.copyright-text p {
    color: rgb(255 255 255);
}
@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(9) > div > a:nth-child(1) {
    height: 212px;
}
#main-content > section:nth-child(9) > div > a:nth-child(2) {
    height: 200px;
}
.square-photos-grid.square-photos-grid--featured-5.grid.grid-flow-row.gap-3.sm\:gap-8 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.banner-entry {
    height: 50px;
}
}

@media (max-width: 767px) {
  /* توسيط شعار الفوتر */
  #app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 > img {
    margin-right: auto !important;
    margin-left: auto !important;
    display: block !important;
  }

  /* توسيط الروابط */
  a.flex.items-center.m-0 {
    align-items: center !important;
    justify-content: center !important;
  }

  /* توسيط النص الوصفي */
  .max-w-sm.leading-6.mb-6 {
    text-align: center !important;
    margin-inline: auto !important;
  }

  /* عناوين الأقسام في الفوتر */
  .store-footer h3 {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    line-height: 1.75rem !important;
    margin-bottom: .75rem !important;
    text-align: center !important;
  }

  /* قوائم الروابط */
  .s-menu-footer-list {
    align-items: center !important;
    text-align: center !important;
  }

  /* عناصر الاتصال */
  .s-contacts-item {
    display: flex !important;
    align-items: center !important;
    font-size: 0.875rem !important;
    line-height: 1 !important;
    justify-content: center !important;
  }

  /* أيقونات التواصل الاجتماعي */
  .s-social-list {
    display: flex !important;
    gap: 0.625rem !important;
    justify-content: center !important;
  }
}