.itwpt-wrap,.itwpt-archive-wrap{direction:rtl;width:100%;font-family:inherit}.itwpt-price{font-variant-numeric:tabular-nums}.itwpt-time{font-size:13px;color:#666}.itwpt-change{display:inline-flex;align-items:center;gap:4px;font-weight:700;direction:rtl;white-space:nowrap}.itwpt-change--up{color:#159447}.itwpt-change--down{color:#d92d20}.itwpt-change--neutral{color:#7a7f87}.itwpt-usd{display:inline-block;font-variant-numeric:tabular-nums;white-space:nowrap}.itwpt-inline-value,.itwpt-inline-time{display:inline-block}.itwpt-error{direction:rtl;padding:12px 14px;border:1px solid #f1c2c2;border-radius:8px;background:#fff5f5;color:#a61b1b}
.itwpt-table-scroll{width:100%;overflow-x:auto;border:1px solid #e7e9ed;border-radius:12px;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.04)}.itwpt-table{width:100%;min-width:820px;border-collapse:collapse;background:#fff}.itwpt-table th,.itwpt-table td{padding:14px 16px;text-align:center;vertical-align:middle;border-bottom:1px solid #edf0f2;white-space:nowrap}.itwpt-table th{font-size:14px;font-weight:700;color:#222;background:#fafbfc}.itwpt-table tbody tr:last-child td{border-bottom:0}.itwpt-table tbody tr{transition:background-color .18s ease}.itwpt-table tbody tr:hover{background:#fafbfd}.itwpt-product-col,.itwpt-product{text-align:right!important}.itwpt-product a{color:#202124;font-weight:700;text-decoration:none}.itwpt-product a:hover{color:var(--wd-primary-color,#2563eb)}.itwpt-more{margin-top:10px}.itwpt-more a{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:7px;background:#f1f2f4;color:#555;font-size:13px;font-weight:700;text-decoration:none;transition:.18s ease}.itwpt-more a:hover{background:#e8eaed;color:#222}.itwpt-plus{font-size:20px;font-weight:800;line-height:1}
.itwpt-archive-wrap{margin:18px 0 22px}.itwpt-archive-table-wrap{width:100%;overflow-x:auto;background:#fff;border:1px solid #e8eaed;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.025)}.itwpt-archive-table{width:100%;min-width:1040px;border-collapse:collapse;border-spacing:0;margin:0;background:#fff}.itwpt-archive-table th,.itwpt-archive-table td{padding:14px 12px;text-align:center;vertical-align:middle;border-bottom:1px solid #eef0f2;border-left:1px solid #f3f4f5;line-height:1.75}.itwpt-archive-table th:last-child,.itwpt-archive-table td:last-child{border-left:0}.itwpt-archive-table thead th{background:#fafbfc;color:#333;font-size:13px;font-weight:700;white-space:nowrap}.itwpt-archive-table tbody tr{background:#fff;transition:background-color .16s ease}.itwpt-archive-table tbody tr:hover{background:#fafbfd}.itwpt-archive-table tbody tr:last-child td{border-bottom:0}.itwpt-archive-table .itwpt-a-name{text-align:right;min-width:220px}.itwpt-archive-product-link{display:block;color:#202124;font-weight:700;text-decoration:none;transition:color .16s ease}.itwpt-archive-product-link:hover{color:var(--wd-primary-color,#2563eb)}.itwpt-archive-table .itwpt-a-price,.itwpt-archive-table .itwpt-a-week-min,.itwpt-archive-table .itwpt-a-week-max,.itwpt-archive-table .itwpt-a-usd{white-space:nowrap}.itwpt-archive-table .itwpt-a-brand{min-width:105px}.itwpt-archive-table .itwpt-a-updated{min-width:135px;white-space:nowrap}.itwpt-archive-table tr.product{float:none!important;width:auto!important;max-width:none!important;margin:0!important;position:static!important}
@media(max-width:767px){.itwpt-table-scroll,.itwpt-archive-table-wrap{overflow-x:visible}.itwpt-table,.itwpt-archive-table{width:100%;min-width:0;table-layout:fixed}.itwpt-weekly-extra,.itwpt-a-mobile-hide{display:none!important}.itwpt-table th,.itwpt-table td,.itwpt-archive-table th,.itwpt-archive-table td{padding:11px 6px;font-size:12px;line-height:1.65;white-space:normal}.itwpt-table th:nth-child(1),.itwpt-table td:nth-child(1){width:40%}.itwpt-table th:nth-child(2),.itwpt-table td:nth-child(2){width:29%}.itwpt-table th:nth-child(6),.itwpt-table td:nth-child(6){width:31%}.itwpt-archive-table .itwpt-a-name{width:42%;min-width:0}.itwpt-archive-table .itwpt-a-price{width:28%}.itwpt-archive-table .itwpt-a-updated{width:30%;min-width:0;white-space:normal}.itwpt-product a,.itwpt-archive-product-link{display:block;overflow-wrap:anywhere;line-height:1.7}.itwpt-price{white-space:nowrap!important;font-size:11.5px}.itwpt-time{font-size:10.8px;line-height:1.65;white-space:normal}.itwpt-more{margin-top:8px}.itwpt-more a{font-size:12px;padding:7px 10px}}
@media(max-width:380px){.itwpt-table th,.itwpt-table td,.itwpt-archive-table th,.itwpt-archive-table td{padding-right:4px;padding-left:4px;font-size:10.8px}.itwpt-price,.itwpt-time{font-size:10.2px}}


/* Price charts - v1.3.0 */
.itwpt-chart-cell,.itwpt-chart-col,.itwpt-a-chart{width:58px;min-width:58px;text-align:center!important;overflow:visible!important}
.itwpt-mini-chart-source{position:relative;display:inline-flex;align-items:center;justify-content:center}
.itwpt-chart-trigger{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:4px;border:0;border-radius:8px;background:transparent;cursor:pointer;transition:background-color .16s ease,transform .16s ease;box-shadow:none!important;outline:0}
.itwpt-chart-trigger:hover,.itwpt-chart-trigger:focus-visible{background:#f3f6f8;transform:translateY(-1px)}
.itwpt-chart-trigger img{display:block;width:26px;height:26px;object-fit:contain}
.itwpt-floating-chart{position:fixed;z-index:999999;width:310px;max-width:calc(100vw - 24px);padding:11px 12px 10px;background:#fff;border:1px solid #e4e8ec;border-radius:11px;box-shadow:0 12px 34px rgba(24,35,52,.14);opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .14s ease,transform .14s ease,visibility .14s ease;direction:rtl}
.itwpt-floating-chart.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.itwpt-floating-chart__title{margin:0 0 6px;color:#343a40;font-size:12px;font-weight:700;text-align:right}
.itwpt-price-chart-card{direction:rtl;width:100%;padding:18px 18px 12px;background:#fff;border:1px solid #e6e9ed;border-radius:14px;box-shadow:0 4px 18px rgba(20,30,45,.045)}
.itwpt-price-chart-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:8px}
.itwpt-price-chart-head strong{display:block;color:#23272d;font-size:17px;line-height:1.8}
.itwpt-price-chart-head span{display:block;margin-top:1px;color:#8a9098;font-size:12px;line-height:1.7}
.itwpt-price-chart{position:relative;width:100%;direction:ltr;color:#2b78d4}
.itwpt-price-chart--full{height:315px;min-height:315px}
.itwpt-price-chart--mini{height:130px;min-height:130px}
.itwpt-chart-canvas{position:relative;width:100%;height:100%;min-height:inherit;overflow:visible}
.itwpt-chart-canvas svg{display:block;width:100%;height:100%;overflow:visible}
.itwpt-chart-grid{stroke:#edf0f3;stroke-width:1;vector-effect:non-scaling-stroke}
.itwpt-chart-line{fill:none;stroke:#3278c8;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.itwpt-price-chart--mini .itwpt-chart-line{stroke-width:2}
.itwpt-chart-point{fill:#fff;stroke:#3278c8;stroke-width:2.25;cursor:pointer;vector-effect:non-scaling-stroke;transition:r .12s ease}
.itwpt-chart-point:hover,.itwpt-chart-point:focus{r:6px}
.itwpt-price-chart--mini .itwpt-chart-point{stroke-width:2}
.itwpt-chart-axis-text{fill:#8a9098;font-size:10px;font-family:inherit}
.itwpt-chart-axis-price{fill:#7a818a;font-size:10px;font-family:inherit;text-anchor:start}
.itwpt-chart-tooltip{position:absolute;z-index:4;min-width:122px;max-width:190px;padding:7px 9px;background:#222a33;color:#fff;border-radius:7px;box-shadow:0 6px 18px rgba(0,0,0,.14);font-size:10px;line-height:1.65;direction:rtl;text-align:right;pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%,-112%);transition:opacity .1s ease,visibility .1s ease;white-space:nowrap}
.itwpt-chart-tooltip.is-visible{opacity:1;visibility:visible}
.itwpt-chart-tooltip strong{display:block;margin-bottom:1px;color:#fff;font-size:11px;font-weight:700}
.itwpt-chart-tooltip span{display:block;color:#dce2e8}
.itwpt-chart-empty{display:flex;align-items:center;justify-content:center;min-height:180px;color:#8b9198;font-size:13px;text-align:center;direction:rtl}
.itwpt-price-chart--mini .itwpt-chart-empty{min-height:105px;font-size:11px}

@media(max-width:767px){
  .itwpt-home-table .itwpt-table th:nth-child(1),.itwpt-home-table .itwpt-table td:nth-child(1){width:35%}
  .itwpt-home-table .itwpt-table th:nth-child(2),.itwpt-home-table .itwpt-table td:nth-child(2){width:27%}
  .itwpt-home-table .itwpt-table th:nth-child(6),.itwpt-home-table .itwpt-table td:nth-child(6){width:28%}
  .itwpt-home-table .itwpt-table th:nth-child(7),.itwpt-home-table .itwpt-table td:nth-child(7){width:10%;padding-left:2px;padding-right:2px}
  .itwpt-archive-table .itwpt-a-name{width:35%}
  .itwpt-archive-table .itwpt-a-price{width:27%}
  .itwpt-archive-table .itwpt-a-updated{width:28%}
  .itwpt-archive-table .itwpt-a-chart{width:10%;min-width:0;padding-left:2px;padding-right:2px}
  .itwpt-chart-trigger{width:30px;height:30px;padding:3px}
  .itwpt-chart-trigger img{width:23px;height:23px}
  .itwpt-price-chart-card{padding:14px 10px 9px;border-radius:11px}
  .itwpt-price-chart--full{height:265px;min-height:265px}
  .itwpt-price-chart-head strong{font-size:15px}
  .itwpt-price-chart-head span{font-size:11px}
}


.itwpt-cat-tabs{direction:rtl;width:100%}
.itwpt-cat-tabs-nav{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}
.itwpt-cat-tab{
background:#f4ead8;border:1px solid #ead9b8;border-radius:18px;
padding:10px 28px;cursor:pointer;color:#555;font-family:inherit;
}
.itwpt-cat-tab.active{background:#ead6ad}
.cat-head .dot,.itwpt-cat-tab .dot{
display:inline-block;width:8px;height:8px;border-radius:50%;
background:var(--grad,#c9a96b);margin-left:8px;
}
.itwpt-tabs-table{width:100%;direction:rtl}
.itwpt-tabs-table th,.itwpt-tabs-table td{text-align:right}
@media(max-width:767px){
 .itwpt-cat-tabs-nav{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
 .itwpt-cat-tab{white-space:nowrap;min-width:max-content}
}


/* ================================
   Custom Card Design System v1.4.1
   Based on provided reference layout
================================ */

.itwpt-wrap,
.itwpt-archive-wrap{
    direction:rtl;
    width:100%;
}

.itwpt-table-scroll,
.itwpt-archive-table-wrap{
    overflow:hidden;
    background:#fff;
    border:1px solid #e6e2d8;
    border-radius:20px;
    box-shadow:0 2px 8px rgba(80,60,20,.05);
}

.itwpt-table,
.itwpt-archive-table{
    width:100%;
    min-width:0;
    border-collapse:collapse;
    background:#fff;
}

.itwpt-table th,
.itwpt-archive-table th{
    background:#faf9f6;
    color:#333;
    font-size:13px;
    font-weight:700;
    padding:14px 16px;
    border-bottom:1px solid #eee8dc;
}

.itwpt-table td,
.itwpt-archive-table td{
    padding:13px 12px;
    text-align:center;
    vertical-align:middle;
    border-bottom:1px solid #f1ede5;
    font-size:13px;
}

.itwpt-table tbody tr:hover,
.itwpt-archive-table tbody tr:hover{
    background:#fafaf8;
}

.itwpt-product-col,
.itwpt-product,
.itwpt-a-name{
    text-align:right!important;
}

.itwpt-product a,
.itwpt-archive-product-link{
    color:#242424;
    font-weight:700;
    text-decoration:none;
}

.itwpt-product a:hover,
.itwpt-archive-product-link:hover{
    color:#408b85;
}

/* View all button */
.itwpt-more{
    margin:0;
    padding:12px 16px 16px;
}

.itwpt-more a{
    display:block;
    text-align:center;
    width:100%;
    padding:11px;
    border-radius:13px;
    background:#f5f4ef;
    border:1px solid #e6e2d8;
    color:#555;
    font-size:12.5px;
    font-weight:700;
    transition:.2s ease;
}

.itwpt-more a:hover{
    background:#408b85;
    color:#fff;
}

/* Rounded mobile card */
@media(max-width:767px){
    .itwpt-table-scroll,
    .itwpt-archive-table-wrap{
        border-radius:16px;
    }

    .itwpt-table th,
    .itwpt-table td,
    .itwpt-archive-table th,
    .itwpt-archive-table td{
        padding:11px 7px;
        font-size:12px;
    }

    .itwpt-more a{
        padding:10px;
    }
}


/* Category Tabs v1.4.2 */
.itwpt-cat-tabs{
 direction:rtl;
 width:100%;
}
.itwpt-cat-tabs-nav{
 display:flex;
 justify-content:center;
 align-items:center;
 gap:10px;
 flex-wrap:nowrap;
 margin:0 auto 22px;
}
.itwpt-cat-tab{
 min-width:130px;
 height:68px;
 border-radius:16px;
 border:1px solid #e5dcc8;
 background:#fff;
 color:#5c4c3b;
 font-weight:700;
 cursor:pointer;
 transition:.25s;
}
.itwpt-cat-tab.active{
 border-color:#7c4fe0;
 background:linear-gradient(160deg, rgba(124,79,224,0.14), rgba(63,125,224,0.06));
}

.itwpt-cat-table-card{
 background:var(--surface,#fff);
 border:1px solid var(--border,#eadfca);
 border-radius:20px;
 overflow:hidden;
 box-shadow:0 2px 8px rgba(80,60,20,.05);
}

.itwpt-cat-table-card .cat-head{
 display:flex;
 padding:16px;
 border-bottom:1px solid var(--border-soft,#eee);
}
.itwpt-cat-table-card .cat-head .title{
 display:flex;
 align-items:center;
 gap:8px;
 font-weight:700;
}
.itwpt-cat-table-card .cat-head .dot{
 width:8px;
 height:8px;
 border-radius:50%;
 background:var(--grad,#7c4fe0);
}

.itwpt-cat-table-card .cat-foot{
 padding:12px 16px 16px;
}
.itwpt-cat-table-card .view-all{
 display:block;
 text-align:center;
 padding:11px;
 border-radius:13px;
 background:#f7f0e3;
 border:1px solid #eadfca;
 color:#75634d;
 font-size:12.5px;
 font-weight:600;
 text-decoration:none;
}

.itwpt-tabs-loader{
 min-height:180px;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 color:#777;
}
.itwpt-tabs-loader span{
 width:34px;
 height:34px;
 border:3px solid #e5ddf7;
 border-top-color:#7c4fe0;
 border-radius:50%;
 animation:itwptSpin .8s linear infinite;
}
@keyframes itwptSpin{
 to{transform:rotate(360deg)}
}

@media(max-width:767px){
 .itwpt-cat-tabs-nav{
  justify-content:flex-start;
  overflow-x:auto;
  padding-bottom:4px;
 }
 .itwpt-cat-tab{
  min-width:120px;
  flex:0 0 auto;
 }
 .itwpt-cat-table-card .itwpt-table{
  min-width:850px;
 }
}


/* Category AJAX table chart column */
.itwpt-chart-cell{
    text-align:center;
    width:60px;
}
.itwpt-cat-table-card .itwpt-mini-chart-source{
    display:inline-flex;
    justify-content:center;
    align-items:center;
}

/* ==========================================
   Table direction update v1.4.7
   B10 / B11 / B12: full RTL table flow.
   All cells/headers stay centered except product names.
========================================== */
.itwpt-home-table .itwpt-table,
.itwpt-home-table .itwpt-table thead,
.itwpt-home-table .itwpt-table tbody,
.itwpt-home-table .itwpt-table tr,
.itwpt-home-table .itwpt-table th,
.itwpt-home-table .itwpt-table td,
.itwpt-home-table .itwpt-table th *,
.itwpt-home-table .itwpt-table td *,
.itwpt-archive-table,
.itwpt-archive-table thead,
.itwpt-archive-table tbody,
.itwpt-archive-table tr,
.itwpt-archive-table th,
.itwpt-archive-table td,
.itwpt-archive-table th *,
.itwpt-archive-table td *,
.itwpt-cat-table-card .itwpt-table,
.itwpt-cat-table-card .itwpt-table thead,
.itwpt-cat-table-card .itwpt-table tbody,
.itwpt-cat-table-card .itwpt-table tr,
.itwpt-cat-table-card .itwpt-table th,
.itwpt-cat-table-card .itwpt-table td,
.itwpt-cat-table-card .itwpt-table th *,
.itwpt-cat-table-card .itwpt-table td *{
    direction:rtl;
}

/* Default alignment: every header and data cell is centered. */
.itwpt-home-table .itwpt-table th,
.itwpt-home-table .itwpt-table td,
.itwpt-archive-table th,
.itwpt-archive-table td,
.itwpt-cat-table-card .itwpt-table th,
.itwpt-cat-table-card .itwpt-table td{
    text-align:center!important;
}

/* Product column header stays centered in all three tables. */
.itwpt-home-table .itwpt-table th.itwpt-product-col,
.itwpt-archive-table th.itwpt-a-name,
.itwpt-cat-table-card .itwpt-table th:first-child{
    text-align:center!important;
}

/* Only product names are right aligned, RTL and bold. */
.itwpt-home-table .itwpt-table td.itwpt-product,
.itwpt-home-table .itwpt-table td.itwpt-product a,
.itwpt-archive-table td.itwpt-a-name,
.itwpt-archive-table td.itwpt-a-name .itwpt-archive-product-link,
.itwpt-cat-table-card .itwpt-table td.product-name,
.itwpt-cat-table-card .itwpt-table td.product-name a{
    direction:rtl;
    text-align:right!important;
    font-weight:700;
}

.itwpt-home-table .itwpt-table td.itwpt-product a,
.itwpt-archive-table td.itwpt-a-name .itwpt-archive-product-link,
.itwpt-cat-table-card .itwpt-table td.product-name a{
    display:block;
    width:100%;
}


/* ==========================================
   B10 / B12 table content update v1.4.9
   B11 archive table intentionally untouched.
========================================== */
.itwpt-home-table .itwpt-table,
.itwpt-cat-table-card .itwpt-table{
    table-layout:fixed;
    width:100%;
}

/* Product name column: 50%. */
.itwpt-home-table .itwpt-table th.itwpt-product-col,
.itwpt-home-table .itwpt-table td.itwpt-product,
.itwpt-cat-table-card .itwpt-table th.itwpt-product-col,
.itwpt-cat-table-card .itwpt-table td.product-name{
    width:50%!important;
    max-width:50%!important;
}

/* B10 remaining widths. */
.itwpt-home-table .itwpt-table th.itwpt-price-col,
.itwpt-home-table .itwpt-table td.itwpt-price{width:22%!important}
.itwpt-home-table .itwpt-table th.itwpt-updated-col,
.itwpt-home-table .itwpt-table td.itwpt-time{width:20%!important}
.itwpt-home-table .itwpt-table th.itwpt-chart-col,
.itwpt-home-table .itwpt-table td.itwpt-chart-cell{width:8%!important;min-width:48px}

/* B12 remaining widths (brand column removed). */
.itwpt-cat-table-card .itwpt-table th.itwpt-price-col,
.itwpt-cat-table-card .itwpt-table td.itwpt-price{width:22%!important}
.itwpt-cat-table-card .itwpt-table th.itwpt-updated-col,
.itwpt-cat-table-card .itwpt-table td.itwpt-time{width:20%!important}
.itwpt-cat-table-card .itwpt-table th.itwpt-a-chart,
.itwpt-cat-table-card .itwpt-table td.itwpt-chart-cell{width:8%!important;min-width:48px}

/* Product title: one line + ellipsis. */
.itwpt-home-table .itwpt-table td.itwpt-product,
.itwpt-cat-table-card .itwpt-table td.product-name{
    position:relative;
    overflow:visible;
}
.itwpt-home-table .itwpt-table td.itwpt-product > a,
.itwpt-cat-table-card .itwpt-table td.product-name > a{
    display:block;
    width:100%;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    direction:rtl;
    text-align:right!important;
    font-weight:700;
}

/* Small full-name tooltip above truncated product title. */
.itwpt-home-table .itwpt-table td.itwpt-product::after,
.itwpt-cat-table-card .itwpt-table td.product-name::after{
    content:attr(data-product-title);
    position:absolute;
    right:12px;
    bottom:calc(100% - 4px);
    z-index:9999;
    max-width:min(420px,80vw);
    padding:6px 9px;
    border-radius:7px;
    background:#24272b;
    color:#fff;
    box-shadow:0 6px 18px rgba(0,0,0,.14);
    font-size:11px;
    font-weight:500;
    line-height:1.6;
    white-space:normal;
    direction:rtl;
    text-align:right;
    pointer-events:none;
    opacity:0;
    visibility:hidden;
    transform:translateY(3px);
    transition:opacity .12s ease,transform .12s ease,visibility .12s ease;
}
.itwpt-home-table .itwpt-table td.itwpt-product:hover::after,
.itwpt-home-table .itwpt-table td.itwpt-product:focus-within::after,
.itwpt-cat-table-card .itwpt-table td.product-name:hover::after,
.itwpt-cat-table-card .itwpt-table td.product-name:focus-within::after{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* Price: bold + Toman on the left; percent-only change below. */
.itwpt-home-table .itwpt-price-value,
.itwpt-cat-table-card .itwpt-price-value{
    display:inline-flex;
    direction:rtl;
    align-items:baseline;
    justify-content:center;
    gap:4px;
    white-space:nowrap;
    font-weight:700;
}
.itwpt-home-table .itwpt-price-number,
.itwpt-cat-table-card .itwpt-price-number,
.itwpt-home-table .itwpt-price-unit,
.itwpt-cat-table-card .itwpt-price-unit{
    font-weight:700;
}
.itwpt-home-table .itwpt-price-unit,
.itwpt-cat-table-card .itwpt-price-unit{font-size:.9em}
.itwpt-home-table .itwpt-price-change-mini,
.itwpt-cat-table-card .itwpt-price-change-mini{
    display:block;
    margin-top:4px;
    font-size:10px;
    font-weight:600;
    line-height:1.2;
    direction:ltr;
    text-align:center;
    white-space:nowrap;
}

@media(max-width:767px){
    .itwpt-home-table .itwpt-price-change-mini,
    .itwpt-cat-table-card .itwpt-price-change-mini{font-size:9px}
}

/* ==========================================
   Table content direction update v1.4.10
   B10 / B11 / B12: table content flows LTR.
========================================== */
.itwpt-home-table .itwpt-table,
.itwpt-home-table .itwpt-table thead,
.itwpt-home-table .itwpt-table tbody,
.itwpt-home-table .itwpt-table tr,
.itwpt-home-table .itwpt-table th,
.itwpt-home-table .itwpt-table td,
.itwpt-home-table .itwpt-table th *,
.itwpt-home-table .itwpt-table td *,
.itwpt-archive-table,
.itwpt-archive-table thead,
.itwpt-archive-table tbody,
.itwpt-archive-table tr,
.itwpt-archive-table th,
.itwpt-archive-table td,
.itwpt-archive-table th *,
.itwpt-archive-table td *,
.itwpt-cat-table-card .itwpt-table,
.itwpt-cat-table-card .itwpt-table thead,
.itwpt-cat-table-card .itwpt-table tbody,
.itwpt-cat-table-card .itwpt-table tr,
.itwpt-cat-table-card .itwpt-table th,
.itwpt-cat-table-card .itwpt-table td,
.itwpt-cat-table-card .itwpt-table th *,
.itwpt-cat-table-card .itwpt-table td *{
    direction:ltr!important;
}

/* All internal table content starts from the left. */
.itwpt-home-table .itwpt-table th,
.itwpt-home-table .itwpt-table td,
.itwpt-archive-table th,
.itwpt-archive-table td,
.itwpt-cat-table-card .itwpt-table th,
.itwpt-cat-table-card .itwpt-table td,
.itwpt-home-table .itwpt-table td.itwpt-product,
.itwpt-home-table .itwpt-table td.itwpt-product a,
.itwpt-archive-table td.itwpt-a-name,
.itwpt-archive-table td.itwpt-a-name .itwpt-archive-product-link,
.itwpt-cat-table-card .itwpt-table td.product-name,
.itwpt-cat-table-card .itwpt-table td.product-name a{
    text-align:left!important;
}

/* B10 category title lives outside the table, aligned to the left. */
.itwpt-home-table-title{
    width:100%;
    margin:0 0 9px;
    padding-left:8px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:6px;
    text-align:left;
    direction:ltr;
    font-size:17px;
    line-height:1.7;
    font-weight:700;
    color:#222;
}

.itwpt-home-table-title-icon{
    width:22px;
    height:22px;
    flex:0 0 22px;
    display:block;
    object-fit:contain;
    pointer-events:none;
}

.itwpt-home-table-title-text{
    direction:rtl;
    text-align:left;
}

/* Product-name tooltips now follow the LTR table direction too. */
.itwpt-home-table .itwpt-table td.itwpt-product::after,
.itwpt-cat-table-card .itwpt-table td.product-name::after{
    left:12px;
    right:auto;
    direction:ltr;
    text-align:left;
}

/* Price block remains LTR; markup keeps "تومان" visually on the left of the number. */
.itwpt-home-table .itwpt-price-value,
.itwpt-cat-table-card .itwpt-price-value,
.itwpt-home-table .itwpt-price-change-mini,
.itwpt-cat-table-card .itwpt-price-change-mini{
    direction:ltr!important;
}

/* Keep horizontal scrolling anchored to the left for the three LTR tables. */
.itwpt-home-table .itwpt-table-scroll,
.itwpt-archive-table-wrap,
.itwpt-cat-table-card .itwpt-table-scroll{
    direction:ltr!important;
}


/* ==========================================
   B10 title tags v1.4.12
   Glass-style linked tags beside category title.
========================================== */
.itwpt-home-table-title{
    overflow:hidden;
    white-space:nowrap;
}

.itwpt-home-table-title-text{
    flex:0 0 auto;
}

.itwpt-home-table-tags{
    display:flex;
    align-items:center;
    gap:5px;
    min-width:0;
    overflow:hidden;
    white-space:nowrap;
    direction:ltr;
}

.itwpt-home-table-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-height:22px;
    padding:2px 8px;
    border:1px solid rgba(227,217,196,.88);
    border-radius:999px;
    background:
        linear-gradient(135deg, rgba(255,253,248,.82), rgba(242,235,221,.52));
    -webkit-backdrop-filter:blur(12px) saturate(135%);
    backdrop-filter:blur(12px) saturate(135%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.82),
        inset 0 -1px 0 rgba(124,79,224,.05),
        0 3px 10px rgba(42,36,24,.06);
    color:#5a2fc7;
    text-decoration:none!important;
    font-size:10.5px;
    font-weight:650;
    line-height:1.35;
    letter-spacing:0;
    transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease,color .16s ease;
}

.itwpt-home-table-tag:hover,
.itwpt-home-table-tag:focus-visible{
    border-color:rgba(124,79,224,.42);
    background:
        linear-gradient(135deg, rgba(255,253,248,.96), rgba(239,232,219,.72));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        0 4px 13px rgba(90,47,199,.10);
    color:#7c4fe0;
    transform:translateY(-1px);
    outline:none;
}

@media(max-width:767px){
    .itwpt-home-table-title{
        gap:4px;
    }

    .itwpt-home-table-tags{
        gap:3px;
    }

    .itwpt-home-table-tag{
        min-height:19px;
        padding:1px 5px;
        font-size:9px;
        border-radius:999px;
    }

    /* On mobile, never show more than five B10 title tags. */
    .itwpt-home-table-tag:nth-child(n+6){
        display:none;
    }
}


/* ==========================================
   B10 polish + mobile columns v1.4.13
   Only the home table (B10) is affected.
========================================== */

/* Give the linked tags a little more breathing room after the category title. */
.itwpt-home-table .itwpt-home-table-tags{
    margin-left:10px;
}

/* Compact rounded-rectangle glass tags, closer to the supplied reference. */
.itwpt-home-table .itwpt-home-table-tag{
    border-radius:8px;
    border-color:rgba(227,217,196,.96);
    background:linear-gradient(145deg,rgba(255,253,248,.90),rgba(242,235,221,.62));
    color:#5f5a52;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.92),
        0 2px 7px rgba(42,36,24,.055);
}

.itwpt-home-table .itwpt-home-table-tag:hover,
.itwpt-home-table .itwpt-home-table-tag:focus-visible{
    border-color:rgba(168,157,137,.90);
    background:linear-gradient(145deg,rgba(255,253,248,.98),rgba(239,232,219,.82));
    color:#49453f;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.98),
        0 3px 10px rgba(42,36,24,.08);
    transform:none;
}

@media(max-width:767px){
    /* B10 mobile: only Model / Last price / Chart remain visible. */
    .itwpt-home-table .itwpt-table th.itwpt-updated-col,
    .itwpt-home-table .itwpt-table td.itwpt-time{
        display:none!important;
    }

    .itwpt-home-table .itwpt-table{
        width:100%!important;
        min-width:0!important;
        table-layout:fixed!important;
    }

    .itwpt-home-table .itwpt-table th.itwpt-product-col,
    .itwpt-home-table .itwpt-table td.itwpt-product{
        width:48%!important;
        max-width:48%!important;
        padding-left:8px!important;
        padding-right:8px!important;
    }

    .itwpt-home-table .itwpt-table th.itwpt-price-col,
    .itwpt-home-table .itwpt-table td.itwpt-price{
        width:38%!important;
        max-width:38%!important;
        padding-left:4px!important;
        padding-right:4px!important;
    }

    .itwpt-home-table .itwpt-table th.itwpt-chart-col,
    .itwpt-home-table .itwpt-table td.itwpt-chart-cell{
        width:14%!important;
        max-width:14%!important;
        min-width:0!important;
        padding-left:2px!important;
        padding-right:2px!important;
    }

    .itwpt-home-table .itwpt-table td.itwpt-product > a{
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
    }

    .itwpt-home-table .itwpt-chart-trigger{
        width:28px;
        height:28px;
        padding:2px;
    }

    .itwpt-home-table .itwpt-chart-trigger img{
        width:22px;
        height:22px;
    }

    .itwpt-home-table .itwpt-home-table-tags{
        margin-left:7px;
    }

    .itwpt-home-table .itwpt-home-table-tag{
        border-radius:7px;
    }
}

@media(max-width:380px){
    .itwpt-home-table .itwpt-table th.itwpt-product-col,
    .itwpt-home-table .itwpt-table td.itwpt-product{
        width:46%!important;
        max-width:46%!important;
    }

    .itwpt-home-table .itwpt-table th.itwpt-price-col,
    .itwpt-home-table .itwpt-table td.itwpt-price{
        width:40%!important;
        max-width:40%!important;
    }

    .itwpt-home-table .itwpt-table th.itwpt-chart-col,
    .itwpt-home-table .itwpt-table td.itwpt-chart-cell{
        width:14%!important;
        max-width:14%!important;
    }
}


/* ==========================================
   B11 archive table update v1.4.14
   Only the WooCommerce archive table is affected.
========================================== */

/* Never crop the right side of B11. If the viewport is narrower than the
   table, keep every column reachable with horizontal scrolling. */
.itwpt-archive-wrap{
    max-width:100%;
    overflow:visible;
}
.itwpt-archive-table-wrap{
    width:100%;
    max-width:100%;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-gutter:stable;
    direction:ltr!important;
}
.itwpt-archive-table{
    width:100%!important;
    min-width:780px!important;
    table-layout:fixed;
}

/* Six desktop columns after removing weekly-change, brand and USD. */
.itwpt-archive-table th.itwpt-a-name,
.itwpt-archive-table td.itwpt-a-name{width:28%!important;min-width:190px}
.itwpt-archive-table th.itwpt-a-price,
.itwpt-archive-table td.itwpt-a-price{width:21%!important;min-width:175px}
.itwpt-archive-table th.itwpt-a-week-min,
.itwpt-archive-table td.itwpt-a-week-min{width:15%!important;min-width:125px}
.itwpt-archive-table th.itwpt-a-week-max,
.itwpt-archive-table td.itwpt-a-week-max{width:15%!important;min-width:125px}
.itwpt-archive-table th.itwpt-a-updated,
.itwpt-archive-table td.itwpt-a-updated{width:16%!important;min-width:145px}
.itwpt-archive-table th.itwpt-a-chart,
.itwpt-archive-table td.itwpt-a-chart{width:5%!important;min-width:58px}

/* Last price: Toman on the left, bold amount in the middle, compact weekly
   percentage on the right. */
.itwpt-archive-table td.itwpt-a-price{
    white-space:nowrap!important;
}
.itwpt-archive-table .itwpt-a-price-inline{
    display:inline-flex;
    align-items:baseline;
    justify-content:center;
    gap:5px;
    direction:ltr!important;
    white-space:nowrap;
}
.itwpt-archive-table .itwpt-a-price-number{
    font-weight:800;
    color:#252525;
}
.itwpt-archive-table .itwpt-a-price-unit{
    font-size:.88em;
    font-weight:500;
    color:#5f6368;
}
.itwpt-archive-table .itwpt-a-price .itwpt-price-change-mini{
    display:inline-block;
    margin:0 0 0 2px;
    padding:0;
    font-size:10px;
    font-weight:600;
    line-height:1;
    direction:ltr!important;
    text-align:left!important;
    white-space:nowrap;
}

@media(max-width:767px){
    /* Existing B11 mobile behavior still hides weekly min/max. The remaining
       four columns fit the viewport instead of being cropped. */
    .itwpt-archive-table-wrap{
        overflow-x:auto!important;
        overflow-y:hidden!important;
    }
    .itwpt-archive-table{
        width:100%!important;
        min-width:0!important;
        table-layout:fixed!important;
    }
    .itwpt-archive-table th.itwpt-a-name,
    .itwpt-archive-table td.itwpt-a-name{
        width:38%!important;
        min-width:0!important;
    }
    .itwpt-archive-table th.itwpt-a-price,
    .itwpt-archive-table td.itwpt-a-price{
        width:34%!important;
        min-width:0!important;
        padding-left:3px!important;
        padding-right:3px!important;
    }
    .itwpt-archive-table th.itwpt-a-updated,
    .itwpt-archive-table td.itwpt-a-updated{
        width:20%!important;
        min-width:0!important;
    }
    .itwpt-archive-table th.itwpt-a-chart,
    .itwpt-archive-table td.itwpt-a-chart{
        width:8%!important;
        min-width:0!important;
        padding-left:2px!important;
        padding-right:2px!important;
    }
    .itwpt-archive-table .itwpt-a-price-inline{
        gap:3px;
    }
    .itwpt-archive-table .itwpt-a-price-unit{
        font-size:9px;
    }
    .itwpt-archive-table .itwpt-a-price .itwpt-price-change-mini{
        font-size:8.5px;
        margin-left:1px;
    }
}

/* v1.4.15: compact weekly shortcode rows; existing LTR flow retained. */
.itwpt-home-table .itwpt-table tbody td { padding-top:7px; padding-bottom:7px; font-size:12px; line-height:1.45; }
.itwpt-home-table .itwpt-table td.itwpt-product > a { font-size:12px; line-height:1.45; }
.itwpt-home-table .itwpt-table td.itwpt-time { font-size:12px; line-height:1.45; }
.itwpt-home-table .itwpt-price-inline { display:inline-flex; flex-wrap:nowrap; align-items:center; justify-content:flex-start; gap:7px; max-width:100%; vertical-align:middle; white-space:nowrap; overflow-x:auto; }
.itwpt-home-table .itwpt-price-inline .itwpt-price-value { flex:0 0 auto; font-size:12px; line-height:1.45; }
.itwpt-home-table .itwpt-price-inline .itwpt-price-change-mini { display:inline-block; flex:0 0 auto; margin:0; font-size:9px; line-height:1.2; unicode-bidi:isolate; }
@media(max-width:767px) {
    .itwpt-home-table .itwpt-table tbody td { padding-top:6px; padding-bottom:6px; font-size:11px; }
    .itwpt-home-table .itwpt-table td.itwpt-product > a { font-size:11px; }
    .itwpt-home-table .itwpt-price-inline { gap:4px; }
    .itwpt-home-table .itwpt-price-inline .itwpt-price-value { font-size:10px; }
    .itwpt-home-table .itwpt-price-inline .itwpt-price-change-mini { font-size:8px; }
}

/* v1.4.16: reduce actual body-row height, including the chart control. */
.itwpt-home-table .itwpt-table tbody tr { height:auto!important; min-height:0!important; }
.itwpt-home-table .itwpt-table tbody td { padding-top:3px!important; padding-bottom:3px!important; height:auto!important; line-height:1.35!important; }
.itwpt-home-table .itwpt-table tbody td.itwpt-product > a { margin-block:0!important; padding-block:0!important; line-height:1.35!important; }
.itwpt-home-table .itwpt-table tbody .itwpt-mini-chart-source { vertical-align:middle; line-height:1; margin:0; }
.itwpt-home-table .itwpt-table tbody .itwpt-chart-trigger { width:28px!important; height:28px!important; min-height:0!important; padding:2px!important; margin:0!important; line-height:1!important; vertical-align:middle; }
.itwpt-home-table .itwpt-table tbody .itwpt-chart-trigger img { width:22px; height:22px; }
