/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
:is(.e-loop-item .elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .e-loop-item .elementor-widget-woocommerce-product-add-to-cart) form.cart .button {text-align: center;font-family: 'EstedadFN';}
.woocommerce span.onsale {background-color: #2a964a;font-family: 'EstedadFN';}
.woocommerce .elementor-857 .elementor-element.elementor-element-dce2ddf form.cart table.variations td.value select, .woocommerce .elementor-857 .elementor-element.elementor-element-dce2ddf form.cart table.variations td.value:before {width: 100%;height: 50px;}
.woocommerce div.product form.cart .reset_variations {font-family: 'EstedadFN';color: #2a964a;}
.woocommerce .woocommerce-error .button, .woocommerce .woocommerce-info .button, .woocommerce .woocommerce-message .button, .woocommerce-page .woocommerce-error .button, .woocommerce-page .woocommerce-info .button, .woocommerce-page .woocommerce-message .button {font-family: 'EstedadFN';}
.woocommerce-message {font-family: 'EstedadFN';}
.woocommerce .woocommerce-ordering select {font-family: 'EstedadFN';}
.woocommerce .woocommerce-result-count {font-family: 'EstedadFN';}
#chaty-widget-0 .on-hover-text {font-family: 'EstedadFN';}
.woocommerce #review_form #respond .form-submit input {font-family: 'EstedadFN';}
.woocommerce p.stars a {color: #2a964a;}
.elementor-765 .elementor-element.elementor-element-cf8ce17.elementor-wc-products ul.products li.product .price ins .amount {display: inline-block;color: #3f8749 !important;}
.elementor-765 .elementor-element.elementor-element-cf8ce17.elementor-wc-products ul.products li.product span.onsale {background-color: #000 !important;}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {color: #000000;font-size: 1.6em;}
.elementor-857 .elementor-element.elementor-element-828e51a.elementor-wc-products ul.products li.product .price ins .amount {display: inline-block;color: #3f8749 !important;}
.comment-metadata {background: #ededed;padding: 8px;border-radius: 5px;}
.comment-metadata a {color: #4b4b4b;font-size: 13px;}
a.comment-reply-link {float: left;padding: 4px 6px;background: #d63362;color: white;font-size: 13px;border-radius: 5px;}
a.comment-reply-link:hover {color: white;}
body.rtl #comments .children {padding-left: 0;padding-right: 20px;margin-top: 12px;}
body.rtl #comments ol.comment-list .children:before {content: "\21A9";right: 31px;font-size: 25px;top: 6px;}
#comments .comment .comment-body, #comments .pingback .comment-body {border-bottom: none;}
.form-submit input#submit {background: #65D49A;border: none;color: white;}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {width: 100%;border: 1px solid #66666654;border-radius: 22px;padding: .5rem 1rem;transition: all .3s;margin-top: 16px; }
.css-rank-el {color: white;}
button.woocommerce-Button.button {margin-top: 12px;}
blockquote {background: #f6f6f6;padding: 15px 15px 1px 15px;border-radius: 11px;color: #434343;}
.tag-a-white a, .tag-a-white a:hover {color:white}
#comments .children li:last-child {padding-bottom: 0;margin-bottom: 14px;   }
body.rtl #comments .comment .comment-body, body.rtl #comments .pingback .comment-body {padding: 30px 20px; border: 1px solid #e5e5e5;border-radius: 20px;background: #c1c1c115; }
.commentlist .bypostauthor {background:#3399FF ;border-bottom:#FF3333 3px solid ;}
.commentlist li ul.children li.bypostauthor {border-top:#e18728 10px solid ;}
body.rtl #comments .comment .avatar, body.rtl #comments .pingback .avatar {right:16px ;}
#comments .comment-author, #comments .comment-metadata {margin-right :46px ;}
#comments .comment-meta {display :grid ;}
.comment-author.vcard {margin-bottom :13px ;}
textarea#comment { border-radius :8px ;font-size :14px ;}
.comment-form-comment label {font-size :14px ;margin-bottom :13px ;margin-right :7px ;}
#cancel-comment-reply-link {margin-right :10px ;}
#comments .comment, #comments .pingback { margin-bottom :13px ;}
ol.children .comment-body { background:#e9f4ed !important;}
.form-submit input#submit {background: #000000;font-family: 'EstedadFN';padding: 10px;border-radius: 10px;}

::selection {
	color: #ffffff;
	background-color: #1450A3;
}

::-webkit-scrollbar-track {
	background: #ccc;
}

::-webkit-scrollbar {
	width: 5px;
	background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
	background: #757a86;
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: #1450A3;
}

body {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}

.icon-call-calling {
	transform: rotate(270deg);
}

.woocommerce .star-rating span {
    color: #000;
}
.custom-avatar {
    font-family: 'Estedad', sans-serif !important;
}

/* استایل نشان درصد تخفیف */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
    background-color: #000; /* رنگ پس‌زمینه */
    color: #ffffff; /* رنگ متن */
    font-size: 14px; /* اندازه فونت */
    font-weight: bold;
    border-radius: 50%; /* گرد کردن کامل */
    min-width: 60px;
    min-height: 60px;
    line-height: 60px;
    text-align: center;
    padding: 0;
}

/* تغییر اندازه در موبایل */
@media (max-width: 768px) {
    .woocommerce span.onsale {
        min-width: 45px;
        min-height: 45px;
        font-size: 12px;
        line-height: 45px;
    }
}