/* Add custom CSS styles below */ 
/*html[lang] #app.app-body {
display: none;
*/

/* 1. تعريف الخط (تعليمة @font-face) */
/* ملاحظة: قمت بتغيير font-style من bold إلى normal لأن file .otf الأصلي هو الذي يحدد السماكة */
@font-face {
    font-family: 'التأسيس';
    src: url('https://cdn.salla.sa/themes/custom_fonts/77879523/1769711172.otf') format('opentype');
    font-weight: bold;
    font-style: normal; /* تم التعديل هنا ليكون صحيحاً */
    font-display: swap;
}

/* 2. استهداف عناصر HTML الحقيقية (الكود الخاص بك) */
h2, h3, a, .s-button-text span, p {
    font-family: 'التأسيس', sans-serif !important;
    font-variant-ligatures: common-ligatures !important;
    font-feature-settings: "ss01" 1, "swsh" 1 !important;
}

/*p {
    font-family: 'التأسيس', sans-serif !important;
    font-feature-settings: "ss01" 1;
}*/

.floating_text .subtitle {
    font-size: xx-large;
    padding-top: 12px;
}

.s-block--animated-ads .ad-ul {
    background-color: #00a5d2 !important; /* استبدل هذا الكود بلونك المفضل */
}
/* استهداف العنصر باستخدام الـ data-time الفريد الخاص به لضمان عدم التأثير على أقسام أخرى */
section[data-time="2026/03/10 08:47:45 م"] {
    padding-bottom: 0 !important;
}

/* أو استهداف العنصر عبر الكلاسات المجمعة إذا كنت متأكداً أنه الوحيد بهذا الترتيب */
section.home-sec-2.sq-awesome-banners {
    padding-bottom: 0 !important;
}
.section-is-slider .pagination-is-under .swiper-wrapper {
    padding-bottom: 35px;
}























#bcio-whatsapp-widget {
  display: none;
}
#bcio-popups {
  display: none;
}
#app.btns-gradient .s-button-primary:not(.dm-btn-in-bg-sec) .s-button-text {
    color: var(--gradient-text-color) !important;
    font-size: smaller;
}
#app .mobile-nav { 
  border: solid 0.5px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
#app.product-card-bg-on custom-salla-product-card {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px, rgb(0 0 0 / 31%) 0 0px 16px -8px;
 /* box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px, rgb(0 0 0 / 50%) 7px 8px 30px -15px;*/
}

body.md-price custom-salla-product-card .price-wrapper span.pc-t:not(.color-danger), body.xl-price custom-salla-product-card .price-wrapper .color-danger {
    color: #31a4d1;
  font-weight: 700;
}
body:not(.cls-83) .product-block .sale-ratio {
    font-weight: 600;
    padding: 0 8px;
    border-radius: 20px;
    font-size: 10px;
    line-height: 20px;
    font-weight: 500;
    width: max-content;
    color: #ff001f;
    background: #cf142b1c;
    direction: ltr;
}
/* نسبة الخصم */
.price-wrapper .sale-ratio-wrapper {
    margin: 0;
}

.price-wrapper {
  margin-bottom: 0rem;
    min-height: 38px !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; /* هذه الخاصية لتوسيط السطر الثاني */
}
.s-block h3, .banner__title {
    line-height: revert;
}

/* السعر بعد الخصم (السطر الأول) */
.price-wrapper > span:not(.before-price) {
    width: 100%;
    margin-bottom: 4px;
    text-align: center; /* تم إضافتها لتوسيط السطر الأول أيضاً ليتناسق مع الثاني */
}

/* السعر قبل الخصم (السطر الثاني) */
.price-wrapper .before-price {
    margin-right: 0 !important; 
    margin-left: 8px !important; 
}






/* توحيد مساحة حاوية السعر في جميع المنتجات */
.price-wrapper {
    min-height: 60px; /* مساحة تكفي لسطرين (السعر قبل وبعد) */
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center; /* لتوسيط العناصر أفقياً */
    align-content: center; /* لتوسيط السعر عمودياً إذا كان المنتج بدون خصم (سطر واحد) */
}











.s-products-slider-card {
    margin-bottom: 35px;
}
.product-block salla-add-product-button .s-button-btn {
    padding: 0.25rem 5px;
}
.product-block .badge {
  font-size: 9px;
}
.product-block__thumb:not(.s-product-card-image) .badge {
      border-radius: 50px;
      margin: 10px;
}
.s-product-card-rating, .rating-wrapper  {
    justify-content: center;
}

.product-block__thumb{
position:relative;
}
/*
.rating-wrapper{
position: fixed;
bottom: 140px;
right:8px;
z-index:10;
}
.s-product-card-rating-star{
background: rgba(0,0,0,0.45);
backdrop-filter: blur(8px);
color:#fff;
padding:4px 8px;
border-radius:20px;
font-weight:600;
font-size:12px;
box-shadow:0 4px 10px rgba(0,0,0,.25);
}

*/


.s-product-card-rating-count {
  display: none;
}








body.p-border-on custom-salla-product-card.product-block .product-block__info{
position:relative;
overflow:hidden;
}

body.p-border-on custom-salla-product-card.product-block .product-block__info::after{
content:"";
position:absolute;
top:0;
left:-120%;
width:60%;
height:100%;
background:linear-gradient(
120deg,
transparent,
rgba(255,255,255,0.45),
transparent
);
transform:skewX(-20deg);
animation:productInfoShine 4s infinite;
pointer-events:none;
}

@keyframes productInfoShine{
100%{
left:140%;
}
}

/* استثناء الأزرار */
body.p-border-on custom-salla-product-card.product-block .btn--add-to-cart,
body.p-border-on custom-salla-product-card.product-block .showPreviewBtn.preview-btn-down{
position:relative;
z-index:2;
}
.wa-widget {
  background-color: white;
  box-shadow: rgb(0 0 0 / 15%) 0px 19px 38px, rgb(0 0 0 / 17%) 0px 15px 12px;
}
.wa-widget i {
  color: #21627c;
}
.s-block__title {
    justify-content: center;
}
custom-salla-product-card .product-block__info .title {
    font-size: 1rem;
  margin-bottom: 0rem;
}
body:not(.cls-85) .sq-awesome-banners salla-slider[display-all-url] .s-slider-block__title {
    justify-content: center;
}
.s-block--tabs-produtcs .tabs {
    /*display: none;*/
}
.s-products-list-vertical-cards {
  gap: 1rem;
}
.s-block--tabs-produtcs+.s-block--tabs-produtcs {
  padding-top: 0rem;
}


.s-block--testimonials {
    padding-bottom: 40px !important;
}

.s-block--testimonials .swiper,
.s-block--testimonials .swiper-wrapper {
    overflow: visible !important;
}

.s-block--testimonials .swiper-slide {
    padding: 30px !important;
    height: auto !important;
}

body .cntr-tit .testi-tit-container {
    display: none !important;
}

.s-block--testimonials .testimonial {
    display: block !important;
    background: linear-gradient(212deg, #185a80 0%, #55b5dc 100%) !important;
    border: 1px solid #00f3ff !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
    border-radius: 12px !important;
}

.s-block--testimonials .testimonial .dm-text-main,
.s-block--testimonials .testimonial p,
.s-block--testimonials .testimonial h4,
.s-block--testimonials .testimonial__icon {
    color: #ffffff !important;
}

.s-block--testimonials .s-rating-stars-btn-star path {
    fill: #00f3ff !important;
}

.s-block--testimonials .s-slider-nav-arrow {
    background-color: #0c334a !important;
    border: 1px solid #00f3ff !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
}

.s-block--testimonials .s-slider-nav-arrow svg path {
    fill: #00f3ff !important;
}

.s-block-count-down-3 {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 20px 10px !important;
    overflow: hidden !important;
    --overlay-opacity: 0.3;
    background-color: #000000 !important;
    background-image: url('https://i.ibb.co/L4N8C4p/small-vecteezy-prayer-beads-and-prayer-rug-in-a-mosque-during-a-religious-76738228-small-ezgif-com-v.gif') !important;
    background-size: cover !important;
    background-position: center !important;
}
.s-block-count-down-3 {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 30px 15px !important;
    overflow: hidden !important;
    --overlay-opacity: 0.3;
    background-color: #000000 !important;
    background-image: url('https://i.ibb.co/L4N8C4p/small-vecteezy-prayer-beads-and-prayer-rug-in-a-mosque-during-a-religious-76738228-small-ezgif-com-v.gif') !important;
    background-size: cover !important;
    background-position: center !important;

    /* التعديلات الجديدة لجعل العداد غير ممتلئ الشاشة */
    width: 93% !important; /* يأخذ 95% من الشاشات الصغيرة */
    max-width: 800px !important; /* أقصى عرض للعداد على الشاشات الكبيرة */
   
    border-radius: 16px !important; /* حواف دائرية لجمالية التصميم */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important; /* ظل خفيف لإبراز الصندوق */
}

.s-block-count-down-3::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -2 !important;
    background: linear-gradient(31deg, #00f3ff, #00a3ff) !important;
    mix-blend-mode: color !important;
    pointer-events: none !important;
}

.s-block-count-down-3 .count-down_wrapper::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    background: rgba(0, 0, 0, var(--overlay-opacity, 0.3)) !important;
    pointer-events: none !important;
}

.s-block-count-down-3::before {
    content: "عروض شهر رمضان" !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
    font-size: 42px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
    text-shadow: 0px 1px 4px lab(0 0 0), 0px 6px 7px lab(0 0 0 / 0.52), 0px 4px 8px lab(0 0 0 / 0.41) !important;

    /* إضافة كود الخط هنا */
    font-family: 'التأسيس', sans-serif !important;
    font-variant-ligatures: common-ligatures !important;
    font-feature-settings: "ss01" 1, "swsh" 1 !important;
}

/* استهداف الوصف: "تشكيلة واسعة من السبح..." */
.s-block-count-down-3 .count-down_wrapper::before {
    content: "تشكيلة واسعة من السبح تزهى بها يمينك \A تنتهي العروض خلال" !important;
    white-space: pre-wrap !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
    font-size: 18px !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
line-height: 2;
    /* إضافة كود الخط هنا */
    font-family: 'التأسيس', sans-serif !important;
    font-feature-settings: "ss01" 1; /* استخدمنا التنسيق الأبسط للفقرات */
  
}

.s-block-count-down-3 .s-count-down-wrapper {
    position: relative !important;
    z-index: 2 !important;
}
/* 1. تصغير المسافة بين مربعات العداد */
.s-block-count-down-3 .s-count-down-list {
    display: flex !important;
    justify-content: center !important;
    flex-direction: row !important;
    gap: 10px !important; /* تم تصغير الفراغ هنا من 15 إلى 10 */
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* 2. تصغير حجم مربعات العداد نفسها */
.s-block-count-down-3 .s-count-down-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 75px !important;  /* تم تصغير العرض من 90 إلى 75 */
    height: 85px !important; /* تم تصغير الطول من 110 إلى 85 */
    border-radius: 4px !important;
    border: solid 0.5px white !important;
    backdrop-filter: blur(6px) !important;
    box-shadow: 0px 7px 10px rgb(0 0 0 / 52%) !important;
}

/* 3. تصغير حجم الأرقام */
.s-block-count-down-3 .s-count-down-item-value {
    font-size: 28px !important; /* تم التصغير من 38 إلى 28 */
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
    font-family: inherit !important;
}

/* 4. تصغير حجم الكلمات (يوم، ساعة...) */
.s-block-count-down-3 .s-count-down-item-label {
    font-size: 14px !important; /* تم التصغير من 16 إلى 14 */
    color: #ffffff !important;
    font-weight: 500 !important;
}
@media (max-width: 768px) {
    .s-block-count-down-3::before {
        font-size: 30px !important;
    }
    .s-block-count-down-3 .count-down_wrapper::before {
        font-size: 16px !important;
    }
    .s-block-count-down-3 .s-count-down-list {
        gap: 6px !important; /* تقليل المسافة أكثر للجوال */
    }
    .s-block-count-down-3 .s-count-down-item {
        width: 60px !important;  /* تصغير المربع للجوال */
        height: 70px !important;
    }
    .s-block-count-down-3 .s-count-down-item-value {
        font-size: 22px !important; /* تصغير الرقم للجوال */
    }
    .s-block-count-down-3 .s-count-down-item-label {
        font-size: 12px !important; /* تصغير النص للجوال */
    }
}

/* إصلاح العرض الإجباري القديم */
@media only screen and (max-width: 767px) {
    body .s-block-count-down.type-count_down .s-count-down-item {
        min-width: 80px !important; /* تم تعديله ليطابق الحجم الجديد */
    }
}
.s-block-count-down-3 {
  margin-top: 0rem;
}
.s-block--tabs-produtcs .tabs {
    display: none;
}

  section.s-block.is-slider.aali-products-tabs {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
section.s-block.aali-products-tabs.s-block-tabs.is-grid,
section.s-block.aali-products-tabs.s-block-tabs.is-slider {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.s-block all s-block--one-wide-banner
  
  .enhanced-product-card.product-block {
    padding-bottom: 0 !important;
}
section.s-block.s-block--one-wide-banner {
    margin-top: 0 !important;
    padding-top: 0 !important; /* أحياناً تكون المسافة Padding وليست Margin */
}

.s-block-count-down.type-product .s-product-card-content .pc-t {
    font-size: 20px;
}
body.md-price custom-salla-product-card .price-wrapper span.pc-t:not(.color-danger), body.md-price custom-salla-product-card .price-wrapper .color-danger {
    font-size: 1.25rem;
    color: #30a4d1 !important;
}
.s-block-count-down-7 {
    padding-bottom: 40px;
}



  
@media only screen and (max-width: 767px) {
    .s-block-count-down .s-count-down-list .s-count-down-item {
        background: linear-gradient(45deg, var(--gradient-second), var(--gradient-first)) !important;
    }
}

.s-block-count-down.type-product .s-count-down-item-value {
      color: white;
      font-size: x-large;
    font-weight: bold;
}
  
.s-block-count-down.type-product .s-count-down-item-label {
    color: white;
      font-size: large;
    font-weight: bold;
}
@media only screen and (max-width: 767px) {
    .s-block-count-down .s-count-down-list {
        padding-right: 7px;
        margin-bottom: 4px;
        padding-left: 7px;
        padding-bottom: 10px;
    }
.s-count-down-md .s-count-down-item::after {
  display: none;
}
@media only screen and (max-width: 767px) {
    .s-block-count-down .s-count-down-list .s-count-down-item {
        height: 5rem;
    }
}


html[lang] #app.app-body {
    @media only screen and (max-width: 767px) {
        .s-block-count-down.s-block-count-down-3 .s-count-down-list .s-count-down-item {
            background: transparent !important;
        }
    }
}



  







  

  
.store-footer {
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    background: linear-gradient(212deg, #185a80 0%, #55b5dc 100%) !important;
    --footer-bg-color: transparent !important; /* إفراغ المتغير الذي يغطي التدرج */
    background-image: linear-gradient(212deg, #185a80 0%, #55b5dc 100%) !important;
}

/* التأكد من أن الطبقة الداخلية لا تملك لون خلفية يحجب التدرج */
.store-footer__inner {
    background-color: transparent !important;
    background: transparent !important;
}