:root {
	--wd-hb-opt-h: 40px;
	--wd-text-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #83b735;
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.wd-hb {
	background-image: url(http://tarhcad.ir/wp-content/uploads/2026/08/123-scaled.webp);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.wd .product-label.onsale {
	background-color: rgb(129,215,66);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-hb-opt-h: 40px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

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


.wd-page-title {
background-color: #0a0a0a;
}

/* ========================================================
   ۰. بهبودهای پایه و رنگ انتخاب متن
   ======================================================== */
::selection {
    background: #10b981;
    color: #ffffff;
}

/* ========================================================
   ۱. تنظیمات عنوان صفحات (Page Titles)
   ======================================================== */
.page-title-default {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    background-position: center center !important;
    background-size: cover !important;
}

/* ========================================================
   ۲. دکمه‌های سربرگ (حساب کاربری و سبد خرید سه‌بعدی)
   ======================================================== */
/* دکمه حساب کاربری */
.whb-header .wd-header-my-account > a {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    padding: 9px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.45) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.whb-header .wd-header-my-account > a:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 25px -4px rgba(16, 185, 129, 0.6) !important;
}

/* منوی کشویی حساب کاربری */
.whb-header .wd-dropdown-my-account {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #f1f5f9 !important;
}

.whb-header .wd-dropdown-my-account a {
    background-color: #ffffff !important;
    color: #475569 !important;
    padding: 12px 18px !important;
    border-bottom: 1px solid #f8fafc !important;
    transition: all 0.25s ease !important;
    font-size: 13px !important;
}

.whb-header .wd-dropdown-my-account a:hover {
    background-color: #f0fdf4 !important;
    color: #059669 !important;
    padding-right: 24px !important;
}

/* دکمه سبد خرید */
.whb-header .wd-header-cart > a {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    padding: 9px 22px !important;
    border-radius: 50px !important;
    margin-right: 12px !important; 
    font-weight: 700 !important;
    font-size: 13.5px !important;
    box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.45) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.whb-header .wd-header-cart > a:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 25px -4px rgba(245, 158, 11, 0.6) !important;
}

.whb-header .wd-header-cart .wd-cart-number {
    background-color: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    font-size: 12px !important;
    backdrop-filter: blur(4px);
    margin-right: 6px !important;
}

/* ========================================================
   ۳. نوار هدر و سرچ‌باکس شیشه‌ای (Frosted Glass Search)
   ======================================================== */
.whb-header-bottom, .whb-color-dark {
    background: #1e293b !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.whb-header-bottom .wd-search-form {
    width: 100% !important;
    min-width: 320px !important;
}

.whb-header-bottom .wd-search-form input[type="text"] {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
}

.whb-header-bottom .wd-search-form input[type="text"]:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
}

.whb-header-bottom .wd-search-form input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ========================================================
   ۴. کارت‌های محصول مدرن و هم‌تراز
   ======================================================== */
.product-grid-item {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding: 14px !important;
    position: relative !important;
}

.product-grid-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 35px -6px rgba(15, 23, 42, 0.09) !important;
    border-color: #cbd5e1 !important;
}

/* ظرف تصویر شاخص */
.product-grid-item .product-element-top {
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #f8fafc;
    margin-bottom: 12px !important;
    position: relative !important;
}

.product-grid-item .product-element-top img {
    border-radius: 16px !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-grid-item:hover .product-element-top img {
    transform: scale(1.04) !important;
}

/* برچسب‌های درصد تخفیف */
.product-grid-item .product-labels .onsale,
.product-labels .product-label.onsale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    padding: 4px 9px !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
    border: none !important;
}

/* تراز دوخطی عناوین محصولات */
.product-grid-item .wd-entities-title,
.product-grid-item .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
    color: #0f172a !important;
    height: 46px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 8px 0 !important;
    text-align: center !important;
    transition: color 0.2s ease !important;
}

.product-grid-item:hover .wd-entities-title,
.product-grid-item:hover .woocommerce-loop-product__title {
    color: #059669 !important;
}

/* حذف دسته طولانی برای خلوت و مدرن شدن کارت */
.product-grid-item .wd-product-cats {
    display: none !important;
}

/* نوار قیمت */
.product-grid-item .price {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #059669 !important;
    margin: 8px 0 4px 0 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.product-grid-item .price del {
    color: #94a3b8 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    opacity: 0.8;
}

.product-grid-item .price ins {
    text-decoration: none !important;
    color: #059669 !important;
}

/* ========================================================
   ۵. پنل اکشن‌های هاور شناور (سبد خرید، علاقه‌مندی، مشاهده سریع)
   ======================================================== */
.product-grid-item .wd-buttons,
.product-grid-item .woodmart-buttons {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 15 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 6px !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-grid-item:hover .wd-buttons,
.product-grid-item:hover .woodmart-buttons {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* آیکون‌های داخل پنل هاور */
.product-grid-item .wd-buttons .wd-action-btn > a,
.product-grid-item .woodmart-buttons .wd-action-btn > a {
    width: 35px !important;
    height: 35px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-grid-item .wd-action-btn > a:hover {
    background: #10b981 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

.product-grid-item .wd-add-btn > a:hover,
.product-grid-item .add-to-cart-loop:hover {
    background: #f59e0b !important;
    color: #ffffff !important;
}

/* آیکون مقایسه و تولتیپ‌ها */
.product-grid-item .wd-compare-btn a,
.product-grid-item .compare-button a {
    color: #94a3b8 !important;
    transition: color 0.2s ease !important;
}

.product-grid-item .wd-compare-btn a:hover,
.product-grid-item .compare-button a:hover {
    color: #10b981 !important;
}

.wd-tooltip .wd-tooltip-label {
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 11px !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* ========================================================
   ۶. استایل کارت‌های ستون کناری (سایدبار)
   ======================================================== */
.sidebar-widget, 
.widget-area .widget {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #eef2f6 !important;
    padding: 24px !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 25px !important;
}

.widget-title, .widgettitle {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
    margin-bottom: 18px !important;
    position: relative;
}

.widget-title::after, .widgettitle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 35px;
    height: 2px;
    background: #10b981;
    border-radius: 2px;
}

/* استایل برچسب سبز رنگ رایگان */
.badge-free-product {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background-color: #27ae60 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 9px !important;
    border-radius: 4px !important;
    z-index: 10 !important;
    line-height: 1.4 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}

/* زیباتر شدن برچسب تخفیف قرمز */
.product-labels .onsale,
.woodmart-product-badge.onsale {
    background-color: #e74c3c !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
}@media (max-width: 576px) {
	/* -- زیباسازی آیکون حساب کاربری در موبایل (دایره سبز مات) -- */
.whb-header .wd-header-my-account > a {
    background-color: #65b531 !important;
    color: #ffffff !important;
    border-radius: 50% !important; /* تبدیل به دایره کامل برای اشغال فضای کمتر */
    box-shadow: 0px 4px 10px rgba(101, 181, 49, 0.4) !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* -- زیباسازی آیکون سبد خرید در موبایل (دایره نارنجی مات) -- */
.whb-header .wd-header-cart > a {
    background-color: #ffb400 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0px 4px 10px rgba(255, 180, 0, 0.4) !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 10px !important;
}

/* -- تنظیم جایگاه عدد سبد خرید روی آیکون موبایل -- */
.whb-header .wd-header-cart .wd-cart-number {
    background-color: #ffffff !important;
    color: #ffb400 !important;
    top: -3px !important;
    right: -3px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
}
}

