/* === إعدادات الخلفية === */
#app {
  background-color: #E4DCCE; /* تحديد اللون الخلفي للصفحة */
}

.banner--fixed img {
  background-color: #E4DCCE; /* تحديد لون الخلفية للصور الثابتة في الشريط العلوي */
}

.lazy__bg.lazy.bg-no-repeat.entered.loaded {
  background-color: #E4DCCE; /* تحديد الخلفية للأغراض المحملة */
}

/* === صندوق المميزات – تصميم متقدم === */
.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 #71594D; /* تعديل الحدود بلون الهوية */
}

/* === طبقة خلفية متحركة داخل الصندوق === */
.s-block--features__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #71594D, #A57C61, #71594D, #A57C61); /* تحديد ألوان الخلفية المتدرجة */
  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(113, 89, 77, 0.3); /* تعديل تأثير الظل */
}

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

/* === الأيقونة بلون مميز عن الخلفية === */
.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(113, 89, 77, 0.2); /* تأثير الظل للأيقونة */
  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(113, 89, 77, 0.35); /* تعديل تأثير الظل للأيقونة */
}

.s-block--features__item .feature-icon i {
  font-size: 2rem;
  color: #71594D; /* لون الأيقونة */
  transition: transform 0.4s ease;
}

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

.s-block--features__item p {
  position: relative;
  z-index: 2;
  color: #71594D; /* لون النص */
  margin-top: 6px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

/* === استعلامات الوسائط للموبايل === */
@media screen and (max-width: 768px) {
  /* تعديل حجم الصندوق على الموبايل */
  .s-block--features__item {
    padding: 15px; /* تقليل الحشو */
    border-radius: 12px; /* تقليل حواف الصندوق */
  }

  /* تعديل حجم الأيقونة على الموبايل */
  .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; /* تقليل حجم العنوان */
    margin-top: 8px; /* تقليل المسافة العليا */
  }

  .s-block--features__item p {
    font-size: 0.9rem; /* تقليل حجم النص */
    margin-top: 4px; /* تقليل المسافة العليا */
  }
}

@media screen and (max-width: 767px) {
  /* تعديل حجم الصندوق على الموبايل */
  .s-block--features__item {
    padding: 10px; /* تقليل الحشو أكثر */
    border-radius: 10px; /* تقليل حواف الصندوق */
  }

  /* تعديل حجم الأيقونة على الموبايل */
  .s-block--features__item .feature-icon {
    width: 45px;
    height: 45px;
  }

  .s-block--features__item .feature-icon i {
    font-size: 1.3rem; /* تقليل حجم الأيقونة أكثر */
  }

  /* تعديل النصوص */
  .s-block--features__item h2 {
    font-size: 1rem; /* تقليل حجم العنوان */
    margin-top: 6px; /* تقليل المسافة العليا */
  }

  .s-block--features__item p {
    font-size: 0.85rem; /* تقليل حجم النص */
    margin-top: 2px; /* تقليل المسافة العليا */
  }
}

/* === إعدادات الشريط الثابت === */
.banner-entry {
  height: 510px; /* ارتفاع الشريط الثابت */
}

section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1) > .container {
  max-width: 100%;
  margin-top: 0;
  padding: 0;
}

section.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
  height: 100%;
  overflow: hidden;
}

/* === تخصيص لقائمة الديسكتوب فقط === */
@media screen and (min-width: 1024px) {
  div#mainnav {
    background-color: transparent; /* شفافية خلفية القائمة */
  }

  .navbar-brand img {
    max-height: 5rem; /* تحديد الحد الأقصى للارتفاع لصورة الشعار */
  }

  /* تخصيص للصندوق الثابت في الصفحة */
  section.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
       margin-top: -134px;
    height: 100%; /* تحديد ارتفاع 100% */
    overflow: hidden; /* إخفاء المحتوى الزائد */
  }
}

/* === صندوق المنتج === */
.s-product-card-entry {
  border-radius: 18px;
  overflow: hidden;
  background: #fff; /* خلفية بيضاء للصندوق */
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  border: 1px solid #f1f1f1;
}

/* === صورة المنتج === */
.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: #000000; /* لون النص للسعر */
  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;
}

/* === هوفر الصندوق === */
.s-product-card-entry:hover {
  transform: translateY(-8px);
  border-color: #71594D; /* تغيير اللون للهوية الجديدة */
  box-shadow: 0 18px 45px rgba(113, 89, 77, 0.25);
}

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

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

/* === تغيير لون السعر عند الهوفر === */
.s-product-card-entry:hover 
.s-product-card-price {
  color: #71594D;
}

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

/* === زر الإضافة الأساس === */
.s-button-primary-outline.s-button-btn {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: none;
  background: linear-gradient(120deg, #71594D, #A57C61, #71594D);
  background-size: 300% 300%;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 12px 30px rgba(113, 89, 77, 0.35);
  animation: 
    gradientFlow 6s ease infinite,
    breatheGlow 3.5s ease-in-out infinite;
  transition: transform .4s ease, box-shadow .4s ease;
}

/* === طبقة اللمعة المتحركة في زر الإضافة === */
.s-button-primary-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  animation: shimmerMove 4.5s infinite;
}

/* === الأيقونة داخل الزر === */
.s-button-primary-outline .sicon-shopping-bag {
  margin-left: 6px;
  animation: iconFloat 2.8s ease-in-out infinite;
}

/* === تأثير الهوفر على زر الإضافة === */
.s-button-primary-outline:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 25px 60px rgba(113, 89, 77, 0.6);
}

/* تسريع اللمعة في زر الإضافة */
.s-button-primary-outline:hover::before {
  animation-duration: 1.5s;
}

/* === تحريك الأيقونة في الزر عند الهوفر === */
.s-button-primary-outline:hover .sicon-shopping-bag {
  animation: iconJump .6s ease;
}

/* === تأثير النقر على زر الإضافة === */
.s-button-primary-outline:active {
  transform: scale(.95);
}

/* === الأنيميشن لتأثيرات الألوان المتدرجة === */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes breatheGlow {
  0% { box-shadow: 0 10px 25px rgba(113, 89, 77, .35); }
  50% { box-shadow: 0 18px 45px rgba(113, 89, 77, .6); }
  100% { box-shadow: 0 10px 25px rgba(113, 89, 77, .35); }
}

@keyframes shimmerMove {
  0% { left: -150%; }
  100% { left: 150%; }
}

@keyframes iconFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes iconJump {
  0% { transform: translateX(0); }
  50% { transform: translateX(-6px) rotate(-10deg); }
  100% { transform: translateX(0); }
}

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

.s-product-card-content-title a {
  display: block;
  font-size: 16px;
  color: #71594D; /* تعديل اللون هنا */
}

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

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

/* === إعدادات الشهادات والتقييمات === */
.s-reviews-testimonial {
  background-color: #E9E3D8;
  border-radius: 13px;
}

/* === تذييل الموقع === */
.store-footer__inner {
  background-color: #71594D; /* لون التذييل */
}

.store-footer {
  background-color: #71594D; /* لون التذييل */
}

/* === تخصيص لقائمة الموبايل === */
@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;
}
.bg-inherit {
    background-color: #987A62;
}
section.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
    margin-top: 0px;
}
}