/* Add custom CSS styles below */ 
.s-modal-body:has(
  salla-products-slider[source-value="[776927600,1559885193,1881105737,1392927146,1094813299,1899087543,439988301,2061384362,37199991,1583561133]"]
){
  display: none !important;
}

.gomla-modal__subtitle.align-center{
  font-size: 0 !important;
  color: transparent !important;
}

.gomla-modal__subtitle.align-center::after{
  content: "قم باضافة ثلاث منتجات لتفعيل العرض";
  font-size: 14px !important;
  color: #c62828 !important;
}
.product-card__subtitle.mb-2\.5 {
    margin-bottom: 0 !important;
}
.s-product-card-rating {
     margin-top: 0 !important; 
}
.text-sm {
    font-size: .75rem !important;
}
.s-comments-flex {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 11px !important;
  white-space: nowrap !important;
}

.s-comments-item-has-order-check-icon svg {
  width: 14px !important;
  height: 14px !important;
}

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


.s-comments-title,
.s-reviews-summary-overall-section {
  display: none !important;
}
img.main-image {
  border-radius: 12px 12px 0 0;
}
h2.product-entry__sub-title {
    font-weight: 400 !important;
}
h2 {
  margin-top: 5px !important;
}
.font-bold {
    font-weight: 400  !important;
}

h4.font-bold.text-xl.inline-block.total-price.text-red-400 {
    font-weight: 700 !important;
}
.enhanced-title-border.home-block-line {
    display: none !important;
}


h2.title,
h2.title * {
  font-weight: 400 !important;
}
/* إذا تبغى يكون أكبر شوي على الكمبيوتر */
@media (min-width: 769px) {
  .navbar-brand img {
    width: 110px !important;
  }
}

#edit-924431060 .s-button-element {
    background: #000 !important;
    color: #fff !important;
}

#edit-924431060 .s-button-element i {
    color: #fff !important;
}
.special-product--4 .product-card__normal-cart .s-button-element {
    background: #000 !important;   /* خلفية سوداء */
    color: #fff !important;        /* النص أبيض */
    border-color: #000 !important; /* حدود سوداء */
}

.special-product--4 .product-card__normal-cart .s-button-element i {
    color: #fff !important;        /* لون الأيقونة أبيض */
}

#product-form section.bg-storeBG:has(i.sicon-barcode) {
  display: none !important;
}

.store-footer {
    margin-top: 80px !important;  /* غيّر القيمة حسب رغبتك */
    position: relative;
}

@font-face {
    font-family: 'XB';
    src: url('/fonts/XB/XB-Bold.woff2') format('woff2'),
         url('/fonts/XB/XB-Bold.woff') format('woff');
    font-weight: regular;
    font-style: regular;
}



@media (min-width: 992px) {
  .fixed-products--5 .s-products-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}



.product-card__image img {
    transform-origin: center; /* يبقيها في الوسط */

}


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

  .product-card__normal-cart .s-button-element * {
    color: #fff !important;
  }


@media (max-width: 991px) {

    .s-products-list-vertical-cards > .product-card:last-child:nth-child(odd){
    grid-column:1 / -1;
    width:50%;
    justify-self:center;
  }

    .index.mobile_small_blocks_titles .home-block-title h2 {
        font-size: 1.8rem !important;
    }
  /* توسيط العنوان وتكبيره */
  h1.text-xl.md\:text-2xl.leading-10.font-bold.text-store-text-primary {
    text-align: center !important;
    font-size: 2rem !important;
  }

  .product-entry__sub-title {
    text-align: center !important;
    width: 100% !important;
  }

  .product-price,
  .product-price-top {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  salla-rating-stars {
    display: block !important;
    width: 100% !important;
  }

  salla-rating-stars .s-rating-stars-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .flex.flex-col.space-y-5.mb-5,
  #variant-inventory {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* إخفاء عنصر التقسيط فقط */
  salla-installment {
    display: none !important;
  }
/* إخفاء قسم السعر بالكامل */
.product-price.product-price-bottom {
    display: none !important;
}
#single-product-details{
  margin-top: 5px !important; /* عدّل الرقم */
}
}
  .container.mt-5 > salla-products-slider[source="related"] {
    display: none !important;
  }


.product-card__actions .s-button-element {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.6) !important;
    box-shadow: none !important;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__actions i {
    font-size: 16px;
    line-height: 2;
}

/* ===== قسم منتجات الشيك آوت ===== */
#checkout-products-section {
  width: 95%;
  max-width: 900px;
  margin: 20px auto;
  padding: 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
}

/* ===== القريد 3 × 3 ===== */
#checkout-products-section .s-products-list-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* ===== كرت المنتج ===== */
#checkout-products-section .product-card,
#checkout-products-section .s-product-card-entry {
  text-align: center;
  font-size: 11px;
}

/* تثبيت ارتفاع حاوي الصورة */
#checkout-products-section .product-card__image {
  height: 120px;
  overflow: hidden;
}

/* إجبار الصورة تملأ المساحة بدون فراغ */
#checkout-products-section .product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover !important; /* أهم سطر */
  display: block;
}

/* ===== إخفاء الوصف ===== */
#checkout-products-section .product-card__subtitle {
  display: none;
}
#checkout-products-section .product-card__actions {
    display: none !important;
}
 {
    display: none !important;
}

/* ===== موبايل (يبقى 3 × 3) ===== */
@media (max-width: 768px) {
  #checkout-products-section {
    width: 98%;
    padding: 10px;
  }

.text-store-text-secondary   { 
  display: block;
    text-align: center;
}
}

.main-nav-container .inner {
    padding-top: 16px !important;
}
/* اسم المنتج في الشيك آوت صف واحد */
#checkout-products-section .product-card__title a {
  font-size: 10px;
  line-height: 1.2;
  white-space: normal; /* يسمح بالنص بالامتداد الطبيعي */
  overflow: visible;   /* يظهر كل النص */
  text-overflow: clip; /* يلغي الثلاث نقاط */
}

@media (max-width: 768px) {
  [data-testid="bcio__popupTeaser"] {
    left: auto !important;
    right: 0 !important;
    bottom: 20% !important;
    transform: none !important;

    writing-mode: horizontal-tb !important;
    text-orientation: initial !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 4px 0 0 4px !important;
    margin: 0 !important;
  }

  [data-testid="bcio__popupTeaser"] p {
    margin: 0 !important;
    white-space: nowrap !important;
  }
}

.s-blocks-wrapper:not(:first-of-type) {
    margin-top: 3rem !important;
}


.product-card__promotion {
    left: auto !important;
    right: 0 !important;

    border-radius: 10px 0 0 10px !important;
}


@media (max-width: 767px) {
    .simplified-products .s-products-list-wrapper .product-card--simplified .product-card__image, .simplified-products .s-products-slider-card .product-card--simplified .product-card__image, salla-offer .product-card--simplified .product-card__image {
        height: 11.9rem !important;
    }
}



@media (min-width: 992px) {
  .product-card__image {
    height: 900px !important;
  }

  .product-card__image img {
    object-fit: contain !important;
    transform: scale(.82);
  }
}

button.s-button-element.s-button-primary {
  background: #233325 !important; /* لون الخلفية */
  color: #ffffff !important;      /* لون النص */
}

salla-reviews-summary.s-reviews-summary-main-container {
  display: none !important;
}

.product-single-top-description,
.product-single-top-description * {
  text-align: center !important;
}


@media (max-width:768px){
  .advanced-slider__caption__inner--center{
    transform:translateY(190px);
  }

  .advanced-slider__caption__inner__content>*{
    color:#fff!important;
    opacity:0;
    animation:slideUp 1.4s ease forwards;
  }

  .advanced-slider__caption__inner__content__heading{
    font-size:24px!important;
    font-weight:400!important;
    margin-bottom:4px!important;
  }

  .advanced-slider__caption__inner__content__text{
    font-size:14px!important;
    margin:0 0 8px!important;
  }

  .advanced-slider__caption__inner__content__button{
    margin-top:0!important;
  }

  @keyframes slideUp{
    from{opacity:0;transform:translateY(25px)}
    to{opacity:1;transform:translateY(0)}
  }
}

@media (min-width:992px){
  .advanced-slider__caption__inner--center{
    transform:translateY(270px);
  }

  .advanced-slider__caption__inner__content>*{
    color:#fff!important;
    opacity:0;
    animation:slideUp .7s ease forwards;
  }

  .advanced-slider__caption__inner__content__heading{
    font-size:34px!important;
    font-weight:400!important;
    margin-bottom:6px!important;
  }

  .advanced-slider__caption__inner__content__text{
    font-size:17px!important;
    margin:0 0 10px!important;
  }

  .advanced-slider__caption__inner__content__button{
    margin-top:0!important;
  }
}

@keyframes slideUp{
  from{opacity:0;transform:translateY(25px)}
  to{opacity:1;transform:translateY(0)}
}

.product-single-top-description ul{
  padding: 0 !important;
  margin: 0 auto !important;
  list-style-position: inside !important;
}

.product-single-top-description ul li{
  width: fit-content !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.s-button-primary {
    background-color: #233325 !important;
    color: #ffffff !important;
}

.s-block--tabs-produtcs .tab-trigger.is-active button {
    color: #233325 !important;
  border-color: #233325 !important;
}



.s-offer-wrapper .s-slider-block__title-left{
  display:none!important;
}

/* توسيط الكرت */
.s-offer-wrapper .s-slider-container,
.s-offer-wrapper .s-slider-swiper-wrapper,
.s-offer-wrapper .swiper-slide{
  display:flex!important;
  justify-content:center!important;
}

.s-offer-wrapper .swiper-slide{
  width:100%!important;
}

/* الكرت */
.s-offer-card{
  width:100%!important;
  max-width:600px!important;
  margin:auto!important;
padding:25px 45px!important;
  flex-direction:column!important;
  align-items:center!important;
  text-align:center!important;
  border-radius:20px!important;
  background:#fff!important;
  transform:translateX(-20px)!important;
  border:1px solid #7e8f82 !important;
}

/* الأيقونة */
.s-offer-card-icon{
  margin:auto!important;
  color:#fff!important;
  background:linear-gradient(135deg,#234b32,#69a477)!important;
}

/* النص */
.s-offer-card-content,
.s-offer-card-details{
  text-align:center!important;
  justify-content:center!important;
}

.s-offer-card-title{
  color:#234b32!important;
  font-weight:700!important;
}

/* الزر */
.s-offer-products-link{
  display:inline-flex!important;
  justify-content:center!important;
  margin:auto!important;
  padding:10px 28px!important;
  border-radius:50px!important;
  background:linear-gradient(90deg,#234b32,#69a477)!important;
  text-decoration:none!important;
}

.s-offer-products-link-text{
  color:#fff!important;
  text-decoration:none!important;
}
.s-offer-wrapper{
  box-shadow:none!important;
}

.s-offer-wrapper .s-slider-block__title{
  display:none!important;
}

.s-offer-card-title{
  font-size:18px!important;
  margin-bottom:12px!important;
      padding-bottom: 10px;

}

.s-offer-card-description{
  font-size:16px!important;
  line-height:1.8!important;
  margin-bottom:16px!important;
}

salla-offer .s-offer-wrapper::before{
  content:"عروض اليوم الوطني";
  display:block;
  text-align:center;
  font-size:24px;
  font-weight:600;
  margin-bottom:18px;
}

h3.gomla-modal__title.align-center{
  font-size:0 !important;
}

h3.gomla-modal__title.align-center::before{
  content:"إشترِ ٢ وخذ الثالث مجانًا 🎁\A٣ منتجات بـ ١٥٩ ريال فقط";
  white-space:pre-line;
  font-size:20px;
  line-height:1.8;
  color:rgb(42,70,42);
}


.gomla__fbt-bundle-container-11722 {
  margin-bottom: 20px;}


#gomla__fbt-bundle-container-11722 [data-product-id="1559885193"] .gomla__product-card__price{
  font-size:0!important;
}
#gomla__fbt-bundle-container-11722 [data-product-id="1559885193"] .gomla__product-card__price:before{
  content:"0";
  font-size:16px;
}

#gomla__fbt-bundle-container-11722 .gomla__fbt-desktop-button-price{
  font-size:0!important;
}
#gomla__fbt-bundle-container-11722 .gomla__fbt-desktop-button-price:before{
  content:"اجمالي السعر: 264 ";
  font-size:16px;
}