/*
Theme Name:   Xpro Child
Template:     xpro
*/
.elementor-widget {
    position: unset;
}
.wc-block-components-totals-shipping .wc-block-components-totals-item__value {
    color: transparent
}
.wc-block-components-totals-shipping .wc-block-components-totals-item__value:after {
    content: " پس کرایه";
    color: #797979;
    font-weight: 700
}
.wc-block-components-radio-control__description-group {
    display: none !important
}
.wc-block-cart-item__wrap {
    text-align: right;
}
.woocommerce form .input-text, .woocommerce form select {
    text-align: right !important;
}
.xpro-woo-product-grid-title {
    direction: rtl;
}
.woocommerce table.shop_attributes {
    text-align: right;
    font-family: 'IRANSans';
    font-style: normal;
}

/*page cart*/

 .pars-cart-page .cart-collaterals .cart_totals {
    width: 100% !important;
    margin-top: 0px !important;
}

 .pars-cart-page .xpro-woo-cart.xpro-woo-cart-layout-inline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
}



  .xpro-title-wrapper:before {
    background-color: #003B73 !important;
}

.woocommerce-cart .xpro-title-wrapper-text ,.woocommerce-checkout .xpro-title-wrapper-text {
    color: #fff ;
    font-family: "iransansdn", sans-serif;
}

.woocommerce-cart .xpro-title-wrapper ul li ,.woocommerce-checkout .xpro-title-wrapper ul li  {
    color: #fff !important;
    font-size:16px;
}

.woocommerce-cart .xpro-title-wrapper ul li>a:after ,.woocommerce-checkout .xpro-title-wrapper ul li>a:after {
    color: #fff;
        font-size:16px;

}


.xpro-woo-cart table.shop_table_responsive tr td[data-title]::before {
    float: right !important;
}


.woocommerce-page table.cart td.actions .coupon .input-text+.button{
    width:100% !important;
    margin-top:20px;
}

.woocommerce-cart .xpro-content-wrapper {
    padding: 30px 0px !important;
}

a.button.xpro-mc-view-cart.wc-forward{
    color: #ff000000 !important;
}
a.button.xpro-mc-view-cart.wc-forward::before {
    content: "سبد خرید";
    color: #fff;
    position: absolute !important;
    text-align: center !important;
}

a.button.xpro-mc-checkout.checkout.wc-forward {
    color: #ff000000 !important;
}
a.button.xpro-mc-checkout.checkout.wc-forward::before {
    content: "تسویه حساب";
    color: #fff;
    position: absolute !important;
}
button.single_add_to_cart_button.button.alt{
    color: #ff000000 !important;
}
button.single_add_to_cart_button.button.alt:before {
    content: "افزودن به سبد خرید";
    color: #fff;
    position: absolute;
}


/*single product*/

/*WooCommerce notifications*/
@media only screen and (max-width: 600px){.pars-massage .woocommerce-message {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}
}

.pars-massage .button.wc-forward {
    margin: 0 !important;
}

@media only screen and (max-width: 600px){.woocommerce-message::before {
    top: 26% !important;
}
}

/*WooCommerce product images*/

.pars-img-product img{
    border-radius: 10px !important; 
}
.pars-img-product .flex-control-nav.flex-control-thumbs li {
    width: 60px !important;
   
}

.pars-img-product .flex-control-thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap:10px !important;
}
.pars-img-product .woocommerce-product-gallery {
    margin-bottom: 0px !important;   
}
/*Product features*/
.pars-sticky-product {
    position: sticky !important;
    top: 20px;
}


.pars-Feature-single .xpro_swatches .swatch_label {
    padding: 0px 7px!important;
color:#fff;
    background:#003049;
    margin-right:5px;
}

.pars-Feature-single .xpro_swatches {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.pars-Feature-single .label label {
    padding: 4px 10px !important;
    border-radius: 5px !important;
}
    
    
    
.pars-Feature-single .woocommerce-variation-add-to-cart-disabled {
    margin-top: 30px !important;
}


.pars-Feature-single .input-text.qty {
    border-radius: 10px !important;
}
   
   .variations .label label{
    color: #fff;
    background: #78003f;
    padding: 10px 30px;
    border-radius: 10px;
}

.pars-Feature-single .xpro_swatches {
    text-align: right !important;
} 


img.emoji {
    display: none !important;
}

span.posted_in {
    margin: 0px !important;
}

.product_meta {
    margin: 0px !important;
}

span.swatch.swatch_label:hover {
    background: #7c0000 !important;
    color: #fff;
}

span.xpro_swatch__tooltip {
    background: #003049 !important;
}
span.xpro_swatch__tooltip:after{
    background: #003049 !important;
}

table.variations {
    margin: 0px !important;
}

a.reset_variations {
    color: #fff !important;
    font-family: 'IRANSans';
    font-weight: 600;
    background: #e00808;
    padding: 5px 30px;
    border-radius: 5px;
    position: absolute !important;
    left: 0px !important;
}

.pars-Feature-single .single_variation_wrap {
    margin-top: 38px;
}
.pars-Feature-single .selected {
    background: #780000 !important;
    border-color: #780000 !important;
}

 .pars-content-product h2,
 .pars-content-product h3,
 .pars-content-product h4,
 .pars-content-product h5,
 .pars-content-product h6 {
  margin-top: 25px !important;
  margin-bottom: 25px !important;
}


.single-product th{
  text-align: right !important;
}



.single-product table {
    border: none;
 
}

.single-product tr {
    border-top: 1px solid #dedbdb;
    height: 80px;
}

.single-product th {
    font-size: 14px;
    width: 30%;
}

.single-product td {
    font-size: 14px;
    width: 70%;
}


.pars-Feature-single .single_add_to_cart_button.button.alt:before {
    left: 50%;
    transform: translateX(-50%);
}


/*style home*/

.pars-slider i.eicon-chevron-left {
    color: #669bbc !important;
    background: #fff !important;
    padding: 12px !important;
    border-radius: 50px !important;
}

.pars-slider i.eicon-chevron-left:hover {
    color: #fff !important;
    background: #669bbc !important;
    padding: 12px !important;
    border-radius: 50px !important;
}
.pars-slider i.eicon-chevron-right{
    color: #669bbc !important;
    background: #fff !important;
    padding: 12px !important;
    border-radius: 50px !important;
}

.pars-slider i.eicon-chevron-right:hover {
    color: #fff !important;
    background: #669bbc !important;
    padding: 12px !important;
    border-radius: 50px !important;
}
@media only screen and (max-width: 770px){
    .pars-slider i.eicon-chevron-left {
        color: #669bbc !important;
        background: #fff !important;
        padding: 8px !important;
        border-radius: 50px !important;
    }
    
    .pars-slider i.eicon-chevron-left:hover {
        color: #fff !important;
        background: #669bbc !important;
        padding: 8px !important;
        border-radius: 50px !important;
    }
    .pars-slider i.eicon-chevron-right{
        color: #669bbc !important;
        background: #fff !important;
        padding: 8px !important;
        border-radius: 50px !important;
    }
    
    .pars-slider i.eicon-chevron-right:hover {
        color: #fff !important;
        background: #669bbc !important;
        padding: 8px !important;
        border-radius: 50px !important;
    }
}


.pars-category-slider .owl-nav {
    display: none !important;
}


/*style header*/


.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    z-index: 2;
}


.pars-mega-menu .xpro-menu-icon.fas.fa-bars {
    margin-right: 0px;
    margin-left: 15px;
}
.pars-mega-menu .xpro-megamenu-panel {
    right: 0;
    transform: translate(0, 10px) !important;

}

#menu-item-385 {
    position: relative;
}

.pars-cart-header .xpro-elementor-hamburger-inner.xpro-mini-cart-content-inner {
    right: auto !important;
}

.xpro-elementor-mini-cart-style-light {
    overflow: visible !important;
}

.xpro-align-icon-right {
    overflow: visible;
}

.xpro-entry-content {
    overflow: hidden;
}

span.wc-block-components-button__text:hover {
    background-color: #0074B7 !important;
}

button.wc-block-cart-item__remove-link {
    background-color: #0074B7 !important;
}
button.wc-block-cart-item__remove-link:hover {
    background-color: #60A3D9 !important;
}
.add_to_cart_button.ajax_add_to_cart {
    background-color: #0074B7;
    border-radius: 10px;
}
.add_to_cart_button.ajax_add_to_cart:hover {
    background-color: #60A3D9;
    border-radius: 10px;
    color:#fff;
}

.wc-block-grid__product-title {
    color: #323232 !important;
}
.wc-block-grid__product-title:hover {
    color: #0074B7 !important;
}


.pars-mega-menu .xpro-megamenu-panel {
    transform: translate(0, 0) !important;
}

    
    
/*style loop product archive*/

.pars-cart-loop {
    position: absolute!important;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    transform: translateY(100%);
    opacity: 0;
    transition: transform .45s cubic-bezier(.51,.56,.04,.9) 0s,color .25s 0s ease-out,opacity .1s .5s;
}

.pars-loop:hover .pars-cart-loop {
    pointer-events: auto;
    transform: translateY(0%);
    transition-delay: 0s,0s,0s;
    opacity: 1;
    
    }

.pars-product-loop{
    position: relative;
    padding: 50px 10px 10px 10px;
    transition: transform .45s cubic-bezier(.51,.56,.04,.9);
}

.pars-loop:hover .pars-product-loop {
        transform: translateY(-50px);
}


@media only screen and (max-width: 600px){.pars-cart-loop .e-loop-add-to-cart-form-container {
    text-align: center;
}
}


.pars-loop .cart {
    gap: 0px !important;
}


.pars-loop .quantity .qty {border-radius: 0px 0px 10px 0px !important;}

.pars-loop .stock.out-of-stock {
    color: #fff;
    padding: 16px 0px;
    text-align: center;
}
    
@media only screen and (min-width: 768px){
    .pars-filter {
    position: sticky;
    top: 40px;
}
}
    
    
    
/*panel*/
.avesta-container {
    background-color: #0a74b4 !important;
    padding: 25px !important;
    border-radius: 10px !important;
}

.avesta-container .xpro-side {
    background-color: #fff !important;
}

.avesta-container .xpro-main {
    background-color: #fff !important;
}

.avesta-container .elementor-shortcode h3 {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.avesta-container p {
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-top: 15px;
}


.avesta-container .xpro-side .xpro-menu li:last-child {
    margin-top: 0px !important;
}

.avesta-container .xpro-side .xpro-menu a:hover, .xpro-side .xpro-menu .active {
    background-color: #0a74b4 !important;
    color: #fff !important;
}
    
.avesta-container .xpro-menu a span {
    font-size: 25px !important;
}

.avesta-container .xpro-logout {
    color: #666666!important;
}

.avesta-container .xpro-menu .logout-icon:before {
    color: inherit !important;
}
    

.avesta-container input[type='submit'] {
    background-color: #60A3D9 !important;
}

.avesta-container input[type='submit']:hover {
    background-color: #0a74b4 !important;
}


.avesta-container .address-content .button {
    background-color: #60A3D9 !important;
    color:#fff !important;
}
    
.avesta-container .xpro-password-icon a {
    background-color: #1174b2;
    color: #fff !important;
    border-radius: 10px;
}
    
.xpro-password-icon a:hover {
    background-color: #61a3d7;
}


.avesta-container .order-container {
    width: 100%;
}

.avesta-container .order-info-wrapper {
    width: 100%;
}
    
   @media only screen and (max-width: 600px){
    .avesta-container .xpro-main {
    width: 100% !important;
}
} 

.woocommerce-info {
    padding-right: 43px !important;
}

h1.xpro-title-wrapper-text {
    color: #fff !important;
}

ul.xpro-breadcrumb-list {
    display: none !important;
}
h4.comments-title{
    color: #ff000000;
}
h4.comments-title::after {
    content: "نظرات";
    color: #000;
    position: absolute;
}

