/* Add custom CSS styles below */ 
/* إخفاء WhatsApp في صفحات المنتجات */
.product-single #bcio-whatsapp-widget,
#single-product-details ~ #bcio-whatsapp-widget,
body:has(.product-single) #bcio-whatsapp-widget,
body:has(#single-product-details) #bcio-whatsapp-widget {
  display: none !important;
}

.s-block--enhanced-features__item:first-child {
    background-color: #ffffff;
}

.s-block--enhanced-features__item:nth-child(2), .s-block--enhanced-features__item:nth-child(3) {
  background-color: #ffffff !important;
}

.grid.items-start.grid-cols-1.md\:grid-cols-2.gap-4 {
  display: none !important;
}

@media (max-width: 768px) {
  .s-block--square-links .max-w-2xl {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 12px;
    grid-template-columns: unset !important;
  }

  .s-block--square-links .max-w-2xl > li {
    flex: 0 0 30vw;
    max-width: 30vw;
    scroll-snap-align: start;
  }

  /* إخفاء الـ scrollbar */
  .s-block--square-links .max-w-2xl::-webkit-scrollbar {
    display: none;
  }
  .s-block--square-links .max-w-2xl {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

.card-image-wrapper {
    aspect-ratio: 1 / 1 !important;
}

@media (max-width: 768px) {
  .s-block--bundle-collections-slider .content-side .cta-button {
    display: none !important;
  }

  .s-block--bundle-collections-slider .cta-button-mobile {
    display: block;
    margin: 16px auto 0;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .s-block--bundle-collections-slider .cta-button-mobile {
    display: none !important;
  }
}

/* ===== DESKTOP ===== */
@media (min-width: 769px) {
  .advanced-slider__caption__inner__content__button {
    border-radius: 15px;
    transition: all .3s ease;
    margin-top: 360px !important;
    margin-right: 70px !important;
    padding: 10px 30px !important;
  }

  .reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    background: rgba(255, 245, 230, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(200, 170, 120, 0.4);
    border-radius: 999px;
    padding: 8px 20px;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    direction: rtl;
    margin-right: 60px;
  }

  .advanced-slider__caption__inner__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .advanced-slider__caption__inner__content__button {
    border-radius: 15px;
    transition: all .3s ease;
    margin-top: 120px !important;
    margin-right: 22px !important;
    padding: 0px 10px !important;
    font-size: 8px !important;
  }

  .reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    background: rgba(255, 245, 230, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(200, 170, 120, 0.4);
    border-radius: 999px;
    padding: 0px 10px;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    direction: rtl;
    margin-right: 20px;
  }

  .reviews-btn__stars {
    color: #c9922a;
    font-size: 6px;
    letter-spacing: 1px;
  }

  .reviews-btn__count {
    color: #3d2e1a;
    font-size: 6px;
    font-weight: 600;
  }

  .reviews-btn svg {
    width: 14px;
    height: 14px;
  }

  .advanced-slider__caption__inner__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
  }
  .px-6 {
     padding-left: 0rem !important; 
     padding-right: 0rem !important; 
}

.s-block {
    margin-top: 1rem !important;
}
}
.s-block--bundle-collections-slider .slider-controls {
  display: none !important;
}

.product-card__image {
    background-color: white !important;

}

:root {


--font-main: 'Almarai', sans-serif;


}

#about-6 h2 {
  color:white !important; 
}


#about-6 p {
  color:white !important; 
}

.s-block--product-tabs .product-tabs-container{
  margin-bottom: 1.25rem
}

#brands{
  display: none !important;
}

.s-block--faq .grid {
  display: none !important;
}

.s-block--faq{
  padding: 0px !important;
}

.s-block--stats{
  margin-top: 0px !important;
}

.s-block--stats{
  padding-top: 0px !important;
}

salla-installment{
  display: none;
}


.product-single .sticky-product-bar salla-add-product-button salla-button .s-button-btn {
    max-height: 40px;
    background-color: #9BC04D !important;
    border-color: #9BC04D !important;
    color: #ffffff !important;
}

.s-add-product-button-mini-checkout-content:where([dir=rtl],[dir=rtl] *) {
    flex-direction: row-reverse;
    color: #000000;
}

.s-fast-checkout-button.outline {
    background-color: transparent;
    border: 1px solid #9BC04D;
}


.s-price-range-currency, .s-rating-stars-reviews
 {
    color: var(--store-text-secondary);
    display: none;
}

.product-single__discounted-amount{
  display: none;
}

.inventory-content>#variant-inventory {
    display: none;
}

.text-store-text-primary {
    color: var(--store-text-primary);
    
}

.s-button-wrap svg {
    height: 1.25rem;
    width: 1.25rem;
    fill: #000000 !important;
}

.s-button-icon .s-button-text {
    display: flex;
    color: #000000 !important;
}

codeCSS
/* ==========================================================================
   كود معمم ومطور (مضاد للفشل) ليتناسب مع كافة كلاسات ثيمات سلة المختلفة
   ========================================================================== */

/* 1. تنسيق العناوين الرئيسية للأقسام (H2) */
.product-details__description h2, 
.product-description h2, 
.entry-content h2,
.description-content h2 {
    border-right: 5px solid #800e28 !important; /* خط عنابي فخم يمين العنوان */
    padding-right: 14px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    color: #800e28 !important;
    margin-top: 35px !important;
    margin-bottom: 18px !important;
    line-height: 1.4 !important;
}

/* 2. تنسيق الأسئلة الشائعة الفرعية (H3) */
.product-details__description h3, 
.product-description h3, 
.entry-content h3,
.description-content h3 {
    background-color: #fcfcfc !important; /* بطاقة سؤال ناعمة */
    border-right: 4px solid #4e5d3c !important; /* خط زيتوني طبيعي */
    padding: 12px 16px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #333 !important;
    margin-top: 25px !important;
    margin-bottom: 12px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

/* 3. تحويل القائمة النقطية إلى علامات صح زيتونية */
.product-details__description ul, 
.product-description ul, 
.entry-content ul,
.description-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

.product-details__description li, 
.product-description li, 
.entry-content li,
.description-content li {
    position: relative !important;
    padding-right: 32px !important;
    margin-bottom: 14px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #444 !important;
}

/* إضافة علامات الصح الخضراء */
.product-details__description li::before, 
.product-description li::before, 
.entry-content li::before,
.description-content li::before {
    content: "✓" !important;
    position: absolute !important;
    right: 0 !important;
    top: 2px !important;
    color: #4e5d3c !important; 
    font-weight: bold !important;
    font-size: 14px !important;
    background: rgba(78, 93, 60, 0.1) !important; 
    width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

/* 4. تنسيق النصوص والفقرات العادية داخل الوصف لراحة العين */
.product-details__description p, 
.product-description p, 
.entry-content p,
.description-content p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #555 !important;
    margin-bottom: 15px !important;
}