:root {
     --color-primary: #18a8ef;
     --second-color: #ef2b63;
     --background-light-gray: #f8f8f8;
     --background-glass-white: #fff7;
     --background-glass-black: #0007;
     --nav-link-color: #fff;
     --nav-link-hover-color: #e0e0e0;
     --nav-link-font-size: 1rem;
     --title-color:#4b4b4b;
     --text-color:#777;
    /* --wd-title-font: --wd-title-font;
     --wd-text-font: --wd-text-font;
     --e-global-typography-primary-font-family: --wd-text-font;
     */
     --btn-header-back-color: var(--second-color);
     --btn-header-text-color: #fff;
     --box-shadow: ;
}
 @font-face {
     font-family: Iransans;
     font-style: normal;
     font-weight: normal;
     src: url('fonts/iransans/web/IranSansWeb.eot');
     src: url('fonts/iransans/web/IranSansWeb.eot?#iefix') format('embedded-opentype'), 
    /* IE6-8 */
     url('fonts/iransans/web/IranSansWeb.woff') format('woff'), 
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
     url('fonts/iransans/web/IranSansWeb.ttf') format('truetype');
}
 @font-face {
     font-family: IransansXFa-Regular;
     font-style: normal;
     font-weight: normal;
     src: url('fonts/iransans/sansx-regular/IRANSansXFaNum-Regular.eot');
     src: url('fonts/iransans/sansx-regular/IRANSansXFaNum-Regular.eot?#iefix') format('embedded-opentype'), 
    /* IE6-8 */
     url('fonts/iransans/sansx-regular/IRANSansXFaNum-Regular.woff') format('woff'), 
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
     url('fonts/iransans/sansx-regular/IRANSansXFaNum-Regular.ttf') format('truetype');
}
 @font-face {
     font-family: IranyekanWeb;
     font-style: normal;
     font-weight: normal;
     src: url('fonts/iranyekan/iranyekanweb.eot');
     src: url('fonts/iranyekan/iranyekanweb.eot?#iefix') format('embedded-opentype'), 
    /* IE6-8 */
     url('fonts/iranyekan/iranyekanweb.woff') format('woff'), 
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
     url('fonts/iranyekan/iranyekanweb.ttf') format('truetype');
}
 @font-face {
     font-family: YekanBakh-regular;
     font-style: normal;
     font-weight: normal;
     src: url('fonts/yekan-bakh/regular/YekanBakh-Regular.eot');
     src: url('fonts/yekan-bakh/regular/YekanBakh-Regular.eot?#iefix') format('embedded-opentype'), 
    /* IE6-8 */
     url('fonts/yekan-bakh/regular/YekanBakh-Regular.woff') format('woff'), 
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
     url('fonts/yekan-bakh/regular/YekanBakh-Regular.ttf') format('truetype');
}
 @font-face {
     font-family: YekanBakh-extra;
     font-style: normal;
     font-weight: normal;
     src: url('fonts/yekan-bakh/extra/YekanBakh-ExtraBold.eot');
     src: url('fonts/yekan-bakh/extra/YekanBakh-ExtraBold.eot?#iefix') format('embedded-opentype'), 
    /* IE6-8 */
     url('fonts/yekan-bakh/extra/YekanBakh-ExtraBold.woff') format('woff'), 
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
     url('fonts/yekan-bakh/extra/YekanBakh-ExtraBold.ttf') format('truetype');
}
 body{
     font-family: var(--wd-text-font);
    /*cursor: url('http://nafaspetshop.ir/wp-content/themes/nafaspet-child/images/cursor.png'), auto !important */
}
 .title, legend, h1, h2, h3, h4, h5, h6,{
     font-family: var(--wd-title-font) !important;
}
 .overflow-visible {
     overflow: visible;
}
/* custom header styles */
 .whb-sticky-shadow.whb-sticked .whb-main-header {
     box-shadow: none !important;
}
 .whb-header-bottom {
     max-width: 1140px;
     margin: auto;
     top: 0px;
     border-radius: 0 0 15px 15px;
     box-shadow: 0 5px 10px #00000014;
     z-index: 0;
     &::before{
         content:'';
         position: absolute;
         width: 100%;
         height: 100%;
         background: url(https://nafaspetshop.ir/wp-content/uploads/2024/07/frame.png) center /auto;
         z-index: 0;
         opacity: 0.2;
    }
}
 .whb-col-right .wd-dropdown-menu.wd-design-default {
     z-index: 500;
}
 .wd-nav-main > li > a, .wd-nav-secondary > li > a {
     font-size: var(--nav-link-font-size);
     font-weight: 400;
}
 .wd-nav[class*="wd-style-"] > li > a {
     color: var(--nav-link-color);
}
 .wd-nav[class*="wd-style-"] > li:hover > a,
 .wd-nav[class*="wd-style-"] > li:is(.current-menu-item, .wd-active, .active) > a,
 .wd-nav[class*="wd-style-"] > li:is(.wd-has-children, .menu-item-has-children) > a::after {
     color: var(--nav-link-hover-color);
}

 .header-menu-btn-shop {
     color: #fff;
     background-color: var(--btn-header-back-color);
     &:hover {
         color: var(--nav-link-hover-color) !Important;
         background-color: #e32058 !important;
    }
}
 .wd-tools-element .wd-tools-icon {
     background-color: #fff;
}
/* Product Grid Styles */
.wd-product {
     
    &.outofstock::after {
         content: "ناموجود";
         position: absolute;
         top: 10px;
         right: 0;
         padding: 5px;
         font-size: 0.8rem;
         color: #fff;
         background-color: var(--second-color);
         border-radius: 5px 0 0 5px;
    }
     .wd-buttons{
         background-color: var(--background-glass-white);
         box-shadow: 1px 1px 2px #0007;
    }
     .product-labels {
         flex-direction: row;
         align-items: center;
         justify-content: space-evenly;
         gap: 0;
         max-width: 95%;
         top: unset;
         right: auto;
         left: auto;
         bottom: 0;
         inset-inline: 7px;
         padding: 5px;
         background-color: var(--background-light-gray);
         border-radius: 5px;
         transform: none;
         .attribute-label{
             background-color: transparent !important;
        }
         img{
             max-width: 35px;
        }
		.onsale, .out-of-stock {
			display: none;
		}
    }
     .product-element-bottom {
         padding: 10px;
         text-align: center;
         font-size: .8rem;
         .star-rating {
             margin-inline: auto;
        }
    }
}
 .star-rating::before, .star-rating span::before {
     top: auto;
     bottom: 0;
     font-size: .8rem;
}
/* Product Listing styles */
 .list_sales_products{
     .woocommerce-product-details__short-description,
	 .wd-buttons,
	 .product-labels,
	 .wd-add-btn.wd-add-btn-replace {
         display: none !important;
    }
    .wd-el-title.title.element-title {
         padding-bottom: 5px;
         border-bottom: 1px dashed #e4e4e4;
         position: relative;
         &::after {
             content: '';
             position: absolute;
             bottom: -1px;
             right: 0;
             width: 100px;
             height: 3px;
             border-radius: 3px 3px 0 0;
             background-color: var(--second-color);
             }
    }
     .wd-products.elements-list {
         --wd-gap: 10px;
    }
     &.list_hover_ .wd-product.product-list-item {
         padding: 5px;
         border-bottom: none;
         border-radius: 10px;
         text-align: right;
         &:hover {
             background-color: #f8f8f8;
        }
    }
    .product-wrapper {
		 flex-direction: row;

         .product-list-content {
             gap: 7px !important;
             text-align: right !important;
        	}
         .product-labels {
             padding: 0;
             background-color: transparent;
             .attribute-label {
                 color:#fff;
                 background-color: var(--second-color);
            }
    }
         .product-element-top{
             flex-basis: 120px;
             max-width: 70px;
        }
         .wd-entities-title, .price {
             font-size: 0.85rem !important;
             color: var(--title-color);
        }
        .star-rating {
            align-self: flex-start;
        }
         .price .amount{
             color: var(--second-color) !important;
        }
    }
}
/* archive blog styles */
 .blog-design-masonry.wd-add-shadow {
    .article-inner {
         padding:10px;
    }
    
    .entry-header{
         
         border-radius: 7px;
         overflow: hidden;

         .post-date span {
             font-size: 0.8rem !important;
             color: ;
        }
    }
    
    .article-body-container {
         padding: 20px 10px 10px;
         .wd-post-cat.wd-style-with-bg {
             background-color: var(--second-color);
        }
        
        .wd-entities-title.title.post-title {
             font-size: 0.9rem;
             color: var(--title-color);
        }
         
        .entry-meta.wd-entry-meta {
             width: 100%;
             margin: 0;
             .entry-meta-list {
                 display: flex;
                 justify-content: space-between;
            }
			
        }
         .hovered-social-icons,
		 .modified-date,
		 .meta-author > span
		  {
             display: none;
        }
    }
    
}
 
 /* single product */
.product_title {
	font-size: 1rem;
}
.woocommerce-review-link {
	display: none;
}
.woocommerce-product-details__short-description,
.woocommerce-product-attributes,
.wd-wishlist-btn a,
.summary-inner .product_meta,
.woocommerce-tabs .wd-nav-link {
	font-size: .9rem;
}
.product_title,
.woocommerce-product-attributes-item__label,
.product_meta .meta-label,
.woocommerce-tabs .wd-nav-link{
	color: var(--title-color);
}

.wd-wishlist-btn a, {
	color: var(--second-color);
}
.woocommerce-tabs .wd-nav-link{
	color: var(--text-color) !important;
}

/* RESPONSIVE */


@media screen and (max-width: 767px) {



}

@media (min-width: 768px) and (max-width: 1024px) {
	.wd-tabs-header {
		flex-direction: row;

		 .tabs-name.title {
			flex-shrink: 0;
		}
		& .wd-nav-wrapper.wd-nav-tabs-wrapper {
			padding-right: 20px;
			border-top: transparent ;
			border-bottom: 2px solid var(--brdcolor-gray-300);
		}
		
	}


}

/* megamenu styles*/
.megamenu_dropdown .pro_megamenu{
    
    .sub-sub-menu > li{
        padding-right: 10px;
        & > a {
        padding-block: 5px;
        font-size: 0.8rem;
    }
}
    
    
}




