/*
 Theme Name:   Woodmart Child Final
 Description:  Fixed Email Version
 Author:       Farshad
 Template:     woodmart
 Version:      1.0.0
*/

/* ۱. تعریف دقیق تمام وزن‌های فونت از پوشه fonts */

@font-face {
    font-family: 'YekanBakh';
    src: url('fonts/YekanBakhFaNum-Thin.woff2') format('woff2'), url('fonts/YekanBakhFaNum-Thin.woff') format('woff');
    font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('fonts/YekanBakhFaNum-Light.woff2') format('woff2'), url('fonts/YekanBakhFaNum-Light.woff') format('woff');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('fonts/YekanBakhFaNum-Regular.woff2') format('woff2'), url('fonts/YekanBakhFaNum-Regular.woff') format('woff');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('fonts/YekanBakhFaNum-SemiBold.woff2') format('woff2'), url('fonts/YekanBakhFaNum-SemiBold.woff') format('woff');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('fonts/YekanBakhFaNum-Bold.woff2') format('woff2'), url('fonts/YekanBakhFaNum-Bold.woff') format('woff');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('fonts/YekanBakhFaNum-ExtraBold.woff2') format('woff2'), url('fonts/YekanBakhFaNum-ExtraBold.woff') format('woff');
    font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('fonts/YekanBakhFaNum-Black.woff2') format('woff2'), url('fonts/YekanBakhFaNum-Black.woff') format('woff');
    font-weight: 900; font-style: normal; font-display: swap;
}

/* ۲. اعمال فونت به کل سایت */
body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, textarea, select {
    font-family: 'YekanBakh', sans-serif !important;
}

/* ۳. لیست استثنائات (آیکون‌ها، ستاره‌ها، آیکون کپی‌رایت و آیکون‌های اشتراک‌گذاری) */

/* این بخش مانع از مربع شدن آیکون‌ها می‌شود */
.fa, .fas, .far, .fab, .fal, .fad, 
[class^="fa-"], [class*=" fa-"], 
[class^="wd-icon-"], [class*=" wd-icon-"],
.woodmart-font-icon, .wd-icon, .star-rating, .star-rating span {
    font-family: "woodmart-font", "Font Awesome 5 Free", sans-serif !important;
    font-weight: 900 !important;
}

/* این بخش اختصاصی آیکون‌های اشتراک‌گذاری در صفحه محصول را هدف قرار می‌دهد */
.wd-social-icon,
.wd-social-icon i,
.wd-social-icons a,
.wd-social-icons a i,
/* هدف‌گیری آیکون‌های اجتماعی Font Awesome برند */
.fab.fa-facebook-f, .fab.fa-twitter, .fab.fa-instagram, .fab.fa-whatsapp, .fab.fa-telegram-plane, .fab.fa-pinterest, .fab.fa-linkedin-in, .fab.fa-vk, .fab.fa-pushed {
    font-family: "Font Awesome 5 Brands", "woodmart-font" !important;
    font-weight: normal !important; /* آیکون‌های برند معمولاً به وزن ۹00 نیاز ندارند */
}

/* اصلاح اختصاصی آیکون کپی رایت فوتر */
.fa-copyright:before {
    font-family: "Font Awesome 5 Free" !important;
    content: "\f1f9" !important;
}

tr.woocommerce-shipping-totals.shipping th {
    width: 30%;
}
.shipping p.woocommerce-shipping-destination {
    border-top: 1px solid #e4e4e4;
    padding-top: 10px;
}

.product-element-bottom .star-rating, .compare-value .star-rating{
    display: none;
}

.wd-star-rating {
    display: none;
}

.woocommerce-variation-availability p.stock.in-stock {
    display: none;
}


.wd-sticky-btn .stock.in-stock.wd-style-bordered {
    display: none;
}


.wa__widget_container div {
    font-family: 'YekanBakh', sans-serif !important;;
}
.wa__btn_popup_txt {
    width: 190px !important;
}
.wa__btn_popup_txt {
    font-weight: 800;
}

.wa__btn_title {
    text-align: right;
    padding-right: 0 !important;
}

.wa__cs_info {
    margin-bottom: 2px;
    text-align: right;
}

.wa__btn_w_icon .wa__btn_txt {
    padding: 16px 0px 15px 80px !important;
}

a.wa__button.wa__sq_button.wa__stt_online.wa__btn_w_icon {
    font-family: 'YekanBakh', sans-serif !important;;
}

.wa__popup_avatar.nta-default-avt {
    width: 50px;
    height: 50px;
    background: url(https://aghayebazar.com/wp-content/uploads/2023/07/avatar.png);
}

.wa__popup_avatar.nta-default-avt svg{
	display:none !important
}

.wa__btn_icon img {
    display: none;
}

.wa__btn_icon {
    width: 50px;
    height: 50px;
    background: url(https://aghayebazar.com/wp-content/uploads/2023/07/avatar.png);
}

/*header.whb-sticky-prepared .whb-main-header{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
header.whb-sticky-prepared .whb-top-bar h1 {
    font-size: 15px !important;
	color:white !important
}
header.whb-sticky-prepared .whb-top-bar{
    display: flex;
    order: 2;
    width: 100%;
    background: #005ac6;
}
header.whb-sticky-prepared .whb-header-bottom{
    display: flex;
    order: 3;
    width: 100%;
}
header.whb-sticky-prepared .whb-general-header{
    display: flex;
    order: 1;
    width: 100%;
}
*/

/* Css Form */
#registration_form input {
  width: 100% !important;
}
#registration_form {
  width: 50%;
  margin: 0 auto;
  padding: 40px;
  background: #fbfbfb;
  border: 1px solid white;
  text-align: right;
}
#registration_form input {
  width: 100% !important;
}

#wwlc-register {
  background: #1c61e7;
  border-radius: 5px;
  color: white;
}
#wwlc-register:hover {
  background: #1351c8;
}
@media (max-width:999px){
	#registration_form {
		width: 90%;
	}
}

/* ۱. حذف کامل و بدون اثر دکمه در نوار چسبنده پایین */
.wd-sticky-btn-cart .bale-btn-wrapper {
    display: none !important;
    position: absolute !important; /* خارج کردن از محاسبات تراز Flex */
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

/* ۲. استایل دکمه در صفحه اصلی محصول (بدون تغییر) */
.bale-consult-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #00bcd4 !important;
    color: #ffffff !important;
    margin-top: 15px; /* این فاصله فقط در جای اصلی اعمال می‌شود */
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.bale-consult-btn:hover {
    background-color: #00acc1 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.bale-consult-btn i {
    margin-left: 10px;
    font-size: 18px;
}