/* Add custom CSS styles below */
@media (min-width: 991px) {
  section.circle-links-0>div.mx-auto {
    width: 100% !important;
    max-width: 1440px !important;
    padding-inline: 0 !important;
    margin-inline: auto !important;
  }

  .s-block--square-links .mx-auto.px-6 {
    padding-inline: 0px !important;
    max-width: unset !important;
  }

  .s-block--videos-gallery .s-slider-nav-arrow {
    display: none
  }
}

salla-mini-checkout-widget {
  --salla-fast-checkout-button-border-radius: 6px !important
}
.vertical-square-links div.mx-auto{
  width:100%;
  padding:0;
  max-width:unset
}
@media (min-width: 1024px) {
   .vertical-square-links salla-slider .slide--one-fourth {
        width: 20%;
    }
}
.ltr .s-search-icon-wrap {
  right: unset !important
}

.rtl .s-search-icon-wrap {
  left: unset !important
}

.ltr .product-quickview salla-add-product-button .s-button-btn {
  padding: .5rem 0.5rem .625rem;
}

@media (min-width: 768px) {
  .product-index .s-products-list-filters-results {
    gap: 0.5rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .product-index #page-main-title {
    font-size: .9rem;
    width: 80%
  }
}
@media (min-width: 991px) {
  .product-index .product-card__actions {
    display: block;
  }

  .product-index .product-card__buttons {
    display: none;
  }
}

.s-block .home-block-title {
  margin-bottom: 1rem;
}

.s-block--circle-links h3 {
  margin-top: 0.5rem;
}
.index .s-block {
    margin-top: 1rem;
}

@media (min-width: 640px) {
  .index .s-block {
    margin-top: 2rem;
  }
}

.s-block--square-links .mt-8 {
  margin-top: 0
}

.store-footer a[href*='tel'] {
  display: none
}

.store-footer a[href*='wa.me'] {
  background-color: green;
  border-color: green;
}

@media (max-width: 767px) {
  .s-block--circle-links salla-slider .custom-width {
    width: 28%;
  }

  .s-block--circle-links img.w-24 {
    width: 4rem;
  }

  .s-block--circle-links img.h-24 {
    height: 4rem;
  }

  .s-block--circle-links h3 {
    font-size: .9rem
  }

  .s-block--square-links .px-6 {
    padding-inline: 0;
  }
}

.index .s-products-list-vertical-cards {
  margin-bottom: 0;
}

.s-block--videos-gallery .swiper {
  margin-left: 0rem;
  margin-right: 0rem;
}

.s-block--videos-gallery .videos-gallery-container salla-slider .swiper-wrapper {
  padding-bottom: 0px !important;
}

.s-block--videos-gallery .videos-gallery-container salla-slider .swiper-pagination {
  display: none !important;
}

.s-block--videos-gallery .pt-8 {
  padding-top: 0 !important
}

@media (max-width: 767px) {

  /* kill the 48px peek gutter so 2 slides fill the row exactly */
  salla-slider[id^="videos-gallery-slider"] .s-slider-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* show the arrows on mobile and push them out to the edges */
  salla-slider[id^="videos-gallery-slider"] .s-slider-block__title {
    display: flex !important;
  }

  salla-slider[id^="videos-gallery-slider"] .s-slider-block__title-nav {
    display: flex !important;
    width: calc(100% + 8px) !important;
    /* raise to +20px to shift further out */
    justify-content: space-between !important;
  }

  salla-slider[id^="videos-gallery-slider"] .s-slider-nav-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    /* was 9999px */
    box-shadow: none !important;
    background: rgba(17, 24, 39, .35) !important;
    /* translucent dark */
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #fff !important;
  }

  salla-slider[id^="videos-gallery-slider"] .s-slider-nav-arrow svg {
    width: 16px !important;
    height: 16px !important;
    fill: #fff !important;
  }

  salla-slider[id^="videos-gallery-slider"] .s-slider-nav-arrow.swiper-button-disabled {
    opacity: .4 !important;
  }
}

/* desktop: no arrows */
@media (min-width: 768px) {
  salla-slider[id^="videos-gallery-slider"] .s-slider-block__title-nav {
    display: none !important;
  }
}

@media (max-width:767px) {
  salla-slider[id^="videos-gallery-slider"] .s-slider-container {
    padding-left: 0 !important
  }
}


/* تغيير لون سعر المنتج وحجمه */
.product-card__price .total-price.text-red-600 {
  color: #ff7a00 !important;
  font-size: 19px !important;
}

/* إزالة الـ Bold من اسم المنتج */
.product-card__title,
.product-card__title a {
  font-weight: 400 !important;
}

/* rounded بسيط لإطار كرت المنتج */
custom-salla-product-card.product-card {
  border-radius: 5px !important;
  overflow: hidden !important;
}

/*  تكبير سعر التخفيض في صفحة المنتج*/
.product-single .price_is_on_sale .total-price {
  font-size: 28px !important;
  line-height: 1.2 !important;
  color: #ff7a00 !important;
}

/*  زيادة المسافة بين اسم المنتج والسعر في صفحة المنتج*/
.product-single .product-price {
  margin-top: 16px !important;
}

/*   صفحة المنتج : تغيير لون خلفية بيانات المنتج*/
form#product-form>section.bg-storeBG.p-5.rounded-md.mb-5 {
  background-color: #f5f5f5 !important;
}

/*   صفحة المنتج :اضافة فريم على صورة المنتج */
.product-single__slider [data-fslightbox] {
  border: 1px solid #e5e5e5 !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

/*   صفحة المنتج : الصور المصغره للمنتج تكون مربعه  */
.product-single__slider .s-slider-thumbs .swiper-slide,
.product-single__slider .s-slider-thumbs .slide-one-fourth {
  width: 90px !important;
  height: 90px !important;
  aspect-ratio: 1 / 1 !important;
  margin-left: 10px !important;
}


/* إضافة للسلة = Outline */
#product-form salla-add-product-button button {
  background: #fff !important;
  color: #ff9800 !important;
  border: 1px solid #ff9800 !important;
  border-radius: 6px !important;
}


/* Rounded apple pay button */
#product-form apple-pay-button,
#product-form .apple-pay-btn,
#product-form .apple-pay-btn-wrapper {
  border-radius: 6px !important;
  overflow: hidden !important;
}

/* الاسواق المتعددة */
/* تغيير ايقونة الاسواق المتعدده لصورة البطريق */

.s-scopes-header-icon {
  background-image: url("https://i.postimg.cc/bwQq074x/images-(12).jpg") !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.s-scopes-header-icon>* {
  display: none !important;
}


/* ضبط ايقونة البحث  */
.s-scopes-search-wrapper {
  position: relative !important;
}

.s-scopes-search-icon {
  right: 12px !important;
  left: auto !important;
}

.s-scopes-search-input {
  padding-right: 45px !important;
}


/* اضافة الاعلام */

/* اضافة الاعلام */
/* شكل العلم وترتيبه */
.s-scopes-label {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

.s-scopes-label::before {
    content: "" !important;
    width: 24px !important;
    height: 16px !important;
    display: inline-block !important;
    flex: 0 0 24px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* السعودية */
.s-scopes-container > .s-scopes-input-wrap:nth-child(1) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/sa.png") !important;
}

/* الإمارات */
.s-scopes-container > .s-scopes-input-wrap:nth-child(2) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/ae.png") !important;
}

/* الكويت */
.s-scopes-container > .s-scopes-input-wrap:nth-child(3) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/kw.png") !important;
}

/* البحرين */
.s-scopes-container > .s-scopes-input-wrap:nth-child(4) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/bh.png") !important;
}

/* عمان */
.s-scopes-container > .s-scopes-input-wrap:nth-child(5) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/om.png") !important;
}

/* العراق */
.s-scopes-container > .s-scopes-input-wrap:nth-child(6) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/iq.png") !important;
}

/* ليبيا */
.s-scopes-container > .s-scopes-input-wrap:nth-child(7) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/ly.png") !important;
}

/* المغرب */
.s-scopes-container > .s-scopes-input-wrap:nth-child(8) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/ma.png") !important;
}

/* الأردن */
.s-scopes-container > .s-scopes-input-wrap:nth-child(9) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/jo.png") !important;
}

/* تركيا */
.s-scopes-container > .s-scopes-input-wrap:nth-child(10) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/tr.png") !important;
}

/* قطر */
.s-scopes-container > .s-scopes-input-wrap:nth-child(11) .s-scopes-label::before {
    background-image: url("https://flagcdn.com/w40/qa.png") !important;
}

.s-scopes-modal .s-scopes-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-direction: row;
}

/* جملة 
You are now browsing the store from */
@media (max-width: 767px) {
 .s-scopes-modal .s-scopes-header-title {
    white-space: nowrap ;
    font-size: 14px ;
    line-height: 1.2;
  }
}
.selia-bottom-nav .selia-bottom-nav-home i {
  height: 27px
}
.selia-bottom-nav .selia-bottom-nav-home i:before {
    content: "";
    background-image: url('https://i.postimg.cc/bwQq074x/images-(12).jpg');
    background-size: contain;
    background-position: 56% 56%;
    background-repeat: no-repeat ;
    display: block;
    height: 40px;
    position: relative;
    top: -8px;
    width: 40px;
}
/* Desktop only: stack footer badges when the "حسابي" column exists */
@media (min-width: 1024px) {
  .store-footer__inner .grid > *:first-child:has(+ .footer-collapse) .footer-badges {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  /* cancel the theme's rtl:ml-4 / ltr:mr-4 spacing on the trust badge */
  .store-footer__inner .grid > *:first-child:has(+ .footer-collapse) .footer-badges > * {
    margin-inline: 0 !important;
  }
}