.wc-tp-pricing-table-wrapper {
    margin: 20px 0;
    padding: 15px;
    border: 1px dashed #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
}

.wc-tp-table-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 15px;
    color: #1e293b;
    font-weight: bold;
}

.wc-tp-tiered-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    font-size: 14px;
}

.wc-tp-tiered-table th, 
.wc-tp-tiered-table td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #edf2f7;
}

.wc-tp-tiered-table th {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 600;
}

/* استایل ردیف فعال و هایلایت شده */
.wc-tp-tiered-table tr.wc-tp-active-tier {
    background-color: #f0fdf4 !important; /* سبز ملایم */
    border: 2px solid #22c55e;
}

.wc-tp-tiered-table tr.wc-tp-active-tier td {
    color: #15803d;
    font-weight: bold;
}

.wc-tp-save-badge {
    background-color: #ef4444;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    display: inline-block;
}
/* بج روش اول (در کنار دکمه حراج) */
span.wc-tp-archive-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important; /* رنگ نارنجی طلایی جذاب */
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: bold !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    margin-left: 5px;
    display: inline-block;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* بج روش دوم (موقعیت‌دهی مطلق روی تصویر محصول) */
.woocommerce ul.products li.product, 
.products .product {
    position: relative; /* برای اینکه موقعیت بج نسبت به کارت محصول فیکس شود */
}

.wc-tp-image-badge-wrapper {
    position: absolute;
    top: 10px;
    right: 10px; /* موقعیت در بالا سمت راست تصویر */
    z-index: 9;
}

.wc-tp-badge-text {
    background-color: #2563eb; /* رنگ آبی تجاری شیک (می‌توانید به قرمز یا سبز تغییر دهید) */
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    letter-spacing: 0.5px;
    display: inline-block;
}

/* راست‌چین کردن متون لود شده در کل افزونه */
.wc-tp-pricing-table-wrapper, 
.wc-tp-tiered-table {
    direction: rtl;
    text-align: right;
}