.new-layout #top-category-slider {
    margin-top: 32px;
}

.new-layout .top-category-slider-label{
    font-size: 18px;
    font-weight: 400;
    width: fit-content;
    border-radius: 23px;
    padding: 5px 25px;
    margin-bottom: 20px;
    color: #03657c;
    background-color: #03657c1a;
}

[dir=rtl] .new-layout .top-category-slider-title{
    text-align: right;
    font-family: tajawal !important; 
}

.new-layout .top-category-slider-title{
    font-size: 32px !important; 
    line-height: 44px; 
    font-weight: 500;
    margin: 0;
}

.new-layout .top-category-slider-subtitle{
    font-size: 18px; 
    line-height: 28px; 
    font-weight: 300;
    margin: 0;
    margin-bottom: 2%;
}

.new-layout .top-category-slide-item{
    height: 664px;
    border-radius: 9px;
    padding: 30px;
    flex: 1;
    cursor: pointer;
    color: black;
}

[dir=rtl] .new-layout .top-category-slide-item:nth-child(1) {
    background-position: 0% 0% !important;
}

.new-layout .top-category-slide-item:nth-child(1) {
    background-size: 100% 100% !important;
    background-position:  0% 0% !important;
    background-repeat: no-repeat !important;
}

[dir=rtl] .new-layout .top-category-slide-item:nth-child(2) {
    background-position:  0% 0% !important;
}

.new-layout .top-category-slide-item:nth-child(2) {
    background-size: 100% 100% !important;
    background-position:  0% 0% !important;
    background-repeat: no-repeat !important;
}

.new-layout .top-category-slide-item:nth-child(3) {
    background-size: 100% 100% !important;
    background-position: 0% 0% !important;
    background-repeat: no-repeat !important;
}

.new-layout .top-category-slide-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    column-gap: 26px;
}

/* Small laptops including MacBook Air */
@media (max-width: 1600px) {
    .new-layout .top-category-slide-wrapper{
        column-gap: 20px;
    }
    .new-layout .top-category-slide-item {
        height: 550px;
        padding: 50px 30px 50px 30px;
    }

    [dir=rtl] .new-layout .top-category-slide-item:nth-child(1) {
        background-position: 0% 0% !important;
    }

    .new-layout .top-category-slide-item:nth-child(1) {
        background-size: 100% 100% !important;
        background-position: 0% 0% !important;
    }

    .new-layout .top-category-slide-item:nth-child(2) {
        background-size: 100% 100% !important;
        background-position: 0% 0% !important;
    }

    .new-layout .top-category-slide-item:nth-child(3) {
        background-size: 100% 100% !important;
        background-position: 0% 0% !important;
    }
}

@media (max-width: 1400px) and (min-width: 1024px) {
    .new-layout .top-category-slide-item {
        height: 478px;
    }
}

@media (max-width: 480px) {
    .new-layout #top-category-slider {
        margin-top: 58px;
    }

    .new-layout .top-category-slide-container{
        overflow-y: hidden;
        overflow-x: scroll;
    }
    .new-layout .top-category-slide-wrapper{
        width: calc((100vw - 200px) * 4.4);
    }
    .new-layout .top-category-slide-item {
        height: 345px;
        padding: 30px 20px;
        width: calc(100vw - 130px);
        background-size: cover !important;
        background-position-x: 100% !important;
    }

    [dir=rtl] .new-layout .top-category-slide-item:nth-child(2) {
        background-position: 0% 0% !important;
    }

    .new-layout .top-category-slide-item:nth-child(2) {
        background-size: 100% 100% !important;
        background-position: 0% 0% !important;
    }
}

[dir=rtl] .new-layout .top-category-slide-item-title{
    text-align: right;
    font-family: tajawal;
}

.new-layout .top-category-slide-item-title{
    line-height: 44px;
    font-size: 24px;
    font-weight: 600;
}

@media (max-width: 1280px) {
    .new-layout .top-category-slide-item-title {
        font-size: 20px;
    }
}

.new-layout .top-category-slide-item-desc{
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    max-width: 90%;
}

.new-layout .top-category-slide-item-logo{
    border-radius: 50%;
    position: relative;
    background-color: #005A72;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
}

.new-layout .top-category-slide-item-logo img{
    width: 24px !important;
    height: 24px !important;
}

@media (max-width: 480px) {
    [dir=rtl] .new-layout#top-category-slider {
        padding-left: 0;
        padding-right: 20px;
    }

    .new-layout #top-category-slider {
        padding-right: 0;
    }

    .new-layout .top-category-slider-label {
        margin-bottom: 10px;
        font-size: 14px;
        padding: 5px 20px;
    }

    .new-layout .top-category-slider-title {
        font-size: 22px !important;
        padding-right: 20px;
    }

    .new-layout .top-category-slider-subtitle {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 15px;
        padding-right: 20px;
    }

    .new-layout .top-category-slide-item-logo {
        width: 35px;
        height: 35px;
    }

    .new-layout .top-category-slide-item-logo img {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 768px) {
    .new-layout .top-category-slide-item-title {
        font-size: 16px;
        line-height: 28px;
    }

    .new-layout .top-category-slide-item-desc{
        font-size: 13px;
        line-height: 22px;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    .new-layout .top-category-slide-item-desc{
        max-width: 80%;
    }
}
