* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Changa", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

body {
    background-color: #f8f8f8;
    color: #333;
}

#menu-overlay {
    display: none;
}

.header-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0px auto;
}


.logo-head a {
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}


.logo-head .image-with-out-text {
    display: none;
}


.logo-head .image-with-text {
    display: block;
}

.logo-head img {
    width: 120px;
}

.sit-profile-ditelsa {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    line-height: 1.4;
    margin-right: 11px;
}

.sit-profile-ditelsa h6 {
    color: #cad0d986;
    font-size: 12px;
}
.sit-profile-ditelsa p {
    color: #ffffff;
    font-size: 13px;
}

.searsh-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 480px;
    height: 48px;
    padding: 20px;
    border-radius: 100px;
    border: 2px solid rgb(255, 255, 255);
}

.searsh-head form input {
    width: 100%;
    height: 40px;
    background: none;
    border: none;
    padding: 0px 10px;
    color: white;
}

.searsh-head form  {
    width: 100%;
    height: 40px;
}

.list-icon-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.searsh-head form input:focus {
    outline: none;
}

.searsh-head i {
    color: #ffffff;
}

#header-open-menu-icon {
    display: none;
}
.header-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0px auto;
}

.pages-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
}

.pages-list h2 {
    font-size: 16px;
    color: white;
    opacity: 80%;
    margin-bottom: 5px;
    text-decoration: none;
}


.pages-list a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid transparent; 
    transition: border-color 0.4s ease;
}

.pages-list .a-header-link:hover {
    border-bottom-color: white; 
}


header {
    direction: rtl;
}

header {
    width: 100%;
    height: 136px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 25px 0px 0px 0px;
}

.Categories-lest {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    cursor: pointer;
    background-color: #333d4c;
    margin: 0px !important;
    padding: 11px 10px 5px 8px;
    border-radius: 10px 10px 0px 0px;
    width: 306px;
    height: 50px;
}

.currency-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.currency-list h2 {
    font-size: 14px;
    color: rgb(255, 255, 255);
    opacity: 80%;
}



@media (max-width: 500px){
    .logo-head a {
        text-align: center;
        align-items: center;
        display: flex;
        justify-content: center;
    }


    .logo-head .image-with-out-text {
        display: none;
    }


    .logo-head .image-with-text {
        display: block;
    }

    .logo-head img {
        width: 120px;
    }
}

@media (max-width: 1024px) {

     .pages-list a {
        width: 100%;
    }
    
    #desktop-header {
        width: 100%;
        height: fit-content;
        padding: 16px;
    }

    .Categories-lest {
        margin: 8px;
        width: 100%;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .searsh-head {
        direction: rtl;
    }

    .header-bottom .pages-list {
        display: flex;
        flex-direction: column;
        padding: 8px;
        width: 80%;
        text-align: start;
        margin-top: 60px;
    }

    .header-bottom .pages-list h2 {
        text-align: start;
        width: 100%;
    }

    #menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
        background-color: rgba(0, 0, 0, 0.2);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    #menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .logo-head {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .header-bottom {
        position: fixed;
        top: 0;
        right: -1000%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        gap: 20px;
        transition: right 0.3s ease;
        direction: rtl;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .header-bottom.open {
        right: 0;
    }

    .header-top {
        direction: ltr;
        gap: 16px;
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    #header-open-menu-icon {
        display: block;
        color: white;
        font-size: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        cursor: pointer;
    }

    #header-open-menu-icon i {
        margin-top: 8px;
    }

    .list-icon-head {
        position: absolute;
        top: 0px;
        right: -1000%;
        z-index: 1002;
        transition: right 0.3s ease;
        direction: rtl;
    }

    .list-icon-head.show {
        top: 0px;
        right: 0px;
    }

    header {
        padding-left: 0px;
        padding-right: 0px;
    }
    
}

@media (max-width: 1299px) {
    header {
        padding-left: 20px;
        padding-right: 20px;
    }
}



@media (max-width: 500px){

    .logo-head .image-with-out-text {
        display: block;
    }


    .logo-head .image-with-text {
        display: none;
    }

    .logo-head img {
        width: 40px;
    }
    
}