@import url(./moduls/variables.css);
@import url(./moduls/reset.css);
@import url(./moduls/defaults.css);
@import url(./moduls/grid.css);
@import url(./moduls/helper-classes.css);
@import url(./moduls/nav-bar.css);
@import url(./moduls/footer.css);

.nav{
    border-bottom: .5rem solid var(--secondry-color);
    padding-bottom: 5rem;
}

.main{
    padding: 5rem 0 30rem 0;
    color: var(--primary-color);
}
@media screen and (max-width: 1200px){
    .product__images .mainImage{
        width:400px!important;
        height:400px!important;
        margin-top:5rem;
    }
    .product__description{
        /*width:50%;*/
        /*padding:5rem 2rem;*/
    }
    .miniDescription{
        justify-content:flex-start!important;
    }
    .product__score{
        width:70% !important;
        margin-right:6rem;
    }
    .button-add-to-cart{
        width:180px!important;
    }
}
@media screen and (max-width: 992px){
    .product__score {
        width: 80% !important;
        margin-right:10rem;
    }
    .button-add-to-cart{
        width:160px!important;
    }
}
@media screen and (max-width: 850px){
    .row__product{
        display:block!important;
    }
    .product__images {
        padding-right:15rem;
    }
    .miniDescription{
        flex-direction:row!important;
        width:100% !important;
    }
    .product__score {
        width: 40% !important;
        margin-right:5rem!important;
        margin-top:0!important;
        padding-top:0!important;
    }
    .product__description {
        width:50% !important;
    }
    }
@media screen and (max-width: 768px){
    .product__score {
       height:350px!important;
    }
    .product__images {
        padding-right:5rem;
    }
    .product__quantity{
        bottom:-45px!important;
        top:unset!important;
        left:10px!important;
    }
    .question__row, .comment__row {
        font-size:1.3rem!important;
    }
    .tabs #section3 button.btnq{
        width:120px!important;
        margin:3rem 1rem!important;
    }
    .form-control {
        margin:0!important;
    }
    .tabs #section3 .submitquestion{
        width:80px!important;
        margin:3rem 2rem!important;
    }
    .tabs #section3 {
        padding:2rem!important;
    }
    .tabs #section4 {
        padding:2rem!important;
    }
    .tabs #section4 .btncomment{
        width:80px!important;
        margin:3rem 2rem!important;
    }
    .tabs #section4 .star_rating {
        font-size:26px!important;
    }
    .comment__send__send input[type=text]{
        margin-bottom:1rem!important;
    }
    .submitcomment{
        width:80px!important;
        margin:3rem auto!important;
    }
    .star{
        font-size:2rem!important;
    }
    .tabs #section4 div.commentBox p{
        font-size:1.3rem!important;
    }
}
@media screen and (max-width: 600px){
    .product__description {
        width:100%!important;
    }
    .product__score{
        width:100% !important;
        margin:5rem auto!important;
    }
    div.miniDescription {
        height: 170vh!important;
    }
    .product__images .mainImage{
        width:300px!important;
        height:300px!important;
        margin-top:5rem;
    }
    .product__quantity{
        bottom:unset!important;
        top:5px!important;
        left:2rem!important;
    }
    .no-quantity {
        margin:8rem!important;
    }
    .product__images .gallery1{
        padding-right:0!important;
    }
    .product__images {
        padding-right:0.5rem!important;
    }
    .tabs #section2 li{
        width: 100% !important;
        margin-right:0!important;
    }
    .tabs #section2 li .tit{
        width:unset!important;
    }
    .question__row, .comment__row {
        flex-direction:column;
    }

    .tabs #section3{
        padding:1rem!important;
    }
    .question__answered{
        width:100% !important;
    }
    .question__send__send, .comment__send__send{
        width:100% !important;
    }
    .question__row, .comment__row {
        font-size:1.5rem!important;
    }
    .tabs #section3 button.btnq{
        width:120px!important;
        margin:3rem 1rem!important;
    }
    .form-control {
        margin:0!important;
    }
    .tabs #section3 .submitquestion{
        width:80px!important;
        margin:3rem auto!important;
    }

}
@media screen and (max-width: 540px){
    .product__images .mainImage{
        width:250px!important;
        height:250px!important;
        margin-top:5rem;
    }
    .product__images .gallery1{
        width:400px!important;
        padding-right:0!important;
        padding-left:2rem;
    }
}
@media screen and (max-width: 435px){
    .product__images .gallery1{
        width:260px!important;
        /*padding-left:2rem;*/
    }
    .no-quantity {
        margin:auto!important;
    }
    .product__images .mainImage{
        width:200px!important;
        height:200px!important;
        margin-top:5rem;
    }
    div.miniDescription {
        height: 200vh!important;
    }
    .product__quantity{
        bottom:-45px!important;
        top:unset!important;
        left:10px!important;
    }
    .tabs{
        padding:1rem!important;
        /*min-height:300vh!important;*/
    }
    .tabs #section1 {
        padding:2rem!important;
    }
    .tabs #section1 .html img{
        width:150px!important;
        height:150px!important;
    }
    }
@media screen and (max-width: 368px){
    .tabs{
        padding-top:5rem!important;
    }
}

.row__product{
    width:100%;
    display:flex;
    justify-content:space-between;
    padding:3rem;
}
.product__images{
    width:30%;
}
.product__images img{
    width:500px;
    height:500px;
}
.product__images .gallery1{
    padding-top:1.5rem;
    width:500px;
    padding-right:5rem;
}
.sl-wrapper .sl-image .sl-caption {
    background-color:#30ccc4!important;
}

.loader {
    display:none;
    position: absolute;
    top: -40px;
    right: 25%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 30px;
    height: 30px;
    border: 7px solid var(--primary-color);
    border-top: 7px solid #30ccc4;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/********** gallery **********/
.mainImage{
    width:100%;
    height: 300px;
    border-radius: 15px;
}
.gallery1 img{
    width: 120px;
    height: 90px;
    border-radius: 10px;
    margin-right: 20px;
}
.gallery1 video{
    width: 120px;
    height: 90px;
    border-radius: 10px;
    margin-right: 20px;
}
.swiper-button-next{
    color: blue;
    left: 0!important;
}
.swiper-button-prev{
    color: darkblue;
    right: 0!important;
}
:root {
    --swiper-navigation-size: 20px;
}
/********** end gallery **********/
/********** miniDescription **********/
.miniDescription{
    width:50%;
    display:flex;
    flex-direction:column;
    flex-wrap:wrap;
    padding:5rem 2rem;
    align-items:flex-start;
    justify-content:center;
}
.product__description{
    /*width:50%;*/
    /*padding:5rem 2rem;*/
}
.product__description .productTitle{
    font-weight:bold;
    font-size:2rem;
}
.product__description .subtitle{
    padding-top:2rem;
    text-align:justify;
}
.product__score{
    width:60%;
    height:320px;
    border:1px solid lightgray;
    border-radius:10px;
    margin-top:5rem;
    box-shadow: 0 .2rem 1rem rgba(0, 0, 0, .4);
}
.product__score__detail{
    width:150px;
    height:70px;
    border:1px solid lightgray;
    border-radius:10px;
    /*padding:1rem;*/
    margin:1rem auto;
    text-align:center;
}
.price__price{
    font-size:2rem;
    font-weight:bold;
    padding:3rem 3rem 1rem;
}
.newPrice{
    font-size:2rem;
    font-weight:bold;
    float:left;
    padding:1rem 3rem;
    color:#30ccc4;
    font-family:Vazir;
}
.prices{
    float:left;
    font-family:Vazir;
    font-size:2rem;
    color:gray;
    padding-bottom:2rem;
}
.no-quantity{
    width:200px;
    display:block;
    border-radius: 5px;
    background-color: var(--primary-color)!important;
    padding: 1.5rem;
    margin: auto;
    color:white;
    border:none;
    font-weight:600;
    font-size:1.5rem;
}
.add-to-cart{
    position:relative;
    /*display:flex;*/
    /*justify-content:center;*/
    /*width:200px;*/
}
.button-add-to-cart{
    width:200px;
    height:50px;
    display:block;
    background-color: var(--primary-color);
    text-align:center;
    color:white;
    /*line-height:50px;*/
    border-radius: 5px;
    padding: 1.5rem;
    margin-top: 8rem;
    margin-right: 1rem;
}
.button-add-to-cart img{
    margin-left:1rem;
    /*padding-top:0.3rem;*/
}
.product__quantity{
    width:60px;
    height:40px;
    padding:1rem;
    border-radius:25px;
    border:none;
    position:absolute;
    left:2rem;
    top:5px;
    /*float:left;*/
    /*margin-left:1rem;*/
    background-color:lightgrey;
}
/********** end miniDescription **********/

/********** score **********/

div.seller{
    border: 1px solid #e0dede;
    border-radius: 10px;
    background-color: #F7F7F8;
    padding: 20px;
}
div.seller div.item{
    font-size: 16px;
    padding: 15px;
    margin-top: 10px;
    border-bottom: 1px solid #dedede;
}
div.seller div.item span{
    font-size: 16px;
    margin-right: 10px;
}
div.seller div.productPrice{
    font-size: 18px;
    font-weight: bold;
    margin-top: 40px;
    position: relative;
}
div.seller div.newPrice .p{
    float: left;
}
div.seller div.newPrice div.p span{
    font-size: 12px;
}
div.seller div.oldPrice .p{
    font-size: 14px;
    color: gray;
    position: absolute;
    top: -25px;
    left: 40px;
}

@media (max-width: 992px) {
    div.miniDescription span.color{
        width: 25px;
        height: 25px;
    }
    div.seller div.item{
        padding: 5px;
    }
    div.seller div.item span{
        font-size: 14px;
        margin-right: 5px;
    }
}
@media (max-width: 768px) {
    div.miniDescription {
        height: 380px;
    }

    div.miniDescription span.color {
        width: 30px;
        height: 30px;
    }

    div.seller div.item {
        padding: 10px;
    }

    div.seller div.item span {
        font-size: 16px;
        margin-right: 15px;
    }
}
/********** end seller **********/
/********** Tabs **********/

*:focus {
    outline: 1px dotted whitesmoke;
}
.tabs{
    padding:5rem;
    min-height:80vh;
    /*margin-top: 50px;*/
}
.tabs > ul {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #ccc;
    font-size: 0;
}
.tabs > ul li a{
    font-size: 18px;
}
/*.tabs > ul .indicator {*/
/*    display: block;*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    right: 0;*/
/*    height: 3px;*/
/*    width: 20%;*/
/*    background: lightgray;*/
/*    transform: translateZ(0) translateX(0);*/
/*    transition: all 0.3s ease;*/
/*}*/
.tabs > ul li {
    display: inline-block;
    font-size: 14px;
    width: 25%;
}
.tabs > ul li a {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 20px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    color: black;
    transition: all 0.3s ease 0.4s;
}
.tabs > ul li a:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #30ccc4;
    transform: translateZ(0) translateY(100%);
    transition: all 0.3s ease 0.3s;
    z-index: -1;
}
.tabs > ul li a[aria-selected] {
    color: white;
}
.tabs > ul li a[aria-selected]:before {
    transform: translateZ(0) translateY(0);
}
.tabs > section[aria-hidden=true] {
    display: none;
}
.tabs #section1{
    padding:5rem;
    text-align:justify;
    margin:1rem auto;
    border-right:5px solid #30ccc4;
    border-left:5px solid #30ccc4;
    min-height:80vh;

}
.tabs #section1 .html{
    width:100%;
}
.tabs #section2{
    padding:5rem;
    margin:1rem auto;
    border-right:5px solid #30ccc4;
    border-left:5px solid #30ccc4;
}
.tabs #section2 li{
    padding: 40px;
    margin-right: 30px;
    border-bottom: 1px solid #ccc;
    width: 60%;
    position: relative;

}
.tabs #section2 li .tit{
    width: 200px;
    text-align: center;
    position: absolute;
    right: 0;
}
.tabs #section2 li span.des{
    width: 200px!important;
    text-align: center;
    margin-right: 120px;
    position: absolute;
    left: 0;
}
.tabs #section3 {
    padding:5rem;
    margin:1rem auto;
    border-right:5px solid #30ccc4;
    border-left:5px solid #30ccc4;
}
.question__row,.comment__row{
    display:flex;
    justify-content:space-between;
}
.question__send,.comment__send{
    width:70%;
}
.tabs #section3 button.btnq{
    width: 200px;
    height: 40px;
    display: block;
    font-weight:600;
    font-size:1.5rem;
    background-color: var(--primary-color);
    color:#fff;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    margin:3rem;
}
.question__send__send,.comment__send__send{
    width:70%;
}
.tabs #section3 form textarea{
    height: 120px;
}
.tabs #section3 .submitquestion{
    width: 100px;
    height: 40px;
    display: block;
    background-color: var(--primary-color);
    color:#fff;
    font-weight:600;
    font-size:1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    margin:3rem 8.5rem;
}
.form-label{
    display: inline-block;
    margin-bottom: 0.5rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    margin:3rem;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-family:Vazir;
}
.RatingAmount2{
    padding: 0.375rem 0.75rem;
    margin:3rem;

}
.question__answered{
    width:50%;
    height:60vh;
    overflow-y:scroll;
}
.tabs #section3 #questionBox{
    display: none;
}
.tabs #section3 .iconq{
    font-size: 20px;
    color: #0a53be;
    margin-left: 15px;
}
.tabs #section3 .questionBox p{
    padding:1.5rem;
}
.tabs #section3 .answer{
    font-size: 14px;
    color: gray;
    margin-left: 10px;
}
.tabs #section3 .ans{
    color: #505050;
}
.tabs #section3 div.questionBox{
    margin-bottom: 10px;
    /*border-bottom: 1px solid gray;*/
}
.tabs #section3 div.questionBox .hr{
    width: 80%;
    height: 2px;
    color: gray;
    margin: 5px auto;
}
.tabs #section4 {
    padding:5rem;
    margin:1rem auto;
    border-right:5px solid #30ccc4;
    border-left:5px solid #30ccc4;
}
.tabs #section4 button.btncomment{
    width: 200px;
    height: 40px;
    display: block;
    font-weight:600;
    font-size:1.5rem;
    background-color: var(--primary-color);
    color:#fff;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    margin:3rem;
}
.tabs #section4 .small{
    display: block;
    width: 60%;
    color: gray;
    margin: 0 auto;
}
.tabs #section4 button.btnq{
    width: 100px;
    height: 40px;
    display: block;
    background-color: var(--primary-color);
    color:#fff;
    font-weight:600;
    font-size:1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    margin:3rem 8.5rem;
}
.tabs #section4 form textarea{
    height: 120px;
}
.tabs #section4 .customer{
    margin-left: 40px;
    margin-top:2rem;
}
.tabs #section4 .commentBox{
    margin-top:1.5rem;
}
/*.tabs #section4 .date{*/
/*    position: absolute;*/
/*    left: 150px;*/
/*}*/
.tabs #section4 div.commentBox p{
    padding: 1rem;
}

.tabs #section4 div.commentBox .hr{
    width: 80%;
    height: 2px;
    color: #30ccc4;
    /*margin: 5px auto;*/
}
.tabs #section4 .submitcomment{
    width: 100px;
    height: 40px;
    display: block;
    background-color: var(--primary-color);
    color:#fff;
    font-weight:600;
    font-size:1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    margin:3rem 8.5rem;
    cursor:pointer;
}
.tabs #section4 #commentBox{
    display: none;
}
.tabs #section4 .star_rating{
    font-size: 30px;
    color: #fcb024;
    cursor: pointer;
    padding-right:3rem;
}
.star{
    font-size: 3rem;
    color: #fcb024;
}
.comment__send__send label{
    padding-right:3rem;
}

@media (max-width: 520px) {
    .tabs > ul li a{
        font-size: 14px;
    }
    .tabs #section2 li{
        width: 100%;
    }
}
.tabs #section4 div.commentBox p {
    font-size: 16px;
}
@media (max-width: 368px) {
    .tabs > ul li a{
        font-size: 16px;
    }
    .tabs > ul li {
        display: inline-block;
        font-size: 14px;
        width: 50%;
    }
    .tabs #section2{
        margin-top: 20px;
        font-size: 16px;
    }
    .tabs #section2 li{
        /*padding: 30px;*/
        /*margin-right: 10px;*/
        border-bottom: 1px solid #ccc;
        width: 100%;
        position: relative;

    }
    .tabs #section2 li .tit{
        width: 50%!important;
        text-align: center;
        position: absolute;
        right: -50px;
    }
    .tabs #section2 li span.des{
        width: 50%!important;
        text-align: center;
        margin-right: 10px;
        position: absolute;
        left: 0;
    }
}
/********** end Tabs **********/
/*
    ------- slider styles -----------
*/

.swiper2 {
    width: 100%;
    height: 450px;
}
.swiper1 {
    width: 100%;
    height: 530px;
}
.swiper-slide2 {
    display: flex;
    align-items: center;
    justify-content: center;
    /*width:33%;*/
}

.slide2 {
    width: 95%;
    min-height:411px;
    color: var(--primary-color);
    background-color: var(--white-color);
    box-shadow: 0 .2rem 1rem rgba(0, 0, 0, .4);
    padding-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    font-family: var(--primary-font-bold);
}

.slide__image-wrapper2 {
    width:100%;
    height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide__image2 {
    width: 100%;
    height:206px;
}

.slide__title2 {
    font-size: 2rem;
    padding: 1.5rem 2rem .5rem 0;
}

.slide__text2 {
    font-size: 1.2rem;
    text-align: center;
    padding: 0 2rem;
    height:15vh;
}
.section-title__wrapper2{
    padding-bottom: 2rem;
    border-bottom: .2rem solid var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.section-title2{
    font-family: var(--primary-font-bold);
    font-size: 2.2rem;
    color: var(--primary-color);
}

.paragraph2{
    color: var(--primary-color);
    font-size: 1.8rem;
    text-align: justify;
}
.articles2 {
    margin-top: 2rem;
    margin-bottom:30rem;
}

.articles__continuation2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3em;
}

.articles__continuation-link2 {
    padding: .5rem 3rem;
    font-size: 1.3rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 3rem;
}
.article-box__content{
    padding: 3rem 2rem 0 2rem;

}
.count__exist{
    color: #30ccc4;
}
.count__noexist{
    color: #ff0220;
    font-weight:600;
}
.price__product{
    font-family:Vazir;
    padding-top:2rem;
}
.article-box__title{
    font-size: 2rem;
    font-family: var(--primary-font-bold);
    margin-bottom: 1rem;
}
.article-result__title{
    font-size: 2rem;
    font-family: var(--primary-font-bold);
    margin-bottom: 10rem;
    text-align:center;
}
.article-box__description{
    text-align:justify;
    height:25vh;
}

.article-box__date{
    margin-top:2rem;
    float:left;
    font-size:1.5rem
}
.article-box__view{
    display:none;
}
.article-box__olddate{
    display:none;
}
.article-box__date{
    display:none;
}
.shop__icon{
    font-size:2.8rem;
    text-align:left;
    padding:0.5rem 2rem 0;
    position:relative;
    /*color: #30ccc4;*/
}
/*.loader {*/
/*    display:none;*/
/*    position: absolute;*/
/*    top: -25px;*/
/*    left: 9%;*/
/*    transform: translate(-50%, -50%);*/
/*    z-index: 9999;*/
/*    width: 30px;*/
/*    height: 30px;*/
/*    border: 7px solid var(--primary-color);*/
/*    border-top: 7px solid #30ccc4;*/
/*    border-radius: 50%;*/
/*    animation: spin 2s linear infinite;*/
/*}*/
.loader2 {
    display:none;
    position: absolute;
    top: 10px;
    left: 21%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 30px;
    height: 30px;
    border: 7px solid var(--primary-color);
    border-top: 7px solid #30ccc4;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/*
    -------- articles styles --------
*/