/* Add custom CSS styles below */
/* Coded with ♥ by osamah dayaa */
/* Report me if you find any bugs */

/* Body */
#mainnav,
#mainnav .sub-menu,
.top-navbar,
body {

  background-color: #FFFFFF;
}

/* Header *//*
.s-block--photos-slider {
  margin: 0;
}
*/
.s-block--photos-slider .s-slider-block__title {
  display: none;
}

salla-slider.photos-slider .swiper-slide,
[dir="rtl"] salla-slider.photos-slider .swiper {
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Title *//*
.s-slider-block__title {
  display: none;
}*/

/* Fixed Banner */
.s-block--fixed-banner {
  margin: 0;
}
.banner--fixed img {
  margin: 1rem auto;
  background-color: transparent;
}/*
.s-block--banners {
  margin: 0 auto;
}*/

/* Products */
salla-product-card,
custom-salla-product-card {
  border: 3px solid var(--color-primary);
}
.s-block--features + .s-block--features,
.s-block--fixed-banner + .s-block--fixed-banner,
.s-block--banners + .s-block--banners {
  margin-top: 0 !important;
}
.one-row .banner-entry,
.two-row .banner-entry,
.one-row .banner-entry:first-child,
.two-row .banner-entry:first-child {
  height: 300px;
  grid-column: span 1;
  grid-row: span 1;
  background-color: transparent;
}
a.banner-entry.square-photos:hover {
  transform: scale(1.1);
  transition: transform 1s ease;
}
.s-block--best-offers {
  margin: 1rem auto !important;
}
.md\:grid-cols-3 {
  margin: 1rem auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.banner-entry .lazy__bg {
  background-size: contain;
  background-repeat: no-repeat;
}
.s-button-primary,
.s-button-primary-outline {
  fill: white;
  color: white;
  padding:0.5rem 1rem;
  border-color: var(--color-primary);
  background-color:var(--color-primary);
}

/* ================= Footer ================= */
.store-footer,
.store-footer .store-footer__inner {
  background-color: #fff !important; /* أبيض مثل الصورة */
  color: #000 !important;
  padding: 2rem 1rem;
  border-top: 2px solid #f44336; /* خط علوي أحمر */
  border-radius: 40px 40px 0 0; /* زوايا دائرية */
}

/* الروابط */
.store-footer a {
  color: #000 !important;
  text-decoration: none;
  transition: 0.3s;
}
.store-footer a:hover {
  color: #f44336 !important; /* أحمر عند الهوفر */
}

/* العناوين */
.store-footer h4,
.store-footer h5 {
  font-weight: bold;
  margin-bottom: 1rem;
}

/* أيقونات التواصل */
.store-footer .social-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 1rem 0;
}
.store-footer .social-icons a {
  background: #f44336;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  font-size: 18px;
  transition: 0.3s;
}
.store-footer .social-icons a:hover {
  background: #000;
}

/* النصوص الصغيرة مثل موثق في منصة الأعمال *//*
.business-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 2rem;
}
.business-wrapper p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #000;
}
*/
/* الحقوق *//*
footer .copyright-text p,
footer .copyright-text p a {
  color: #555 !important;
  font-size: 0.85rem;
  margin-top: 1rem;
}*/

/* Media Queries */
@media (max-width: 768px) {
  .one-row .banner-entry,
  .two-row .banner-entry,
  .one-row .banner-entry:first-child,
  .two-row .banner-entry:first-child {
    height: 130px;
  }
  .s-products-slider-card {
    width: 60%;
  }
  .md\:grid-cols-3 {
    margin: 1rem auto !important;
  }
  footer * {
    text-align:center;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .store-footer .social-icons {
    justify-content: center;
  }
}

/* تأثير البانرات */
.banner-entry  {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  transition: 0.5s;
}
.banner-entry::after {
  content: '';
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.25);
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.banner-entry:hover::after {
  animation: flashing 0.5s linear;
}

@keyframes flashing {
  0%, 50% {
    opacity: 1;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}



/* خلفية بيضاء للقسم كامل */
.s-block--logos-slider.s-block--full-bg {
  background: #fff !important;
  border-radius: 12px;
  padding: 20px;
}

/* عرض الماركات بخط واحد قابل للتمرير */
.s-block--logos-slider .grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.s-block--logos-slider .grid::-webkit-scrollbar { display: none; }

/* كل شعار */
.s-block--logos-slider .brand-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* الصور نفسها */
.s-block--logos-slider .brand-item img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  opacity: 0.9;
  transition: .3s;
}
.s-block--logos-slider .brand-item img:hover {
  opacity: 1;
  transform: scale(1.05);
}