/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
span,a,p,h1,h2,h3,h4,h5{
    font-family:IRANYekan!important;
}
html,body{
    overflow-x: hidden!important;
}
.container{
    max-width: 100%!important;
}
/* مخفی کردن محتوا برای زبان فارسی */
html[lang="fa-IR"] .ar-box{
    display: none;
}

/* مخفی کردن محتوا برای زبان عربی */
html[lang="ar"] .fa-box {
    display: none;
}


.e-n-carousel.swiper.swiper-initialized.swiper-horizontal.swiper-pointer-events.swiper-rtl {
    padding-bottom: 0;
}
.shop-sidebar .sidebar-widget {
    background: #fff !important;
    padding: 20px !important;
    border: 1px solid #eee !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
    padding-bottom: 30px !important;
    border-bottom: 1px solid var(--brdcolor-gray-300);
    box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.05) !important;
   }
.shop-sidebar .sidebar-widget a,.shop-sidebar .sidebar-widget span,nav.rank-math-breadcrumb span{
    color:#555;
}
.product-archive .product-wrapper{
    border-radius: 7px !important;
    border: 1px solid #a2a2a2;
    overflow: hidden;
}
.new-ordering  {
    background-color: #FBF7EE;
    border-radius: 14px;

}

span.menu-opener.color-scheme-light{
    height: 85%!important;
    margin-top: 5px;
}

.whb-row.whb-general-header.whb-sticky-row.whb-with-bg.whb-border-fullwidth.whb-color-light.whb-flex-flex-middle .container{
    padding: 12px 5px;
}
.site-content.shop-content-area.col-12 {
    padding: 0!important;
}
button.searchsubmit{
    border-radius: 0!important;
}

.quantity input.minus,.quantity input.plus{
    background: #fff!important;
    border-radius: 5px!important;
    font-size: 18px!important;
}
.quantity .qty.text{
    color: #fff!important;
}
/* حذف عدد و نمایش فقط ستاره‌ها */
.stars a {
    text-indent: -9999px; /* پنهان کردن عدد */
    display: inline-block;
    position: relative;
    width: 20px; /* اندازه مشخص برای هر ستاره */
    height: 20px;
}

/* استایل ستاره‌های خالی */
.stars a:before,
.stars a:hover ~ a:before,
.stars a.active ~ a:before,
.stars.selected:hover a:hover ~ a:before {
    content: "\f149"; /* آیکون ستاره خالی */
    font-family: "woodmart-font" !important;
    font-size: 18px; /* اندازه ستاره */
    color: #ccc; /* رنگ خاکستری */
    text-indent: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* استایل ستاره‌های پر هنگام انتخاب */
.stars:hover a:before,
.stars.selected a:before,
.stars.selected:hover a:before {
    content: "\f148"; /* آیکون ستاره پر */
    color: #EABE12; /* رنگ زرد */
}

/* فاصله بین ستاره‌ها */
.stars {
    display: flex;
    flex-direction: row; /* نمایش افقی */
    gap: 6px; /* تنظیم فاصله بین ستاره‌ها */
    align-items: center; /* چینش بهتر در راستای عمودی */
    justify-content: flex-start; /* ستاره‌ها را به سمت چپ ببر */
    width: max-content; /* جلوگیری از کشیده شدن کادر */
}
.elementor-widget-container p.price {
    display: flex;
    flex-direction: column-reverse;
}

@keyframes moveLeftRight {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(50px);
    }
    100% {
        transform: translateX(0);
    }
}
.main-image {
    animation: moveLeftRight 3s ease-in-out infinite;
}
.wd-nav[class*="wd-style-underline"] .nav-link-text:after {
    background-color: #ffffff!important;
    margin-top: 8px;
}
.elementor-template-full-width .row>[data-elementor-type] {
    margin-bottom: 0px!important;
    padding-right: 0px!important;
    padding-left: 0px!important;
}
.shop_attributes tr {
    justify-content: flex-start!important;
}
th.woocommerce-product-attributes-item__label{
    width: 170px;
}
.whb-main-header {
    -webkit-box-shadow: 0px 3px 5px 0px rgba(209, 209, 209, 1);
    -moz-box-shadow: 0px 3px 5px 0px rgba(209, 209, 209, 1);
    box-shadow: 0px 3px 5px 0px rgba(209, 209, 209, 1);
}
.whb-top-bar .wd-tools-element .wd-tools-icon:before{
    font-size: 20px!important;
}

.whb-row.whb-top-bar.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-light.whb-col-1 {
    border-bottom:  1px solid #046259;
}


.wd-entities-title{
    color: #333;
    font-weight: 600;
}
.swiper.elementor-loop-container img{
    max-width: 150px;
}
.wd-carousel-item img.attachment-large.size-large{
    height: 172px!important;
    object-fit: cover!important;
}
html[lang="ar"] .wa__popup_content_item:nth-child(1),
html[lang="fa-IR"] .wa__popup_content_item:nth-child(2) {
    display: none !important;
}
.cat-design-alt.categories-with-shadow .category-image-wrapp {
    box-shadow:none!important;
}
.my-cat .wd-cats {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    scroll-snap-type: x mandatory;
    white-space: nowrap;
    padding-bottom: 10px;
    justify-content: center;
}
.more-products {
    display: none;
}
.my-cat .wd-col {
    flex: 0 0 auto;
    scroll-snap-align: start;
    text-align: center;
}

.my-cat .category-image img {
    max-width: 100px;
    height: auto;
}

.my-cat::-webkit-scrollbar {
    height: 5px;
}

.my-cat::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 3px;
}

.my-cat::-webkit-scrollbar-track {
    background: #eee;
}

@media only screen and (max-width: 1024px) {
    .whb-header-bottom {

        background-color: #fff!important;
    }
    .whb-header-bottom input.s{
        border: 1px solid #dfdfdf;
        color: #777;
        border-radius: 7px;
    }
    .whb-header-bottom  .searchform .searchsubmit{
        color: #777;
    }
    .article-container{
        margin-bottom: 0px!important;
        padding-right: 0px!important;
        padding-left: 0px!important;
    }
    .whb-row.whb-general-header.whb-sticky-row.whb-with-bg.whb-border-fullwidth.whb-color-light.whb-flex-flex-middle .container{
        padding: 2px 10px;
    }
    .whb-row.whb-general-header.whb-sticky-row.whb-with-bg.whb-border-fullwidth.whb-color-light.whb-flex-flex-middle{
        background-color: #ffffff!important;
    }
    .whb-row.whb-header-bottom.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-dark.whb-flex-flex-middle {
        background-color: #ffffff;
    }
    .whb-row.whb-general-header.whb-sticky-row.whb-with-bg.whb-border-fullwidth.whb-color-light.whb-flex-flex-middle{
        border-color: #ffffff;
    }
    .whb-row.whb-top-bar.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-light.whb-col-1{
        background-color: #ffffff!important;
    }
    .whb-top-bar .wd-tools-element .wd-tools-icon:before {
        font-size: 20px!important;
    }
    .wd-header-search-form-mobile .searchform input[type="text"] {
        min-width: 0px;
    }

    .wd-search-form.wd-header-search-form-mobile.wd-display-form.whb-yj8hmq3bwbdn42qgigd7 {
        padding: 0;
    }

    span.wd-tools-icon {
        color: #000;
    }
    .whb-row.whb-top-bar.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-light.whb-col-1 {
        border-bottom: 0;
    }

}
.whb-row.whb-general-header.whb-not-sticky-row.whb-with-bg.whb-border-fullwidth.whb-color-light.whb-flex-flex-middle {
    border-color: #ffffff;
}

