/* nav */ 

@media (min-width:768px){
p.hidden.text-xl.md\:block.ms-1.menu-label {
    display: none;
}
  }

/* features */ 


.s-block--enhanced-features__item
{
  border-color: hsla(24, 20%, 52%, 0.3);
  border-radius: 12px;
}
section.s-block--enhanced-features .enhanced-features__grid {
    display: grid !important;
    position: relative !important;
    padding-top: 55px !important; 
}

section.s-block--enhanced-features .enhanced-features__grid::before {
    content: "مميزاتنا" !important; 
    position: absolute !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 1.2 !important;
}


/*secondary categories tags */
.product-index__subcat-thumb {
    display: none !important;
}

a.product-index__subcat-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    padding: 8px 20px !important;
    background-color: #FFFDF9 !important; 
    color: #3A2E2B !important;
    border: 1px solid #E8DFD8 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out !important;
    min-height: auto !important;
    width: auto !important;
    margin: 4px !important;
}

a.product-index__subcat-link .product-index__subcat-name,
a.product-index__subcat-link span {
    color: #3A2E2B !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-top: 0 !important;
    white-space: nowrap !important;
}

a.product-index__subcat-link:hover,
a.product-index__subcat-link.active {
    background-color: #3A2E2B !important; 
    border-color: #3A2E2B !important;
}

a.product-index__subcat-link:hover .product-index__subcat-name,
a.product-index__subcat-link:hover span,
a.product-index__subcat-link.active .product-index__subcat-name,
a.product-index__subcat-link.active span {
    color: #FFFDF9 !important;
}

     /*mobile view */

@media (max-width: 768px) {

    salla-slider#sub-cats-slider-3,
    #sub-cats-slider-3 .swiper-wrapper,
    .product-index__subcat-link {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 6px !important;
    }

    #sub-cats-slider-3 .swiper-slide {
        width: auto !important;
        flex-shrink: 0 !important;
        margin-left: 8px !important;
    }

    a.product-index__subcat-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 14px !important;
        background-color: #FFFDF9 !important;
        border: 1px solid #E8DFD8 !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #3A2E2B !important;
    }

    .product-index__subcat-thumb {
        display: none !important;
    }

    a.product-index__subcat-link.active,
    a.product-index__subcat-link:hover {
        background-color: #3A2E2B !important;
        color: #FFFDF9 !important;
        border-color: #3A2E2B !important;
    }

    salla-slider .product-card__image,
    section.s-block-custom-products .product-card__image {
        height: 220px !important; 
        background-color: #FFFDF9 !important;
    }

    salla-slider .product-card__image img,
    section.s-block-custom-products .product-card__image img {
        max-height: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }
}



/* product slider */
salla-slider .product-card__image,
salla-slider .product-card .s-product-card-entry,
section.s-block-custom-products .product-card__image {
    height: 320px !important;
    background-color: #FFFDF9 !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

salla-slider .product-card__image img,
salla-slider img.main-image,
section.s-block-custom-products .product-card__image img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

salla-slider custom-salla-product-card,
section.s-block-custom-products custom-salla-product-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

custom-salla-product-card{
  background-color: #F6F6F6 !important;
}