/* Add custom CSS styles below */ 
#alfinderSearchPageProductsContainer .product-card__normal-cart {
    display: none !important;
}
  .alfinder-products-list-wrapper { width: 100% !important; }



  .alfinder-products-list-vertical-cards custom-salla-product-card,
  .alfinder-products-list-vertical-cards .product-card,
  .alfinder-products-list-vertical-cards .product-card__content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  /* تثبيت زر السلة وإضافة هامش أسفله */
  .alfinder-products-list-vertical-cards .product-card__enhanced-mini-cart,
  .alfinder-products-list-vertical-cards .product-card__normal-cart {
    margin-top: auto !important;
    margin-bottom: 18px !important; /* يمكنك تعديل الرقم (12px) حسب المساحة التي تبيها */
  }

.gomla__carousel-track:has(> .gomla__carousel-item:only-child) {
    display: flex !important;
    justify-content: center !important;
    transform: none !important;
    width: 100% !important;
  }
  .gomla__carousel-track:has(> .gomla__carousel-item:only-child) .gomla__carousel-item {
    flex: 0 0 auto !important;
  }
.gomla__addon-bundle-container-9740 {
    margin-bottom: 30px; 
      margin-top: 15px; 

}
salla-advertisement .s-advertisement[data-id="2101768180"] {
    display: none !important;
}
html[lang^="en"] .navbar-brand .logo-normal,
body.en .navbar-brand .logo-normal {
    opacity: 0;
}

html[lang^="en"] .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 49px;
    background: url("https://i.postimg.cc/6pwH4tD3/sir-francis-Ar-(1)-Recovered.png") center/contain no-repeat;
}

.store-footer,
.store-footer__inner,
.store-footer__contacts-row,
.footer-bottom {
    background: #000 !important;
    color: #fff !important;
}

/* منحنى الفوتر العلوي */
.store-footer__curve {
    color: #000 !important;
}

/* النصوص */
.store-footer h3,
.store-footer a,
.store-footer p,
.store-footer span,
.store-footer b {
    color: #fff !important;
}

/* روابط الحقوق */
.footer-rights p,
.footer-rights a {
    color: #fff !important;
}

/* أي خلفيات داخلية */
.store-footer * {
    border-color: rgba(255,255,255,.15) !important;
}

.main-nav-container .s-cart-summary-icon {
    display: none !important;
}
[data-selia="footer-logo-link"] img{
    content:url("https://i.postimg.cc/pL32H8D1/sir-francis-Ar-(2).png") !important;
    width:160px !important;
    height:auto !important;
    object-fit:contain !important;
}
/* إظهار أيقونة sicon-cart المخصصة */
.main-nav-container .sicon-cart {
    display: inline-block !important;
    width: 21px !important;
    height: 21px !important;

    background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.49976 7C5.99771 7.04527 5.99769 7.04542 5.99768 7.04556L5.99782 7.04413L5.9987 7.03527L6.00307 6.99543C6.00722 6.95936 6.01397 6.90479 6.02403 6.83438C6.04417 6.69344 6.07745 6.48974 6.1295 6.24438C6.23406 5.75145 6.41206 5.10124 6.70494 4.4569C7.29571 3.15721 8.28834 2 9.99976 2C11.7112 2 12.7038 3.15721 13.2946 4.4569C13.5875 5.10124 13.7655 5.75145 13.87 6.24438C13.9221 6.48974 13.9554 6.69344 13.9755 6.83438C13.9855 6.90479 13.9923 6.95936 13.9965 6.99543L14.0008 7.03527L14.0017 7.04413L14.0018 7.04556C14.0018 7.04542 14.0018 7.04527 14.4998 7C14.9977 6.95473 14.9977 6.95454 14.9977 6.95432L14.9976 6.95378L14.9975 6.95232L14.9971 6.9479L14.9956 6.93317C14.9943 6.92078 14.9924 6.90329 14.9899 6.88103C14.9848 6.83654 14.9769 6.77294 14.9654 6.69296C14.9426 6.53312 14.9056 6.30713 14.8483 6.03687C14.7341 5.49855 14.5371 4.77376 14.2049 4.0431C13.5457 2.59279 12.2883 1 9.99976 1C7.71118 1 6.45381 2.59279 5.79458 4.0431C5.46246 4.77376 5.26546 5.49855 5.15127 6.03687C5.09394 6.30713 5.05692 6.53312 5.03408 6.69296C5.02266 6.77294 5.01476 6.83654 5.00963 6.88103C5.00707 6.90329 5.0052 6.92078 5.00393 6.93317L5.00246 6.9479L5.00204 6.95232L5.0019 6.95378L5.00185 6.95432C5.00183 6.95454 5.00181 6.95473 5.49976 7ZM3.49976 9H3.04727L3.00224 9.45025L2.00224 19.4502L1.94727 20H2.49976H17.4998H18.0523L17.9973 19.4502L16.9973 9.45025L16.9523 9H16.4998H3.49976ZM3.05225 19L3.95225 10H16.0473L16.9473 19H3.05225Z' fill='%230e4532'/%3E%3C/svg%3E");
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    font-size: 0 !important;
    color: transparent !important;
      transform: translateY(-9px) !important;
    filter: brightness(0) contrast(120%);

}

/* زيادة المسافة بين الأيقونات */
.main-nav-container .header-btn,
.main-nav-container salla-cart-summary {
    margin-left: 8px !important;
}

/* تصغير البحث والحساب */
.main-nav-container .sicon-search,
.main-nav-container .sicon-user {
    font-size: 20px !important;
}

.home-block-line {
    display: none;
}

.product-card__promotion {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    right: auto !important;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 6px;
    z-index: 99;
}

.product-card__mini-cart .s-button-element {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.product-card__mini-cart .s-button-element:hover {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.product-card__mini-cart .s-button-text,
.product-card__mini-cart .s-button-text i {
    color: #fff !important;
}


/* استثناء زِر "اعلمني عند التوفر" من أيقونة السلة المعدلة */
:not([product-status="out-and-notify"]) > .s-button-element .sicon-shopping {
  font-size: 0 !important;
  color: transparent !important;
  display: inline-block !important;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M60.53,18.71A2,2,0,0,0,59,18H48.85A15,15,0,0,0,34,5H30A15,15,0,0,0,15.15,18H5a2,2,0,0,0-1.53.71A2,2,0,0,0,3,20.35l5.33,30.3A6.51,6.51,0,0,0,14.77,56H49.23a6.51,6.51,0,0,0,6.41-5.36L61,20.35A2,2,0,0,0,60.53,18.71ZM30,9h4a11,11,0,0,1,10.81,9H19.19A11,11,0,0,1,30,9ZM51.71,49.94A2.52,2.52,0,0,1,49.23,52H14.77a2.5,2.5,0,0,1-2.47-2L7.38,22H56.62Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* تغيير النص إلى "إضافة" للمنتجات المتوفرة فقط */
.product-card__mini-cart:not(:has(salla-product-availability)) .s-button-text {
  font-size: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.product-card__mini-cart:not(:has(salla-product-availability)) .s-button-text::after {
  content: "إضافة";
  font-size: 14px;
  color: #fff;
}
@media (min-width:992px){

.product-card__normal-cart .s-button-element,
.product-card__normal-cart .s-button-element:hover{
    background:#000!important;
    border-color:#000!important;
    color:#fff!important;
    box-shadow:none!important;
}

.product-card__normal-cart .s-button-text{
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:6px;
    font-size:0!important;
    color:#fff!important;
}

.product-card__normal-cart .s-button-text:after{
    content:"إضافة";
    font-size:14px!important;
}
html[lang="en"] .product-card__normal-cart .s-button-text::after,
html[dir="ltr"] .product-card__normal-cart .s-button-text::after {
    content: "Add To Cart";
}
.product-card__normal-cart .sicon-shopping{
    font-size:16px!important;
    color:#fff!important;
}
.sicon-shopping:before{
    content:none!important;
}
}
@media (max-width: 767px) {
  salla-cart-summary-card,
.s-cart-summary-card,
.s-cart-summary-card--mobile {
    position: fixed !important;
    z-index: 999999 !important;
}
    .s-block--fixed-banner {
        margin-left: -23px;
        margin-right: -23px;
    }

      .s-block--fixed-banner img {
        width: 100%;
        height: auto;
        display: block;
    }

    .fixed-products .s-products-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .fixed-products .s-products-list-wrapper > .product-card {
    width: 48%;
  }

}

    .fixed-products .s-products-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }


.fixed-products--1 .home-block-title > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fixed-products--3 h2[data-selia="home-fixed-products-title"]::after {
    content: "عروض حصرية على مختارات مميزة";
    display: block !important;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #000;
}
.fixed-products--1 h2[data-selia="home-fixed-products-title"]::after {
    content: "وما زالت تتصدر اختيارات عملائنا";
    display: block !important;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #000;
}

/* ===========================
   Desktop
=========================== */
@media (min-width: 992px) {

  .product-single__info h1 {
    font-size: 1.9rem !important;
    line-height: 1.6 !important;
  }

  .product-entry__sub-title {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
  }

  .product-single__info .total-price {
    font-size: 1.9rem !important;
  }

  .product-single__info .before-price {
    font-size: 1.05rem !important;
  }

  .product-single__discounted-amount,
  .product-single__discounted-amount strong,
  .product-single__info small,
  #variant-inventory {
    font-size: .95rem !important;
    line-height: 1.8 !important;
  }
}

/* ===========================
   Mobile
=========================== */
@media (max-width: 991px) {

  .product-single__info h1 {
    font-size: 1.65rem !important;
    line-height: 1.7 !important;
  }

  .product-entry__sub-title {
    font-size: .95rem !important;
    line-height: 1.8 !important;
  }

  .product-single__info .total-price {
    font-size: 1.7rem !important;
  }

  .product-single__info .before-price {
    font-size: .95rem !important;
  }

  .product-single__discounted-amount,
  .product-single__discounted-amount strong,
  .product-single__info small,
  #variant-inventory {
    font-size: .85rem !important;
    line-height: 1.8 !important;
  }

  salla-mini-checkout-widget {
    display: none !important;
}
}

@media (max-width: 991px) {

  salla-products-slider.simplified-products {
    display: none !important;
  }

  .s-comments-item-rated-widget {
    display: none !important;
  }

  .s-comments-flex {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
  }

  .s-comments-item-has-order-check-text {
    white-space: nowrap !important;
    font-size: 0 !important;
  }

  .s-comments-item-has-order-check-text::after {
    content: "قام بالشراء";
    font-size: .875rem;
  }

    .s-add-product-button-main {
    display: flex !important;
  }

  .s-add-product-button-main > .s-button-wrap {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

salla-add-product-button button[product-status="sale"] .s-button-text {
    font-size: 0 !important;
}
salla-add-product-button button[product-status="sale"] .s-button-text::after {
    content: "إضافة" !important;
    font-size: 14px !important;
}
}
  
.s-block--tabs-produtcs .tabs {
     padding-right: 0rem !important;
   }
  

    .tabs.hide-scroll.justify-center {
        justify-content: flex-start !important;
    }

  .container.s-blocks-wrapper.simplified-products.fit-slider-products {
    display: none !important;
}
  


section:has(.product-sku-wrapper) {
    display: none !important;
}


#product-form > section.sticky-product-bar.bg-storeBG.p-5.md.rounded-md.rounded-b-none > salla-add-product-button > div > salla-button > button {
    background-color: #000000 !important;
    border: none !important;
    border-radius: 5px !important;
    color: #ffffff !important;
}

.s-reviews-summary-count {
    font-size: 0 !important;
}
.s-comments-title {
    display: none !important;
}
.s-reviews-summary-recommendation-percentage {
    display: none !important;
}

.s-reviews-summary-header-section.s-reviews-summary-recommendation-only {
    display: none !important;
}

.tab-trigger .s-button-text {
    font-size: 1.3rem !important;
}

.product-price.product-price-bottom.bg-storeBG {
    display: none !important;
}

@media (min-width: 992px) {

.product-single__info{
    display: flex;
    flex-direction: column;
}

.product-single__info > .flex.items-center.justify-between{order:1;}
.product-single__info h1{order:2;}
.product-entry__sub-title{order:3;}
salla-rating-stars{order:4;}
.product-price-top{order:5;}
.product-single__info small{order:6;}

.flex.flex-col.space-y-5.mb-5{
    order:7;
}

.product-form{
    order:8;
    margin-top:20px;
}

.product-single-top-description{
    order:9;
}

salla-cashback-banner,
salla-installment{
    order:10;
}

}
.s-blocks-wrapper:not(:first-of-type) {
    margin-bottom: 2rem;
}



@media (max-width:768px){

#checkout-products-section{
background:#fff!important;
border:1px solid rgba(0,0,0,.32);
border-radius:16px;
padding:12px!important;
margin:15px 10px!important;
}

#checkout-products-section .product-card{
min-height:auto!important;
height:auto!important;
}

#checkout-products-section .product-card__image{
height:auto!important;
aspect-ratio:1/1;
}

#checkout-products-section .product-card__image img{
width:100%!important;
height:100%!important;
object-fit:contain!important;
}

#checkout-products-section .product-card__content{
padding:8px!important;
}

#checkout-products-section .product-card__title{
font-size:13px!important;
}

#checkout-products-section .product-card__subtitle{
font-size:11px!important;
}

#checkout-products-section .total-price{
font-size:14px!important;
}

#checkout-products-section .s-products-list-wrapper{
gap:8px!important;
}

#checkout-products-section .product-card__mini-cart .s-button-text,
#checkout-products-section .product-card__normal-cart .s-button-text{
font-size:0!important;
}

#checkout-products-section .product-card__mini-cart .s-button-text i,
#checkout-products-section .product-card__normal-cart .s-button-text i{
font-size:16px!important;
}

#checkout-products-section .product-card{
    border:1px solid #000!important;
    border-radius:14px!important;
    overflow:hidden!important;
}
#checkout-products-section .sicon-shopping{
    display:none!important;
}
#checkout-products-section .s-products-list-wrapper,
.s-products-list-wrapper{
    gap:14px !important;
}

}

/* إخفاء زر Apple Pay */
apple-pay-button,
.s-apple-pay-button,
#apple-pay-button,
button[aria-label*="Apple Pay"],
button[class*="apple"],
div[class*="apple-pay"] {
    display: none !important;
}


/* موبايل فقط - جعل زر إضافة للسلة فل ويدث وفوق كل شيء */
@media (max-width: 768px) {

  salla-add-product-button {
    width: 100% !important;
    display: block !important;
    order: 1 !important;
  }

  .s-add-product-button-main {
    width: 100% !important;
  }

  salla-add-product-button salla-button {
    width: 100% !important;
  }

  salla-add-product-button button.s-button-element {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  /* جعل زر إضافة فوق زر شراء الآن */
  .s-add-product-button-with-quick-buy {
    display: flex !important;
    flex-direction: column !important;
  }

  .s-add-product-button-mini-checkout {
    order: 2 !important;
  }

  .s-add-product-button-main {
    order: 1 !important;
  }
/* إزالة أيقونة زر إضافة للسلة */
.sticky-product-bar__btn .s-button-text i,
.sticky-product-bar__btn .s-button-text svg,
.sticky-product-bar__btn .s-button-element i,
.sticky-product-bar__btn .s-button-element svg {
    display: none !important;
}

}

@media (max-width: 768px) {

  /* تكبير اسم المنتج */
  .product-card .product-card__title a {
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 600;
  }

  /* تكبير ارتفاع الصورة */
  .product-card .product-card__image {
    height: 210px !important;
  }

  .product-card .product-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

}
@media (max-width: 768px) {
    .home-block-title {
        margin-bottom: 30px !important;
    }

  .home-block-title h2 {
    font-size: 28px !important;
}
}