@import url(./modules/fonts.css);
@import url(./modules/variables.css);
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}

body {
    font-family: var(--primary-font);
}
/*
    -------- header content styles --------
*/
.header-box{
    width: 100%;
    height:11.5rem;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: row;
    position: relative;
}
.logo-website{
    width: 15%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin-right: 3%;*/
}
.logo-website-img{
    width:100%;
    height: 3.8rem;
}

.dropdown-language{
    width:40%;
    height: 3rem;
    background-color: var(--white-color);
    border-radius: 0 30px 30px 0;
    position: relative;
}

.dropdown-content a {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white-color);
    border: 2px solid var(--primary-color);
    border-radius: 0 20px 30px 0;
    width: 100%;
    top: 0;
    z-index: 1;
    animation: rotateMenu 400ms ease-in-out forwards;
    transform-origin: top center;
}

@keyframes rotateMenu {
    0% {
        transform: rotateX(-90deg)
    }
    70% {
        transform: rotateX(20deg)
    }
    100% {
        transform: rotateX(0deg)
    }
}
.dropdown-content a {
    color: var(--primary-color);
    padding: 0px 15px;
    text-decoration: none;
    font-family: var(--primary-font-bold);
    font-size: 1.5rem;
    display: block;
    border-radius: 0 30px 30px 0;
    transition: all 2s;
}

.dropdown-language-wrapper{
    position: absolute;
    top: 10%;
    right: 20%;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--primary-font-bold);
    font-size: 1.5rem;
}

.dropdown-arrow-down{
    position: absolute;
    border: none;
    background-color: unset;
    left: 0;
    top: 30%;
    width: 40%;
}

.dropdown-arrow-down img{
    width: 80%;
}


.dropdown-arrow-up{
    border: none;
    background-color: unset;
    width: 60%;
    float: left;
}

.dropdown-arrow-up img{
    width: 90%;
}

.dropdown-content.show {
    display: block;
    opacity: 1;
    height: auto;
}
.dropdown-arrow-up {
    display: none;
}


.header-links{
    display: flex;
    align-items: flex-end;
}

.header-links ul{
    display: flex;
    flex-direction: row;
    padding-bottom: 10%;
}

.header-links li{
    list-style: none;
    margin-right: 15%;
}

.header-links a{
    text-decoration: none;
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight:bold;
    white-space: nowrap;
}


/* -------------------css مربوط به search--------------------- */
.curve-mid{
    width:22%;
    height: 80%;
    background-color: var(--white-color);
    border-radius: 500px 500px 0 0 ;
    position: absolute;
    bottom:0;
    right:40%;
    display: flex;
    justify-content: center;

}

.curve-mid button{
    width: 100%;
    position: unset;
    background-color: unset;
    border: none;
    cursor: pointer;
    margin-top: 20%;
}

.curve-mid img{
    width: 60%;
}
#form__serach{
    position:relative;
}
.loader__search{
    width: 35px;
    height: 35px;
    display:none;
    position: absolute;
    top: 1.5rem;
    left: 6rem;
    transform: translate(-50%, -50%);
    z-index: 9999;
    border: 9px solid var(--primary-color);
    border-top: 9px solid var(--secondry-color);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------------ */

.header-links-second{
    display: flex;
    align-items:flex-end;
    position: absolute;
    top: 75%;
    left:17%;
}

.header-links-second ul{
    display: flex;
    flex-direction: row;
}

.header-links-second li{
    list-style: none;
    margin-right:10%;
}

.header-links-second a{
    text-decoration: none;
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight:bold;
    white-space: nowrap;
}



.header-brand{
    width:30%;
    position: absolute;
    top: 35%;
    left: 2%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-brand img{
    width:40%;
}

.logo-left{
    width: 13%;
    margin-right: 5%;
}

.logo-left img{
    width: 100%;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 997;
}

.search-box{
    width: 90%;
    position: absolute;
    right: 5%;
    background-color: #fff;
    height: auto;
    display: none;
    border: 5px solid var(--primary-color);
    border-radius: 30px;
    margin-inline: auto;
    z-index: 998
}

.search-box input{
    width: 100%;
    height: 5rem;
    border: none;
    background-color: unset;
    outline: none;
    font-size: 1.2rem;
    font-family: var(--primary-font);
    color: var( --text-color);
    padding-inline: 2%;
}

.search-box input::placeholder{
    color:var( --text-color);
    font-size: 1.2rem;
}

.search-offer-box{
    display: flex;
    flex-direction: column;
}

.search-offer{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-inline: 5%;
    margin-bottom: 2%;
    width:100%;
}
.search-offer h2{
    color:var( --text-color);
    font-size: 1.3rem;
    /*white-space: nowrap;*/
    width:25%;
}
.search-offer div.info{
    color:var( --text-color);
    font-size: 1rem;
    padding-inline: 3%;
    font-family:var( --primary-font-bold);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width:50%;
}

.search-offer span{
    font-size: 1.3rem;
    color: var(--primary-color);
    font-family:var( --primary-font-bold);
    white-space: nowrap;
    width:15%;
}

.item-search{
    border-radius: 100%;
    margin-right: 5%;
}
.item-search img{
    width:100px;
    height:100px;
    border-radius: 100%;
}
/*----- media query -----*/


@media screen and (max-width:1400px) {

    .item-search {
        width: 10%;
    }

}



@media screen and (max-width:1300px) {

    .item-search {
        width: 11%;
    }

}


@media screen and (max-width:1200px) {

    .item-search {
        width: 13%;
    }

    .search-offer h2 {
        font-size: 1.3rem;
    }

    .search-offer span {
        font-size: 1.1rem;
    }

    .header-links ul {
        margin-right: -30%;
    }

    .header-links-second{
        left: 10%;
    }

    .header-brand {
        width: 40%;
    }

    .dropdown-language {
        width: 50%;
    }

    .curve-mid {
        width: 25%;
    }

}

@media screen and (max-width:1000px) {
    .search-offer span {
        font-size: 1rem;
    }

    .search-offer h2 {
        font-size: 1.2rem;
    }

    .logo-website-img {
        height: 3.2rem;
    }

    .header-links li {
        margin-right: 10%;
    }

    .dropdown-language {
        width: 60%;
    }

    .curve-mid {
        width: 30%;
        right: 32%;
    }

    .header-links ul {
        margin-right: -60%;
    }


}
@media screen and (max-width:900px) {

    .search-offer {
        padding-inline: 2%;

    }


    .search-offer h2 {
        font-size: 1.1rem;
    }

    .logo-website {
        width: 20%;
    }

    .logo-website-img {
        height: 3rem;
    }

    .dropdown-arrow-down img {
        width: 70%;
    }

    .dropdown-language-wrapper {
        top: 15%;
        font-size: 1.3rem;
    }

    .header-links a {
        font-size: 1rem;
    }

    .dropdown-content a {
        font-size: 1.3rem;
    }

    .dropdown-arrow-up img {
        width: 70%;
    }

    .header-links ul {
        margin-right: -100%;
        padding-bottom: 15%;
    }

    .curve-mid {
        width: 30%;
        right: 32%;
    }

    .header-links-second a{
        font-size: 1rem;
    }

    .dropdown-language {
        width: 50%;
    }

}
@media screen and (max-width:868px) {

    .item-search {
        width: 18%;
    }

}
@media screen and (max-width:768px) {

    .item-search {
        width: 25%;
    }


    .header-links {
        display: none;
    }

    .header-links-second{
        display: none;
    }

    .logo-website {
        width: 20%;
    }

    .logo-website-img {
        width: 3rem;
        height:3rem;
    }

    .curve-mid {
        width: 40%;
        right: 30%;
    }

    .dropdown-language {
        width: 60%;
        height: 2.5rem;
    }

    .logo-left {
        width: 17%;
        margin-right:0;
    }



}
@media screen and (max-width:668px) {

    .item-search {
        width: 35%;
    }

}
@media screen and (max-width:600px) {
    .item-search {
        width: 50%;

    }

    .search-offer h2 {
        font-size: 1rem;
    }

    .search-offer p {
        font-size: .9rem;

    }

    .search-offer span {
        font-size: .9rem;
    }
    .header-box {
        height: 10rem;
    }

    .curve-mid {
        width: 45%;
        right: 25%;
    }

    .logo-website-img {
        height: 2.7rem;
    }

    .dropdown-language-wrapper {
        top: 20%;
        font-size: 1.1rem;
    }

    .dropdown-arrow-down {
        top: 40%;
    }

    .dropdown-content a {
        font-size: 1.1rem;
    }

    .dropdown-language {
        height: 2.5rem;
    }


}
@media screen and (max-width:500px) {
    .search-offer {
        flex-direction:column;
    }
    .search-offer h2 {
        width: 100%;
        text-align: center;
    }
    .search-offer div.info {
        width:100%;
        -webkit-line-clamp:4;
    }
    .search-offer span {
        font-size: 1.2rem;
        padding: 1rem;
        text-align: center;
        width: 100%;
    }
    .item-search img {
        width: 100px;
        display: block;
        margin: 0 auto 1rem;
        height: 100px;
    }
    .item-search {
        width: 100%;
        margin: 0 auto 2rem;
        border-bottom:1px solid lightgrey;
        border-radius: unset;
    }
    .logo-website {
        flex-direction: column;
        margin-top: 3%;
    }

    .header-brand {
        width: 45%;
    }

    .header-brand {
        width: 30%;
        flex-direction: column-reverse;
        justify-content: center;
        left: 0;
    }

    .header-brand img {
        width: 70%;
    }

    .logo-left img {
        width: 2.5rem;
    }

    .curve-mid {
        width: 50%;
        right: 23%;
    }

    .dropdown-language {
        width: 80%;
    }


}
@media screen and (max-width:350px) {
    .curve-mid {
        display: none;
    }

    .logo-website {
        width: 35%;
        flex-direction: row;
    }

    .header-brand {
        flex-direction: row;
        width: 45%;
        left: 8%;
        top:40%;
    }

}
/*--------- end of header --------- */

/*--------- footer   --------- */
.footer-box{
    width: 100%;
    height: 23rem;
    display: flex;
    flex-direction: row;
    background-color:var(--primary-color);
}

.box-link-footer{
    width: 25%;
    display: flex;
    flex-direction: column;
    padding-right: 5%;
    padding-top: 3%;
}

.box-link-footer a{
    color:var(--white-color);
    font-family:var(--primary-font-bold) ;
    font-size: 1.3rem;
    margin-top: 3%;
    text-decoration: none;
}

.box-address-footer{
    width: 25%;
    display: flex;
    flex-direction: column;
    padding-top: 3%;
    padding-inline: 3%;
}

.box-address-footer h2{
    color:var(--white-color);
    font-family:var(--primary-font-bold) ;
    font-size: 1.3rem;
    margin-top: 2%;
}

.address-iran{
    margin-top: 2%;
    font-family:var(--primary-font-light) ;
    font-size: 1.3rem;
    color:var(--white-color);
}

.address-canada{
    margin-top: 5%;
    font-family:var(--primary-font-light) ;
    font-size: 1.3rem;
    color:var(--white-color);
}

.box-social-footer{
    width:50%;
    display:flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6%;
}

.special-offer{
    width: 50%;
    height: 5rem;
    border-radius: 40px;
    background-color:var(--white-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline:3%;
}

.special-offer input{
    width: 90%;
    height: 4rem;
    border: none;
    outline: none;
    font-family:var(--primary-font-light) ;
    color:var(--primary-color);
    font-size: 1rem;
}

::placeholder {
    color:var(--primary-color);
    flex-wrap: wrap;
    font-size: 1rem;
    font-family:var(--primary-font-bold) ;
}

.special-offer button{
    width: 10%;
    height: 3rem;
    background-color: unset;
    border: none;
    cursor: pointer;
}

.special-offer img{
    width: 100%;
    height: 100%;
}

.social-media-footer{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.social-media-footer h2{
    color:var(--white-color) ;
    font-family:var(--primary-font-bold) ;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 2%;
}

.social-media-item{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.social-media-item a{
    width: 20%;
    height:4rem;
    border-radius:100%;
    background-color:var(--white-color) ;
    margin-top: 2%;
}

.social-media-item img {
    width: 100%;
    height: 100%;
}
#toast-container>.toast-success {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important;
}
#toast-container>div {
    position: relative;
    pointer-events: auto;
    overflow: hidden;
    margin: 0 0 6px;
    padding: 15px 15px 15px 50px;
    width: 300px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-position: 15px center;
    background-repeat: no-repeat;
    -moz-box-shadow: 0 0 12px #999;
    -webkit-box-shadow: 0 0 12px #999;
    box-shadow: 0 0 12px #999;
    color: #fff;
    opacity: 1!important;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
    filter: alpha(opacity=90);
}

.toast-success {
    background-color: #51a351!important;
}
.toast-error {
    background-color: #BD362F!important;
}


/*----- media query -----*/

@media screen and (max-width:1200px) {
    .special-offer a {
        font-size: 1.1rem;
    }

    .special-offer img {
        width: 65%;
    }

    .social-media-item a {
        height: 3.5rem;
    }

    .special-offer input {
        width: 85%;
    }

    .special-offer button {
        width: 15%;
    }

    ::placeholder {
        font-size: .9rem;
    }
}
@media screen and (max-width:1000px) {

    .special-offer a {
        font-size: .9rem;
    }

    .special-offer {
        padding-inline: 2%;
    }

    .special-offer img {
        width: 50%;
    }

    .box-address-footer {
        padding-inline: 0;
    }

    .special-offer {
        width: 60%;
        padding-inline: 4%;
    }

    .social-media-footer {
        width: 60%;
    }

    .special-offer img {
        width: 70%;
    }
    ::placeholder {
        font-size: .8rem;
    }
}
@media screen and (max-width:900px) {
    .social-media-item a {
        height: 3rem;
    }
    .special-offer {
        width: 70%;
        padding-inline: 5%;
        height: 4.5rem;
    }
    .social-media-footer {
        width: 70%;
    }

}
@media screen and (max-width:768px) {

    .special-offer {
        padding-inline: 6%;
    }

    ::placeholder {
        font-size: .8rem;
    }

    .footer-box {
        height: 20rem;
    }
    .box-link-footer a {
        font-size: 1rem;
    }
    .box-address-footer h2 {
        font-size: 1rem;
    }
    .address-iran {
        font-size: 1rem;
    }
    .address-canada {
        font-size: 1rem;
    }
}
@media screen and (max-width:668px) {
    .special-offer {
        width: 80%;
        padding-inline: 6%;
        height: 4rem;
    }

    .special-offer input {
        height: 3.5rem;
    }

    .special-offer button {
        width: 12%;
    }
    .special-offer img {
        width: 100%;
    }

    .social-media-footer {
        width: 80%;
    }
    .social-media-footer h2 {
        font-size: 1rem;
    }
}
@media screen and (max-width:668px) {

    .box-link-footer a {
        font-size: .9rem;
    }

    .box-address-footer h2 {
        font-size: .9rem;
    }

    .address-iran {
        font-size: .9rem;
    }

    .address-canada {
        font-size:.9rem;
    }

    .special-offer {
        width: 90%;
        padding-inline: 7%;
        height: 3.5rem;
    }

    .special-offer input {
        height: 3rem;
        font-size: .9rem;
    }
    .social-media-footer {
        width: 90%;
    }
}
@media screen and (max-width:500px) {

    .footer-box {
        flex-direction:column;
        height: auto;
        align-items: center;
    }

    .box-social-footer {
        width: 70%;
        margin-bottom:20%;
    }

    .box-address-footer {
        width: 90%;
    }

    .box-link-footer{
        width: 90%;
        display: grid;
        grid-template-columns: repeat(3, 2fr);
        row-gap: 20px;
        grid-column-gap:3.5rem;
        justify-items: right;
        justify-content: center;
        padding-right: 0;
    }

    .box-link-footer a {
        font-size: 1rem;
        white-space: nowrap;
        text-align: right;
    }

}
@media screen and (max-width:400px) {
    .box-social-footer {
        width: 90%;
        margin-bottom:30%;
    }
    .box-address-footer {
        width: 80%;
    }
    .social-media-footer h2 {
        font-size: .9rem;
    }
    .special-offer {
        height: 3rem;
    }
    .box-link-footer {
        grid-template-columns: repeat(2, 8rem);
    }
}
@media screen and (max-width:350px) {
    .box-link-footer {
        grid-template-columns: repeat(2, 6rem);
    }
}


/*--------- end of footer   --------- */

/*--------- footer mobile   --------- */



.mobile-footer{
    width: 100%;
    height: 4rem;
    display:none;
    flex-direction: row;
    margin-inline: auto;
    position:fixed;
    background-color:var(--white-color) ;
    bottom:0;
    padding-top: 1%;
    z-index:10;
}
.mobile-footer ul{
    display: flex;
    flex-direction: row;
    width:70%;
    height: 80%;
    align-items:flex-end;
    margin-inline: auto;
}

.mobile-footer li{
    display: flex;
    flex-direction: row;
    width:10%;
    height:100%;
    margin-right: 10%;
}

.mobile-footer a{
    width:100%;
    height: 100%;
}

.mobile-footer img{
    width:100%;
    height: 100%;
}




/*----- media query -----*/
@media screen and (max-width:768px) {
    .mobile-footer{
        display: flex;
    }
}
@media screen and (max-width:600px) {
    .mobile-footer ul {
        height: 70%;
    }
}
@media screen and (max-width:500px) {
    .mobile-footer li {
        width: 12%;
    }
    .mobile-footer ul {
        height: 60%;
    }
}
@media screen and (max-width:400px) {
    .mobile-footer li {
        width: 20%;
    }
}
@media screen and (max-width:350px) {
    .mobile-footer li {
        width: 22%;
    }
}
/*--------- end of footer mobile   --------- */
/* ------sidebar---------- */
.sidebar {
    width: 30%;
    height:90%;
    background-color:#fff;
    position:fixed;
    top:2%;
    box-shadow:0px 0px 10px 2px var(--primary-color);
    border-radius:5px 0 0 10px;
    display:none;
    flex-direction: column;
    transform: translateX(20rem);
    transition: all 1s;
    z-index: 999;
}
.sidebar1{
    transform: translateX(0);
}
.sidebar ul {
    padding: 0;
    list-style: none;
}
.sidebar li {
    padding:10px 0px;
    border-top: 2px solid var(--primary-color);
    border-radius: 10px;
    white-space: nowrap;
    text-align: center;
}
.sidebar a {
    text-decoration: none;
    color:var(--primary-color);
}


.submenu-sidebar {
    display: none;

}


.search-form{
    width: 100%;
    height: 70px;
    padding: 15px 10px;
}

.search-form input{
    width: 100%;
    border: 3px solid var(--primary-color);
    height: 40px;
    outline: none;
    padding-inline: 5px;
    font-size:1rem;
    font-family:var(--primary-font-light) ;
    border-radius: 10px;
    color: var(--primary-color);
    position: relative;
}
.sidebar-search-icon{
    width: 12%;
    position: absolute;
    top:25px;
    left:15px;
    background-color: initial;
    border: none;
    cursor: pointer;
}
.sidebar-search-icon img{
    width: 100%;
}


/*----- media query -----*/
@media screen and (max-width:768px) {
    .sidebar {
        display: flex;
    }
}
@media screen and (max-width:600px) {
    .sidebar {
        width: 35%;
    }
}
@media screen and (max-width:500px) {
    .sidebar {
        width: 40%;
    }
}
@media screen and (max-width:400px) {
    .sidebar {
        width: 50%;
    }
}
@media screen and (max-width:350px) {
    .sidebar {
        width: 55%;
    }
}


/* ------ end of sidebar---------- */