/* ### Font ### */

@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap");
@import url("https://kit-free.fontawesome.com/releases/latest/css/free.min.css");
@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;500;700;800;900&display=swap");

body,
*:not(i) {
  font-family: "Almarai", sans-serif !important;
}

body {
  background-color: #fff !important;
  overflow-x: hidden;
  max-width: 100%;
}

/* ### Header ### */

.main-nav-container.fixed-header,
.main-nav-container,
.index .main-nav-container.fixed-header,
.main-nav-container .sub-menu,
.main-menu li:hover > .sub-menu {
  background-color: #6c63c0 !important;
  color: #fff;
}
.menu-is-open #mobile-menu,
.menu-is-open #mobile-menu .sub-menu {
  background-color: #fff !important;
  color: #6c63c0;
}
#mobile-menu .navbar-brand {
  background-color: #6c63c0 !important;
}
.mobile-lang-scopes-area button {
  color: #000;
  border: 1px solid #555;
}

#mainnav {
  height: auto !important;
  min-height: auto;
}

.main-menu > .has-children:hover > a,
.main-menu li > a:hover {
  color: #fadb57;
}
.sub-menu li > a:hover {
  color: #6c63c0 !important;
  background-color: #f7f7f7 !important;
}
.main-nav-container {
  padding: 0 5px 0 0;
}
.top-navbar {
  display: none;
}
header .sicon-menu {
  color: #fff;
}
header .header-btn__icon {
  background-color: transparent;
  color: #fff;
  border: none;
}

/* cart */
.s-cart-summary-content {
  display: none !important;
}

header .header-btn__icon.icon.sicon-shopping-bag,
header .header-btn__icon.sicon-user-circle,
header salla-cart-summary.hydrated {
  margin-right: 0 !important;
  margin-left: 0 !important;
}
/* search */
.main-nav-container .header-search {
  /* display: block !important; */
  opacity: 0;
  visibility: hidden;
  top: 105% !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  max-width: 80% !important;
  width: 350px !important;
  min-width: 250px !important;
  left: 6% !important;
  right: auto !important;
  position: absolute !important;
}

/* logo */
.navbar-brand img {
  max-height: 3.2rem;
}
.menu-is-open #mobile-menu .navbar-brand img {
  margin: auto !important;
}

@media (max-width: 1024px) {
  /* center logo */
  .inner.bg-inherit .flex.items-center.gap-4.lg\:gap-8:first-of-type {
    width: 104% !important;
  }
  .navbar-brand {
    margin: auto;
  }
  .navbar-brand img {
    margin-left: -48px !important;
  }
}
/* ### Banners ### */
.s-block--fixed-banner:nth-of-type(1) {
  margin-top: 0;
}
.s-block--fixed-banner:nth-of-type(1) .container {
  padding: 0;
  max-width: 1920px !important;
}
.s-block--fixed-banner:nth-of-type(1) .banner--fixed img {
  border-radius: 0 !important;
}
.s-block--fixed-banner {
  margin-top: 3rem;
}
.s-block--fixed-banner img {
  background-color: transparent !important;
}

/* title */
.s-block--fixed-banner:nth-of-type(3):before {
  content: "خلك مع باقات وابدأ رحلتك الرقمية، كل اللي تبيه بيدك!";
  display: block;
  font-weight: bold;
  margin: 2rem auto 2rem;
  font-size: 1.2rem;
  line-height: 1.5rem;
  text-align: center;
}
/* ###  Categories ### */

.s-block--banners .grid {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.8rem;
  max-width: 1000px !important;
  text-align: center;
  margin: auto;
}
.s-block--banners .grid .banner-entry {
  grid-column: unset !important;
  min-height: 440px;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 991px) {
  .s-block--banners .grid .banner-entry {
    min-height: 400px;
  }
}
@media (max-width: 767px) {
  .s-block--banners .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .s-block--banners .grid .banner-entry {
    min-height: 300px;
  }
}
@media (max-width: 460px) {
  .s-block--banners .grid .banner-entry {
    min-height: 165px;
  }
  .s-block--banners {
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
  }
}
@media (max-width: 400px) {
  .s-block--banners .grid .banner-entry {
    min-height: 150px;
  }
}

/* features */
section.s-block--photos-slider:last-of-type {
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}
.s-block--photos-slider:last-of-type .swiper {
  padding-bottom: 0 !important;
}
.s-block--photos-slider:last-of-type salla-slider.photos-slider .swiper-slide {
  animation: slide 25s linear infinite;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  width: 30% !important;
}
.s-block--photos-slider:last-of-type .swiper-wrapper {
  transform: none !important;
}
.s-block--photos-slider:last-of-type .s-slider-nav-arrow,
.s-block--photos-slider:last-of-type .swiper-pagination {
  display: none !important;
}

@media (max-width: 767px) {
  .s-block--photos-slider:last-of-type
    salla-slider.photos-slider
    .swiper-slide {
    width: 60% !important;
  }
}

@keyframes slide {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(250%);
  }
}

/* more-categories btn  */
.more-categories {
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
  padding: 6px 25px;
  margin: 20px auto 45px;
  text-align: center;
  display: block;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
}
.more-categories:hover {
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  padding: 6px 25px;
  margin: 20px auto 45px;
  text-align: center;
  display: block;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
}

/* ###  Category Page ### */
.product-entry__image {
  border-radius: 0 !important;
}
.product-index .product-entry--cat.out-of-stock,
.out-of-stock .product-entry__image img {
  filter: none !important;
}
.product-index .out-of-stock .promotion-badge-wrap {
  background-color: #999 !important;
}

.product-index input[name="selected-cat"]:checked + span {
  background-color: #6c63c0;
  border-color: #6c63c0;
  color: #fff;
}
.product-index .container.my-10 {
  margin-top: 0 !important;

  padding-left: 0;
  padding-right: 0;
}
.product-index .container.my-10 .main-content {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.btn--main button {
  border-radius: 8px !important;
}

/* category products */
.product-index .s-products-list-wrapper {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
}
.product-index .product-entry--cat {
  flex-direction: column !important;
  gap: 0.75rem !important;
  padding: 0.75rem !important;
}
.product-index .product-entry--cat .product-entry__image {
  background-color: transparent !important;
  border: none !important;
  width: 11rem !important;
  height: 10rem !important;
}

/* ###  product ### */
.product-block .s-button-element {
  border-radius: 8px !important;
  background-color: #fff !important;
  border-color: #6c63c0 !important;
  color: #6c63c0 !important;
}
.product-block:hover .s-button-element,
.product-block .btn--main:hover .s-button-element {
  border-radius: 8px !important;
  background-color: #6c63c0 !important;
  border-color: #6c63c0 !important;
  color: #fff !important;
}
/* ###  Testimonials ### */

.s-block--testimonials .s-slider-block__title {
  justify-content: center;
}
.testimonial {
  background-color: rgba(138, 128, 226, 0.15) !important;
  color: #000 !important;
  border-radius: 8px;
  padding: 1rem 1.4rem 2rem !important;
  position: relative;
}
.testimonial .testimonial__text {
  background: transparent;
  padding: 0 !important;
  order: 2;
  position: static;
}

.product-entry--vertical salla-button.btn--wishlist {
  left: 1rem !important;
  bottom: 5% !important;
  top: unset !important;
}
.testimonial__inner p {
  text-align: start;
  width: 100%;
  font-weight: bold;
  opacity: 1;
}
.testimonials-slider .testimonial__inner {
  gap: 0.5rem !important;
}
.testimonial__rating {
  position: absolute;
  top: 1rem;
  left: 0.7rem;
}
.testimonial .avatar,
.testimonial span.text-sm {
  display: none;
}

/* ###  footer ### */
.store-footer,
.store-footer .store-footer__inner {
  background-color: #4d46aa;
  color: #fff;
  border-radius: 30px 30px 0 0 !important;
}
.store-footer {
  margin-left: 24px;
  margin-right: 24px;
}
.store-footer .store-footer__inner {
  padding-bottom: 1rem;
}
.store-footer .navbar-brand,
.store-footer .navbar-brand h2 {
  color: #fff;
  font-size: 0;
  text-align: center;
  justify-content: center;
}
.store-footer .navbar-brand h2 {
  font-size: 0px !important;
  content: url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/dPAve/v8NKFewEf3m6a9RxxmzYWfqs8PZ5JkTdEN5zaE76.png");
  height: 85px;
  margin: -10px auto 5px !important;
}
.store-footer p.max-w-sm {
  margin: auto;
  text-align: center;
}
.store-footer h3 {
  color: #fff !important;
  border: none !important;
  text-align: center;
}
footer .s-menu-footer-list {
  display: grid;
  grid-template-columns: 1fr !important;
  text-align: center;
}
.store-footer__inner .s-contacts-list,
.s-apps-icons-list {
  justify-content: center;
  text-align: center;
}
.store-footer a .unicode {
  display: none;
}

.store-footer__inner .s-contacts-list {
  display: flex;
  align-items: center;
  border: none;
  margin-top: 0;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 8px;
}
.store-footer .s-contacts-icon {
  border: 1px solid #fff;
  padding: 6px;
  border-radius: 50%;
}
.s-contacts-icon svg {
  height: 1.1rem;
  width: 1.1rem;
}
.store-footer .text-gray-400 {
  color: #fff;
  margin-top: 1.5rem;
}
.store-footer .contact-social {
  border: none;
}

@media (max-width: 767px) {
  .store-footer,
  .store-footer .store-footer__inner {
    border-radius: 20px 20px 0 0 !important;
  }
  .store-footer {
    margin-left: 12px;
    margin-right: 12px;
  }
  .s-block--fixed-banner:nth-of-type(5):before {
    font-size: 1rem;
  }
  .product-index #page-main-title {
    font-size: 0.95rem !important;
  }
}
/* Desktop footer */

@media (min-width: 1024px) {
  .store-footer .container.grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: 2;
  }
  .rtl\:lg\:pl-20 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .store-footer .container.grid > * {
    grid-column: span 2 / span 2;
  }
  .store-footer .container.grid > div:nth-of-type(2) {
    grid-row: span 2 / span 2;
  }
  .store-footer .container.grid salla-apps-icons {
    grid-row: 2;
  }
}
/* ### Home FAQs ### */
.faqs-div {
  margin: 40px auto;
  width: 70%;
  max-width: 1280px;
}
.faqs-div h3,
.faqs-div h5 {
  color: #000;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}
.faqs-div h5 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 20px;
}
/* accordion */
button.accordion {
  padding-left: 2rem !important;
  margin-bottom: 0;
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  border-bottom: 1px solid #eef1f4;
  outline: none;
  text-align: start;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s linear;
  position: relative;
  margin-top: 15px;
  border-radius: 16px 16px 0px 0px;
}
html[lang="en"] button.accordion {
  padding-left: 1rem !important;
  padding-right: 2rem !important;
}

button.accordion:after {
  font-family: "Font Awesome 5 Pro";
  content: "\2b" !important;
  font-size: 20px;
  float: left;
  position: absolute;
  left: 1rem;
  top: 0.8rem;
  color: #000;
}

html[lang="en"] button.accordion {
  text-align: left;
}
html[lang="en"] button.accordion:after {
  float: right;
  left: auto;
  right: 1rem;
}
button.accordion.is-open:after {
  content: "\f068" !important;
  font-size: 14px;
}

button.accordion.is-open {
  background: #fff;
  color: #000;
  border: 1px solid #eef1f4;
  border-bottom: none;
}
.accordion-content {
  border: 0px solid #eef1f4;
  background: #fff;
  color: #000;
  border-top: none;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
  border-radius: 0px 0px 16px 16px;
  font-size: 14px;
  line-height: 2.5;
  text-align: start;
}

button.accordion.is-open + .accordion-content {
  padding-bottom: 1rem;
  border: 1px solid #eef1f4;
  border-top: none;
}

@media (max-width: 767px) {
  .faqs-div {
    margin: 50px auto;
    width: 96%;
    padding: 0px 5px;
  }

  .faqs-div h3 {
    font-size: 1.3rem;
    margin-bottom: 0px;
  }
  .faqs-div h5 {
    font-size: 12px;
    margin-bottom: 10px;
  }
  button.accordion {
    padding: 10px 15px;
    font-size: 12px;
  }
  .accordion-content {
    font-size: 13px;
  }
  button.accordion:after {
    top: 0.55rem;
  }
  button.accordion:after {
    font-size: 18px;
  }
}

/* end */
.s-user-menu-dropdown-item a,
#app .s-user-menu-dropdown-header p {
  color: #333 !important;
}