
/******************************************************** styles shop ****************************************************/

body {
    font-family: var(--font-main) !important;

/* single shop  */
.woocommerce span.onsale {
    background-color: var(--primary) !important;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: var(--primary) !important;
}
.posted_in:before{
    padding-left: 3px;
    content: "\e921";
    color: var(--secondary) !important;
    font-family: 'IRANSans'!important;
    vertical-align: middle;
    cursor:pointer !important;
}
.tagged_as:before{
    padding-left: 3px;
    content: "\e919";
    color: var(--primary) !important;
    font-family: 'IRANSans'!important;
    vertical-align: middle;
    cursor:pointer !important;
}
.posted_in , .tagged_as{
    color: var(--secondary) !important;
}
.woocommerce .star-rating span {
    color: var(--accent) !important;
}
.woocommerce .star-rating span::before {
    color:var(--accent) !important;
}
/* slider images */
.woocommerce div.product div.images img {
    margin: 0 !important;
}
.flex-viewport{
    border-radius: 5px 5px 0 5px;
    height: 450px !important;
}
.zoomImg {
    top:0 !important;
}
.zoomImg:hover {
    top:0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #ffffff !important;
    text-shadow: inherit;
}

@media (max-width:450px) and (min-width: 350px){
    .woocommerce div.product .product_title {
        font-size: 21px;
    }
    .single-content p, .single-content {
        font-size: 14px;
    }
}
@media (max-width:350px){
    .woocommerce div.product .product_title {
        font-size: 19px;
    }
    .single-content p, .single-content {
        font-size: 14px;
    }
}
@media (max-width: 1300px) {
    .product_meta span:nth-child(1):after {
        content: "\A";
        white-space: pre;
    }
    .tagged_as {
        padding-right: 0 !important;
    }
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 0 0 5px 0;
    border:2px solid #d7d7d7 !important;
}
.woocommerce div.product .product_title {
    color: #000000c7 !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    background: rgba(142, 167, 219, 0.1) !important;
    border: 1px solid var(--primary) !important;

}
/* card button */
.qty_text , .quantity{
    line-height: 1rem !important;
    font-size: 14px !important;
    /* font-weight: 500 !important; */
    color: var(--primary) !important;
}
.woocommerce .quantity .qty , #price_calculator input{
    line-height: 2rem !important;
    border: 1px solid #d4c8c8 !important;
    text-align: center;
}
.woocommerce .quantity .qty:focus , .woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus , #price_calculator input:focus{
    border: 1px solid var(--primary) !important;
    background: #fff;
}
.woocommerce div.product form.cart .button {
    background-color: var(--primary);
    border: 1px solid transparent !important;
    color: #ffffff !important;
    border-radius: 2px;
}
.woocommerce div.product form.cart .button:hover , .woocommerce div.product form.cart .button:focus{
    background: var(--primary) !important;
    background: linear-gradient(var(--primary), var(--primary)) !important;
    border: 1px solid transparent !important;
}
.woocommerce-product-details__short-description , .woocommerce-product-details__short-description p {
    line-height: 2.2rem !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .zoomImg {

    height: 500px !important;

}
woocommerce-Price-currencySymbol{
    padding-right: 5px !important;
}
.woocommerce-product-details__short-description p{
    font-size: 14px;
    color: #4a4646 !important;
}

/* tabs */
.woocommerce div.product .woocommerce-tabs .panel {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}
.woocommerce #content div.product .woocommerce-tabs, .woocommerce div.product .woocommerce-tabs, .woocommerce-page #content div.product .woocommerce-tabs, .woocommerce-page div.product .woocommerce-tabs {
    border: 1px solid #e2e2e2 !important;
    padding: 0 !important;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.1);
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    border-bottom: 1px solid #e2e2e2 !important;
    border-radius: 10px 10px 0 0;
;
}
.related .products {
    border: 1px solid #e2e2e2 !important;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    color: #fff !important;
    border-bottom: 1px solid var(--primary) !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    padding: 0 5em !important;
    background:var(--primary)  !important;
    border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-bottom: 1px solid  transparent !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background-color: inherit !important;
    padding: 0 5em !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before , .woocommerce div.product .woocommerce-tabs ul.tabs li.active::before{
    border-color: transparent !important;
    border-bottom-left-radius: 0 !important;
    box-shadow: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::after , .woocommerce div.product .woocommerce-tabs ul.tabs li.active::before{
    border-color: transparent !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: none !important;
}
@media (max-width: 656px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs li , .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
        border-bottom: 0 !important;
    }

}
@media (max-width: 350px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs li  ,  .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
        padding-right: 2em !important;
        padding-left: 2em !important;
    }

    .woocommerce #reviews #comments ol.commentlist {
        padding-right:0 !important;
    }

}
/* extra info */
.woocommerce table.shop_attributes {
    border: 0 !important;
}
.woocommerce table.shop_attributes tr , .woocommerce table.shop_attributes td ,.woocommerce table.shop_attributes th {
    border: 0 !important;
    cursor: default;
    text-align: right;
}
.woocommerce table.shop_attributes tr{
    padding-bottom: 0.5rem;
}

.woocommerce table.shop_attributes td p {
    margin: 0;
    padding: 8px 0;
    color: #5c5c5c !important;
}
@media (max-width: 656px) {
    .woocommerce table, .woocommerce thead, .woocommerce tbody, .woocommerce th, .woocommerce td, .woocommerce tr {
        display: block !important;
    }
    .woocommerce .simple_price_calculator thead, .woocommerce .simple_price_calculator tbody, .woocommerce .simple_price_calculator th, .woocommerce .simple_price_calculator td, .woocommerce .simple_price_calculator tr {
        display: revert !important;
    }
    .woocommerce table.shop_attributes th , .woocommerce table.shop_attributes td {
        width: 100% !important;
        display: block !important;
    }
    .woocommerce table.shop_attributes th {
        width: 100% !important;
        display: block !important;
    }
    .div-prices table, .div-prices thead, .div-prices tbody, .div-prices th, .div-prices td, .div-prices tr {
        display: revert !important;
    }
}


/* comments */
.woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin: 0 50px 0 0;
    border: 1px solid var(--primary) !important;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
    padding-right: 3rem !important;
}
.woocommerce #reviews #comments ol.commentlist li img.avatar {
    margin: 1rem !important;
}
.woocommerce p.stars a {
    color: var(--primary) !important;
}
.woocommerce #review_form #respond textarea {
    background-color: #fff;
    border-radius: 5px !important;
    outline: none !important;
}
.woocommerce #reviews #comments ol.commentlist {
    padding: 0 !important;
}
.woocommerce #respond input#submit {
    padding: 1rem !important;
    background: var(--primary) !important;
    border:0  !important;
    color: #ffffff !important;
}
.woocommerce #respond input#submit:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
    background: var(--primary) !important;
    background:  linear-gradient(var(--primary), var(--primary)) !important;
    transition: 3s;
}
.woocommerce #reviews #comments ol.commentlist li img.avatar {
    width: 40px !important;
}
.comment-form-author label , .comment-form-email label{
    width:60%;
}
.comment-form-author input , .comment-form-email input{
    border-radius: 5px;
    border: 1px solid #adabab;
    width:40%;
}
.tax_text{
    font-size: 14px !important;
    /* font-weight: 500; */
}
.tax_text:hover{
    color:var(--primary) !important;
}
.woocommerce span.onsale {
    background-color: var(--primary) !important;
}

@media (max-width: 656px) and (min-width: 400px){
    .comment-form-author label , .comment-form-email label{
        width:40%;
    }
    .comment-form-author input , .comment-form-email input{
        width:60%;
    }
}
@media (max-width: 399px){

    .comment-form-author input , .comment-form-email input{
        width:100%;
    }
}
@media (max-width: 656px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
        width: 100% !important;
        margin: 0 !important;
    }
}
select , select option , input{
    outline: none !important;
}

/* card shop page */
.woocommerce #content table.cart img, .woocommerce table.cart img, .woocommerce-page #content table.cart img, .woocommerce-page table.cart img {
    width:70px !important;
    margin: 0 !important;
}
.woocommerce table.shop_table td {
    text-align: right !important;


}
.woocommerce table.shop_table .product-thumbnail{
    text-align: right !important;

}

.cart-subtotal {
    background: none;
}


@media (max-width: 991px) and (min-width: 867px){
    .woocommerce #content table.cart img, .woocommerce table.cart img, .woocommerce-page #content table.cart img, .woocommerce-page table.cart img {
        width:120px !important;

    }
}
@media (max-width: 866px) and (min-width: 657px){
    .woocommerce #content table.cart img, .woocommerce table.cart img, .woocommerce-page #content table.cart img, .woocommerce-page table.cart img {
        width:150px !important;

    }
}
@media (max-width: 656px) {
    .woocommerce table.shop_table th {
        display:none !important;

    }
    .product-thumbnail::before{
        display:none !important;
    }
}

/* ==========================================================================
   Shop grid (product loop)
   --------------------------------------------------------------------------
   The theme's vanda_product_card() function (functions/woocommerce.php)
   outputs `<div class="product-card">` directly as a child of WooCommerce's
   `<ul class="products">` — there is no `<li class="product">` wrapper here,
   unlike a stock WooCommerce theme. All grid rules below target the real
   markup (`ul.products > div.product-card`) instead of `li.product`.
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0 0 24px !important;
    padding: 22px 0 0 !important;
    border-top: 1px solid #eee;
}

.woocommerce ul.products > li.product-card,
.woocommerce-page ul.products > div.product-card {
    width: auto;
    margin: 0;
    float: none;
}

/* >=992px: sidebar (col-lg-3) beside content (col-lg-9) -> content ~900px wide -> 3 cols */
/* 768–991px: sidebar stacks above content -> content is full viewport width -> still 3 cols comfortably */
@media (max-width: 991px) and (min-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Small tablets / large phones -> 2 cols */
@media (max-width: 767px) and (min-width: 550px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Phones -> 1 col */
@media (max-width: 549px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr;
    }
}
.woocommerce-loop-product__title {
    line-height: 1.7rem !important;
    height: 45px !important;
    font-size: 14px !important;
}
.wc-block-components-product-metadata__description h2{
    font-size: 14px !important;
    line-height: 1.5rem !important;
}
.wp-block-woocommerce-checkout .wc-block-components-sidebar{
    width: 100%;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
}
.wp-block-woocommerce-checkout .wc-block-components-main{
    width: 100% !important;
}
@media (max-width:1199px) and (min-width: 768px){
.woocommerce-loop-product__title{
    height: 50px !important;
}
}

@media (max-width: 1050px) and (min-width: 768px){
.woocommerce-loop-product__title{
    height: 45px !important;
}
}
@media (max-width: 767px) and (min-width: 600px){
.woocommerce-loop-product__title{
    height: 45px !important;
}
}
@media (max-width: 656px){
.woocommerce-loop-product__title{
    font-size: 14px !important;
}
}
@media (max-width: 599px) and (min-width: 400px){
.woocommerce-loop-product__title{
    height: 45px !important;
}
}
@media (max-width: 450px) {
    .woocommerce-loop-product__title {
        height: auto !important;
    }

}

select{
border: 0 !important;
}
select option:hover , select option:focus , select option:checked{
border: 0 !important;
background-color:  var(--primary) !important;
}

@media (max-width: 399px) {
.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    margin: 0.5rem !important;
}
#product .search-field{
    width: 70% !important;
}
}

.woocommerce .woocommerce-result-count {
line-height: 2rem;
margin: 0;
font-size: 14px !important;
}


.woocommerce nav.woocommerce-pagination ul li {
     border-left: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
background: var(--primary-light) !important;
}
#product form{
margin-bottom: 0;
}
.woocommerce-product-search .search-field{
margin: 0 !important;
padding: 7px !important;
box-sizing: border-box !important;
border-radius: 3px !important;
border: 1px solid #e1e1e1 !important;
}
.woocommerce-product-search button{
padding: 7px;
margin: 0 !important;
border: 0  !important;
background: var(--primary) !important;
color: #fff !important;
border-radius: 3px !important;
}
.woocommerce-product-search button:hover{
box-shadow: 0 4px 4px 0 rgba(56, 56, 56, 0.4), 0 6px 20px 0 rgba(86, 86, 86, 0.1);
}
.woocommerce-product-search .search-field:focus{
border: 1px solid var(--primary) !important;
}
/* payment */
 .woocommerce-info, .woocommerce-message {
    background-color: rgb(212 212 212 / 70%);
}
.woocommerce-error {
    background-color: rgb(212 212 212 / 70%);
}
.woocommerce-info {
    border-top-color: var(--primary) !important;
}
.woocommerce-error {
    border-top-color: var(--accent) !important;
}
.woocommerce-error::before {
    color:  var(--accent) !important;
}
.woocommerce-info::before {
    color: var(--primary) !important;
}
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: rgba(52, 172, 255, 0.1) !important;
}
.woocommerce-checkout #payment div.payment_box {
    background-color:rgba(var(--primary-rgb),.19) !important;
}
#add_payment_method .cart-collaterals .cart_totals table td, #add_payment_method .cart-collaterals .cart_totals table th, .woocommerce-cart .cart-collaterals .cart_totals table td, .woocommerce-cart .cart-collaterals .cart_totals table th, .woocommerce-checkout .cart-collaterals .cart_totals table td, .woocommerce-checkout .cart-collaterals .cart_totals table th {
    text-align: right !important;

}
.woocommerce form .form-row label {
    padding-left: 5px;
    width: 100%;
}
.woocommerce-input-wrapper{
    width: 100%;
}
.woocommerce table.shop_table th {
    text-align: right !important;
}
.woocommerce .col2-set, .woocommerce-page .col2-set {
    margin-bottom: 1rem;
    width: 100%;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
   /* box-shadow: 0 4px 4px 0 rgba(56, 56, 56, 0.4), 0 6px 20px 0 rgba(86, 86, 86, 0.1);*/
}
#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 ,
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
    padding-right: 8px;
    padding-left: 20px;
    background: #fff !important;
    border: 1px solid #e6dfdf;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 3px;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 0;
    border-radius: 4px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--primary) !important;

}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ece7e7 !important;
}
.woocommerce ul.order_details {
    border: 2px dotted #e2d9d9;
    padding: 1rem;
    border-radius: 2px;
}
.woocommerce ul.order_details li {
    margin: 1rem 5px !important;
}
.woocommerce #content table.cart td.actions .coupon, .woocommerce table.cart td.actions .coupon, .woocommerce-page #content table.cart td.actions .coupon, .woocommerce-page table.cart td.actions .coupon {
    margin-left: 4px;
}
.account_shop-link{
    padding-top: 2px !important;
    transition: all .5s ease-in-out;
}
.account_shop-link:hover{
    background: var(--primary) !important;
    background:  linear-gradient(var(--primary), var(--primary)) !important;
}

.bread-custom .account_shop-link a , .bread-custom .account_shop-link a:hover{
    color: #fff !important;
}

.account_shop-link i{
    padding-right: 3px;
    font-size: 14px;
}.account_shop-link i{
    padding-right: 3px;
    font-size: 14px;
}

.woocommerce-Address{
    margin-bottom: 1rem;
}
.woocommerce-MyAccount-navigation ul .is-active a{
    border-radius: 2px 2px 0 0;
    color: var(--primary) !important;
}
.woocommerce-MyAccount-navigation ul a{
    border-bottom: 2px solid transparent;
}
.woocommerce-MyAccount-navigation ul a:hover , .woocommerce-MyAccount-navigation ul a:focus{
    border-bottom: 2px solid  var(--primary) !important;
    transition: .5s;
}
.shopping-item {
    top: -3px;
    padding: 0;
    border-radius: 3px;
    cursor: pointer;
    background-color: white!important;
    position: relative;
    margin-left: 1rem;
}
.shopping-item:hover i{
    color: var(--primary) !important;
    transition: all .5s ease-in-out;

}
.shopping-item:hover .product-count{
    background: var(--primary) !important;
    transition: all .5s ease-in-out;
}
.shopping-item a {
    color: #434343;
    /* font-weight: 500; */
}
.shopping-item a {
    color: #434343;
    /* font-weight: 500; */
}
.product-count {
    top: -14px;
    background: none repeat scroll 0 0 var(--accent);
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-size: 10px;
    height: 20px;
    padding-top: 2px;
    position: absolute;
    right: -10px;
    text-align: center;
    width: 20px;
}
.woocommerce-breadcrumb ol{
    padding-top: 0.8rem !important;
}
.user_shop_icon{
    font-size: 20px;
}
.cart_shopping_sm{
    display: none;
}
@media (max-width: 991px){
    .shopping-item {
        top: 0;
        margin-top: 1rem;
        display: inline-block !important;
    }
    .cart_shopping_sm{
        display: inline-block;
    }
    .cart_shopping_lg{
        display: none;
    }
    .product-count {
        right: auto;
        left: 50%;
    }

}

#add_payment_method #payment ul.payment_methods li img, .woocommerce-cart #payment ul.payment_methods li img, .woocommerce-checkout #payment ul.payment_methods li img {

    width: 40px !important;
}
.wc_container .single-content h1 {
    font-size: 25px !important;
    padding-bottom: 1rem;
    line-height: 3rem !important;
    border-bottom: 1px solid rgba(197, 150, 68, 0.2);
    /* font-weight: 500; */
    color: #434242 !important;
}
.wc_container ul.products {
    border-top:1px solid rgba(197, 150, 68, 0.2) !important;
}
.woocommerce ul.products > div.product-card:hover .add_to_cart_button,
.woocommerce-page ul.products > div.product-card:hover .add_to_cart_button {
    background: linear-gradient(var(--primary), var(--primary)) !important;
}
.woocommerce ul.products > div.product-card:hover,
.woocommerce-page ul.products > div.product-card:hover {
    filter: brightness(92%) !important;
    transition: .7s;
}
/* float removed: ul.products is now a CSS grid, see rule near top of "list" section */
.woocommerce #reviews #comments ol.commentlist li .comment-text{margin:0;}
.posted_in,.tagged_as{display:block;}
.posted_in{padding-left: 0.5rem;}
.woocommerce #reviews #comments ol.commentlist li img.avatar{float:right;top: auto !important;    border-radius: 50%;}
.woocommerce .button{font-family:IRANSans,Tahoma !important;font-weight:500 !important;font-size:14px !important;text-align:center !important;color:#ffffff !important;border-radius:10px !important;background:var(--primary) !important;padding: 0.8rem !important;}
.woocommerce .button:hover{     background: linear-gradient(var(--primary), var(--primary)) !important;}
#add_payment_method #payment ul.payment_methods li, .woocommerce-cart #payment ul.payment_methods li, .woocommerce-checkout #payment ul.payment_methods li{text-align:right !important;}
.woocommerce table.shop_table{text-align:right;}
.woocommerce .woocommerce-breadcrumb {
text-align: right;
margin: 5px !important;
font-size: 14px !important;
color: #878787bd;
/* FONT-WEIGHT: 400; */
cursor: default;
}
.woocommerce-message {
    border-top-color: var(--primary);
}
.woocommerce-message::before {
    color: var(--primary);
}
.woocommerce-MyAccount-navigation{margin-bottom:15px}
.woocommerce-MyAccount-navigation ul li{float:right;margin-left:10px;list-style:none !important}
.woocommerce-MyAccount-navigation{float:none !important;width:100% !important;background:whitesmoke;overflow:hidden;border-radius:3px;text-align:center}
.woocommerce-MyAccount-navigation ul li a{display:inline-block;padding:10px 15px;}
.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .comment-form-comment textarea, .comment-form-author input, .comment-form-email input{
    padding:7px;
    box-sizing:border-box;
    width:100%;
    border-radius:3px;
    border:1px solid #e1e1e1;
    font-family:IRANSans,tahoma !important;
}
.woocommerce form  .form-row .select2 , .woocommerce form .select2 {
    padding:10px 1px;
    box-sizing:border-box;
    width:100%;
    border-radius:3px;
    /*border:1px solid #e1e1e1;*/
    font-family:IRANSans,tahoma !important;
}
.woocommerce form  .form-row select#billing_state{
    padding:5px 1px;
    box-sizing:border-box;
    width:100%;
    border-radius:3px;
    border:1px solid #e1e1e1 !important;
    font-family:IRANSans,tahoma !important;
}
.payment_box payment_method_WC_IDPay p{
    color:#fff !important;
}
#my-custom-fields-container{
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(52, 172, 255, 0.2);
    margin-bottom: 1.5rem;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .comment-form-comment textarea:focus, .comment-form-author input:focus, .comment-form-email input:focus{background: whitesmoke;}
.woocommerce form .form-row{box-sizing:border-box;}
.woocommerce form .form-row .required{text-decoration:none !important;position:relative;top:3px;}
#coupon_code{padding:7px;border-radius:3px;position:relative;}
.woocommerce-message a.button{margin-left:15px;}
.woocommerce ul.products > div.product-card h3{line-height:30px;overflow:hidden;min-height:60px;}
.woocommerce-ordering { position: relative; }
.orderby{
    font-family: var(--font-main), IRANSans, tahoma !important;
    height: 46px;
    padding: 0 42px 0 16px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
    background-color: var(--white);
    border: 1.5px solid var(--gray-300) !important;
    border-radius: 30px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: var(--transition);
    /* custom dropdown arrow, matches the checkout/address selects */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23748e54' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
}
.orderby:hover {
    border-color: var(--primary) !important;
}
.orderby:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15);
}
/* the little "sort by" label WooCommerce sometimes renders before the select */
.woocommerce-ordering label { display: none; }
.tps-product .products{}
.entry-summary .price del{margin-left:10px;display:inline-block;}
.product_title.entry-title{margin-bottom:10px;color:var(--primary);}
.entry-summary .price{margin-bottom:10px;}
.woocommerce div.product form.cart .button{vertical-align:middle;float:right;}
.woocommerce div.product form.cart div.quantity{float:right;margin: 2px  ;}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .comment-form-comment textarea, .comment-form-author input, .comment-form-email input{max-width:100%;}
.woocommerce .quantity .qty{border:none;padding:4px;border-radius:10px;margin-left:0;}
.woocommerce-loop-product__title,.products .price{text-align:center;}
.woocommerce div.product form.cart .button{vertical-align:middle;float:right;position:relative;top:2px;padding: 0.6rem !important;}
.woocommerce-result-count{padding:5px ;}
.related h2{
    /* font-weight:500; */
    padding:10px ;color:var(--primary);}
.woocommerce nav.woocommerce-pagination ul {
    border: 0 !important;
}
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    margin-left: 5px;
    border: 1px solid #ded9d9;
    border-radius: 5px;
    padding: 5px 1rem !important;
    color: #000;
    font-size: 14px !important;
}
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    margin-left: 5px;
    background: var(--primary) !important;
    border-radius: 5px;
    padding: 5px 1rem !important;
    color: #000;
    font-size: 14px !important;
}
.woocommerce p.stars a {
    margin-left: 3px !important;
}
.woocommerce p.stars a::before {
    font-size: 22px !important;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: var(--primary) !important;
    /* font-weight: 500; */
}
.woocommerce div.product .woocommerce-product-rating {
    margin-bottom: 10px !important;
}
.product_meta{
    margin-top: 1.3rem !important;
}
.posted_in, .tagged_as {
    font-size: 14px !important;
    line-height: 2rem;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    height: 120px;
    width: 120px;
    border-radius: 5px;
    margin-top: .5rem !important;
    object-fit: cover;

}
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    border: 2px solid var(--primary) !important;
    filter: brightness(92%);
}
.woocommerce div.product div.images img {
    border-radius: 5px;
    border: 2px solid #f5f2f3 !important;
}
.woocommerce div.product div.images img:hover {
    border: 2px solid var(--primary) !important;
    filter: brightness(100%);

}

.woocommerce div.product div.images .flex-control-thumbs li {
    margin-left: 2px;
}
.woocommerce div.product div.images img {
    max-height: 400px;
    object-fit: contain;

}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    line-height: 1.3rem;
}
.woocommerce .download-file .button:before{
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f019";
    font-size: 12px;
    vertical-align: middle;
    padding-left: 5px;
}
.woocommerce div.product form.cart .button:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f07a";
    font-size: 12px;
    vertical-align: middle;
    padding-left: 5px;
}
@media (max-width:1199px) and (min-width: 991px){
    .flex-viewport{
        height: 370px !important;
    }
    .woocommerce div.product div.images .flex-control-thumbs li img {
        height: 80px;
    }
}
@media (max-width:991px) and (min-width: 768px){
    .flex-viewport{
        height: 280px !important;
    }
    .woocommerce div.product div.images .flex-control-thumbs li img {
        height: 70px;
    }
}
@media (max-width: 480px){
    .flex-viewport{
        height: 280px !important;
    }
    .woocommerce div.product div.images .flex-control-thumbs li img {
        height: 70px;
    }
}
@media (max-width: 656px){
    .rtl .woocommerce .col2-set .col-1, .rtl .woocommerce-page .col2-set .col-1 ,  .rtl .woocommerce .col2-set .col-2, .rtl .woocommerce-page .col2-set .col-2 {
        padding: 0;
    }

}
@media (max-width: 380px){
    .woocommerce ul.woocommerce-order-overview li {
        display: block !important;
        float: inherit !important;
        border-left:0 !important;
        border-bottom: 1px dashed #d3ced2;
    }

}
.woocommerce-account .woocommerce-MyAccount-navigation {
    border-bottom: 1px solid rgba(52, 172, 255, 0.2);
    background-color: #fff;
    float: right;
    width: 30%;
    border-radius: 0;
}
.woocommerce-MyAccount-navigation ul{
    padding: 0 !important;
}

.mark, mark {
    background-color: rgba(var(--accent-rgb),.08) !important;
}
.woocommerce-Address address {
    border-radius: 10px;
    padding: 0 1rem;
    background-color: rgba(var(--accent-rgb),.08) !important;
}
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: 0 !important;
    box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.1);
}
.woocommerce-password-strength.short {
    background-color:var(--primary);
    border-color: var(--primary);
}
#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(197, 150, 68, 0.2);
}
@media (max-width: 900px) {
    .woocommerce-MyAccount-navigation ul li a {
        padding: 2px 7px;
    }

}
@media (min-width: 768px) {
    .woocommerce table.my_account_orders .button {
        margin-left: 5px;
        margin-bottom: 2px;
        margin-top: 2px;
    }

}
@media (max-width: 767px) {
    .woocommerce table.my_account_orders .button {
        margin-right: 5px;
        margin-bottom: 2px;
        margin-top: 2px;
    }

}
.woocommerce .woocommerce-cart-form__contents td.product-name dl.variation dt{
    padding-top: 10px;
}
@media (max-width: 656px) {
    .woocommerce .woocommerce-cart-form__contents thead,
    .woocommerce .woocommerce-cart-form__contents tbody,
    .woocommerce .woocommerce-cart-form__contents th,
    .woocommerce .woocommerce-cart-form__contents td,
    .woocommerce .woocommerce-cart-form__contents tr{
        width: 100% !important;

    }
}
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
    border: 0;
    line-height: 2em;
    vertical-align: top;
    text-align: center;
}
.woocommerce div.product form.cart .variations select {
    background-color: #f7f7f7;
    border-radius: 5px;
    padding: 5px 20px;
}

.woocommerce div.product form.cart .reset_variations {
    display: none;
    visibility: hidden;
    font-size: .83em;
    background-color: #dc3545 !important;
    border: none !important;
    padding: 5px 20px !important;
    border-radius: 10px !important;
    color: white !important;
    margin-top: 10px !important;
}
.wc-block-components-button:not(.is-link) {
    background-color: rgba(var(--primary-rgb),.36) !important;
    border-radius: 10px !important;
}

/* =====================================================================
   VT SHOP — گرید کاملاً جدید
   نسخه قبلی از ul.products + div.product-card (HTML نامعتبر) استفاده
   می‌کرد. نسخه جدید از Bootstrap row/col استفاده می‌کند.
   ===================================================================== */

/* ── کانتینر کلی صفحه فروشگاه ── */
.vt-shop-section {
    padding: 32px 0 70px;
}

/* ── نوار ابزار (toolbar) ── */
.vt-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 18px;
}
.vt-toolbar-right,
.vt-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* تعداد نتایج */
.vt-count {
    font-size: .87rem;
    color: var(--gray-600);
    margin: 0;
}
.vt-count strong { color: var(--primary); 
    /* font-weight: 800;  */
}

/* دکمه فیلتر موبایل */
.vt-filter-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--dark); color: #fff;
    border: none; border-radius: 8px;
    padding: 8px 16px;
    /* font-size: .85rem; font-weight: 700; */
    cursor: pointer; transition: var(--transition);
    font-family: var(--font-main);
}
.vt-filter-btn:hover { background: var(--primary); }

/* سوئیچ گرید / لیست */
.vt-view-switch { display: flex; gap: 4px; }
.vt-view-btn {
    width: 34px; height: 34px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--gray-400);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: .9rem;
    transition: var(--transition);
}
.vt-view-btn.active,
.vt-view-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ── گرید محصولات ──────────────────────────────────────
   هر محصول در col-6 col-sm-6 col-md-4 col-lg-4 قرار دارد.
   product-card باید 100% عرض col را پر کند.
   ────────────────────────────────────────────────────── */
.vt-product-col {
    display: flex;         /* باعث می‌شود فرزند h-100 کار کند */
}

/* کارت محصول */
.vt-products-grid .product-card {
    width: 100%;           /* پر کردن col */
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}
.vt-products-grid .product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* تصویر — مربع با aspect-ratio */
.vt-products-grid .product-thumb {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}
.vt-products-grid .product-thumb a {
    display: block;
    width: 100%; height: 100%;
}
.vt-products-grid .product-thumb img,
.vt-products-grid .product-thumb .wp-post-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
    display: block !important;
}
.vt-products-grid .product-card:hover .product-thumb img,
.vt-products-grid .product-card:hover .product-thumb .wp-post-image {
    transform: scale(1.06);
}

/* بدنه کارت */
.vt-products-grid .product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 14px 14px;
    gap: 5px;
}

/* عنوان */
.vt-products-grid .product-body h3 {
    font-size: .88rem;
    /* font-weight: 700; */
    line-height: 1.5;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: unset !important;     /* override قانون قدیمی */
    height: auto !important;
    margin: 0;
}
.vt-products-grid .product-body h3 a { color: inherit; }
.vt-products-grid .product-body h3 a:hover { color: var(--primary); }

/* قیمت */
.vt-products-grid .price-box {
    font-size: .88rem;
    margin-top: auto;
    padding-top: 4px;
    text-align: right;
}
.vt-products-grid .price-box ins  { text-decoration: none; 
    /* font-weight: 800;  */
    color: var(--ink); }
.vt-products-grid .price-box del  { font-size: .78rem; color: var(--gray-500); display: block; }

/* امتیاز */
.vt-products-grid .product-rating {
    display: flex; gap: 2px; font-size: .72rem; color: var(--accent);
}

/* دکمه افزودن به سبد */
.vt-products-grid .btn-cart {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .8rem;
     /* font-weight: 700; */
    cursor: pointer; transition: var(--transition);
    margin-top: 8px;
    text-align: center;
    text-decoration: none;
}
.vt-products-grid .btn-cart:hover {
    background: var(--primary); color: #fff; border-color: var(--primary);
}

/* بدج‌ها */
.vt-products-grid .discount-badge {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: var(--primary); color: #fff;
    font-size: .72rem; font-weight: 800;
    padding: 3px 9px; border-radius: 999px;
    line-height: 1.4;
}
.vt-products-grid .product-flag {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: var(--dark); color: #fff;
    font-size: .7rem; 
    /* font-weight: 700; */
    padding: 3px 9px; border-radius: 999px;
    line-height: 1.4;
}
.vt-products-grid .wishlist-btn {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    width: 30px; height: 30px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: .8rem; color: var(--gray-400);
    transition: var(--transition);
}
.vt-products-grid .wishlist-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── نمای لیست (class روی #vtProductsGrid) ── */
#vtProductsGrid.vt-list-view .vt-product-col {
    flex: 0 0 100%;
    max-width: 100%;
}
#vtProductsGrid.vt-list-view .product-card {
    flex-direction: row;
    align-items: stretch;
}
#vtProductsGrid.vt-list-view .product-thumb {
    width: 180px;
    min-width: 180px;
    aspect-ratio: auto;
    height: auto;
}
#vtProductsGrid.vt-list-view .product-body {
    padding: 18px 20px;
}
#vtProductsGrid.vt-list-view .product-body h3 {
    font-size: 1rem;
    -webkit-line-clamp: 3;
}

/* ── موبایل: فشرده‌تر ── */
@media (max-width: 575.98px) {
    .vt-products-grid .product-body { padding: 8px 10px 10px; gap: 4px; }
    .vt-products-grid .product-body h3 { font-size: .78rem; }
    .vt-products-grid .btn-cart { padding: 6px 8px; font-size: .74rem; }
    .vt-products-grid .price-box { font-size: .82rem; }
    .vt-products-grid .discount-badge,
    .vt-products-grid .product-flag { font-size: .65rem; padding: 2px 7px; }
}

/* ── حالت خالی ── */
.vt-no-products {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-500);
}
.vt-no-products i { font-size: 3.5rem; color: var(--gray-300); display: block; margin-bottom: 16px; }
.vt-no-products h3 { color: var(--ink); margin-bottom: 8px; font-size: 1.3rem; }
.vt-no-products p { margin-bottom: 20px; font-size: .9rem; }

/* ── Pagination ── */
.vt-pagination { display: flex; justify-content: center; margin-top: 36px; }
.vt-pagination .page-numbers,
.woocommerce-pagination .page-numbers {
    display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center;
}
.vt-pagination .page-numbers li a,
.vt-pagination .page-numbers li span,
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--border); border-radius: 10px;
    font-size: .88rem; color: var(--gray-700);
    transition: var(--transition);
}
.vt-pagination .page-numbers li .current,
.vt-pagination .page-numbers li a:hover,
.woocommerce-pagination .page-numbers li .current,
.woocommerce-pagination .page-numbers li a:hover {
    background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ──────────────────────────────────────────────────────
   سایدبار فروشگاه
   ────────────────────────────────────────────────────── */

/* موبایل: offcanvas */
@media (max-width: 991.98px) {
    .vt-shop-sidebar {
        position: fixed;
        top: 0; right: -110%;
        width: min(320px, 88vw);
        height: 100dvh;
        overflow-y: auto;
        background: var(--white);
        z-index: 1050;
        padding: 0 16px 20px;
        box-shadow: var(--shadow-lg);
        transition: right .3s ease;
        border-left: 1px solid var(--border);
    }
    .vt-shop-sidebar.is-open { right: 0; }

    .vt-sidebar-mhead {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        margin-bottom: 14px;
        /* font-weight: 800; */
        position: sticky; top: 0;
        background: var(--white); z-index: 1;
    }
    .vt-sidebar-mhead button {
        background: transparent; border: none;
        font-size: 1.1rem; cursor: pointer; color: var(--gray-600);
    }

    .vt-sidebar-overlay {
        display: none;
        position: fixed; inset: 0;
        background: rgba(0,0,0,.46);
        z-index: 1040;
    }
    .vt-sidebar-overlay.is-show { display: block; }
}
@media (min-width: 992px) {
    .vt-sidebar-mhead { display: none !important; }
    .vt-sidebar-overlay { display: none !important; }
}

/* کارت‌های فیلتر */
.vt-filter-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 14px;
}
.vt-filter-title {
    font-size: .88rem;
    /* font-weight: 800; */
    color: var(--ink);
    margin: 0 0 12px;
    display: flex; align-items: center; gap: 6px;
}
.vt-filter-title i { color: var(--primary); }

/* جستجو */
.vt-sidebar-search {
    display: flex;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.vt-sidebar-search input {
    flex: 1; border: none; outline: none;
    padding: 9px 12px; font-size: .85rem;
    font-family: var(--font-main);
    background: transparent; color: var(--gray-800);
}
.vt-sidebar-search button {
    background: var(--primary); color: #fff;
    border: none; padding: 0 14px; cursor: pointer;
    font-size: .9rem; transition: var(--transition);
}
.vt-sidebar-search button:hover { background: var(--primary-dark); }

/* لیست دسته‌بندی */
.vt-cat-list { list-style: none; padding: 0; margin: 0; }
.vt-cat-list li { border-bottom: 1px solid var(--gray-200); }
.vt-cat-list li:last-child { border-bottom: none; }
.vt-cat-list li a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 4px;
    font-size: .86rem; color: var(--gray-700);
    transition: var(--transition);
}
.vt-cat-list li a:hover,
.vt-cat-list li a.is-active { color: var(--primary); 
    /* font-weight: 700; */
 }
.vt-cat-list li a span {
    background: var(--gray-100); color: var(--gray-500);
    font-size: .72rem; 
    /* font-weight: 700; */
    padding: 1px 8px; border-radius: 999px;
    flex-shrink: 0;
}

/* بنر سایدبار */
.vt-sidebar-banner {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, var(--dark) 0%, #2c3440 100%);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    transition: var(--transition);
}
.vt-sidebar-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.vt-sidebar-banner > i { font-size: 1.6rem; color: var(--primary); flex-shrink: 0; }
.vt-sidebar-banner strong { display: block; color: #fff; font-size: .9rem; margin-bottom: 4px; }
.vt-sidebar-banner span  { color: rgba(255,255,255,.65); font-size: .8rem; }

/* ==========================================================================
   Cart & Checkout pages — matches the vt- shop design system
   (see "VT SHOP" block above: same border/radius/shadow tokens, same
   card look as .vt-filter-card / .vt-shop-toolbar, so cart & checkout
   feel like the same site as the shop/product pages.)
   ========================================================================== */

.vt-cart-section, .vt-checkout-section,
.cart-section, .checkout-section { padding: 32px 0 70px; font-family: var(--font-main) !important; }

/* --- Cart table --- */
.woocommerce table.shop_table.cart {
    width: 100%; border-collapse: collapse; background: var(--white);
    border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.woocommerce table.shop_table.cart thead th {
    background: var(--gray-100); color: var(--ink); 
    /* font-weight: 700; */
     font-size: .85rem;
    padding: 14px 16px; border-bottom: 1.5px solid var(--border);
}
.woocommerce table.shop_table.cart tbody td {
    padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle;
}
.woocommerce table.shop_table.cart tbody tr:last-child td { border-bottom: none; }
.woocommerce table.shop_table.cart td.product-thumbnail img {
     height: 74px; object-fit: contain; background: var(--gray-100);
    border-radius: var(--radius-sm); padding: 6px;
}
.woocommerce table.shop_table.cart td.product-name a { color: var(--ink); 
    /* font-weight: 700;  */
}
.woocommerce table.shop_table.cart td.product-name a:hover { color: var(--primary); }
.woocommerce table.shop_table.cart td.product-price,
.woocommerce table.shop_table.cart td.product-subtotal { 
    /* font-weight: 800; */
     color: var(--ink); white-space: nowrap; }
.woocommerce table.shop_table.cart td.product-remove { text-align: center; width: 46px; }
.woocommerce table.shop_table.cart td.product-remove a.remove {
    display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    border-radius: 50%; background: var(--gray-100); color: var(--gray-600) !important;
    font-size: 1rem; line-height: 1; transition: var(--transition); text-decoration: none !important;
}
.woocommerce table.shop_table.cart td.product-remove a.remove:hover { background: var(--primary); color: #fff !important; }

.woocommerce table.shop_table.cart td.actions {
    background: transparent; padding: 20px 16px; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 14px; border: none;
}
.woocommerce table.shop_table.cart td.actions .coupon { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.woocommerce table.shop_table.cart td.actions .coupon label { display: none; }
.woocommerce table.shop_table.cart td.actions .coupon #coupon_code {
    border: 1.5px solid var(--gray-300); border-radius: 30px; padding: 11px 18px; font-family: var(--font-main); min-width: 200px;
}
.woocommerce table.shop_table.cart td.actions button[name="update_cart"] { margin-inline-start: auto; }

/* --- Cart totals / order summary card --- */
.cart-collaterals { position: sticky; 
    /* top: 90px;*/
 } 
.cart_totals {
    background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow-sm);
}
.cart_totals h3 { font-size: 1.1rem; margin-bottom: 18px; color: var(--ink); 
    /* font-weight: 800; */
 }
.cart_totals table.shop_table { width: 100%; }
.cart_totals table.shop_table tr th,
.cart_totals table.shop_table tr td {
    padding: 12px 20px; border-bottom: 1px dashed var(--border); font-size: .8rem; color: var(--gray-700); text-align: center;
}
.cart_totals table.shop_table tr:last-child th,
.cart_totals table.shop_table tr:last-child td { border-bottom: none; }
.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td { font-size: 0.9rem; 
    font-weight: 800;
     color: var(--primary); padding-top: 16px; }
.shop_table .btn-dark{
    font-weight: 400 !important;
    width: auto !important;
}
.wc-proceed-to-checkout { margin-top: 18px; }
.wc-proceed-to-checkout a.checkout-button {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    background: var(--primary); color: #fff !important; border: none; border-radius: 30px;
    padding: 15px; 
    /* font-weight: 800; */
     font-size: 1rem; text-decoration: none !important; transition: var(--transition);
}
.wc-proceed-to-checkout a.checkout-button:hover { background: var(--primary-dark); }

/* --- Checkout page --- */
.checkout-fields-box {
    background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 26px; margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.checkout-fields-box h3, #ship-to-different-address span {
    font-size: 1.1rem; color: var(--ink); margin-bottom: 18px; 
    /* display: block;  */
    /* font-weight: 800; */
}
.woocommerce-checkout .form-row label { 
    /* font-weight: 600;  */
    color: var(--gray-800); font-size: .9rem; }
.woocommerce-checkout .form-row .required { color: var(--primary); }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single {
    border: 1.5px solid var(--gray-300) !important; border-radius: var(--radius-sm) !important;
    padding: 11px 14px !important; height: auto !important; font-family: var(--font-main);
}
.woocommerce-checkout #order_review_heading { display: none; }

.checkout-order-review {
    background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 26px; position: sticky; top: 90px; box-shadow: var(--shadow-sm);
}
.checkout-order-review h3 { font-size: 1.1rem; margin-bottom: 18px; color: var(--ink); 
    /* font-weight: 800; */
 }
.woocommerce-checkout-review-order table.shop_table { width: 100%; margin-bottom: 16px; }
.woocommerce-checkout-review-order table.shop_table th,
.woocommerce-checkout-review-order table.shop_table td {
    padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: .9rem; color: var(--gray-700);
}
.woocommerce-checkout-review-order table.shop_table .product-name { text-align: right; }
.woocommerce-checkout-review-order table.shop_table .order-total th,
.woocommerce-checkout-review-order table.shop_table .order-total td { 
    /* font-weight: 800; */
     color: var(--primary); font-size: 1.1rem; border-bottom: none; }

.woocommerce-checkout-review-order-table th {
    background-color: var(--gray-300) !important;
    padding: 5px 20px !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
}

#order_review b {
    font-weight: 400;
}

.woocommerce-checkout-review-order table.shop_table th, .woocommerce-checkout-review-order table.shop_table td {
    padding-right: 20px;
}

#payment { background: var(--gray-100); border-radius: var(--radius); padding: 20px; margin-top: 10px; }
#payment ul.payment_methods { border: none !important; padding: 0 !important; margin: 0 0 10px !important; }
#payment ul.payment_methods li { padding: 12px 0 !important; border-bottom: 1px dashed var(--border) !important; }
#payment ul.payment_methods li:last-child { border-bottom: none !important; }
#payment ul.payment_methods li label { 
    /* font-weight: 700;  */
    color: var(--ink); }
#payment div.payment_box {
    background: var(--white) !important; border-radius: var(--radius-sm) !important;
    margin-top: 10px !important; font-size: .88rem; color: var(--gray-600);
}
#payment #place_order {
    width: 100%; background: var(--primary) !important; color: #fff !important; border: none !important;
    border-radius: 30px !important; padding: 16px !important; 
    /* font-weight: 800 !important; */
     font-size: 1rem !important;
    margin-top: 14px !important; transition: var(--transition);
}
#payment #place_order:hover { background: var(--primary-dark) !important; }

.woocommerce-privacy-policy-text { font-size: .82rem; color: var(--gray-500); margin: 14px 0; }
.woocommerce-terms-and-conditions-wrapper { margin: 14px 0; font-size: .88rem; }

/* --- Empty cart / empty checkout state (matches .vt-no-products) --- */
.vt-cart-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-500);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
}
.vt-cart-empty i { font-size: 3.5rem; color: var(--gray-300); display: block; margin-bottom: 16px; }
.vt-cart-empty p { margin-bottom: 20px; font-size: .95rem; }

@media (max-width: 991.98px) {
    .cart-collaterals, .checkout-order-review { position: static; }
}

/* --- Responsive card layout for cart table on narrow screens ---
   shop_table_responsive + data-title are already output by cart.php;
   this makes them actually usable instead of a bare stacked table. */
@media (max-width: 656px) {
    .woocommerce table.shop_table.cart { border: none; box-shadow: none; background: transparent; }
    .woocommerce table.shop_table.cart thead { display: none; }
    .woocommerce table.shop_table.cart tbody tr {
        display: grid !important;
        grid-template-columns: 74px 1fr auto;
        grid-template-areas:
            "thumb name remove"
            "thumb price price"
            "thumb qty qty"
            "thumb subtotal subtotal";
        gap: 6px 12px;
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-sm);
        padding: 14px;
        margin-bottom: 14px;
    }
    .woocommerce table.shop_table.cart tbody td {
        display: block !important;
        width: auto !important;
        padding: 0;
        border-bottom: none;
    }
    .woocommerce table.shop_table.cart td.product-thumbnail { grid-area: thumb; }
    .woocommerce table.shop_table.cart td.product-name { grid-area: name; align-self: center; }
    .woocommerce table.shop_table.cart td.product-remove { grid-area: remove; width: auto; text-align: start; }
    .woocommerce table.shop_table.cart td.product-price { grid-area: price; }
    .woocommerce table.shop_table.cart td.product-quantity { grid-area: qty; }
    .woocommerce table.shop_table.cart td.product-subtotal { grid-area: subtotal; padding-top: 6px; border-top: 1px dashed var(--border); }
    .woocommerce table.shop_table.cart td[data-title]::before {
        content: attr(data-title);
        display: inline-block;
        font-size: .74rem;
        /* font-weight: 700; */
        color: var(--gray-500);
        margin-left: 6px;
    }
    .woocommerce table.shop_table.cart td.product-name::before,
    .woocommerce table.shop_table.cart td.product-thumbnail::before,
    .woocommerce table.shop_table.cart td.product-remove::before { content: none; }

    .woocommerce table.shop_table.cart tr:has(td.actions) { display: block !important; background: transparent; border: none; box-shadow: none; padding: 0; }
    .woocommerce table.shop_table.cart td.actions { flex-direction: column; align-items: stretch; padding: 0; }
    .woocommerce table.shop_table.cart td.actions button[name="update_cart"] { margin-inline-start: 0; width: 100%; justify-content: center; }

    /* Checkout order-review mini table also gets data-title labels from WC core */
    .woocommerce-checkout-review-order table.shop_table tbody td[data-title]::before,
    .woocommerce-checkout-review-order table.shop_table tfoot td[data-title]::before {
        content: attr(data-title);
        font-size: .74rem;
        /* font-weight: 700; */
        color: var(--gray-500);
        display: block;
        margin-bottom: 2px;
    }
}


/* ==========================================================
   Vandatools WooCommerce Overrides
========================================================== */


/* Global WooCommerce */

.woocommerce,
.woocommerce-page {
    direction: rtl;
    font-family: var(--font-main) !important;
    color: #15171b;
}

.woocommerce .site-main,
.woocommerce-page .site-main {
    width: 100%;
}

.woocommerce-page {
    background: #f7f7f5;
}


/* Container */

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}


/* Remove WooCommerce default borders */

.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
    border: none;
}


/* ==========================================================
   Page Titles
========================================================== */


.woocommerce-page .entry-title,
.woocommerce-page h1 {
    font-size: 36px;
    /* font-weight: 800; */
    margin-bottom: 40px;
    color: #15171b;
}


/* ==========================================================
   CART PAGE
========================================================== */


/* Main cart box */

.woocommerce-cart-form {
    background: #fff;
    border-radius: 20 !important;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,.05);
}


/* Cart table */

.woocommerce-cart-form table {
    width:100%;
}


.woocommerce-cart-form th {
    background:var(--gray-100);
    color:#fff;
    padding:18px;
    /* font-weight:600; */
}


.woocommerce-cart-form td {
    padding:25px 15px;
    vertical-align:middle;
}



/* Product image */

.woocommerce-cart-form img {
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:15px;
}



/* Remove button */

.woocommerce a.remove {
    color:var(--primary-dark)!important;
    font-size:24px;
}


.woocommerce a.remove:hover {
    background:var(--primary-dark)!important;
    color:#fff!important;
}



/* Quantity */

.woocommerce .quantity input.qty {

    width:70px;
    height:42px;

    border-radius:10px;
    border:1px solid #ddd;

    text-align:center;

}



/* Coupon */

.woocommerce .coupon input.input-text {

    height:50px;
    border-radius:30px;
    border:1px solid #ddd;
    padding:0 20px;

}


/* Buttons */

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {

    background:var(--primary-dark)!important;
    color:#fff!important;

    border-radius:50px!important;

    padding:14px 35px!important;

    /* font-weight:700; */

    border:none!important;

}


.woocommerce button.button:hover,
.woocommerce a.button:hover {

    background:#15171b!important;

}



/* Cart totals */

.cart-collaterals {

    /* margin-top:40px; */

}


.cart_totals {

    background:#fff;

    border-radius:20px;

    padding:35px;

    box-shadow:0 15px 40px rgba(0,0,0,.05);

}


.cart_totals h2 {

    font-size:24px;

}



/* ==========================================================
   CHECKOUT PAGE
========================================================== */


.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {

    background:#fff;

    border-radius:20px;

    padding:35px;

    box-shadow:0 15px 40px rgba(0,0,0,.05);

}



/* RTL two columns */

.woocommerce-checkout .col2-set {

    width:55%;
    float:right;

}


.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {

    width:100%;
    float:none;

}


.woocommerce-checkout::after {

    content:"";
    display:block;
    clear:both;

}



/* Form labels */

.woocommerce form .form-row label {

    /* font-weight:600; */

    margin-bottom:8px;

}



/* Inputs */


.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {

    width:100%;

    border:1px solid #e5e5e5;

    border-radius:12px;

    height:52px;

    padding:0 18px;

    background:#fff;

}


.woocommerce form .form-row textarea {

    height:150px;

    padding-top:15px;

}



/* Checkout order table */

.woocommerce-checkout-review-order-table {

    border-radius:15px;

    overflow:hidden;

}


.woocommerce-checkout-review-order-table th {

    background:#15171b;

    color:#fff;

}


.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {

    padding:15px;

}



/* Payment box */

#payment {

    background:#f7f7f5!important;

    border-radius:15px;

    padding:20px;

}


#payment button {

    width:100%;

    margin-top:20px;

}



/* ==========================================================
   Notices
========================================================== */


.woocommerce-message,
.woocommerce-info,
.woocommerce-error {

    border-radius:15px;

    background:#fff;

    border-top:3px solid var(--primary-dark);

    padding:20px;

}



/* ==========================================================
   Mobile
========================================================== */


@media(max-width:768px){


    .woocommerce-cart-form,
    .cart_totals,
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review {

        padding:20px;

    }


    .woocommerce-checkout .col2-set,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {

        width:100%;

        float:none;

    }


    .woocommerce table.shop_table {

        font-size:14px;

    }


}

/* main {
    width: 100% !important;
} */

main.woocommerce-main {
    margin-top: 0 !important;
    height: 100%;
    display: block;
}

.vt-cart-section {
    height: 100%;
}

.wp-block-preformatted {
    white-space: unset;
}

.woocommerce {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.cart-collaterals .cart_totals {
    width: 100% !important;
}

/* Fix cart product thumbnail column */

.woocommerce-cart table.shop_table {
    table-layout: auto !important;
    width: 100% !important;
    display: block;
}


.woocommerce-cart table.cart td.product-thumbnail {
    padding:20px !important;
}

.woocommerce-cart table.cart .product-thumbnail {
    width: 120px !important;
    min-width: 120px !important;
    display: table-cell !important;
}


.woocommerce-cart table.cart .product-thumbnail img {
    height: 80px !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
}


.woocommerce-cart table.cart td.product-thumbnail a {
    display: block;
    width: 80px;
}

.woocommerce-cart table.cart td.product-thumbnail {
    padding:20px !important;
}


/* ==========================================
   Cart RTL Layout Fix
========================================== */


.woocommerce-cart table.shop_table {

    direction: rtl;
    table-layout: auto !important;

}


/* Product image */

.woocommerce-cart table.cart .product-thumbnail {

    width:120px !important;
    min-width:120px !important;

}


/* Product name */

.woocommerce-cart table.cart .product-name {

    width:45% !important;
    min-width:300px;

}


.woocommerce-cart table.cart .product-name a {

    display:block;

    white-space:normal !important;

    word-break:normal !important;

    line-height:1.8;

}


/* Price */

.woocommerce-cart table.cart .product-price {

    width:120px;

    white-space:nowrap;

}


/* Quantity */

.woocommerce-cart table.cart .product-quantity {

    width:100px;

}


/* Total */

.woocommerce-cart table.cart .product-subtotal {

    width:130px;

    white-space:nowrap;

}


/* Image size */

.woocommerce-cart table.cart img {

    width:70px !important;

    height:70px !important;

    object-fit:cover;

}



/* Remove icon */

.woocommerce-cart .product-remove {

    width:50px;

}



/* Summary box */

.woocommerce-cart .cart_totals {

    direction:rtl;

}


.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {

    text-align:right;

}

.woocommerce-cart table.cart .product-thumbnail img {

    width:100px !important;
    height:100px !important;

}

/* Fix WooCommerce cart table column sizes */

.woocommerce-cart table.cart {
    table-layout: fixed !important;
}


/* Remove column */

.woocommerce-cart table.cart th.product-remove,
.woocommerce-cart table.cart td.product-remove {

    width:50px !important;
    max-width:50px !important;
    min-width:50px !important;

    padding:10px !important;

}


/* Image column */

.woocommerce-cart table.cart th.product-thumbnail,
.woocommerce-cart table.cart td.product-thumbnail {

    width:120px !important;

}


/* Product name gets the remaining space */

.woocommerce-cart table.cart th.product-name,
.woocommerce-cart table.cart td.product-name {

    width:auto !important;

}

.woocommerce-cart .product-remove a.remove {

    width:32px !important;
    height:32px !important;

    display:flex !important;

    align-items:center;
    justify-content:center;

    margin:auto;

    padding:0 !important;

}

.woocommerce-cart table.cart th.product-price,
.woocommerce-cart table.cart td.product-price,
.woocommerce-cart table.cart th.product-subtotal,
.woocommerce-cart table.cart td.product-subtotal {

    width:120px;

}


.woocommerce-cart table.cart th.product-quantity,
.woocommerce-cart table.cart td.product-quantity {

    width:100px;

}

/* Cart table fix */
.woocommerce-cart-form table.shop_table {
    width: 100%;
    table-layout: fixed;
}

/* remove column */
.woocommerce-cart-form .product-remove {
    width: 50px !important;
    text-align: center;
}

/* thumbnail */
.woocommerce-cart-form .product-thumbnail {
    width: 100px !important;
    text-align: center;
}

.woocommerce-cart-form .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* product name */
.woocommerce-cart-form .product-name {
    width: auto;
    text-align: right;
}

/* price */
.woocommerce-cart-form .product-price {
    width: 120px;
    text-align: center;
}

/* quantity */
.woocommerce-cart-form .product-quantity {
    width: 100px;
    text-align: center;
}

/* subtotal */
.woocommerce-cart-form .product-subtotal {
    width: 120px;
    text-align: center;
}

/* trash icon */
.woocommerce-cart-form .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

/* product row */
.woocommerce-cart-form tr.cart_item td {
    vertical-align: middle;
}

/* prevent long product titles breaking layout */
.woocommerce-cart-form .product-name a {
    display: block;
    max-width: 250px;
    line-height: 1.8;
}

/* cart buttons */
.woocommerce-cart-form .actions {
    padding: 20px;
}

.woocommerce-cart-form .button {
    border-radius: 30px;
    padding: 12px 25px;
}

.woocommerce-cart-form table.shop_table {
    table-layout: fixed !important;
    width: 100% !important;
}

/* remove */
.woocommerce-cart-form th.product-remove,
.woocommerce-cart-form td.product-remove {
    width: 50px !important;
    max-width: 50px !important;
    padding: 10px !important;
    text-align: center;
}

/* image */
.woocommerce-cart-form th.product-thumbnail,
.woocommerce-cart-form td.product-thumbnail {
    width: 100px !important;
    max-width: 100px !important;
}

/* product */
.woocommerce-cart-form th.product-name,
.woocommerce-cart-form td.product-name {
    width: auto !important;
}

/* price */
.woocommerce-cart-form th.product-price,
.woocommerce-cart-form td.product-price {
    width: 120px !important;
    text-align:center;
}

table.shop_table {
    table-layout: fixed !important;
}

.woocommerce {
    font-family: IRANSans, Tahoma, sans-serif;
}

.wp-block-preformatted {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: normal !important;
    font-family: inherit !important;
    overflow: visible !important;
}

.woocommerce-cart-form {
    display: block;
}

.woocommerce-cart-form table.shop_table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
}


.vt-account {
    padding:80px 0;
}


.account-header {
    background:#15171b;
    color:white;
    padding:40px;
    border-radius:20px;
    margin-bottom:40px;
}


.account-header h2 {
    color:white;
}


.vt-account-menu {
    background:white;
    border-radius:20px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}


.vt-account-menu ul {
    list-style:none;
    padding:0;
    margin:0;
}


.vt-account-menu li {
    margin-bottom:10px;
}


.vt-account-menu a {
    display:block;
    padding:15px;
    border-radius:12px;
    color:#15171b;
    transition:.3s;
}


.vt-account-menu a:hover,
.vt-account-menu .is-active a {
    background:var(--primary-dark);
    color:white;
}


.account-content {
    background:white;
    padding:35px;
    border-radius:20px;
    min-height:400px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}


.woocommerce-orders-table {
    border-radius:15px;
    overflow:hidden;
}

.vt-dashboard {
    direction:rtl;
}


.dashboard-cards {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:30px;
}


.dashboard-card {
    background:#fff;
    border-radius:20px;
    padding:35px;
    text-align:right;
    color:#15171b;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.3s;
}


.dashboard-card span {
    font-size:35px;
}


.dashboard-card h3 {
    margin-top:20px;
    font-size:18px;
}


.dashboard-card p {
    color:#777;
    margin:0;
}


.dashboard-card:hover {
    transform:translateY(-5px);
}


.dashboard-card.logout:hover {
    background:#15171b;
    color:#fff;
}


.dashboard-welcome {
    background:#15171b;
    color:#fff;
    border-radius:20px;
    padding:35px;
}


.dashboard-welcome h3 {
    color:var(--primary-dark);
}

.vt-orders {
    direction:rtl;
}


.account-title {
    margin-bottom:25px;
}


.order-card {

    background:#fff;
    border-radius:20px;
    padding:25px;
    margin-bottom:20px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);
}


.order-head {

    display:flex;
    justify-content:space-between;
    gap:20px;

    border-bottom:1px solid #eee;
    padding-bottom:20px;

}


.order-head span {

    display:block;
    color:#777;
    font-size:13px;

}


.order-head strong {

    display:block;
    margin-top:8px;

}


.order-status {

    color:var(--primary-dark);

}


.order-footer {

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding-top:20px;

    font-size:18px;
    font-weight:bold;

}


.vt-btn {

    background:#15171b;
    color:#fff !important;

    padding:12px 30px;

    border-radius:30px;

    display:inline-block;
    margin-top: 40px;

}


.vt-btn:hover {

    background:var(--primary-dark);

}


.empty-orders {

    background:#fff;
    border-radius:20px;
    padding:50px;
    text-align:center;

}

.vt-single-order {
    direction:rtl;
}


/* Header */

.order-header-box {

    background:#15171b;

    color:white;

    padding:35px;

    border-radius:20px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

}


.order-header-box h3 {

    color:var(--primary-dark);

}



.order-status-box {

    background:var(--primary-dark);

    padding:12px 30px;

    border-radius:30px;

}






/* Products */

.order-products-box,
.order-summary-box,
.address-card {


    background:white;

    border-radius:20px;

    padding:30px;

    margin-bottom:25px;

}



.order-product {


    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:20px 0;

    border-bottom:1px solid #eee;

}



.product-image img {

    width:70px;

    height:70px;

    object-fit:cover;

    border-radius:10px;

}



.product-info {

    flex:1;

    padding-right:20px;

}




/* Summary */

.summary-row {

    display:flex;

    justify-content:space-between;

    padding:15px 0;

}


.summary-row.total {

    border-top:1px solid #eee;

    font-size:20px;

    color:var(--primary-dark);

}






/* Addresses */


.order-address-grid {

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}


.vt-edit-account {

    direction:rtl;

}


.account-form-card {

    background:#fff;

    border-radius:20px;

    padding:40px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

}



.account-form-card h3 {

    margin-bottom:30px;

}



.form-grid {

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}



.form-field {

    display:flex;

    flex-direction:column;

}



.form-field.full {

    grid-column:1/-1;

}



.form-field label {

    margin-bottom:10px;

    font-weight:600;

}



.form-field input {


    border:1px solid #ddd;

    border-radius:12px;

    padding:14px;

    font-family:inherit;


}



.form-field input:focus {


    border-color:var(--primary-dark);

    outline:none;


}



.account-form-card hr {

    margin:35px 0;

    border-color:#eee;

}



.vt-account-submit {


    margin-top:30px;

    background:#15171b;

    color:white;

    border:0;

    padding:15px 40px;

    border-radius:30px;

    cursor:pointer;

    font-family:inherit;


}



.vt-account-submit:hover {

    background:var(--primary-dark);

}



@media(max-width:768px){


.form-grid {

    grid-template-columns:1fr;

}


}

.vt-addresses {

    direction:rtl;

}



.address-grid {

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}




.address-card {

    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

}



.address-card-header {

    border-bottom:1px solid #eee;

    padding-bottom:15px;

    margin-bottom:20px;

}



.address-card h4 {

    margin:0;

}



.address-content {

    min-height:120px;

    line-height:2;

    color:#555;

}




@media(max-width:768px){

.address-grid{

grid-template-columns:1fr;

}

}

.vt-address-form {

    direction:rtl;

}



.vt-address-form .form-row {

    display:flex;

    flex-direction:column;

    margin-bottom:20px;

}



.vt-address-form label {

    margin-bottom:8px;

    font-weight:600;

}



.vt-address-form input,
.vt-address-form select {


    width:100%;

    padding:14px;

    border-radius:12px;

    border:1px solid #ddd;

    font-family:inherit;


}



.vt-address-form input:focus,
.vt-address-form select:focus {


    border-color:var(--primary-dark);

    outline:none;


}

/* =====================================
   My Account Address Form
   Override WooCommerce Default Inputs
===================================== */


.woocommerce form .form-row {

    margin: 0 0 25px;

}


.woocommerce form .form-row label {

    display:block;

    margin-bottom:10px;

    font-size:14px;

    font-weight:600;

    color:#15171b;

}



.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {


    width:100%;

    height:52px;

    padding:0 18px;

    border:1px solid #e6e3df;

    border-radius:14px;

    background:#fff;

    color:#15171b;

    font-family:IRANSans, Tahoma, sans-serif;

    font-size:14px;

    box-sizing:border-box;

    transition:.3s;

}



.woocommerce form .form-row textarea {

    height:130px;

    padding-top:15px;

}



.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {


    outline:none;

    border-color:var(--primary-dark);

    box-shadow:0 0 0 3px rgba(255,101,0,.12);


}




/* Select boxes */

.woocommerce form .form-row select {

    appearance:none;

    cursor:pointer;

}





/* Two columns */

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {

    width:48%;

}



.woocommerce form .form-row-first {

    float:right;

}


.woocommerce form .form-row-last {

    float:left;

}





/* Save button */

.woocommerce button.button {

    background:#15171b;

    color:#fff;

    border:none;

    border-radius:30px;

    padding:15px 40px;

    font-family:inherit;

    transition:.3s;

}



.woocommerce button.button:hover {

    background:var(--primary-dark);

    color:#fff;

}





/* Clear WooCommerce floats */

.woocommerce form .form-row-wide {

    clear:both;

}





@media(max-width:768px){


.woocommerce form .form-row-first,
.woocommerce form .form-row-last {

    width:100%;

    float:none;

}


}

/* =================================
   WooCommerce Select Fields
================================= */


/* Normal select boxes */

.woocommerce form .form-row select,
.woocommerce-page form .form-row select {

    width:100%;

    height:52px;

    padding:0 18px;

    border:1px solid #e6e3df;

    border-radius:14px;

    background:#fff;

    color:#15171b;

    font-family:IRANSans, Tahoma, sans-serif;

    font-size:14px;

    cursor:pointer;

    appearance:none;

    -webkit-appearance:none;

    -moz-appearance:none;


    /* arrow */

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%2315171b' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:left 18px center;

    padding-left:45px;

}



.woocommerce form .form-row select:focus,
.woocommerce-page form .form-row select:focus {

    outline:none;

    border-color:var(--primary-dark);

    box-shadow:0 0 0 3px rgba(255,101,0,.12);

}

/* WooCommerce Select2 */

.select2-container {

    width:100% !important;

}



.select2-container .select2-selection--single {


    height:52px !important;

    border:1px solid #e6e3df !important;

    border-radius:14px !important;

    background:#fff !important;


}



.select2-container--default 
.select2-selection--single 
.select2-selection__rendered {


    line-height:52px !important;

    padding-right:18px !important;

    padding-left:45px !important;

    color:#15171b !important;

    font-family:IRANSans,Tahoma,sans-serif !important;


}



.select2-container--default 
.select2-selection--single 
.select2-selection__arrow {


    height:52px !important;

    left:15px !important;

    right:auto !important;

}



.select2-container--default.select2-container--open 
.select2-selection--single {


    border-color:var(--primary-dark) !important;

}

/* Select2 dropdown panel + option list — without these rules the plugin
   falls back to its own default styling (dark/blue highlighted row),
   which clashed badly with the rest of the theme. */
.select2-dropdown {
    border: 1.5px solid var(--gray-300) !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    font-family: var(--font-main), IRANSans, Tahoma, sans-serif;
}
.select2-container--default .select2-results__option {
    color: var(--ink) !important;
    background: var(--white) !important;
    padding: 10px 16px !important;
    font-size: .9rem;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--primary) !important;
    color: #fff !important;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
    background: var(--primary-light) !important;
    color: var(--ink) !important;
}
.select2-search--dropdown {
    padding: 10px !important;
    background: var(--white);
}
.select2-search--dropdown .select2-search__field {
    border: 1.5px solid var(--gray-300) !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    font-family: inherit;
}
.select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: var(--primary) !important;
}
.select2-results__option:empty {
    display: none;
}


