/* استيراد أيقونات FontAwesome */
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css);

/* إعدادات أساسية للجسم */
body {
  background: #f9fafc;
}

/* تعديل الهيدر الثابت */
section.s-block.s-block--fixed-banner:nth-of-type(1) {
  margin-top: 0rem;
}
section.s-block.s-block--fixed-banner .container {
  max-width: 100%;
  padding: 0;
}

/* خلفيات شفافة لبعض العناصر */
.banner--fixed img,
.s-product-card-image,
.s-user-menu-trigger,
.s-comments.s-comments-product {
  background: #fff0;
}

/* محاذاة للنصوص داخل بعض المكونات */
.s-product-card-content-title a,
.s-product-card-content-subtitle,
.store-footer__inner * {
  text-align: center;
}

/* تصميم محتوى كروت المنتجات */
.s-product-card-content-sub {
  width: 80%;
  margin-bottom: 0;
  padding-right: 15px;
}
.s-product-card-content-footer {
  width: 20%;
}
.s-product-card-content {
  flex-wrap: wrap;
  flex-direction: row;
  padding: 1.25rem 0 0;
}
.s-product-card-content-main {
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 1px solid #22a9df;
}
.s-product-card-vertical {
  border: 2px solid #22a9e0;
}

/* عنوان سلايدر */
.s-slider-block__title h2 {
  color: #4e879e;
  padding: 0;
}

/* إخفاء بعض العناصر */
.s-product-card-content-footer .s-button-text > span,
.s-slider-block__title-nav button,
p.s-cart-summary-content,
.slide--cat-entry h2,
section.s-block.s-block--banners:has(div[data-bg*="1VN8M8BU68X81fF78JAi9.png"]),
section.s-block.s-block--banners:has(div[data-bg*="ow8h0884sMrp.png"]) {
  display: none;
}

/* زر السلة (تعديل التصميم) */
button.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
  border: 0;
  border-right: 1px solid #22aae1;
  border-radius: 0 0 0 10px;
  padding-right: .5rem;
  padding-left: .5rem;
}
button.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center:hover {
  color: #fff;
  opacity: 1;
}

/* أيقونة حقيبة التسوق */
.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center .sicon-shopping-bag:before {
  content: "\f07a";
  font-family: FontAwesome;
}

/* تعديل الفوتر */
.store-footer__inner .container > div:nth-of-type(1) {
  padding-left: 0;
  grid-column: span 1 / span 2;
}
.store-footer__inner .container > div:nth-of-type(1) h3 {
  margin: 0 auto 10px;
}
.store-footer__inner salla-social.s-social-list {
  justify-content: center;
}
.store-footer__inner .s-contacts-list.s-contacts-list-vertical {
  align-items: center;
}
.store-footer__inner {
  background-color: #26a4dd !important;
}

/* إزالة الظلال من بعض الحاويات */
.main-nav-container {
  box-shadow: none;
}
.cart section.cart-item,
.content.content--single-page {
  box-shadow: rgb(99 99 99 / .2) 0 2px 8px 0;
}
.store-footer__inner .grid > div:nth-of-type(1) p {
  margin: 10px auto;
}

/* إعدادات شعار النافبار */
.navbar-brand img {
  max-height: 4rem !important;
}

/* إعدادات شريط البحث */
.top-navbar .s-search-input {
  background-color: #fff !important;
  border-radius: 5px !important;
  color: #000 !important;
}

/* أزرار CTA */
button.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
  color: #fff;
}

/* خلفية النافبار */
.top-navbar {
  background-color: #26a4dd !important;
}

/* الروابط في القائمة الرئيسية */
.main-menu li.root-level > a {
  color: #51b7eb;
}
i.header-btn__icon {
  border: none;
  color: #51b7eb;
}

/* شبكات البانرات */
section.s-block.s-block--banners .grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.two-row .banner-entry:first-child {
  grid-row: span 1 / span 1;
}

/* تصميم صور البانر */
a.banner-entry.square-photos {
  background: #fff0;
  height: 150px;
  transition: transform .5s ease-in-out;
}
a.banner-entry.square-photos:hover {
  transform: scale(.95);
}

/* الفوتر العام */
footer.store-footer {
  background-color: #26a4dd;
}
.copyright-text p,
.copyright-text a {
  color: #fff !important;
}

/* زر معطل */
button.s-button-outline.s-button-wide.s-button-light-outline.s-button-disabled {
  border: none;
  border-radius: 0 0 0 10px;
  border-right: 1px solid #22a9e0;
  opacity: 1;
  background: #fff0;
}
salla-add-product-button:has(button.s-button-outline.s-button-wide.s-button-light-outline.s-button-disabled) {
  cursor: no-drop;
}
button.s-button-outline.s-button-wide.s-button-light-outline.s-button-disabled span.s-button-text {
  font-size: 0;
}
button.s-button-outline.s-button-wide.s-button-light-outline.s-button-disabled::after {
  content: "\f05e";
  font-family: FontAwesome;
}

/* إعدادات السلايدر */
salla-slider .slide--one-sixth {
  width: 33.33%;
}

/* تصميم أيقونات الفئات */
.slide--cat-entry i {
  color: #fff0;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  background-size: 21rem;
  background-position: center;
  background-repeat: no-repeat;
}
a.slide--cat-entry {
  padding: 0;
  background: #fff0;
  border: none;
  height: 15rem;
  box-shadow: none !important;
  transition: transform .5s ease-in-out;
}
a.slide--cat-entry:hover {
  transform: scale(1.05);
}

/* صور الخلفيات المخصصة للفئات */
.slide--one-sixth:nth-of-type(1) .slide--cat-entry i {
  background-image: url(https://cdn.salla.sa/ydXazN/eKlEF7p7OBID23obGoMulQm9HXXFsLgl5DuniwJr.png);
}
.slide--one-sixth:nth-of-type(2) .slide--cat-entry i {
  background-image: url(https://cdn.salla.sa/form-builder/GvqWEYxiWp80qB3LP2PdNLZjCvKGjNX11DXXHxrE.png);
}
.slide--one-sixth:nth-of-type(3) .slide--cat-entry i {
  background-image: url(https://cdn.salla.sa/form-builder/SkyOEi8e7QwHQfvgXFzDeo3XqADzFp5emTd986BC.png);
}
.slide--one-sixth:nth-of-type(4) .slide--cat-entry i {
  background-image: url(https://cdn.salla.sa/ydXazN/YpjJfQfJ55QhXEdaARszkRWYBg4uFG8dZvn0SaAH.png);
}
.slide--one-sixth:nth-of-type(5) .slide--cat-entry i {
  background-image: url(https://cdn.salla.sa/form-builder/wcMsLOSWeXkRkinLb6K0aHuBp5MuFbyW5QsaTjam.png);
}
.slide--one-sixth:nth-of-type(6) .slide--cat-entry i {
  background-image: url(https://cdn.salla.sa/ydXazN/mssEzVj41F9nWhqHUM5ANib18nHAJ9UDu5cdEikE.png);
}
.slide--one-sixth:nth-of-type(7) .slide--cat-entry i {
  background-image: url(https://cdn.salla.sa/form-builder/kTLeb8WdVOQDorVjPAgQwO4IW9kzow8h0884sMrp.png);
}

/* ميديا كويري: شاشات أكبر من 992px */
@media (min-width: 992px) {
  .store-footer__inner .container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ميديا كويري: شاشات أصغر من 992px */
@media (max-width: 992px) {
  i.sicon-menu {
    color: #26a4dd;
  }
  section.s-block.s-block--banners a.banner-entry {
    height: 96px;
  }
  .slide--cat-entry i {
    background-size: 15rem;
  }
}

/* ميديا كويري: شاشات أصغر من 600px */
@media (max-width: 600px) {
  a.banner-entry.square-photos {
    height: 80px !important;
  }
  section.s-block.s-block--banners .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  salla-slider .slide--one-sixth {
    width: 50%;
  }
  a.slide--cat-entry {
    height: 9.5rem;
  }
  .slide--cat-entry i {
    background-size: 13rem;
  }
}

/* ميديا كويري: شاشات أصغر من 400px */
@media (max-width: 400px) {
  salla-slider .slide--one-sixth {
    width: 61%;
  }
  salla-products-list .s-product-card-sale-price h4,
  salla-products-list .s-product-card-sale-price span {
    font-size: .75rem;
  }
}

/* ميديا كويري: شاشات أصغر من 350px */
@media (max-width: 350px) {
  a.slide--cat-entry {
    height: 8.5rem;
  }
  .slide--cat-entry i {
    background-size: 11.5rem;
  }
}

/* روابط الهيدر والتوب منيو */
.s-contacts-header a,
.s-menu-topnav-list a {
  color: #fff;
}

/* زر واتساب عائم */
body > a[href="https://wa.me/966556482771"] {
  z-index: 9999;