/* product page */ 
.dts-page .main-dts .brand img {
    max-width: 75px; 
}
.theme-dark .p-que-addcart salla-add-product-button .s-add-product-button-mini-checkout-content {
    background: transparent !important;
    color: var(--color-primary) !important;
}
.theme-dark .p-que-addcart salla-add-product-button .s-add-product-button-mini-checkout-content svg {
    fill: var(--color-primary)!important;

}
@media (max-width: 576px) {
    .price-descount-box {
        flex-direction: row;
    }
    p.n-price.total-price {
    display: none !important;
}
}
.s-product-options-thumbnails-wrapper div input[type=radio] + label {
    position: relative;
    height: auto !important;
    width: 4rem;
}

.theme-dark .s-product-options-option-content {
    background: #14142b !important;
}
.support-sticky-bar .left-sec.active .sticky-bar-bottom {
    gap: 40px;
    box-shadow: 1px 1px 20px 0px rgb(32 226 215) !important;
}




/* home page */
@media (max-width: 992px) {
    .ebdaa-line .line-box {
        flex-direction: row !important;

    }
}

@media (max-width: 576px) {
    .s-block--categories .slide--cat-entry h2 {
        font-size: 15px;
        max-width: 12ch !important;

        display: -webkit-box;
        -webkit-line-clamp: 2;   /* 👈 يخليها سطرين فقط */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;     /* 👈 لازم عشان يسمح بالنزول لسطر جديد */
    }
    .s-block--categories .carousel-slider .swiper-wrapper > div {
        min-width: 100px !important;
                width: 23%;
    }
}

@media (min-width: 750px) {
    .s-block--categories .slide--cat-entry h2 {
        font-size: 15px;
        max-width: 12ch !important;

        display: -webkit-box;
        -webkit-line-clamp: 2;   /* نفس المنطق هنا */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
    }
    .s-block--categories .carousel-slider .swiper-wrapper > div {
        min-width: 100px !important;
                width: 11%;
    }
}





    .support-sticky-bar .left-sec.active .sticky-bar-bottom {
        gap: 40px;
        box-shadow: 1px 1px 20px 0px rgb(32 226 215);
    }

button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
    background: #0065f9;
}
salla-button.s-button-wrap.hydrated button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
    background: #045cff; !important;
}
.bottom-part {
    opacity: 0;
        height: 0;
}





/* product card */
@media (max-width: 490px) {
.s-products-slider-card {
  max-width: 40% !important;
}
}

@media (min-width: 750px) {
.s-products-slider-card {
  max-width: 16.5% !important;
}
}

.s-product-card-image a{
  background: #ffffff !important;
}
.s-button-element:not(:disabled):not([loading]) {
    color: #ffffff;

}




/*nav bar */
@media (max-width: 576px) {
    .ps-header .ps-logo img {
        width: 134px !important;
    }
}
 
.ps-header .ps-header__middle , .main-nav-container.fixed-pinned.animated .inner {
    background: linear-gradient(180deg, var(--color-primary) -130%, transparent);
}

 .main-nav-container.fixed-pinned.animated .inner {
    background: linear-gradient(180deg, var(--color-primary) -30%, transparent);
        backdrop-filter: blur(2px);
}
.ps-header .ps-logo img {
        filter: drop-shadow(2px 2px 0px black);
    }

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.theme-dark .ps-header.fixed-header .ps-header__middle {
    background: linear-gradient(180deg, var(--color-primary) -10%, transparent) !important;
        backdrop-filter: blur(2px);Ï
    
}

    .theme-dark .main-menu .sub-menu {
        background-color: var(--color-secondary-dark-mode);
        box-shadow: rgb(0 215 209 / 54%) 0px 8px 24px !important;
    }
    
    
    
    
    
       /*
* تعديل شاشة التحميل loader-init
*/

.loader-init {
    /* يجعل الخلفية شبه شفافة (رمادي 50%) */
    background-color: rgba(128, 128, 128, 0.5) !important;
}

   .loader-init {
            /* يجعل الخلفية شبه شفافة بلون أزرق داكن وشفافية أعلى */
            background-color: rgba(0, 50, 86, 0.7) !important;
        }
        
        
        /* cart*/
        salla-button#coupon-btn {
    background: #19b4c8;
    border-radius: 5px;
    /* fill: blue; */
}