/* Add custom CSS styles below */ 

/* ==========================================
   1. تعديل وتوحيد ألوان أيقونات طرق الدفع (طراز عساف)
   ========================================== */

/* استهداف الحاوية الخارجية لأيقونات الدفع في سلة وفي الكود المخصص */
.payment-methods-container,
.s-footer-payment,
.footer-payment,
.s-footer-payment-icons,
salla-footer .payment-icons {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 15px 0 !important;
  background: transparent !important;
}

/* اجبار الكروت وأيقونات سلة الافتراضية على الظهور بخلفية بيضاء منحنية */
.payment-card,
.s-footer-payment img,
.s-footer-payment svg,
.footer-payment img,
.footer-payment svg,
.s-footer-payment-icons img,
salla-footer .payment-icons img,
salla-footer .payment-icons svg {
  background-color: #ffffff !important; /* لون الخلفية الأبيض */
  background: #ffffff !important;
  border-radius: 10px !important; /* انحناء الحواف */
  padding: 4px 8px !important; /* المسافة الداخلية */
  height: 32px !important; /* ارتفاع الكرت */
  width: auto !important;
  min-width: 48px !important;
  max-width: 65px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important; /* ظل خفيف جداً */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  object-fit: contain !important;
  border: 1px solid #ffffff !important;
}

/* ضبط الصور داخل الكروت المخصصة */
.payment-card img {
  max-height: 22px !important;
  width: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
}


/* ==========================================
   2. باقي أكواد المتجر
   ========================================== */
.s-product-card-fit-height .s-product-card-image { 
  height: 15rem; 
  max-height: 17rem; 
}

.s-block--categories .swiper.s-slider-container {
  overflow: hidden !important;
  padding: 0 !important;
}

.s-block--categories .swiper-wrapper.s-slider-swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: 100% !important;
}

.s-block--categories .swiper-slide.slide--one-sixth {
  margin: 0 !important;
  order: unset !important;
}

.s-block--categories .slide--cat-entry {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: auto !important;
  width: auto !important;
  min-height: unset !important;
  max-height: unset !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.s-block--categories .slide--cat-entry img {
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin: 0 auto !important;
  display: block !important;
}

.s-block--categories .slide--cat-entry h2 {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: 14px !important;
}

.s-block--categories .swiper-slide a {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  height: auto !important;
  width: 100% !important;
  min-height: unset !important;
  max-height: unset !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  border-radius: 0 !important;
}

.s-block--categories .swiper-slide:hover a,
.s-block--categories .swiper-slide a:hover,
.s-block--categories .swiper-slide a:focus,
.s-block--categories .swiper-slide a:active,
.s-block--categories .swiper-slide a:visited {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.s-block--categories .swiper-notification {
  display: none !important;
}

.s-block--categories .s-slider-block__title {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
  padding: 0 !important;
  margin-bottom: 35px !important;
}

.s-block--categories .s-slider-block__title-right {
  width: 100% !important;
  text-align: center !important;
}

.s-block--categories .s-slider-block__title-right h2 {
  text-align: center !important;
  width: 100% !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.s-block--hero-slider .s-slider-nav-arrow,
.s-block--hero-slider .s-slider-block__title-nav,
.s-block--hero-slider .s-slider-button-icon,
.s-block--hero-slider .s-slider-prev,
.s-block--hero-slider .s-slider-next {
  display: none !important;
}

@media (max-width: 1200px) {
  .s-block--categories .slide--cat-entry img {
    width: 80px !important;
    height: 80px !important;
  }
}

@media (max-width: 1024px) {
  .s-block--categories .slide--cat-entry img {
    width: 75px !important;
    height: 75px !important;
  }
}

@media (max-width: 768px) {
  .s-block--categories .s-slider-block__title-right h2 {
    font-size: 24px !important;
  }

  .s-block--categories .s-slider-block__title {
    margin-bottom: 25px !important;
  }

  .s-block--categories .swiper-slide.slide--one-sixth {
    width: 25% !important;
    min-width: 25% !important;
    max-width: 25% !important;
  }

  .s-block--categories .slide--cat-entry img {
    width: 65px !important;
    height: 65px !important;
  }

  .s-block--categories .slide--cat-entry h2 {
    font-size: 11px !important;
  }

  .s-block--categories .slide--cat-entry {
    gap: 6px !important;
  }
}

@media (max-width: 480px) {
  .s-block--categories .swiper-slide.slide--one-sixth {
    width: 30% !important;
    min-width: 30% !important;
    max-width: 30% !important;
  }

  .s-block--categories .slide--cat-entry img {
    width: 60px !important;
    height: 60px !important;
  }

  .s-block--categories .slide--cat-entry h2 {
    font-size: 10px !important;
  }
}

.s-products-slider-card {
  max-width: 205px;
}

.s-button-primary-outline {
  border-radius: 0rem;
  background-color: #000000;
  color: #f5f5f5;
}

.s-button-primary-outline:hover {
  border-radius: 0rem;
  border-color: currentColor;
  background-color: #f5f5f5;
  color: #000000;
}

.s-menu-footer-list {
  columns: 2;
}

@media (max-width: 480px) {
  .s-block--categories .slide--cat-entry h2 {
    font-size: 13px !important;
  }
}

@media (max-width: 1024px) {
  salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *) {
    padding: 0.3rem;
  }
}

.md\:flex.items-center.justify-between.py-4.container.text-center {
  background-color: #000000;
}

.copyright-text p {
  color: rgb(255 255 255);
}

.lp-container.row {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 1.5rem;
}

h3.sub.sub-menu {
  font-size: 0.675rem;
}

/* تغيير لون خلفية الصفحات والجسم الرئيسي للمتجر */
body, 
.main-content, 
.site-content,
main {
  background-color: #ffffff !important;
}

/* تغيير لون خلفية أسفل الصفحة (الفوتر) */
footer, 
.store-footer, 
.footer-main {
  background-color: #ffffff !important;
}

/* توحيد خلفيات القوائم والأقسام */
.bg-white, 
.section-header, 
.product-card {
  background-color: #ffffff !important;
}

/* تغيير خلفية زر الإضافة ولون الحدود والنص */
salla-add-product-button button,
.s-product-card-btn,
salla-button.btn-add-to-cart,
.btn-add-to-cart {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

salla-add-product-button button *,
salla-button.btn-add-to-cart * {
  color: #ffffff !important;
}

/* استهداف الفوتر فقط باللون الأسود */
salla-footer,
.store-footer,
footer,
.footer-main,
.footer {
  background-color: #000000 !important;
  background: #000000 !important;
}