@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//bamak.co/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.8") format("woff2");
}

:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 15px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 600;
	--wd-title-transform: none;
	--wd-title-color: rgb(0,0,0);
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: rgb(25,25,25);
	--wd-entities-title-color-hover: rgb(28, 28, 28);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: rgb(0,0,0);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: iranyekan;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(221,51,51);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: rgb(0,102,191);
	--btn-default-bgcolor-hover: rgb(30,115,190);
	--btn-accented-bgcolor: rgb(0,102,191);
	--btn-accented-bgcolor-hover: rgb(224,116,8);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(221,51,51);
	--wd-link-color-hover: rgb(30,115,190);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.product-labels .product-label.onsale {
	background-color: rgb(221,51,51);
}
.product-labels .product-label.attribute-label:not(.label-with-img) {
	background-color: rgba(221,0,0,0.86);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1280px;
--wd-form-brd-radius: 35px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

@media (min-width: 1280px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(33,173,209);
}

/* ==============================================
   نسخه نهایی (اصلاح شده): دکمه کاملاً چسبیده
   ============================================== */

:root {
  --ind-color: #ff6600; 
  --ind-dark: #212121;
  --ind-gray: #f9f9f9;
  --ind-border: #eaeaea;
  --card-radius: 12px;
}

/* 1. کانتینر اصلی */
.product-grid-item .product-wrapper {
    background-color: #fff !important;
    border: 1px solid var(--ind-border) !important;
    border-radius: var(--card-radius) !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important; 
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    height: 100%; 
}

/* افکت هاور */
.product-grid-item:hover .product-wrapper {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-color: var(--ind-color) !important;
    transform: translateY(-5px);
}

/* 2. تصویر محصول */
.product-grid-item .product-element-top {
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
}
.product-grid-item:hover .product-element-top img {
    transform: scale(1.08);
    transition: transform 0.6s ease;
}

/* 3. نوار مشاهده فنی */
.tech-view-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 102, 0, 0.9);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    padding: 6px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 5;
}
.product-grid-item:hover .tech-view-overlay {
    transform: translateY(0);
}

/* 4. بدنه محتوا - نکته مهم: پدینگ پایین باید کم شود */
.product-grid-item .product-element-bottom {
    padding: 15px 15px 0 15px !important; /* پدینگ پایین صفر شد */
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* عنوان */
.product-grid-item .wd-entities-title a {
    font-size: 14px !important;
    color: #333 !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 45px;
}
.product-grid-item .wd-entities-title:after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--ind-color);
    margin: 12px auto !important;
    opacity: 0.5;
}

/* قیمت */
.product-grid-item .price {
    font-size: 16px !important;
    color: #555 !important;
    margin-bottom: 20px !important;
    display: block !important;
}
.product-grid-item .price ins {
    color: var(--ind-color);
    font-weight: bold;
    text-decoration: none;
}

/* 5. دکمه اطلاعات کامل - اصلاح شده برای چسبیدن کامل */
a.industrial-btn {
    display: block;
    /* عرض را بیشتر می‌کنیم و با مارجین منفی میکشیم به چپ و راست */
    width: calc(100% + 32px); 
    margin-left: -16px; 
    margin-right: -16px;
    margin-bottom: -1px; /* برای اطمینان از حذف فاصله مویی پایین */
    
    padding: 14px 0;
    background-color: var(--ind-gray);
    color: #777;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-top: 1px solid var(--ind-border);
    transition: all 0.3s ease;
    margin-top: auto;
}

/* هاور دکمه */
.product-grid-item:hover a.industrial-btn {
    background-color: var(--ind-dark);
    color: #fff;
    border-color: var(--ind-dark);
}

/* مخفی‌سازی‌ها */
.wd-add-btn, .wd-action-btn, .product-grid-item .star-rating, .product-grid-item .wd-product-cats, .wd-buttons {
    display: none !important;
}
/* مخفی کردن دراپ‌داون مرتب‌سازی پیش‌فرض ووکامرس */
.woocommerce-ordering, 
.wd-shop-tools .woocommerce-ordering {
    display: none !important;
}

/* اگر می‌خواهید کل نوار ابزار (شامل دکمه‌های شبکه/لیست) حذف شود، کد زیر را بزنید */
/* (توصیه نمی‌کنم، چون تغییر حالت نمایش برای کاربر مفید است) */
/*
.wd-shop-tools {
    display: none !important;
}
*/
@media (max-width: 576px) {
	/* تعریف فونت‌ها با SWAP برای تمام نام‌های احتمالی */

/* گروه اول: برای نام دقیق IRANSansXFaNum */
@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('https://bamak.co/wp-content/themes/woodmart/fonts/iransansx/woff/IRANSansXFaNum-Regular.woff') format('woff');
    font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('https://bamak.co/wp-content/themes/woodmart/fonts/iransansx/woff/IRANSansXFaNum-Bold.woff') format('woff');
    font-weight: bold; font-style: normal; font-display: swap;
}
/* ... (سایر وزن‌ها اگر نیاز بود، اما معمولاً همین‌ها کافیست) */

/* گروه دوم: برای نام IRANSansX (احتمال زیاد نام اصلی این است) */
@font-face {
    font-family: 'IRANSansX';
    src: url('https://bamak.co/wp-content/themes/woodmart/fonts/iransansx/woff/IRANSansXFaNum-Regular.woff') format('woff');
    font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('https://bamak.co/wp-content/themes/woodmart/fonts/iransansx/woff/IRANSansXFaNum-Bold.woff') format('woff');
    font-weight: bold; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('https://bamak.co/wp-content/themes/woodmart/fonts/iransansx/woff/IRANSansXFaNum-DemiBold.woff') format('woff');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('https://bamak.co/wp-content/themes/woodmart/fonts/iransansx/woff/IRANSansXFaNum-Light.woff') format('woff');
    font-weight: 300; font-style: normal; font-display: swap;
}

/* گروه سوم: برای نام IRANSans (نام قدیمی) */
@font-face {
    font-family: 'IRANSans';
    src: url('https://bamak.co/wp-content/themes/woodmart/fonts/iransansx/woff/IRANSansXFaNum-Regular.woff') format('woff');
    font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'IRANSans';
    src: url('https://bamak.co/wp-content/themes/woodmart/fonts/iransansx/woff/IRANSansXFaNum-Bold.woff') format('woff');
    font-weight: bold; font-style: normal; font-display: swap;
}

}

