/* Add custom CSS styles below */
:root {
    --color-primary-reverse: #fff8e4;
  
}

.salla-advertisement{
background-color:#000 !important;
}
h3.mt-1.text-white.text-sm.sm\:text-xl a p,h3.mt-1.text-white.font-semibold a p{
display:none;
}
body.trans_header.slider_has_overlay .store-header .s-cart-summary-count {
background-color:red;
color:#fff !important;

}
.product-card .product-card__image{
height:60% !important;
}
.-mt-56{
    margin-top: 12rem !important;
}



@media(max-width:720px){
.fit-slider-products .s-slider-swiper-wrapper .swiper-slide{
    width: 55%;

}
p.mb-5.text-store-text-primary,h2.text-2xl.lg\:text-4xl.text-primary.font-bold.mb-5{
    text-align: center !important;
}

.product-card .product-card__content .product-card__title a{
fopnt-size:13px !important;
}
.gap-x-6 {
    -moz-column-gap: 1.5rem;
    column-gap: 0.3rem !important;
}
.gap-y-6 {
    row-gap: 0.2rem !important;
}

div.mx-auto.max-w-7xl.px-6{
padding-left: 1rem;
    padding-right: 1rem;

}
.-mt-56{
    margin-top: -17rem !important;
}

body.enhanced_add_btn_in_mobile .product-card__content-wrapper {
        max-height: 15px;}


}



.opacity-50 {
opacity:0.2;
}
.text-red-400 {
    color: #d0021b;
}
div.mx-auto.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.group img.lazy.h-full.w-full.object-cover.object-center.loaded{
object-fit: fill;
}
div.group.relative.h-28{
height:30rem !important;
}
.products-index .main-content .product-card .product-card__image {
        height: 60%;
    }
    @media only screen and (min-width: 1024px) {
    
    .main-menu li>a{
    padding: 0.6rem;
        font-size: 0.89rem;
    
    }
    
}
@media only screen and (max-width: 768px) {

div.group.relative.h-28{
height:11rem !important;
}

    .rounded-lg,
    .rounded-md,
    salla-products-slider .s-slider-block__display-all,
    .product-card,
    .s-block--square-links ul li a div img,
    .s-block--fixed-banner .banner--fixed img,
    .s-block--animated-brands .s-block--animated-brands--brand {
        border-radius: 0.125rem !important;
    }
}
@media only screen and (min-width: 769px) {

    .rounded-lg,
    .rounded-md,
    salla-products-slider .s-slider-block__display-all,
    .product-card,
    .s-block--square-links ul li a div img,
    .s-block--fixed-banner .banner--fixed img,
    .s-block--animated-brands .s-block--animated-brands--brand {
        border-radius: 0.125rem !important;
    }
}
.product-single__inner .btn-tab,
.product-single__inner .s-button-btn,
.product-single__inner .s-quantity-input-container,
.product-single__inner .s-quick-order-container,
.product-single__inner .s-form-control,
.product-single__inner .s-product-options-thumbnails-wrapper label,
.product-single__inner .s-button-icon,
.product-single__inner .s-social-share-list,
.product-single__inner .s-comment-form-input {
    border-radius: 0.125rem !important;
}
/*icon*/

.store-header .sicon-cart:before {
    content: "\ef36";
}

.store-header .sicon-user:before {
    content: "\f072";

}
.store-header salla-user-menu .s-user-menu-trigger {
    padding-left: 0.125rem;
    padding-right: 0.125rem;
}

/* cart items counter */
.store-header .s-cart-summary-count {
    background-color: #d0021b;
    right: -0.5rem;
    top: 0.125rem;
}

/* icons container */
.store-header .header-btn__icon {
    width: 1.75rem;
}

/* cart items */
.store-header salla-cart-summary {
    margin-right: 10px !important;
}



@media only screen and (min-width: 640px) {

    /* Header container */
    .main-nav-container .inner {
        padding-top: 20px;
        padding-bottom: 12px;
    }

    .store-header #mainnav .inner .container {
        max-width: 1500px;
    }

    .store-header .main-nav-container .main-menu {
        padding-top: 0;
        justify-content: center;
    }

    /* categories */
    .store-header .main-nav-container .navbar-brand+.mobile-menu {
        /*display: none;*/
        width: 100%;
    }

    .store-header .main-nav-container div:has(> .navbar-brand) {
        flex-grow: 1;
    }

    .store-header .main-nav-container li.root-level>a {
        padding-bottom: 0rem;
        padding-top: 0;
    }

    .index .store-header .main-nav-container:not(.fixed-header) .main-menu>li {
        /*color: #fff;*/
        /* Applies color to first-level li elements */
    }

    .index .store-header .main-nav-container:not(.fixed-header) .main-menu>li>*:not(.sub-menu) {
        color: inherit;
        /* Ensures that any direct children except for submenus inherit color */
    }

    .index .store-header .main-nav-container:not(.fixed-header) .main-menu .sub-menu {
        color: initial;
        /* Resets the color of the submenu so it's not affected */
    }

    .index .store-header .main-nav-container:not(.fixed-header) .container div div+div salla-cart-summary,
    .index .store-header .main-nav-container:not(.fixed-header) .container div div+div button {
        /*color: #fff;*/
    }

    .index .store-header .main-nav-container:not(.fixed-header) .navbar-brand img {
        /*filter: invert(1) grayscale(1) contrast(3) !important;*/
    }

}
@media only screen and (max-width: 768px) {

    /* Header container */
    .store-header .main-nav-container {
        min-height: 57px;
    }

    .store-header .main-nav-container .inner {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    /* burger menu */
    .store-header .mburger .sicon-menu {
        margin-left: 0;
        font-size: 1.75rem;
    }

    /* logo */
    .store-header .main-nav-container .navbar-brand img {
        height: 50px !important;
        transform: scale(1.2);
    }

    /* user icon */
    .store-header .s-user-menu-trigger {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* main category text */
    .mobile-menu .main-menu .mm-spn--open li:first-child a {
        font-size: 0;
    }

    .mobile-menu .main-menu .mm-spn--open li:first-child a:after {
        content: ' عرض الكل';
        font-size: 1rem;
    }

   

    

}

/* ************************************************* */
/* ------------------ PRODUCT CARD ----------------- */
/* ************************************************* */

/* image */
.product-card .product-card__image {
    /*border: 1px red solid;*/
    height: auto;
}

/* promo title */
.product-card .product-card__image .product-card__promotion {
    background-color:rgba(239,68,68,0.8)!important;
    color:#fff;
    font-size: 0.7rem;
}

/* like and quick view buttons */
.product-card .product-card__buttons {
    display: none;
}

/*desc container */
.product-card .product-card__content .product-card__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: right;
    flex-grow: 1;
    align-content: space-between;
}

/* title */
.product-card .product-card__content .product-card__title {
    width: 100%;
    margin: 0 0 6px;
}

/* subtitle */
.product-card .product-card__content .product-card__subtitle {
    width: 100%;
    flex-grow: 1;
    margin-top: auto;
    margin-bottom: auto;
    display: none;
}

/* prices container */
.product-card .product-card__content .product-card__price {
    display: flex;
    flex-direction: column-reverse;
}

/* price before */
.product-card .product-card__content .product-card__price span {
    margin-right: 0;
}

/* auto discount */
.product-card .product-card__content .product-card__discount span {
    color: #0B1F37;
    border-radius: 2px;
    font-size: 0.675rem;
    padding: 0.25rem;


}

.product-card .product-card__content .product-card__discount {
    align-self: flex-end;
    background-color: rgba(207, 20, 43, .11);
    line-height: 12px;
    /*margin-bottom: -4px;*/
    /*order: 4;*/

}

/* countdown container */
.product-card .product-card__content .s-count-down-wrapper {
    width: 100%;
}

.product-card .product-card__content .s-count-down-list {
    padding-right: 0;
}

/* add to cart */
.product-card .sicon-shopping {
    display: none;
}


/* add to cart in desktop */
.product-card__normal-cart__btn .s-button-element span {
    font-weight: 900;
    width: 100%;
    margin-right: 33%;
    font-size: 1rem;
}

.product-card__normal-cart__btn .s-button-element span:after {
    content: "\e90c";
    font-family: 'sallaicons';
    margin-right: auto;
}

.product-card .product-card__normal-cart {
    border-top: 1px solid rgba(239, 239, 239, .70196);
}

.product-card .product-card__normal-cart__btn .s-button-btn {
    border: unset;
}

.product-card .product-card__normal-cart__btn .s-button-btn:hover {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}
@media only screen and (min-width: 769px) {

    /* add to cart */
    .product-card .product-card__content {
        padding-bottom: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    /*desc container */
    .product-card .product-card__content .product-card__content-wrapper {
        padding-right: 14px;
    }

    /* rating */
    .product-card .product-card__content .s-product-card-rating {
        /*justify-content: flex-end;
          flex-grow: 1;
          margin-left: 0.5rem;
          padding-top: 10px;*/
        justify-content: flex-start;
        flex-grow: 1;
        width: 100%;
        margin-top: 0;
    }
}

@media only screen and (max-width: 768px) {

    /*desc container */
    .product-card .product-card__content .product-card__content-wrapper {
        padding-left: 0 !important;
        padding-right: 3px !important;
    }

    /* promo & auto-promo */
    .product-card .product-card__image .product-card__promotion,
    .product-card .product-card__content .product-card__discount span {
        font-size: 8px;
        /*padding: 0.063rem;*/
    }

    /* auto-promo */
    .product-card .product-card__content .product-card__discount {
        margin-bottom: -4px;
    }

    /* title & subtitle */
    .product-card .product-card__content .product-card__title a,
    .product-card .product-card__content .product-card__subtitle {
        font-size: 12px !important;
        line-height: 0.875rem;
    }

    /* price before*/
    .product-card .product-card__content .product-card__price span {
        font-size: 10px;
    }

    /* price after */
    .product-card .product-card__content .product-card__price h4,
    .product-card .product-card__content .product-card__price {
        font-size: 12px;
        line-height: 1rem !important;
        font-weight: 700 !important;
    }

    /* rating */
    .product-card .product-card__content .s-product-card-rating {
        /*justify-content: flex-end;
          flex-grow: 1;
          margin-left: 0.25rem;
          padding: 2px;
          margin: 0;
          margin-bottom: -2px;
          line-height: 0;
          align-self: flex-end;
          margin-left: 0.125rem;
          font-size: 0.75rem;*/

        justify-content: flex-start;
        flex-grow: 1;
        margin-left: 0.25rem;
        /* padding: 2px; */
        margin: 0;
        /* margin-bottom: -2px; */
        line-height: 0;
        align-self: flex-start;
        margin-left: 0;
        width: 100%;
    }

    .product-card .product-card__content .s-product-card-rating span svg {
        height: 0.75rem;
        width: 0.75rem;
    }

    /* countdown container */
    .product-card .product-card__content .s-count-down-list {
        margin-left: 0;
        margin-right: 0;
    }

    .product-card .product-card__content .s-count-down-md .s-count-down-item {
        font-size: 0.75rem;
        line-height: 1rem;

    }

    .product-card .product-card__content .s-count-down-item-label {
        font-size: 0.5rem;
        line-height: 1rem;
        margin-top: .125rem;
    }

}

.s-block--testimonials.enhanced:before {
    background-image: unset;
}

/* ************************************************* */
/* --------------- CATEGORIES PAGE ----------------- */
/* ************************************************* */

/* sub-category images */
.products-index [id*=sub-cats-slider-] .swiper-slide div:has(i) {
    display: none;
}

/* sub-category text */
.products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a {
    /*border: 1px #0B1F37 solid;*/
    border-radius: 2px;
}

/*.products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a:hover {
    background-color: #0B1F37;
}*/



@media only screen and (max-width: 768px) {

.grid-cols-3 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

    /* product card image */
    .products-index .main-content .product-card .product-card__image {
        
       height:60%;
    }

    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide {
        margin: auto 4px;
        width: 47% !important;
    }
    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper  {
     
        flex-wrap: wrap; !important;
    }
    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a img{
    
    width: 152px;
    height: 152px;
    }
  

    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a span {
        margin-bottom: 0.9rem;
        font-size: 0.7rem;
        line-height: 0.5rem;
        font-weight: 900;
       
    }
}


@media only screen and (min-width: 769px) {

    /* sub-category text */
    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper {
        
        font-weight: 900;
        
  
    }

    .s-slider-block__title-nav:where([dir=rtl],[dir=rtl] *)>:not([hidden])~:not([hidden]) {
    display: none;
   
}

.s-slider-v-centered .s-slider-block__title-nav button.swiper-button-disabled {
    display: none;
    }
    .s-slider-v-centered .s-slider-block__title-nav button {
    display: none;
    }

    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a span {
        margin-bottom: 0.5rem;
    }
}


/*new style*/


@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}























@media (max-width: 720px) {
/* نخلي مجموعة الماركات تظهر مرة واحدة بدون تكرار */
.s-block--animated-brands--marquee .marquee__group {
    display: contents !important; /* يخلي العناصر الداخلية تظهر بدون مضاعفة */
    animation: none !important;
    transform: none !important;
}

/* نعرضهم في شبكة: كل صف فيه ماركتين */
.s-block--animated-brands--marquee {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); /* صفين */
    gap: 15px;
    margin: 15px auto;
    direction: rtl;
    overflow: visible !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    width:300px;
}










    .gap-y-6 {
        row-gap: 0.1rem !important;
    }
    
    .gap-x-6 {
        -moz-column-gap: 1.5rem;
        column-gap: 0.5rem !important;
    }
  
  .grid-cols-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
  .text-base {
    font-size: 0.8rem;
}
.mt-4 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
} 

.products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide {
        width: 25%!important;
    } 
    
    .s-block--animated-brands.bigger_logos img {
        height: 105px;
        width: 182px;
    }
    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a img {
        width: 104px;
        height: 104px;
    }
}












.products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper {
        flex-wrap: nowrap;
    }
  
    
    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a img {
        width: 120px;
        height: 120px;
    }
        .lg\:\!w-\[10\%\] {
        width: 12% !important;
    }



















    .rounded-lg, .rounded-md, salla-products-slider .s-slider-block__display-all, .product-card, .s-block--square-links ul li a div img, .s-block--fixed-banner .banner--fixed img, .s-block--animated-brands .s-block--animated-brands--brand {
        border-radius: 0.5rem !important;
    }

.s-block--animated-brands--brand {
    background: #d8c7a5;
    }


.rounded-full {
    border-radius: 10px;
}


    
    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a span {
        display: none;
        }
        
        
        
        .s-block--animated-brands--marquee .marquee__group {
    animation: none !important;
    transform: none !important; /* لو فيه ترانسفورم من الانيميشن */
}

.s-block--animated-brands--marquee .marquee__group[aria-hidden="true"] {
    display: none !important;
}


@media (min-width: 992px) {

/* توسيط الماركات في النص */
.s-block--animated-brands--marquee {
    display: flex !important;
    flex-wrap: wrap; /* عشان ينزلوا على أكتر من صف لو في 7 */
    justify-content: center; /* يوسّطهم أفقياً */
    gap: 15px; /* مسافة بين الماركات */
     direction: rtl;
    overflow: visible !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.s-block--animated-brands.bigger_logos img {
    height: 145px;
    width: 145px;
}
}






.s-button-primary-outline {
  
    color: #ffffff;
    background: black;
}
.product-card .product-card__normal-cart__btn .s-button-btn:hover {
    background: #000000a3;
    }