/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.wd-entry-content a {
    border-bottom: 1px dashed #a3a3a3;
}

table.variations .label span {
    margin-right: 5px;
    display: none;
}

h1 {}

.wd-swatches-filter.wd-checkboxes-on li>a {
    position: relative;
    color: black !important;
    font-weight: 500 !important;
}

.wd-swatch+.wd-filter-lable {
    margin-inline-start: 10px;
    font-weight: 500 !important;
    color: black !important;
}

.wd-filter-list .count {
    display: none !important;
}

.widget_product_categories .product-categories li a {
    color: black;
    font-weight: 500;
}

.button1-wrap {
    display: flex;
    background-color: yellow;
    width: 200px;
    margin: 20px auto;
    text-align: center;
    padding: 10px 10px;
    border-radius: 5px;
    box-shadow: 1px 1px 2px #b7b7b7b8;
    transition: all 1s;
    cursor: pointer;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
}

.button1-wrap:hover {
    background-color: #f7f700;
}

.button1-wrap:hover .icon-arrow {
    color: #727272;
    margin-right: 0;
}

.button1-wrap p {
    margin-bottom: 0;
    width: 130px;
    z-index: 10;
}

.button1-wrap a {
    color: black;
    border-bottom: none;
}

.button1-wrap h4 {
    z-index: 2;
    margin-bottom: 0;
    font-size: inherit;
}

.icon-arrow {
    display: flex;
    align-content: center;
    align-items: center;
    transition: all 0.5s;
    color: yellow;
    margin-right: -35px;
}

.icon-arrow:after {
    content: "\f114";
    font-family: "woodmart-font";
}

.title-design-centered .wd-back-btn {
    margin-inline-start: 0px !important;
}

.banner-wrap {
    margin: 0px 0px 15px 0px;
    box-shadow: 1px 1px 1px #cacaca6b;
    display: flex;
    font-weight: 500;
    padding: 20px 10px;
    width: 100%;
    background: linear-gradient(270deg, #4e58cd, #7d32aa, #d62977, #ed8128);
    color: black;
    justify-content: space-around;
    align-items: center;
    border-radius: 5px;
    color: white;
}

.blog-banner-wrap {
    margin: 40px auto;
    box-shadow: 1px 1px 1px #cacaca6b;
    display: flex;
    font-weight: 500;
    padding: 20px 10px;
    width: 65%;
    background: linear-gradient(270deg, #4e58cd, #7d32aa, #d62977, #ed8128);
    color: black;
    border-radius: 5px;
    color: white;
    align-items: center;
    justify-content: space-around;
}

.instagram {}

.telegram {}

.women {}

.men {}

.banner-title {}

.banner-button {
    padding: 10px;
    background-color: #f6d373;
    border-radius: 5px;
    color: #484848;
}

.banner-button a {
    color: #505050 !important;
}

.gender-banner {
    font-size: 15px;
    font-weight: bold;
}

.fix-banner-wrap {
    position: fixed;
    display: none;
    bottom: 64px;
    text-align: center;
    z-index: 9999;
    align-content: center;
    justify-content: center;
    align-items: flex-end;
}

.fix-banner-text {
    font-size: 12px;
}

.fix-banner {
    display: flex;
    background: linear-gradient(270deg, #4e58cd, #7d32aa, #d62977, #ed8128);
    color: white;
    padding: 10px;
    border-radius: 5px;
    justify-content: center;
    margin-right: 25px;
}

.banner-category-wrap {
    margin-bottom: 30px;
    box-shadow: 1px 1px 1px #cacaca6b;
    display: flex;
    font-weight: 500;
    padding: 31px 10px;
    width: 100%;
    background: linear-gradient(214deg, #4e58cd, #7d32aa, #d62977, #ed8128);
    align-items: center;
    border-radius: 3px;
    color: white;
    flex-direction: column;
}

.banner-category-title {
    text-align: center;
    line-height: 2.1rem;
    margin-top: -6px;
}

.gender-banner-category {
    font-size: 15px;
    font-weight: bold;
}

.banner-category-button {
    padding: 6px 50px;
    background-color: #f6d373;
    border-radius: 5px;
    color: #484848;
    font-size: 15px;
}

.banner-category-button a {
    color: #505050 !important;
}

.instagram-banner-category {
    font-size: 50px;
    color: white;
}

.instagram-banner-category:before {
    content: "\F163";
    font-family: "woodmart-font";
}

.icon-banner-category-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.entry-content p {
    line-height: 2.5rem;
    color: #626262;
}

.entry-content table {
    border: 1px solid var(--brdcolor-gray-300);
}

.aparat {
    position: relative;
    width: 100%;
    display: block;
    padding-top: 56.2%;
    margin: 10px 0;
}

iframe {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.telegram-banner-wrap {
    background-color: #229ED9;
    width: 80%;
    margin: 30px auto;
    padding: 20px 20px;
    border-radius: 5px;
}

.telegram-banner-button {
    color: #ffffff;
    font-weight: bold;
}

.telegram-banner-text {
    color: #ffffff;
    margin-top: 10px;
}

.instagram-banner-wrap {
    background: linear-gradient(270deg, #4e58cd, #7d32aa, #d62977, #ed8128);
    width: 80%;
    margin: 30px auto;
    padding: 20px 20px;
    border-radius: 5px;
}

.instagram-banner-button {
    color: #ffffff;
    font-weight: bold;
}

.instagram-banner-text {
    color: #ffffff;
    margin-top: 10px;
}

.gold-calculator {
    font-family: var(--wd-header-el-font);
    background: #e8c17a;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    margin: auto;
    color: #333;
}

.inputs label,
.inputs input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.inputs {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
}

.inputs input {
    padding: 5px;
    border: 0px solid #ccc !important;
    border-radius: 5px;
    text-align: center;
    background-color: #ffffff !important;
}

.input-divider {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.input-divider-inner {
    width: 100%;
}

.output {
    font-weight: bold;
}

.result-box {
    background: #7bb0ab;
    padding: 15px;
    border-radius: 5px;
    color: white;
    direction: rtl;
    text-align: right;
}

.result-box-left {
    float: left;
}

.result-box-right {
    margin-bottom: 15px;
}

.result-box p {
    margin: 5px 0;
    color: white !important;
}

.result-box-calc {
    font-size: 12px;
    font-weight: normal;
}

.input-divider-inner label {}


/***

.wd-event-click.wd-opened>.wd-dropdown{
    direction: ltr;
    display: flex;
    justify-content: flex-end;
}


.wd-nav-vertical.wd-design-default {
    width: 268px;
}


.container .wd-sub-menu {
    display: flex;
    justify-content: flex-end;
}

.wd-sub-menu li {
    display: flex;
    justify-content: flex-end;
}

.wd-nav-vertical>li>a{
        direction: rtl;
}


*/

.blog-fix-banner-wrap {
    position: fixed;
    bottom: 40px;
    text-align: center;
    z-index: 9999;
    align-content: center;
    justify-content: center;
    align-items: flex-end;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    margin-right: -15px;
}

.whatsapp-icon:before {
    content: "\f175";
    font-family: "woodmart-font"
}

.whatsapp-fix {
    display: flex;
    background-color: #25D366;
    color: #fff;
    font-size: 36px;
    line-height: 3.2rem;
    padding: 2px 10px;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 47px;
    margin-right: 30px
}

.whatsapp-fix i {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 5px
}


/****mega-menu*********/

#mega-menu-nav-wrap {
    display: flex;
    align-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.mega-menu-container {
    display: none;
    width: 100%;
    max-width: 1200px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    margin-top: 9px;
    right: 13px;
}

.mega-menu-categories {
    width: 30%;
    max-height: 400px;
    overflow-y: auto;
    border-right: 1px solid #ddd;
    direction: ltr;
}

.mega-menu-item {
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    padding-right: 20px;
    border-bottom: solid #eaeaea 1px;
    text-align: right;
}

.mega-menu-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.mega-menu-item:hover {
    background: #f5f5f5;
}

.mega-menu-subcategories {
    direction: ltr;
    width: 70%;
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    text-align: right;
    border-right: solid #eaeaea 1px;
}

.mega-menu-subitem {
    padding: 8px;
    font-size: 14px;
}

.mega-menu-subitem a {
    text-decoration: none;
    color: #555;
    display: block;
}

.mega-menu-subitem:hover {
    background: #f0f0f0;
}

.mega-menu-opener-icon:after {
    font-size: 18px;
    content: "\f15a";
    font-family: "woodmart-font"
}

.mega-menu-opener-arrow:after {
    font-size: 11px;
    content: "\f129";
    font-family: "woodmart-font";
    margin-right: 100px;
}


.label-term-no-wage{
        background-color: #FF9800 !important;
    color: #ffffff !important;
}

.custom-weight-label{
    z-index:10;
    color: #707070;
    border-radius:3px;
    font-size:13px;
    top:8px;
    right:8px;
    margin-left: auto;
}

.wd-product.wd-hover-base .wrapp-product-price{
        align-items: flex-end !important;
}

.woocommerce-Price-currencySymbol{
        font-size: 11px;
}

.product-wrapper .amount {
    font-size: 16px !important;
}

.product-wrapper .price  {
    font-size: 16px !important;
}

/*.wd-entities-title a{*/
/*    text-align: right;*/
/*    display: block;*/
/*    width: 100%;*/
/*}*/



.wd-page-title:after{
	content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(transparent 5%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 100%);
}

.wd-title-wrapp {
    z-index: 2;
}


.wd-back-btn.wd-style-icon>a {
    color: #ffffff;
}


.wd-page-title .title{
        z-index: 100;
}

.wd-breadcrumbs{
       z-index: 100;
}


.wpc-filters-range-max{
    padding: 6px 0px !important
}

.wpc-filters-range-min{
    padding: 6px 0px !important
}


.products a{
    border-bottom: unset;
    
}

























@media (max-width: 500px) {
    .input-divider-inner label {
        margin-bottom: 2px;
    }
    .input-divider {
        flex-direction: column;
    }
    .blog-banner-wrap {
        width: 90%;
    }
    .blog-banner-title {
        width: 58%;
        line-height: 2rem;
        font-size: 15px;
    }
    .fix-banner-wrap {
        display: flex;
    }
    .banner-category-wrap {
        display: none;
    }
    .whatsapp-fix {
        margin-right: 45px;
        margin-bottom: 30px;
        font-weight: 400;
    }
}

@media (min-width: 1025px) {
    .title-shop.title-design-centered>.container {
        justify-content: right !important;
    }
}

.custom-product-info {
    display: none;
}

.custom-product-info.active {
    display: block;
}

.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #d60644;
    width: 50px;
    height: 50px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #e46773;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    margin: auto;
}

.loader-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 200px;
    background-color: #FFF;
    z-index: 100;
    display: none;
}

.loader-main.active {
    display: block;
}

.entry-content table {
    border: unset !important;
}



.sgdp-linear-container {
    width:100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    margin-bottom: 40px;
}

.sgdp-linear-item,
.sgdp-show-more {
    flex: 0 0 calc(12.5% - 10px); /* عرض هر باکس (۱۲.۵% برای ۸ باکس در هر ردیف) */
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-sizing: border-box; /* اطمینان از محاسبه صحیح عرض */
}

.sgdp-linear-item:hover {
    transform: scale(1.05);
}

.sgdp-linear-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.sgdp-linear-item h3 {
    margin: 10px 0 0;
    font-size: 14px;
}

.sgdp-linear-item h3 a {
    text-decoration: none;
    color: #333;
}

.sgdp-linear-item h3 a:hover {
    color: #000;
}

.sgdp-show-more {
    cursor: pointer;
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.sgdp-show-more:hover {
    background-color: #e0e0e0;
}


.dimaj-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: 'IRansansX', sans-serif;
    transition: all 0.3s ease-in-out;
    width: 90%;
    margin: 20px auto;
    overflow: hidden;
}

.dimaj-product-card a{
    border:none
}

.dimaj-product-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e8c17a;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    font-weight: bold;
}

.dimaj-product-card .product-link {
    display: block;
    text-decoration: none;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.dimaj-product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dimaj-product-card .product-info {
    padding: 15px;
}

.dimaj-product-card .product-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.dimaj-product-card .product-price {
    color: #7bb0ab;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.dimaj-product-card .product-attributes {
    list-style: none;
    padding: 0;
    font-size: 14px;
    color: #666;
}

.dimaj-product-card .product-attributes li {
    margin: 5px 0;
}

.dimaj-product-card .buy-button {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
    background: #7bb0ab;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    text-align: center;
    margin-top: 10px;
}

.dimaj-product-card .buy-button:hover {
    background: #5f8e89;
    transform: scale(1.05);
}


.color-swatches {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.color-swatch {
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid #ccc;
        }


/* استایل‌های نسخه موبایل */
@media (max-width: 767px) {
    .sgdp-linear-item,
    .sgdp-show-more {
        flex: 0 0 calc(25% - 10px); 
    }
    .sgdp-linear-item h3 {
        font-size: 9px;
    }
    .sgdp-linear-container {

        padding: 0;
    }
}




/*.wd-page-title .title {*/

/*    color: #ffffff;*/
/*}*/

/*.wd-back-btn.wd-style-icon>a{*/
/*    color: #ffffff;*/
/*}*/


/*.wd-page-title {*/
/*      background-color: #adadad !important;*/
/*}*/

:is(.wd-breadcrumbs,.yoast-breadcrumb) {
    --wd-link-color: #000000;
    --wd-link-color-hover: var(--color-gray-700);
    --wd-bcrumb-color-active: var(--color-gray-900);
}









