/*
 Theme Name:   GeneratePress Child
 Description:  Child theme for GeneratePress with Persian Font Support
 Template:     generatepress
 Version:      1.0.0
*/


@font-face {
	font-family: 'iranyekan';
	font-style: normal;
	src: url("https://asanimeni.com/wp-content/themes/generatepress-child/iransans.woff2") format("woff2");
	font-display: swap;
  }
h1, h2, h3, h4, h5, h6, p, span,div,select,button,bdi,input, ul, li, header, nav, a, footer, b, strong,input, html header .nav > li > a {
    font-family: 'iranyekan';
    direction: rtl;
    line-height: 1.5em;
    font-weight: 400;
}
h1{
	font-size: 22px;
	color: #111111;
}
h2{
	font-size: 20px;
	color: #111111;
}
h3{
	font-size: 18px;
	color: #111111;
}
h4{
	font-size: 16px;
}
p{
	font-size: 14px;
     color: #333333;
}
.woocommerce .star-rating span::before{
    font-family: 'WooCommerce' !important;
}
/* ************************************************************************************************swiper*** */
/* ********************************************************************************************header** */
.inside-header {
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.site-logo {
    margin-left: 210px;
}
span.gp-icon.icon-search {
    background: #ffca08;
    padding: 7px 10px 10px;
    border-radius: 10px;
    box-shadow: rgba(142, 142, 142, 0.96) 0px 0px 4px;
}
.nav-float-left #site-navigation {
    margin-right: 0;
}
.main-navigation ul ul li a span span{
    position: relative;
    bottom: 25px;
    z-index:9999999;
    background: white;
    border-radius: 3px;
    padding: 0px 1px 3px 1px;
    border: 1px solid black;
}
.main-navigation ul ul li a span span svg{
    margin-top: 0px;
}
@media (max-width: 768px) {
	table{
		font-size: 13px;
	}
    .site-logo {
        margin-left: 0px;
    }
    .nav-float-left .mobile-menu-control-wrapper{
         margin-top: -35px;
         margin-right: 0;
         order: 0;
    }
    nav#site-navigation {
		top: 54px;
        width: 100%;
        left: 0;
        position: absolute;
        z-index: 999;
        background: white !important;
    }
	.main-navigation .main-nav ul li[class*="current-menu-"] > a {
		color: #636363;
    	font-weight: bold;
	}
    nav#site-navigation ul li{
        border-bottom: 2px solid #ffffff;
        text-align: center;
    }
    nav#site-navigation ul li a{
        font-size: 18px;
    }
    button.menu-toggle {
        background:  #ffca08 !important;
        border-radius: 5px;
        padding: 0px 10px 5px;
        height: 30px;
        line-height: 0;
		box-shadow:0 0 4px #8e8e8ef5;
    }
	.has-inline-mobile-toggle #site-navigation.toggled {
    	margin-top: 65px;
	}
}
span.custom-left-header {
    content: "مشاوره جهت خرید عمده: 09102598078";
    font-size: 14px;
    display: inline-block;
    color: #000;
    border-radius: 10px;
    padding: 5px 15px;
    text-align: center;

    background: linear-gradient(
        110deg,
        #ebf0ff 0%,
        #fffed1 25%,
        #ffcb0e 50%,
        #fffed1 75%,
        #ebf0ff 100%
    );

    background-size: 300% 300%;
    animation: consultationGradient 5s linear infinite;
}

@keyframes consultationGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.inside-header a {
    text-decoration: none;
    color: inherit;
}
.site-header{
	background: rgb(250 246 255);
}
.main-navigation, .main-navigation ul ul{
	background: transparent;
}
.site-header{
  position: sticky !important;
  top: 0;
  z-index: 999 !important;
}
header.woocommerce-products-header {
    z-index: 1 !important;
}
.main-navigation li {
    position: relative;
    z-index: 99;
}

.main-navigation ul.sub-menu{
    top: 50px;
    background: white;
    right: 0px;
    border-radius: 0 0 5px 5px;
}
.main-navigation .main-nav ul li a{
	color: #101010;
}
.main-navigation .main-nav ul li.sfHover{
    border-radius: 0;
    margin: 1px;
    background: #ffca08 !important;
}
.main-navigation .main-nav ul li.sfHover a{
    color: black;
}
@media (max-width: 768px) {
	.menu-item-has-children .dropdown-menu-toggle {
    	line-height: 3.4em;
	}
.main-navigation.toggled .main-nav>ul{
		background: #faf0cf;
		height: 100vh;
	}

	li#menu-item-9750 ul,li#menu-item-9749 ul{
		background: #faf6ff;
		max-height: 50vh;
		overflow-y: scroll;
	}
	li#menu-item-9750 ul li span,li#menu-item-9749 ul li span{
		position: absolute;
		left:10px;
		top: 15px;
	}
	li#menu-item-9750 ul li ul,li#menu-item-9749 ul li ul{
		background: #dddddd;
	}

	li#menu-item-9750 ul li ul.toggled-on li,li#menu-item-9749 ul li ul.toggled-on li{
		background: #fdfdfd;
	}
}
header#masthead::before{
	content:"همکاری با صنایع و شرکت ها با قیمت مناسب: 09102598078";
    font-size: 14px;
    line-height: 20px;
    color: white;
    text-align: center;
    display: block;
    background: #ffca08;
    padding: 4px 0;
	animation: blinkAnim 3s infinite;
}
@keyframes blinkAnim {
  0%   { color: black; }
  50%  { color: red; }
  100% { color: black; }
}
.payment_box.payment_method_bacs{
	background-color: #7f54b3 !important;
}
.payment_box.payment_method_bacs p{
    color: #ffffff;
    text-align: justify;
    line-height: 1.5em;
}
@media (min-width: 769px) {

	nav:not(.toggled) .menu-item-9749 .dropdown-menu-toggle,nav:not(.toggled) .menu-item-9750 .dropdown-menu-toggle,nav:not(.toggled) .menu-item-9751 .dropdown-menu-toggle{
	    margin-top: 20px;
	}
	li#menu-item-9749 ul li ul{
		position: absolute;
		right: 200px;
		box-shadow: 0 0 5px lightgray;
	}
/***********************************/
	li#menu-item-9750 ul li ul{
		position: absolute;
		right: 260px;
		box-shadow: 0 0 5px lightgray;
	}
	li#menu-item-9750 ul li span{
		position: absolute;
		left:13px;
		top: -3px;
		z-index: -1;
	}
	li#menu-item-9750 ul{
		width: 140%;
		background: white;
		box-shadow: 0 0 5px lightgray;
	}
	li#menu-item-9750 ul li ul{
		width: 70%;
		background: white;
		box-shadow: 0 0 5px lightgray;
	}
	li#menu-item-9750 ul li ul li ul{
		width: 100%;
		right: 185px;;
		background: white;
	}

}
/*********************************************************************************************products**/
.archive .products .product{
    padding: 10px;
    border-radius: 5px;
    text-align: center;
	border: 1px solid  rgb(214 178 252 / 40%);
}
.woocommerce ul.products li.product a img{
    border-radius: 10px;
}
.woocommerce ul.products li.product .button{
    margin-bottom: 20px;
	background: #ffca08;
	font-weight: 100;
	font-size: 14px;
	font-weight: bold;
	color: black;
}
h2.woocommerce-loop-product__title {
	height: 25px !important;
    line-height: 1.5em;
    font-size: 14px !important;
    color: #3d255a;
}

.archive .woocommerce-Price-amount{
    color: #3d255a;
    font-size: 18px;
}
.woocommerce-Price-amount bdi{
	line-height: 3em;
}
.woocommerce .products .star-rating {
    display: block;
    margin: 20px auto -35px;
    float: none;
	padding: 10px;
}
.woocommerce ul.products li.product .price{
	margin-top: 40px;
}
.woocommerce .star-rating::before{
	top: 3px;
}
.woocommerce .woocommerce-product-rating .star-rating{
	padding: 14px 0;
}
.woocommerce .star-rating{
	height: 20px;
}
/*********************************************************************************************product*/
.custom-under-price-text{
	color: #000000;
    margin: -40px 0 40px;
    font-size: 20px;
    background: #ffcb0e;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
}
.woocommerce div.product form.cart .button{
	background: #ffca08;
	color: black;
	font-weight: normal;
}
.single-product .site .site-content{
    padding-top: 0;
    border-top: 1px solid #eaeaea;
}
.single-product span.woocommerce-Price-amount.amount {
	color: #7249a4;
    padding: 10px 10px 5px;
    line-height: 3em;
    font-size: 20px;
}
.single-product #page,.archive #page{
    margin-top: -18px;
}
section.related.products .price {
    margin-top: 30px;
}
span.woocommerce-Price-currencySymbol {
    font-size: 0;
}
span.woocommerce-Price-currencySymbol:after {
    content:"تومان";
    margin-right: 5px;
    font-size: 18px;
}
.single-product .inside-article {
    margin-top: -40px;
}
.woocommerce div.product div.images img {
    display: block;
    width: 65%;
    margin: -5px auto 0;
    height: auto;
    box-shadow: none;
}
.single-product ul li{
    line-height: 1.5em;
}
.single-product p{
    line-height: 2em;
}
.single-product .entry-content{
	margin-top: 10px;
}
.single-product .entry-summary .product_meta {
    border-top: 1px solid #eee;
    padding: 25px 0;
}
@media (max-width: 768px) {
     .single-product .inside-article {
        margin-top: 0px;
    }
    .woocommerce div.product div.images img {
        display: block;
        width: 55%;
        margin: -5px auto 0;
        height: auto;
        box-shadow: none;
    }   
	.single-product span.woocommerce-Price-amount.amount {
		color: #7249a4;
		padding: 10px 10px 5px;
		line-height: 3em;
		font-size: 16px;
	}
}
section.related.products ul li{
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid rgb(214 178 252 / 40%);
}
section.related.products h2{
    height: 0;
}
a{
	color: #ff9835;
}
.term-description{
	width: 75%;
	margin: 0 auto;
}
.woocommerce div.product .product_title{
	font-size: 24px;
}
.single-product .related h2{
    margin-bottom: 50px; 
}
/*********************************************************************************************search***/
.search-results .site{
	background: white;
}
.search-results article{
    width: 16%;
    display: inline-flex;
    flex-direction:column;
    margin: 0 3% 100px 0;
	position: relative;
}
.search-results article .entry-title a::after{
    content:"افزودن به سبد خرید";
    background: #ffca08;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
    position: absolute;
    top: 100px;
    right: 10px;
    width: 150px;
}
@media (max-width: 768px) {
	.search-results article{
		width: 45%;
		display: inline-flex;
		flex-direction:column;
		margin: 0 3% 100px 0;
		position: relative;
	}
	.search-results article .entry-title a::after{
		content:"افزودن به سبد خرید";
		background: #ffca08;
		text-align: center;
		padding: 5px;
		border-radius: 5px;
		font-size: 14px;
		position: absolute;
		top: 100px;
		right: -10%;
		width: 100% ! Important;
	}
}
.search-results .post-image {
    position: absolute;
    top: -30px;
    width: 85%;
    right: 5%;
}
.search-results .entry-header{
    position: absolute;
    top: 230px;
}
.search-results article h2{
    font-size: 14px;
}
.search-results .inside-article{
    height: 400px;
    border: 1px solid lightgray;
    border-radius: 5px;
}
.search-results .entry-summary{
  display: none;
}

.search-results h1{
	font-size: 18px;
}
/************************************************************************************************home******/
/* topslide */
.mymobile { display: none; }
.mydesktop { display: block; }
@media (max-width: 768px) {
    .mymobile { display: block; }
    .mydesktop { display: none; }
}
section.products-slide {
    padding: 0 30px 0;
}
.products-slide span a {
    text-decoration: none;
    color: inherit;
    box-shadow: 0 0 4px #8e8e8ef5;
    background: #ffca08;
    border-radius: 5px;
    padding: 10px 10px 5px;
    margin: 50px 0;
    line-height: 3em;
}
.slider {
    position: relative;
    width: 100%;
    height: 500px; 
    overflow: hidden;
    background-color: #f0f0f0;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper{
    padding: 0 0 50px;
}
.slide-content {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    font-family: 'iranyekan';
    pointer-events: none;
}

.slider .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    color: white;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: background 0.3s;
}

.next-btn { right: 15px; background-color: #ff6347; }
.prev-btn { left: 15px; background-color: #555; }
@media (max-width: 768px) {
    .next-btn { right: 15px; background-color: transparent; }
    .prev-btn { left: 15px; background-color: transparent; }
    .slider .btn {color: red;}
}
.btn:hover { opacity: 0.9; }

.dots-container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active { background: white; transform: scale(1.2); }
.safety-tools{
	padding: 0 30px 0;
	margin: 50px 0 0;
}
section.safety-tools img{
    margin: 0 5px;
    font-size: 14px;
    padding: 5px;
    width: 150px;
}
.home-cat a{
    text-decoration: none;
}
.home-cat span {
    box-shadow: 0 0 4px #8e8e8ef5;
    background: #ffca08;
    border-radius: 5px;
    padding: 5px 7px 5px;
    margin-right: 0;
    margin-left: 18px;
    font-size: 14px;
    color: black;
}
.safety-tools .des-cat {
	background: #fff;
    padding: 100px 60px;
    border-radius: 10px;
    text-align: justify;
    margin: auto auto 30px;
	height: 420px;
}
.safety-tools ul{
	margin: 0 auto;
}
section.safety-tools ul li{
    display: inline-block;
	text-align: center;
	margin-bottom: 10px;
}
section.safety-tools ul li a{
	color: #222222;
	text-decoration: none;
}
.home-cat div strong{
	display: block;
}
.home-cat div:first-child{
    width: 50%;
    display: inline-block;
}
.home-cat div:last-child{
	width: 50%;
    display: inline-block;
    text-align: left;
    float: left;
}
.product-card-custom h3 a,.woocommerce-Price-amount bdi{
	color: black !important;
}
.product-card-custom h3{
	height: 60px !Important;
}

@media (max-width: 768px) {
    .slider { height: 220px; }
    .slide-content h2 { font-size: 1.2rem; }
	.safety-tools p {padding: 20px;}
	.safety-tools ul{text-align: center;}
	section.safety-tools ul li{width:49%;}
	.home-cat div:first-child{width: 100%;}
	.home-cat div:last-child{width: 100%;}	
	.safety-tools .des-cat {
		padding: 20px;
		height: auto;
	}
	.safety-tools .des-cat p{
		text-align: right;
	}
}

.home main#main {
    margin: 0;
}
/* products carousel */
.product-card {
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    background: #fff;
    transition: 0.3s;
}
.product-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.product-thumb img { max-width: 100%; height: auto; margin-bottom: 15px; }
.product-title { font-size: 14px; height: 40px; overflow: hidden; margin-bottom: 10px; }
.product-title a { color: #333; text-decoration: none; }
.product-price { color: #e91e63; font-weight: bold; margin-bottom: 15px; }
.add-to-cart-btn {
    background: #ebebeb;
    color: #555;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    transition: 0.3s;
}
.add-to-cart-btn:hover { background: #dcdcdc; }
/* راست‌چین کردن برای فارسی */
.imax-carousel { direction: rtl; }
section.products-slide h2 img{
width: 60px;
    height: 60px;
    margin: 30px auto auto;
    border: 4px solid #000000;
    border-radius: 100%;
    outline: 3px solid #b8b8b8;
    box-shadow: 0 0 0 10px #ffca08;
    padding: 5px;
}
section.products-slide h2{
    margin: 20px 0 10px;
}
section.products-slide h2 div{
   margin: -60px 80px 50px 40px;
}
.call-for-price-link{
	background: white;
    color: #000 !important;
    line-height: 60px !important;
}
.main-navigation .main-nav ul li a {
    padding: 0 5px;
    color: black;
}
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a{
	color: #636363;	
}
.rtl .main-navigation .main-nav ul li.menu-item-has-children > a:hover{
	color: #636363;	
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a{
	color: #636363;
}
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a{
	color: black;
}
.dropdown-click .main-navigation ul ul ul.toggled-on {
    background: #ffffff;
    box-shadow: 0 0 5px lightgray;
    border-radius: 5px 0 0 5px;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    font-size: .92em;
    color: #282828;
    background: #ffca08;
    padding: 10px;
    border-radius: 25px;
	width: fit-content;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb a{
	color: black;
	font-weight: bold;
}
a.generate-back-to-top {
    background-color: #ffca08;
    color: #ffffff;
    border-radius: 10px;
}
.generate-back-to-top{
	right: auto;
	left: 30px !important;
}
aside#custom_html-2 ul li{
    margin-right: 30px;
    line-height: 2em;
}
.socialbuttons {
    position: fixed;
    bottom: 10px;
    right: -20px;
    z-index: 999;
}
.socialbuttons ul li{
    margin: 0;
    line-height: 0 !important;
}

@media (max-width: 768px) {
	.home #main section:nth-child(3) h2 img{
    	margin-top: 100px !Important;
	}
	.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb{
		font-size: 0.72em;
	}
}
/********************************************footer****************************************/
@media (max-width: 768px) {
	.socialbuttons{
		width: auto;
		z-index: 20;
	}
	a.generate-back-to-top{
		bottom: 80px;
	}
}
/****************************************single-post******************************************/
.single-post .featured-image img{
	width: 100%;
}
.site-footer {
    position: relative;
}
.single-post a{
    font-weight: bold;
}
.single-post li a{
    line-height: 2.5em;
}
/*****************************************blog****************************************/
aside#recent-posts-3 li{
    background: #fff6d5;
    padding: 10px;
    border-radius: 5px;
	box-shadow: 0 0 2px gray;
}
aside#recent-posts-3 li a{
    text-decoration: none;
}
aside#recent-posts-3 .post-date{
    background: #737373;
    color: white;
    display: inline-block;
    margin-top: 5px;
    padding: 1px 5px;;
    border-radius: 5px;
    font-size: 14px;
}
.blog article{
    width: 49%;
    display: inline-block;
}
@media (max-width: 768px) {
	.blog article{
		width: 100%;
	}
	div#ez-toc-container {
    	width: 100%;
	}
}
/******************************single-product*****************/
.single-product .summary .price bdi{font-weight:bold;font-size:25px;
}
.single-product .summary .price bdi:first-child:after {
    content: "مشاوره جهت خرید عمده: 09102598078";
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    color: #000;
    margin: 35px;
    border-radius: 10px;
    padding: 15px 20px;
    line-height: 1.5em;
    text-align: center;

    background: linear-gradient(
        110deg,
        #ebf0ff 0%,
        #fffed1 25%,
        #ffcb0e 50%,
        #fffed1 75%,
        #ebf0ff 100%
    );

    background-size: 300% 300%;
    animation: consultationGradient 5s linear infinite;
}

@keyframes consultationGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}