/* 
https://asselalrihqan.com/
رائد
salla.com 
*/

:root {
  --main: 52, 52, 52;
  --secondary: 230, 179, 30;
  --light: 252, 250, 241;
  --gray: 202, 202, 202;
}

/* الخلفية */
body {
  background-color: rgb(var(--light));
}

/* الهيدر */
.s-search-input {
  color: rgb(var(--main)) !important;
}

header {
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(43, 45, 52, 0.05) 5px 10px 30px 0px;
  border-bottom: 1px solid rgb(240, 240, 240);
}

header,
.top-navbar,
#mainnav {
  background-color: rgb(var(--light)) !important;
  color: rgb(var(--main)) !important;
  font-size: 1.2rem;
  box-shadow: none;
}

/* أيقونات الهيدر */
#mainnav .flex.items-center.justify-end .s-cart-summary-total,
#mainnav .flex.items-center.justify-end i {
  border: none;
  color: rgb(var(--main)) !important;
}

/* قوئم الهيدر */
#mainnav a {
  font-size: 1.2rem;
}
#mainnav a:hover {
  color: rgb(var(--secondary));
  opacity: 0.7;
}

/* enlarge logo */
a.navbar-brand {
  width: 200px;
  height: 100px !important;
}
a.navbar-brand img {
  /*   width:200px; */
  max-height: 100px !important;
}
@media only screen and (max-width: 600px) {
  a.navbar-brand {
    padding-right: calc(50vw - 110px);
    width: 200px;
    height: 70px !important;
  }
  a.navbar-brand img {
    /* right:100px; */
    /*   width:200px; */
    max-height: 70px !important;
  }
}
/* السلايدر الرئيسي */
.s-block.s-block--photos-slider
  salla-slider
  .s-slider-container
  .swiper-wrapper
  .swiper-slide {
  opacity: 0;
}
.s-block.s-block--photos-slider
  salla-slider
  .s-slider-container
  .swiper-wrapper
  .swiper-slide-active {
  opacity: 1;
}

/* الأقسام */
.s-block.s-block--categories .swiper-wrapper.s-slider-swiper-wrapper {
  justify-content: space-between;
}

.s-block.s-block--categories
  .swiper-wrapper.s-slider-swiper-wrapper
  .swiper-slide:hover {
  scale: 0.95;
  /*   animation: all 0.5s ease-in-out; */
}

.s-block.s-block--categories
  .swiper-wrapper.s-slider-swiper-wrapper
  .swiper-slide {
  width: 25vw;
  max-width: 300px;
}

.s-block.s-block--categories
  .swiper-wrapper.s-slider-swiper-wrapper
  .swiper-slide
  a {
  border: none;
  background-color: rgb(var(--light)) !important;
  color: rgb(var(--main)) !important;
  font-size: 1.8rem !important;
  height: 25vw;
  padding: 0;
}

.s-block.s-block--categories
  .swiper-wrapper.s-slider-swiper-wrapper
  .swiper-slide
  a
  h2 {
  font-size: 1.2rem !important;
  position: relative;
  /*   top:-10px; */
  z-index: 100;
  background-color: rgb(var(--secondary));
  padding: 1rem 2rem;
  border-radius: 25px;
  width: 100%;
}

.s-block.s-block--categories
  .swiper-wrapper.s-slider-swiper-wrapper
  .swiper-slide
  a
  img {
  width: 100%;
  height: 80%;
  border-radius: 25px !important;
}

/* الأقسام للجوال */
@media only screen and (max-width: 600px) {
  .s-block.s-block--categories
    .swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-pointer-events.swiper-rtl.swiper-backface-hidden {
    padding: 0;
    padding-left: 2rem;
  }

  .s-block.s-block--categories
    .swiper-wrapper.s-slider-swiper-wrapper
    .swiper-slide
    a {
    width: 30vw;
    min-height: 200px;
  }

  .s-block.s-block--categories
    .swiper-wrapper.s-slider-swiper-wrapper
    .swiper-slide
    a
    h2 {
    font-size: 0.8rem !important;
    position: relative;
    /*   top:-10px; */
    z-index: 100;
    background-color: rgb(var(--secondary));
    padding: 0.3rem 1rem;
    border-radius: 10px;
    width: 100%;
  }

  .s-block.s-block--categories .swiper-wrapper.s-slider-swiper-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
}

/* بطاقة المنتج */
custom-salla-product-card {
  border-radius: 25px;
  box-shadow: 0 0 5px 2px rgba(100, 100, 100, 0.5);
}

custom-salla-product-card button {
  background-color: rgb(var(--secondary));
  color: rgb(var(--main)) !important;
  border: none !important;
}

custom-salla-product-card button:hover {
  scale: 1.05;
  opacity: 1 !important;
  border-color: rgb(var(--secondary)) !important;
}

custom-salla-product-card button[product-status='out'] {
  background-color: rgb(var(--main));
  color: rgb(var(--secondary)) !important;
  border: none !important;
  opacity: 0.5;
}

.s-products-slider-card {
  margin-bottom: 1rem;
}

/* عنوان البطاقة */
custom-salla-product-card .s-product-card-content-title a {
  max-height: 22px;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: center !important;
  height: 22px;
  display: block;
}

custom-salla-product-card .s-product-card-content-sub .s-product-card-price {
  width: 100%;
  text-align: center;
}

/* الفوتر */
.store-footer {
  border-top: 1px solid rgb(240, 240, 240) !important;
  color: rgb(var(--main)) !important;
}

.store-footer,
footer .items-center.justify-between.py-4.container.text-center,
.store-footer .store-footer__inner {
  background-color: rgba(var(--light), 0.7) !important;
}

.store-footer li a,
.store-footer a span {
  border: none !important;
}

/* fetured product */
.s-block.s-block-tabs.s-block--tabs-produtcs.s-block--full-bg.as-grid.bg-gray-100.py-8 {
  background-color: rgba(var(--light), 0.7) !important;
}

/* hide third element in store premium */

/* .s-block.s-block--features.container .grid .s-block--features__item:last-child  {
  display: none;
}

.s-block.s-block--features.container .grid {
  display:flex !important;
	grid-template-columns: repeat(2,minmax(0,1fr)) !important;;

}

.s-block.s-block--features.container .grid .s-block--features__item {
  background-color:unset;
}

.s-block.s-block--features.container .grid .s-block--features__item:hover{
  box-shadow: none;
}

.s-block.s-block--features.container .grid .s-block--features__item  i{
 color:white; 
}   */

/* whatsapp  */
#_2chat-whatsapp-widget header {
  background-color: #075e54 !important;
}