/*
Theme Name:qaliqapu
Theme URI: https://qaliqapu.ir
Author:Hamid Amini
Author URI: https://hamidamini.ir
Description:Exclusive Theme For qaliqapu shop.
Version: 1.0
Create Date:Oct 2024
*/

/*---------------------
        All-Page
-=-----------------------*/
body {
    width: 100%;
    height: 100%;
    direction: rtl;
    text-align: right;
    font-family: Doran, serif;
    font-weight: 200;
    background: #fff;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
    color: #1d1d1d;
}

a:hover {
    color: #bea86f;
}

/*-----------header---------------*/
header {
    font-family: Doran, serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px!important;
}

.header__logo{
    max-width: 250px;
    padding: 10px;
    text-align: center;
}
.header__logo .logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.header__icons {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.header__icons a {
    font-size: 25px;
    cursor: pointer;
}

.header__icons a span {
    font-family: Doran, serif;
    font-weight: 300;
    padding: 2px;
}

.header__icons .user__toggle{
    margin-left: 50px;
}

.header__icons .user__toggle .login{
    display: none;
}
.header__icons .contact{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    position: relative;
}

.header__icons .contact span{
    position: absolute;
    width: 190px;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    transform: translateX(-50%);
    -webkit-transform:translateX(-50%);
    opacity: 0;
}

.header__icons .contact:hover span{
    opacity: 1;
    transform: translateX(0%);
    -webkit-transform:translateX(0%);
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
}


.header__icons .mini__cart {
    width: 300px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #d7d8da;
    position: absolute;
    top: 75px;
    left: 50px;
    z-index: 10;
    display: none;
    transition: 2ms all ease-in-out;
    text-align: center;
    padding: 5px;
    background-color: #f3f4f6;
}

.active .mini__cart {
    display: inline-block;
    transition: 2ms all ease-in-out;
}

@media screen and (max-width: 480px) {
    .header__icons a {
        margin: 5px;
    }
    .header__icons .user__toggle{
        margin-left: 10px;
    }
}



/*-----------nav---------------*/

.nav__wrapper {
    width: 100%;
    height: 100vh;
    background: rgba(29, 29, 29, 0.9);
    opacity: 0;
    z-index: -1;
    -webkit-transition: all 0.5s;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    animation: move 2s ease-in-out;

}

.nav__wrapper .nav__toggle {
    font-size: 20px;
    color: white;
    padding: 60px;
    cursor: pointer;
    display: flex;
}

.nav__wrapper .nav__toggle:hover {
    color: #bea86f;
}

.nav__list {
    list-style-type: none;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
}

.nav__list a {
    text-decoration: none;
    color: #f7f7f7;
    font-size: 2.5rem;
    position: relative;
    font-weight: bold;
}

.nav__list a:after {
    content: '';
    display: block;
    height: 2px;
    background: #bea86f;
    width: 0;
    -webkit-transition: width .3s;
    transition: width .3s;
    margin: 0 auto;
}

.nav__list a:hover:after {
    width: 5%;
}

.nav__list:first-child {
    margin-top: 30px;
}

.active .nav__wrapper {
    transform: translateY(0%);
    animation: move 2s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    opacity: 1;
    z-index: 100;
}

.social {
    width: 100%;
    margin: 10px auto;
    list-style-type: none;
    text-align: center;
}

.social li {
    display: inline-block;
    padding: 20px;
    margin-top: 20px;
}

.social li a {
    color: #f7f7f7;
    font-size: 1.5em;
}

.social li a:hover {
    color: #bea86f;
}

/*-----------hero---------------*/
.hero{

}
.hero-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-item .content-hero{
    width: 50%;
    opacity: 0;
    margin-left: 100px;
}
.hero-item .content-hero h2{
    font-size: 45px;
    font-weight: 500;
}

.hero-item .img-hero{
    margin-right: 100px;
    width: 50%;
}
.hero-item .img-hero img{
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}
@media screen and (max-width: 780px) {
    .hero-item{
        flex-wrap: wrap-reverse;
        justify-content: center;
    }
    .hero-item .content-hero{
        width: 100%;
    }
    .hero-item .img-hero{
        width: 100%;
    }
}
/*-----------services---------------*/
.services{
    padding: 20px;
}
.services .main__services{
    margin-top: 100px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.main__services .s-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #efede3;
    border: 1px solid #bea86f;
    padding: 10px;
    border-radius: 10px;
    margin: 10px;
}
.main__services .s-item svg{
    color:#bea86f;
    font-size: 30px;
}
.main__services .s-item span{
    font-size: 20px;
    font-weight: bold;
}
.main__services .s-item hr{
    color:#bea86f;
}

/*-----------main---------------*/

.main__container {
    direction: ltr;

}
.main__container h2{
    text-align: center;
    padding: 5px;
}
.main__products {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 20px 40px;
}

.main__products article {
    border: 1px solid #d6d8d9;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    width: 90%;
    margin:5px;
    opacity: 0;
    top: 100px;
}

.main__products article:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.main__products .item__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: opacity .5s, transform 10s linear;
    object-fit: cover;
}

.main__products article:hover .item__bg {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2)
}

.main__products .item__name {
    width: 97%;
    left: 5px;
    right: 5px;
    position: absolute;
    bottom: 0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    direction: rtl;
    background-color: #e0e0e0;
    border-radius: 14px 14px 0 0;
    transform: translateY(50px);
}

.main__products article:hover .item__name {
    opacity: 1;
    transform: translateY(0);
    transition: 0.2s all ease-in-out;
    color: #1d2124;
}

@media screen and (max-width: 780px) {
    .main__products .item__name {
        opacity: 1;
        transform: translateY(0);
    }
}

/*-----------info---------------*/
.info{
    display: flex;
    justify-content: right;
    padding: 100px 0;
    gap:20px;
}

.info .posts{
    width: 50%;
    padding: 1%;
    display: grid;
    justify-content: center;
    margin-left: 50px;
}

.posts .post{
    max-width: 480px;
    display: flex;
    justify-content: right;
    gap:10px;
    align-items: center;
    background-color: #f1f1f1;
    border-radius: 20px;
    padding: 5px;
    margin: 5px;
}

.posts .post .post-img{
    max-width: 120px;
}
.posts .post .post-img img{
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.info .info-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:20px;
}
.info .info-card img{
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
}



.info .about{
    width: 50%;
    background-color: #f1f1f1;
    padding: 5%;
    text-align: justify;
    line-height: 2;
    border-radius: 20px 0 0 20px;
    opacity: 0;
    margin-left:0;
}
@media screen and (max-width: 980px) {
    .info{
        flex-direction: column;
    }
    .info .posts,.info .about{
        width: 100%;
    }
}
/*-----------footer---------------*/
footer {
    background: #f1f1f1;
    height: auto;
    width: 80%;
    border-radius: 0 20px 0 0;
    float: left;
}

.footer__area {
    padding: 2% 2% 0 2%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.footer__area__right {
    padding: 20px;
    display: flex;
	justify-content:center;
    gap:10px;
    font-size: 25px;
}
.footer__area__right a {
    padding:10px;
}

.footer__area__left {
    display: flex;
    justify-items: center;
    justify-content: space-between;
    text-align: center;
}

.footer__area__left .widget {
    min-width: 120px;
    padding: 10px;
    text-align: center;
}

.footer__area__left .widget .nav__list,.menu {
    margin: 0;
    padding: 0;
}

.footer__area__left img {
    max-width: 100%;
    width: 100px;
    height: auto;
    object-fit: cover;
}

.footer__area__left a {
    font-size: 16px;
    color: #4e555b;
    text-align: center;
    vertical-align: center;
}
@media screen and (max-height: 1080px) {
    footer {
        margin-top: 7%;
    }
}

@media screen and (max-width: 680px){
    footer {
        width: 100%;
    }

    .footer__area, .footer__area__left {
        flex-direction: column-reverse;
    }
}

/* ----------------Page----------------------*/
.page {
    min-height: 600px;
    text-align: center;
    margin: 10px auto;
}

.page h1 {
    text-align: center;
    padding: 30px;
    font-weight: 900;
    font-size: 25px;
}

.page img {
    width: 100%;
    max-width: 900px;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d2d7dc;
    padding: 5px;
    margin: 5px;
}

.page .page-content {
    width: 100%;
    padding: 20px;
    text-align: justify;
    margin: 0 auto;
    border-bottom: 1px solid #d2d7dc;
}

.page .single-page-content {
    width: 100%;
    max-width: 700px;
    padding: 20px;
    text-align: justify;
    margin: 0 auto;
    border-bottom: 1px solid #d2d7dc;
}

.page blockquote {
    font-weight: 500;
    border-right: 5px solid #bea86f;
    padding-right: 5px;
    margin: 5px;
}

.post__related {
    max-width: 700px;
    width: 100%;
    height: 200%;
    display: flex;
    justify-content: center;
    margin: 0 auto;

}

.post__related .next {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: center;
    text-align: right;
}

.post__related .content {
    width: 100%;
    height: 100%;
    padding: 50px;
    font-family: "Doran", serif;
    color: #101316;
    background-color: hsla(0, 0%, 100%, .6);
    transition: all .25s;
}

.post__related .content:hover {
    background-color: hsla(0, 0%, 100%, .4);
}

.post__related .previous {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: center;
    text-align: left;
}

.comments .area {
    width: 50%;
    margin: 0 auto;
}

@media (max-width: 550px) {
    .post__related {
        flex-wrap: wrap;
    }

    .post__related .content {
        text-align: right;
        font-size: 12px;
    }

    .post__related .content h3 {
        font-size: 16px;
    }

    .comments .area {
        width: 100%;
        padding: 5px;

    }
}

/* ---------Product Single-Page----------------------*/

.main__single__product {
    min-height: 500px;
    margin-bottom: 50px;
}

.main__product {
    display: flex;
    text-align: initial;
    justify-content: space-between;
    align-items: center;
}

.thumbnail__product {
    width: 90%;
    position: relative;
}

.thumbnail__product:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.thumbnail__product img {
    border: 1px solid #d6d8d9;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
}

.title__product {
    width: 90%;
    padding: 10px;
    position: relative;
}

.title__product:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.content__product {
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 10px 5px;
    font-size: 1rem;
    font-weight: 100;
}

.content__product h1 {
    padding: 20px;
    border-bottom: 1px solid rgba(176, 176, 176, 0.25);
    font-weight: 200;
}

.content__product p {
    padding-top: 10px;
}

.content__product span {
    margin-bottom: 10px;
    float: left;
    color: #bea86f;
    font-weight: 900;
}

.content__product a {
    display: inline-block;
    margin: 5px;
    color: #e8e8e8;
    background: black;
    border: 1px solid black;
    border-radius: 10px;
    padding: 15px 20px;
    text-align: center;
    transition: 0.2ms ease;
    cursor: pointer;
}

.content__product a:hover {
    color: black !important;
    background: white;
    border: 1px solid black;
    transition: 0.2ms ease;
}

.content__product .added_to_cart {
    display: inline-block;
    margin: 5px;
    color: #737373;
    background: white;
    border: none;
    padding: 15px 20px;
    text-align: center;
    transition: 0.2ms ease;
    cursor: pointer;
}

.content__product .added_to_cart:hover {
    color: #5c5c5c;
    border: none;
}

.related {
    padding: 20px 0 20px 40px;
}

.related h2 {
    font-size: 16px;
    width: 200px;
    padding: 30px 10px 5px;
    border-bottom: 1px solid rgba(176, 176, 176, 0.25);
}

.related .products{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.related .product{
    border: 1px solid #d6d8d9;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    width: 90%;
    margin: 60px 5px;
    opacity: 1;
    top: 100px;
}

.related .product:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.related .product  img.attachment-woocommerce_thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: opacity .5s, transform 10s linear;
    object-fit: cover;
}

.related .product:hover img.attachment-woocommerce_thumbnail {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2)
}

.related .product  .woocommerce-loop-product__title {
    width: 97%;
    left: 5px;
    right: 5px;
    position: absolute;
    bottom: 0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    direction: rtl;
    background-color: #e0e0e0;
    border-radius: 14px 14px 0 0;
    transform: translateY(50px);
}

.related .product:hover .woocommerce-loop-product__title {
    opacity: 1;
    transform: translateY(0);
    transition: 0.2s all ease-in-out;
    color: #1d2124;
}

@media screen and (max-width: 780px) {
    .related .product .woocommerce-loop-product__title {
        opacity: 1;
        transform: translateY(0);
    }
}


@media screen and (max-width: 767px) {
    .main__product {
        display: flex;
        flex-direction: column;
    }

    .thumbnail__product {
        width: 100%;
    }

    .title__product {
        width: 100%;
    }
}

/* ---------Blog-Page----------------------*/
.blog__main {
    min-height: 600px;
    text-align: center;
    margin: 10px auto;
}

.post__card {
    position: relative;
    max-height: 400px;
    background-color: #fafafa;
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post__card .card_content_wrapper {
    padding: 20px;
    min-height: 390px;
    line-height: 1.6rem;
    display: flex;
    flex-direction: column;
    color: #767676;
}

.post__card .card_content_wrapper .card_title {
    font-size: 1.4rem;
    line-height: 1.8rem;
    margin-bottom: 15px;
    flex: 0 0 auto;
    color: #595959;
}

.post__card .card_content_wrapper .card_content {
    margin-bottom: 10px;
    flex: 1 1 auto;
    text-align: justify;
    font-weight: 100;
    background: -webkit-linear-gradient(90deg, #eee, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.post__card .card_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    height: 100%;
    display: block;
}

.pagination {
    border-top: none !important;
    padding-top: 40px;
}

.pagination span {
    color: #ffffff;
    background: #28313B;
    padding: 10px 20px;
    border: 1px solid #e2e3e5;
    border-radius: 10px;
    margin: 5px;
}

.pagination a {
    padding: 10px 20px;
    border: 1px solid #e2e3e5;
    border-radius: 10px;
    margin: 5px;
}

.pagination a:hover {
    color: #ffffff;
    background: #c1c1c1;
}

/* ---------Comments Styles----------------------*/
h3#comments {
    display: none;
}

.comment-form-comment label {
    display: none;
}

.comment-notes {
    display: none;
}

.comment-form-url {
    display: none;
}

ol.commentlist {
    list-style: none;
    padding: 15px 0 0 0;
    border-top: 1px dashed #DFDFDF;
    text-indent: 0;
}

.comment-body {
    padding: 10px;
    border: 1px solid #f2f2f2;
    background: rgba(249, 249, 249, 0.38);
    box-shadow: 0 0 2px 2px rgba(220, 220, 220, 0.16);
    margin-bottom: 10px;
}

.vcard img {
    width: 32px;
}

ol.commentlist li.comment div.vcard {
    font: normal 16px georgia, times, serif;
    margin-bottom: 7px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #E5E5E5;
}

ol.commentlist li.comment div.vcard cite.fn {
    font-style: normal;
}

ol.commentlist li.comment div.vcard span.says {
    display: none;
}

ol.commentlist li.comment div.comment-meta {
    font-size: 10px;
    float: left;
}

ol.commentlist li.comment div.comment-meta a {
    color: #5a5a5a;
    position: relative;
    top: -30px;
}

ol.commentlist li.comment p {
    font-size: 12px;
    margin: 0 0 1em;
    line-height: 25px;
}

ol.commentlist li.comment div.reply {
    font-size: 11px;
    text-align: left;
}

ol.commentlist li.comment div.reply a {
    font-weight: 400;
    padding: 5px 10px;
    display: inline-block;
    color: #FFF;
    background-color: #ababab;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    margin-left: -10px;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
}

ol.commentlist li.comment ul.children {
    list-style: none;
    margin: 1em 0 0;
    text-indent: 0;
}

ol.commentlist li.comment ul {
    font-size: 11px;
    list-style: square;
    margin: 0 0 1em 2em;
}

ol.commentlist li.comment ul.children li.depth-2 {
    margin-right: 0;
}

ol.commentlist li.comment ul.children .comment-body {
    background-color: rgba(252, 252, 252, 0.5);
    border-right: 3px solid #bea86f;
    border-left: 1px solid #f2f2f2 !important;

}

ol.commentlist li.comment ul.children li.depth-3 {
    margin-right: 0;
}

ol.commentlist li.comment ul.children li.depth-4 {
    margin-left: 0;
}

ol.commentlist li.comment ul.children li.depth-5 {
    margin-left: 0;
}

#respond {
    border-top: 1px dashed #DFDFDF;
    padding-top: 25px;
}

#commentform {
    margin-top: 20px;
}

#commentform p {
    margin-bottom: 10px;
}

#commentform textarea {
    width: 100%;
    max-height: 200px;
    border: 1px solid #F5F8FA;
    border-radius: 15px;
    box-shadow: inset 2px 2px 3px rgba(220, 220, 220, 0.13);
    padding: 10px;
    margin: 10px;

}

#commentform textarea:focus {
    outline: 0 !important;
    width: 100%;
    border: 1px solid #bea86f;
    box-shadow: inset 2px 2px 3px rgba(220, 220, 220, 0.13);
    padding: 5px;
    max-height: 200px;
}

textarea#comment {
    max-width: 100%;
    border: 1px solid #dcdcdc;
}

#commentform .form-submit {
    width: 100px;
}

#commentform #submit {
    padding: 10px 12px;
    color: #ffffff;
    background: #bea86f;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
}

#commentform input {
    outline: 0 !important;
    width: 100%;
    border: 1px solid #dcdcdc;
    box-shadow: inset 2px 2px 3px rgba(220, 220, 220, 0.13);
    padding: 11px 5px;
    font-size: 11px;
    line-height: 11px;
    position: relative;
    top: -1px;
}

.footer .comments ul {
    margin-top: -6px;
    margin-bottom: 0;
}

/* ---------Products Page----------------------*/
.products__main{
    min-height: 500px;
}
.product-item{
    margin: 30px 0;
    width: 100%;
}
.product-item .image{
    width: 90%;
    position: relative;
}
.product-item .image::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.product-item .image img{
    border: 1px solid #d6d8d9;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;

}
.product-item .title{
    width: 90%;
    position: relative;
    text-align: center;
    padding: 5px;
}

