@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 35rem 0;
    color: var(--primary-color);
}
.no_product{
    padding-bottom:3rem;
    font-size:2rem;
    text-align:center;
}
.container a{
    text-decoration:dashed!important;
}
.return__store{
    padding-bottom:15rem;
    font-size:2rem;
    color:var(--secondry-color);
    /*padding-right:10rem;*/
    transition:all 0.5s ease;
    text-align:center;
    display:block;
    /*text-decoration-line:underline!important;*/
}
.return__store:hover{
    font-size:2.1rem;

}

.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: 5px;
    left: 29%;
    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); }
}

/******************************************/
strong {
    font-weight: bold;
}
button:hover,
button:focus {
    /*background-color: #555;*/
}

.basket-module,
.basket-labels,
.basket-product {
    width: 100%;
}

/*input,*/
/*button,*/
.basket,
.basket-module,
.basket-labels,
.item,
.price,
.quantity,
.subtotal,
.basket-product,
.product-image,
.cart__product-details {
    float: right;
}

/*.price:after,*/
.subtotal:after,
.subtotal-value:after,
.total-value:after,
.promo-value:after
{
    content: ' تومان';
}

.hide {
    display: none;
}

main {
    clear: both;
    font-size: 0.85rem;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem 0;
    width: 100%;
    margin-top: 30px;
}

.basket,
aside {
    padding: 0 1rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.basket {
    width: 70%;
    font-size:1.5rem;
    font-family:Vazir;

}

.basket-module {
    color: #111;
}

label {
    display: block;
    margin-bottom: 0.3125rem;
}

.promo-code-field {
    border: 1px solid #ccc;
    padding: 0.5rem;
    text-transform: uppercase;
    transition: all 0.2s linear;
    width: 48%;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -o-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.promo-code-field:hover,
.promo-code-field:focus {
    border: 1px solid #999;
}

.promo-code-cta {
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: bold;
    margin-left: 0.625rem;
    padding: 0.6875rem 1.25rem 0.625rem;
    background-color: #EF4056;
}

.basket-labels {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-top: 1.625rem;
}

.ul1 {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align:center;
}

.li1 {
    color: #111;
    display: inline-block;
    padding: 0.625rem 0;
    /*font-size: 1rem;*/
}

li.price:before,
li.subtotal:before {
    content: '';
}

.item {
    width: 45%;
    /*text-align:center;*/
    /*font-size: 16px;*/
}
.items{
    width: 45%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-align:center;
}
div.basket-product img{
    width: 100px;
    height: 100px;
}

.price,
.quantity,
.subtotal {
    width: 15%;
    text-align:center;
}

.subtotal {
    width:100%;
    text-align:center;
    padding-right:5rem;
}

.item-heading {
    padding-left: 4.375rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.basket-product {
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
    position: relative;
    display:flex;
    align-items:center;
}

.product__image {
    width: 35%;
}

.cart__product-details {
    width: 65%;
}

.product-frame {
    border: 1px solid #aaa;
}

.cart__product-details {
    padding: 0 1.5rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.quantity-field {
    width: 60px;
    height: 40px;
    padding: 1rem;
    border-radius: 25px;
    border: none;
    background-color: #30ccc4;
    margin-right: 2rem;
    position:relative;
    font-family:Vazir;
}

aside {
    float: left;
    position: relative;
    width: 30%;
    font-size:1.8rem;
    font-family:Vazir;
}

.summary {
    background-color: #fffdfd;
    border: 2px solid #30ccc4;
    border-radius:5px;
    padding: 4rem 2rem;
    /*position: fixed;*/
    width: 300px;
    /*height:500px;*/
    margin: 3rem 4rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.summary-total-items {
    color: #666;
    /*font-size: 0.875rem;*/
    text-align: center;
}
.total-items{
    color:#30ccc4;
}
.summary-subtotal,
.summary-total {
    /*border-top: 1px solid #ccc;*/
    border-bottom: 1px solid #ccc;
    clear: both;
    margin: 1rem ;
    overflow: hidden;
    padding: 1rem ;
    position:relative;
    height:100px;
}

.subtotal-title,
.subtotal-value,
.promo-title,
.promo-value {
    color: #111;
    float: right;
    width: 50%;
}
.total-value{
    position:absolute;
    left:1rem;
    font-weight:900;
    /*width:100%;*/
}



.summary-promo {
    padding: 10px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.promo-title {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    margin-top: 20px;
    float: right;
    width: 70%;
}

.promo-value {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    color: #8B0000;
    float: left;
    text-align: right;
    width: 30%;
    padding-top: 20px;

}

.summary-delivery {
    padding-bottom: 3rem;
}

.subtotal-value,
.total-value {
    text-align: right;
}

.total-title {
    font-weight: bold;
    text-transform: uppercase;
}

.summary-checkout {
    display: block;
}

.checkout-cta {
    display: block;
    float: none;
    font-weight:bold;
    text-align: center;
    text-transform: uppercase;
    padding: 0.625rem 0;
    width: 100%;
    border-radius:5px;
    color:white;
    background-color: var(--primary-color)!important;
    margin-top:3rem;
}
.checkout-cta:hover{
    color:white;
}
.summary-update{
    display: block;
    float:left;
}


.summary-delivery-selection {
    background-color: #ccc;
    border: 1px solid #aaa;
    border-radius: 4px;
    display: block;
    font-size: 0.625rem;
    height: 34px;
    width: 100%;
}

/*@media screen and (max-width: 640px) {*/
/*    aside,*/
/*    .basket,*/
/*    .summary,*/
/*    .item,*/
/*    .remove {*/
/*        width: 100%;*/
/*    }*/

/*    .basket-module {*/
/*        margin-bottom: 1rem;*/
/*    }*/
/*    .item {*/
/*        margin-bottom: 1rem;*/
/*    }*/
/*    .product-image {*/
/*        width: 40%;*/
/*    }*/
/*    .cart__product-details {*/
/*        width: 60%;*/
/*    }*/
/*    .price,*/
/*    .subtotal {*/
/*        width: 33%;*/
/*    }*/
/*    .quantity {*/
/*        text-align: center;*/
/*        width: 34%;*/
/*    }*/
/*    .quantity-field {*/
/*        float: none;*/
/*    }*/
/*    .remove {*/
/*        bottom: 0;*/
/*        text-align: right;*/
/*        margin-top: 0.75rem;*/
/*        position: relative;*/
/*    }*/
/*    .remove button {*/
/*        padding: 0;*/
/*    }*/
/*    .summary {*/
/*        margin-top: 1.25rem;*/
/*        position: relative;*/
/*    }*/
/*}*/

.product-name,.hr-product{
    display:none;
}
@media screen and (max-width: 960px) {
    main {
        width: 100%;
    }
    .cart__product-details {
        padding: 0 1rem;
    }
}

/******* responsive ****************/
@media screen and (max-width: 1100px){
    .basket {
        width:65%;
    }
    .summary {
        margin:3rem 0 3rem 5rem;
    }
}
@media screen and (max-width: 992px){
    .basket {
        width:100%;
    }
    .row__cart{
        width:100%;
        display:flex;
        flex-direction:column;
        /*justify-content:space-between;*/
        padding:3rem;
    }
    aside{
        width:70%;
        /*height:300px;*/
        float:none!important;
        /*position:static;*/
        margin:5rem auto;

    }
    .summary {
        width:100%;
        height:300px;
        margin:auto;
    }
}
@media screen and (max-width: 768px){
    .main{
        padding-top:1rem;
    }
    .basket{
        border-top:2px solid;
    }
    aside {
        width:90%;
    }
    .return__store {
        padding-bottom:5rem;
    }
    .ul1 {
        display:none;
    }
    .product-name{
        display:block;
        padding-left:15rem;
    }
    .items {
        width:100%;
        justify-content:flex-start;
    }
    div.basket-product img {
        width: 80px;
        height: 80px;
        padding-right: 1rem;
    }
    .hr-product{
        display: block;
        background-color: lightgray;
        height: 2px;
        width: 80%;
        margin: auto;
    }
    .price,.quantity,.total-p{
        width:100%;
        display:flex;
        padding:2.5rem 0;
        justify-content:flex-start;
    }
    .product-p{
        padding-right:13rem;
    }
    .quantity-field {
        margin-right:15rem;
    }
    .subtotal {
        width:unset;
        padding-right:10rem;
    }
    .basket-product{
        display:flex;
        flex-direction:column;
        align-items:end;
        justify-content:center;
        border-bottom:2px solid var(--primary-color);
    }
    .basket-labels{
        display:none;
    }
    }
@media screen and (max-width: 650px){
    .main{
        padding-bottom:10rem;
    }
    .basket {
        width: 90%;
    }
.ul1{
    display:flex;
}
}
@media screen and (max-width: 540px){
    .product-name {
        padding-left: 10rem;
    }
    .product-p {
        padding-right: 10rem;
    }
    .quantity-field {
        margin-right: 12rem;
    }
    .subtotal {
        padding-right: 7rem;
    }
}
@media screen and (max-width: 435px){
    .product-name {
        padding-left: 5rem;
    }
    aside {
        width: 100%;
    }
    .product-p {
        padding-right: 5rem;
    }
    .quantity-field {
        margin-right: 7rem;
    }
    .subtotal {
        padding-right: 5rem;
    }
}
@media screen and (max-width: 368px){
    .product-name {
        padding-left: 2rem;
    }
    .product-p {
        padding-right: 3rem;
    }
    .quantity-field {
        margin-right: 5rem;
    }
    .subtotal {
        padding-right: 3rem;
    }
}