/*
Theme Name: Woodmart Child
Theme URI: https://example.com
Description: Child theme for Woodmart
Author: Vahab Mohammadi
Template: woodmart
Version: 1.0.0
*/

@font-face {
    font-family: IRANSansXFaNum;
    font-style: normal;
    font-weight: 100;
    src: url('/wp-content/themes/woodmart/font/IRANSansX-new/woff/IRANSansXFaNum-thin.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/IRANSansX-new/woff2/IRANSansXFaNum-thin.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: IRANSansXFaNum;
    font-style: normal;
    font-weight: 200;
    src: url('/wp-content/themes/woodmart/font/IRANSansX-new/woff/IRANSansXFaNum-UltraLight.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/IRANSansX-new/woff2/IRANSansXFaNum-UltraLight.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: IRANSansXFaNum;
    font-style: normal;
    font-weight: 300;
    src: url('/wp-content/themes/woodmart/font/IRANSansX-new/woff/IRANSansXFaNum-light.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/IRANSansX-new/woff2/IRANSansXFaNum-light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: IRANSansXFaNum;
    font-style: normal;
    font-weight: 500;
    src: url('/wp-content/themes/woodmart/font/IRANSansX-new/woff/IRANSansXFaNum-medium.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/IRANSansX-new/woff2/IRANSansXFaNum-medium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: IRANSansXFaNum;
    font-style: normal;
    font-weight: 600;
    src: url('/wp-content/themes/woodmart/font/IRANSansX-new/woff/IRANSansXFaNum-demibold.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/IRANSansX-new/woff2/IRANSansXFaNum-demibold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: IRANSansXFaNum;
    font-style: normal;
    font-weight: 800;
    src: url('/wp-content/themes/woodmart/font/IRANSansX-new/woff/IRANSansXFaNum-extrabold.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/IRANSansX-new/woff2/IRANSansXFaNum-extrabold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: IRANSansXFaNum;
    font-style: normal;
    font-weight: 900;
    src: url('/wp-content/themes/woodmart/font/IRANSansX-new/woff/IRANSansXFaNum-black.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/IRANSansX-new/woff2/IRANSansXFaNum-black.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: IRANSansXFaNum;
    font-style: normal;
    font-weight: bold;
    src: url('/wp-content/themes/woodmart/font/IRANSansX-new/woff/IRANSansXFaNum-bold.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/IRANSansX-new/woff2/IRANSansXFaNum-bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: IRANSansXFaNum;
    font-style: normal;
    font-weight: normal;
    src: url('/wp-content/themes/woodmart/font/IRANSansX-new/woff/IRANSansXFaNum-regular.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/IRANSansX-new/woff2/IRANSansXFaNum-regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 100;
    src: url('/wp-content/themes/woodmart/font/yekanbakhfa/woff/YekanBakhFaNum-thin.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/yekanbakhfa/woff2/YekanBakhFaNum-thin.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 300;
    src: url('/wp-content/themes/woodmart/font/yekanbakhfa/woff/YekanBakhFaNum-Light.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/yekanbakhfa/woff2/YekanBakhFaNum-Light.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: normal;
    src: url('/wp-content/themes/woodmart/font/yekanbakhfa/woff/YekanBakhFaNum-Regular.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/yekanbakhfa/woff2/YekanBakhFaNum-Regular.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 600;
    src: url('/wp-content/themes/woodmart/font/yekanbakhfa/woff/YekanBakhFaNum-SemiBold.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/yekanbakhfa/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: bold;
    src: url('/wp-content/themes/woodmart/font/yekanbakhfa/woff/YekanBakhFaNum-Bold.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/yekanbakhfa/woff2/YekanBakhFaNum-Bold.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 800;
    src: url('/wp-content/themes/woodmart/font/yekanbakhfa/woff/YekanBakhFaNum-ExtraBold.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/yekanbakhfa/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 900;
    src: url('/wp-content/themes/woodmart/font/yekanbakhfa/woff/YekanBakhFaNum-Black.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/yekanbakhfa/woff2/YekanBakhFaNum-Black.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 950;
    src: url('/wp-content/themes/woodmart/font/yekanbakhfa/woff/YekanBakhFaNum-ExtraBlack.woff') format('woff'),
        url('/wp-content/themes/woodmart/font/yekanbakhfa/woff2/YekanBakhFaNum-ExtraBlack.woff2') format('woff2');
}


.wd-buttons .wd-action-btn>a {
    height: 35px !important;
}

.wd-action-btn.wd-style-icon>a {
    width: 40px !important;
}

.wd-product .price {
    margin-top: auto;
    min-height: 42px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.elementor-15 .elementor-element.elementor-element-17b4833.wd-collapsible-content:not(.wd-opened)>.elementor-widget-wrap:after {
    color: #ffffff !important;
}

.blog-design-meta-image.blog-style-bg .wd-post-content {
    border: 1px solid #f1f1f1;
    border-radius: 0 0 15px 15px;
    border-top: 0;
}

.blog-design-meta-image .wd-entities-title {
    font-size: 17px !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

.blog-design-meta-image .wd-post-entry-meta {
    justify-content: center;
    display: flex !important;
}

.wd-collapsible-button {
    text-align: center !important;
}

.category_rismod .wd-dropdown-menu {
    margin-right: 0 !important;
}

.wd-sub-menu .sub-sub-menu li>a {
    font-size: 12px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.wd-sub-menu .sub-sub-menu {
    padding-right: 15px;
}

.wd-grid-f-inline>.wd-col {
    border-left: 1px solid #f1f1f1;
    padding: 20px 20px 0 0 !important;
}

.wd-grid-f-inline>.wd-col:nth-child(5),
.wd-grid-f-inline>.wd-col:nth-child(10) {
    border-left: 0;
}

.wd-grid-f-inline>.wd-col:nth-child(1),
.wd-grid-f-inline>.wd-col:nth-child(2),
.wd-grid-f-inline>.wd-col:nth-child(3),
.wd-grid-f-inline>.wd-col:nth-child(4),
.wd-grid-f-inline>.wd-col:nth-child(5) {
    border-bottom: 1px solid #f1f1f1;
    padding-top: 0 !important;
    padding-bottom: 20px !important;
}

.footer_contact {
    row-gap: 11px;
}

.footer_contact .rs_phone_email,
.footer_contact .rs_phone_icon {
    display: flex;
    align-items: center;
    justify-content: start;
    column-gap: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #808080;
}

.footer_contact .rs_phone_email::before {
    content: "\f125";
    font-family: "woodmart-font";
    font-size: 18px;
    transform: translateY(-2px);
}

.footer_contact .rs_phone_icon img {
    opacity: 0.5;
    transform: translateY(-3px);
}

.wd-copyrights.wd-layout-two-columns .wd-col-end {
    font-family: system-ui;
}

.wd-product .star-rating {
    display: none !important;
}

.woocommerce-variation>div {
    margin-bottom: 14px !important;
}

.wd-popup-slide-from-left.mfp-ready .wd-popup {
    width: 291px !important;
    padding: 20px 0 !important;
}

.popup-added_to_cart h3 {
    line-height: 2;
    margin-bottom: 8px;
    font-size: 20px !important;
}

.wd-empty-page-text+.return-to-shop .button,
.popup-added_to_cart .close-popup,
.popup-added_to_cart .view-cart,
.wd-coupon-form .button,
.wd-coupon-form .input-text,
.wd-cart-totals .wc-proceed-to-checkout .checkout-button,
.woocommerce-form-coupon .button,
#coupon_code,
#order_comments,
#place_order,
.woocommerce-billing-fields input,
.woocommerce-billing-fields select,
.woocommerce-billing-fields textarea,
.woocommerce-shipping-fields input,
.woocommerce-shipping-fields select,
.woocommerce-shipping-fields textarea,
.select2-selection--single {
    border-radius: 10px !important;
}

.wd-checkout-steps .step-active>:is(a, span) {
    text-underline-offset: 12px !important;
}

.wd-coupon-form {
    justify-content: end;
}

.shop_table tr :is(td, th):last-child {
    align-items: flex-start;
}

.shop_table .cart-product-label {
    color: #000;
}

#commentform input,
#commentform textarea {
    border-radius: 10px;
}

.comments-area .comments-title {
    line-height: 38px;
    font-size: 18px !important;
}

.woocommerce-thankyou-order-received {
    color: #a9967e !important;
    border-color: #a9967e !important;
}

.woocommerce-order-received .woocommerce-table--order-details tr td,
.woocommerce-order-received .woocommerce-table--order-details tr th {
    border-color: #f0f0f0;
}

.woocommerce-order-received .woocommerce-table--order-details tr :is(td, th):first-child {
    max-width: 70%;
    width: 70%;
}

.woocommerce-order-received .woocommerce-table--order-details tr :is(td):first-child a {
    font-weight: 400;
}

.woocommerce-order-received .woocommerce-table--order-details tfoot td {
    padding: 7px 0;
}

.woocommerce-order-received .woocommerce-table--order-details tfoot td a.woodplus_factor_link {
    margin-right: auto;
}

.woocommerce-order-received .woocommerce-column--billing-address,
.woocommerce-order-received .woocommerce-column--shipping-address {
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 15px;
    padding-inline: 15px !important;
}

.woocommerce-order-received .woocommerce-column--billing-address .woocommerce-column__title,
.woocommerce-order-received .woocommerce-column--shipping-address .woocommerce-column__title {
    font-size: 13px;
    margin-bottom: 10px;
    background: #f7f7f7;
    padding: 10px;
    border-radius: 10px;
}

.woocommerce-order-received .woocommerce-column--billing-address address,
.woocommerce-order-received .woocommerce-column--shipping-address address {
    font-style: normal;
    font-size: 13px;
    font-weight: 400;
    line-height: 2;
    padding-right: 7px;
}

.wd-builder-off :is(.woocommerce-thankyou-order-details li, .woocommerce-thankyou-order-failed-actions) {
    border-color: #f0f0f0;
}

.woocommerce-shop .product-list-item .wd-entities-title {
    max-width: 100%;
    text-align: right;
    margin: 0;
}

.woocommerce-shop .product-list-item .wd-entities-title a {
    font-size: 18px;
}

.woocommerce-shop .product-list-item .price {
    flex-direction: row !important;
    justify-content: space-between;
}

.woocommerce-shop .product-list-item .woocommerce-product-details__short-description p {
    text-align: justify;
    line-height: 30px;
    font-size: 14px;
    color: #636363;
}

.woocommerce-shop .product-list-item .wd-add-btn {
    justify-content: end !important;
}

.woocommerce-shop .product-list-item .wd-add-btn a {
    min-width: 170px;
}

.ris-widget-title {
    margin-bottom: 20px !important;
}

.ris_cat_widget .wc-block-product-filter-checkbox-list__items {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.woocommerce-no-products-found .woocommerce-info {
    background-color: var(--blue-3);
}

.no-products-footer {
    display: none;
}

.wd-popup-added-cart-wrap .mfp-content {
    width: 332px;
}

:is(.woocommerce-error, .woocommerce-info) {
    background-color: var(--blue-3);
}

/* .woocommerce-shipping-calculator,
.woocommerce-shipping-destination {
    display: none;
} */
/* مخفی کردن فرم آدرس در cart */
.woocommerce-cart .woocommerce-shipping-calculator,
.woocommerce-cart .shipping-calculator-form,
.woocommerce-cart #calc_shipping_country,
.woocommerce-cart #calc_shipping_state,
.woocommerce-cart #calc_shipping_city,
.woocommerce-cart #calc_shipping_postcode {
    display: none !important;
}

.wc_payment_method label {
    display: inline-flex !important;
    align-items: center;
    flex-direction: row-reverse;
    column-gap: 5px;
}


.payment_box {
    border: 1px solid #f0f0f0;
    box-shadow: none !important;
}

.payment_box::before {
    background-color: #f0f0f0 !important;
    inset-inline-start: 45px !important;
}

.cart-all-virtual .ris_send,
.cart-all-virtual .payment_method_WC_Gateway_SnappPay,
.cart-all-virtual .cashback-box {
    display: none;
}
.wd-price-unit{
    display: none !important;
}

.cashback-box,
.cashback-widget {
    box-shadow: none !important;
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
}

.cashback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue-3) !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 33px !important;
    width: 55px !important;
    height: 55px !important;
}

.cash-container {
    display: flex;
    align-items: start;
    column-gap: 10px;
}

.cashback-widget h3::before {
    display: none;
}

.cashback-widget .cashback-icon {
    border-radius: 50%;
    min-width: 55px;
}

.cashback-content,
.cashback-widget p {
    font-size: 14px;
}

.cashback-content h4,
.cashback-widget h3 {
    color: var(--blue-3) !important;
}

.cashback-widget {
    margin-bottom: 15px !important;
}

.cashback-widget h3 {
    margin-top: 15px;
}

.cashback-widget p {
    text-align: justify !important;
    margin-top: 10px;
}

.cashback-widget p strong {
    font-weight: normal !important;
}

.cashback-content .amount {
    color: #000 !important;
}

.main_slider .swiper-pagination {
    display: none !important;
}

.cashback-widget .progress-bar {
    background-color: #e9e3db;
}

.cashback-widget .progress-bar .progress-bar-fill {
    background: var(--blue-3);
}

.cashback-widget .cashback-status {
    color: #333;
    text-align: justify;
}

.cashback-widget .cashback-status .highlight {
    background: transparent;
    color: var(--blue-3);
}

.cashback-widget .cashback-status strong {
    font-weight: normal;
}


/* Responsive */
@media (max-width:768px) {
    .res_slider .wd-nav-arrows {
        display: none;
    }

    .wd-nav-pagin li span {
        background-color: var(--brdcolor-gray-500) !important;
        border-color: rgb(0 0 0 / 3%) !important;
    }

    .wd-nav-pagin li.wd-active span {
        background-color: var(--blue-3) !important;
        border-color: var(--blue-3) !important;
    }

    .ris_cat .attachment-64x64 {
        width: 50px;
        height: 50px;
    }

    .ris_cat .wd-info-box {
        padding: 20px 9px 310px 9px !important;
    }

    .main_slider .elementor-slide-heading {
        margin-bottom: 40px;
        position: relative;
        z-index: 9;
    }

    .main_slider .elementor-slide-button {
        position: relative;
        z-index: 9;
    }

    .main_slider .elementor-slide-description {
        display: none;
    }

    .main_slider .elementor-swiper-button {
        display: none !important;
    }

    .main_slider .swiper-pagination {
        display: block !important;
    }

    .main_slider .swiper-slide::before {
        content: " ";
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 15px;
        z-index: 3;
    }

    .woocommerce-ordering.wd-ordering-mb-icon {
        width: 168px !important;
        justify-content: end !important;
    }

    .post-type-archive-product .woocommerce-ordering.wd-ordering-mb-icon select {
        font-size: 15px !important;
        color: #333 !important;
    }

    .wd-reviews-tools:first-child {
        flex-basis: 50% !important;
    }

    .wd-reviews-tools.wd-reviews-filters {
        flex-basis: 43%;
        justify-content: end;
    }

    .woocommerce-breadcrumb .wd-last-link~span {
        display: block !important;
    }

    .wd-el-breadcrumbs.wd-nowrap-md [class*="-breadcrumb"] {
        text-align: right;
        justify-content: flex-start;
        display: flex !important;
        overflow: hidden;
        overflow-x: auto;
    }

    .shop-table-with-img td.product-name {
        padding-inline-start: 115px;
        min-height: 109px;
        align-items: flex-start;
        padding-top: 3px;
    }

    .shop-table-with-img tr {
        padding-inline-start: 0 !important;
    }

    .shop_table_responsive td:not(:last-child) {
        border-bottom: 0 !important;
    }

    .shop_table_responsive .product-name a:first-child {
        line-height: 28px;
    }

    .cashback-box {
        flex-direction: column;
    }

    .cashback-content {
        text-align: center;
    }

    .ris_side_cart .elementor-image-box-wrapper {
        display: flex;
        align-items: center;
    }

    .blog_info .elementor-inline-items,
    .about_info .elementor-inline-items {
        flex-direction: row;
        align-items: flex-start;
        row-gap: 14px;
        flex-wrap: wrap;
    }

    .about_info .elementor-inline-items li {
        width: 33%;
    }

    .my-content h1 {
        line-height: 1.7;
    }

    .my-content h2 {
        line-height: 1.7;
    }

    .my-content h3 {
        line-height: 1.7;
    }

    .my-content h4 {
        line-height: 1.7;
    }

    .my-content h5 {
        line-height: 1.7;
    }

    .my-content h6 {
        line-height: 1.7;
    }

    .single_bread nav.woocommerce-breadcrumb {
        display: flex;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow: hidden;
        overflow-x: auto;
    }

    .my-blog .wd-carousel-item {
        max-width: 290px;
        margin: 0 auto;
    }

    .my-blog .wd-nav-arrows.wd-pos-sep .wd-prev {
        inset-inline-end: calc(97% + var(--wd-arrow-offset-h, 0px));
    }
    .my-blog .wd-nav-arrows.wd-pos-sep .wd-next{
        inset-inline-start: calc(97% + var(--wd-arrow-offset-h, 0px));
    }


}

.wallet-label {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    column-gap: 10px;
    cursor: pointer;
}

.wallet-label span {
    color: var(--blue-3);
    font-weight: 500;
}

.wd-gallery-thumb .wd-carousel-item img{
    height: 100px;
    object-fit: cover;
}