
/* بجای استفاده در CSS سفارشی در تنظیمات قالب
/* blog */
.wd-post-cat.wd-style-with-bg{margin-left: auto;background-color:#ffffff00!important;padding-inline:0!important;}
.wd-single-post-header .wd-entities-title.wd-post-title.title{margin-left: auto;}
.wd-single-post-header .wd-post-meta{margin-left: auto;margin-top: -15px;font-size: smaller;}
.wd-single-post-header .wd-post-image img {border-radius: 12px;}

/* desktop header */
header .whb-main-header {background: #fff;}
header .whb-top-bar {width: min(1320px, calc(100%));justify-self: anchor-center;box-shadow: none;position: relative;height: 40px;align-content: center;}
header .whb-top-bar::after{content: "";position: absolute;bottom: 0;left: 50%;width: 100vw;height: 1px;background: #e7e7e7;transform: translateX(-50%);box-shadow: 0px 0px 4px 0px #c9c9c9;}
.header-contact-us strong{display: inline-block;transition: transform .3s ease;}
.header-contact-us:hover strong{transform: translateX(-5px);}
header .whb-general-header {width: min(1320px, calc(100%));box-shadow: none;justify-self: anchor-center;padding-block: 5px;}
header .whb-header-bottom {width: min(1320px, calc(100%));justify-self: anchor-center;}
.whb-sticky-prepared .whb-main-header {position: fixed!important;}


@media (max-width: 768px){
    .wd-post-inner.article-inner {
	    display: grid;
        grid-template-columns: 0.7fr 1.3fr;
        align-items: center;
        margin: 10px;
        box-shadow: none!important;
        transition: none!important;
        border-bottom: 1px solid #c3c3c3;
        border-radius: 0 !important;
        padding-bottom: 15px;
        min-height: 120px;
    }

.wd-content-area.site-content .wd-blog-element .wd-post-inner .wd-post-thumb img {border-radius:0;}
.blog-style-bg .wd-post-content {padding: 0 8px!important;}
.blog-style-bg .wd-post-content .entry-content {display:none;}
.blog-style-bg .wd-post-content .wd-post-cat{display:none!important;}
.blog-style-bg .wd-post-content .wd-post-read-more {display:none;}
.blog-style-bg .wd-post-content .wd-post-title {text-align: right;margin-left: auto;font-weight: 500;}
.blog-style-bg .wd-post-content .wd-post-meta {margin-left: auto;}
}

/* for use voocomerce product 
.amount{font-size:4vw!important;} */

/* search */
.searchform input[type="text"]{color: #333!important;}
.wd-content-area.site-content .wd-blog-element{max-width: 1700px; margin: auto;}
.wd-content-area.site-content .wd-blog-element .wd-post-content.article-body-container{border-radius:12px;margin-top: 10px;}
.wd-content-area.site-content .wd-blog-element .wd-post-inner .wd-post-thumb img {border-radius:12px;}

.costume-content-notic, .costume-content-quote, .costume-content-titlebox, .pro-media, .costume-content-pointer {padding:20px 10px;border-radius:10px;border:1px dashed #265b7c;}
.costume-content-listbox {list-style:none;border-right:2px solid #265b7c;}
.costume-content-linkbox {padding:20px 10px;border-radius:10px;border:1px solid #265b7c;}

/* good and bad */
.costume-content-proscons {
    margin: 40px 0;
}

.costume-content-proscons table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #ebebeb;
    border-radius: 15px;
}

.costume-content-proscons thead {
    display: none;
}

.costume-content-proscons td {
    position: relative;
    padding: 18px 90px 13px 10px !important;
    color: #374151;
    border: 0;
}

.costume-content-proscons td:first-child {
    background: #f5fcf7;
    border-left: 1px solid #ebebeb;
}

.costume-content-proscons td:last-child {
    background: #fef5f5;
}

.costume-content-proscons tbody tr:first-child td {
    padding-top: 58px;
}

.costume-content-proscons tbody tr:first-child td:first-child::before {
    content: "\f058  مزایا";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #16a34a;
    font-size: 18px;
    position: absolute;
    top: 18px;
    right: 18px;
}

.costume-content-proscons tbody tr:first-child td:last-child::before {
    content: "\f057  معایب";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ef4444;
    font-size: 18px;
    position: absolute;
    top: 18px;
    right: 18px;
}

.costume-content-proscons tbody tr:not(:first-child) td:first-child::before {
    content: "+";
    color: #16a34a;
    font-size: 22px;
    font-weight: 700;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.costume-content-proscons tbody tr:not(:first-child) td:last-child::before {
    content: "−";
    color: #ef4444;
    font-size: 24px;
    font-weight: 700;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 767px) {

    .costume-content-proscons table,
    .costume-content-proscons tbody {
        display: flex;
        flex-direction: column;
    }

    .costume-content-proscons tbody tr {
        display: contents;
    }

    .costume-content-proscons td {
        width: 100% !important;
        box-sizing: border-box;
    }

    .costume-content-proscons td:first-child {
        order: 1;
        border-left: 0;
    }

    .costume-content-proscons td:last-child {
        order: 2;
    }

    .costume-content-proscons tbody tr:first-child td:last-child {
        border-top: 1px solid #ebebeb;
    }
}

/* ===================================
   costume-content-table and costume-content-cat-table
=================================== */

:is(.costume-content-table, .costume-content-cat-table) {
    width: 100%;
    margin: 28px 0;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(17, 24, 39, .05);
    overflow: hidden;
}
.costume-content-table table,
.costume-content-cat-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    text-align: right;
}
.costume-content-cat-table{margin-bottom:20px;}

.costume-content-table thead{border-bottom:none!important;}

.costume-content-table thead th,
.costume-content-cat-table tr:first-child th {
    padding: 16px 18px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.16);
    background: #265b7c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    text-align: right;
    white-space: nowrap;
}
.costume-content-table thead th:last-child,
.costume-content-cat-table tr:first-child th:last-child {border-left: 0;}

.costume-content-table tbody td,
.costume-content-cat-table td {
    padding: 15px 18px;
    border: 0;
    border-bottom: 1px solid #edf0f3;
    background: #fff;
    color: #4b5563;
    font-size: 13px;
    line-height: 2;
    vertical-align: middle;
    transition: background-color .2s ease, color .2s ease;
}
.costume-content-table tbody tr:nth-child(even) td,
.costume-content-cat-table tr:nth-child(odd):not(:first-child) td {background: #fafbfc;}

.costume-content-table tbody td strong,
.costume-content-cat-table td strong {color: #111827;font-weight: 700;}

.costume-content-table tbody tr:last-child td,
.costume-content-cat-table tr:last-child td {border-bottom: 0;}

.costume-content-table tbody tr:first-child td {
    background: #fff5f5;
    color: #1f2937;
    font-weight: 600;
    border-top: 1px solid #ffdede;
    border-bottom: 1px solid #ffdede;
}
.costume-content-table tbody tr:first-child td:first-child {position: relative;}

.costume-content-table tbody tr:first-child td:first-child::before {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 8px;
    width: 3px;
    background: #265b7c;
}
.costume-content-table tbody tr:first-child td strong {color: #265b7c;}

@media (hover: hover) {
    .costume-content-table tbody tr:not(:first-child):hover td,
    .costume-content-cat-table tr:not(:first-child):hover td {
        background: #f4f8fa;
        color: #1f2937;
    }
}

@media (max-width: 767px) {

    :is(.costume-content-table, .costume-content-cat-table) {
        margin: 20px 0;
        border-radius: 12px;
    }

    .costume-content-table table,
    .costume-content-cat-table {
        width: 100%;
        min-width: 0;
        table-layout: auto !important;
    }

    .costume-content-table :is(th, td),
    .costume-content-cat-table :is(th, td) {
        width: auto;
        min-width: 0;
        padding: 11px 8px;
        font-size: 11px;
        line-height: 1.9;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .costume-content-table thead th,
    .costume-content-cat-table tr:first-child th {
        line-height: 1.6;
    }

    .costume-content-table td,
    .costume-content-cat-table td {
        max-width: 30ch;
    }
}

/* ===================================
   costume-content-listbrand
=================================== */

.costume-content-listbrand {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.costume-content-listbrand li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.costume-content-listbrand li::before,
.costume-content-listbrand li::marker {
    display: none !important;
    content: none !important;
}


/* ===================================
   Link Box
=================================== */

.costume-content-listbrand li a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 12px 16px 12px 42px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #1f2937 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
    text-decoration: none !important;
    transition:
        border-color .25s ease,
        background-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;}

.costume-content-listbrand li a::after {
    content: "←";
    position: absolute;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 17px;
    font-weight: 400;
    transition:color .25s ease,transform .25s ease;}
    
.costume-content-listbrand li a:hover {
    border-color: #265b7c;
    background: #f4f8fa;
    color: #265b7c !important;
    transform: translateY(-2px);
    box-shadow:0 6px 18px rgba(38, 91, 124, .08);}

.costume-content-listbrand li a:hover::after {color: #265b7c;transform: translateX(-4px);}

@media (max-width: 767px) {
    .costume-content-listbrand {grid-template-columns: repeat(2, minmax(0, 1fr));gap: 8px;margin: 18px 0 !important;}
    .costume-content-listbrand li a {min-height: 50px;padding: 10px 12px 10px 34px;border-radius: 10px;font-size: 12px;}
    .costume-content-listbrand li a::after {left: 12px;font-size: 15px;}
}

/* ------------------------------------------------------ جدول------------------------------------------------------ */

/* --- رپ جدول --- */
.procode-table-wrap {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- نوار بالا: سرچ + اسکرین‌شات --- */
.procode-toolbar {
    margin-bottom: 12px;
    width: 98.7%;
    display: flex;
    grid-template-columns: 7fr 1.5fr 1.5fr;
    align-items: center;
    gap: 10px;
}

.procode-search {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 220px;
    border-radius: 5px !important;
}

.toolbar-procode-toltip {
    text-wrap-mode: nowrap;
    margin: 0 9px;
}

.procode-screenshot, .procode-pdf {
    background: #fff;
    border: 1px dashed #ff9a9a;
    /* خط‌چین صورتی/قرمز کمرنگ */
    color: #333;
    padding: 6px 10px;
    border-radius: 5px !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
    width: 10vw;
}

.procode-pdf {display:none!important;}
@media (max-width: 768px) {.procode-screenshot {width: 100px;}}

.procode-screenshot:hover, .procode-pdf:hover {
    background: #fff5f5;
    /* هاور روشن */
    border-color: #ff7a7a;
}

.procode-screenshot svg,
.procode-screenshot img {
    width: 18px;
    height: 18px;
}


/* --- جدول --- */
.procode-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #333;
    border-spacing: 0;
}

/* --- هدر --- */
.procode-table thead th {
    background: #265b7c;
    /* رنگ قرمز */
    color: #fff;
    font-weight: bold;
    padding: 10px 8px;
    border: none;
    text-align: right;
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 14px;
    white-space: nowrap;
    border-top: 1px solid #fff;
}

.procode-table thead th:hover {
    cursor: pointer;
    color: #ffdada;
}

.procode-table thead tr:first-child th:first-child {
    border-top-right-radius: 0 !important;
}

.procode-table thead th .sort-icon {
    font-size: 12px;
    margin-right: 4px;
}

.procode-table th[data-column="price"] {
    text-align : center;
}

.procode-table th[data-column="overall-score"] {
    text-align : center;
}

/* --- ردیف‌ها --- */
.procode-table td {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 8px;
    vertical-align: middle;
}

.procode-table td[data-column="price"] {
    font-weight: bolder;
    font-size: 20px;
    color: #0b6b0b;
    text-align-last: center;
}
.procode-table td[data-column="toman"] {
    font-weight: bolder;
    font-size: 17px;
    color: #455e9c;
    text-align-last: start;
}

.procode-table td[data-column="overall-score"] {text-align-last: center;}

.procode-table td[data-column="overall-score"] .procode-score{padding: 5px 6px 2px 6px;}

.procode-row td {
    padding: 3px 12px;
    font-weight: 600;
}
/* --- رنگ یک درمیان --- */
.procode-table .row-light {
    background: #f7f7f7;
}
.procode-table .row-dark {
    background: #e9e9e9;
}

    /* --- هاور روی ردیف --- */
.procode-table tbody tr:hover td {
    background: #b8b8b8;
}

/* --- تصاویر --- */
.procode-gallery-cell {
    display: flex;
    justify-content: center;
    align-items: center;
}

.procode-gallery-thumb {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #e5e5e5;
    background: #fafafa;
}

.procode-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.procode-gallery-count {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
}

.procode-img-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.procode-img-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.procode-img-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: auto;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
}

.procode-img-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

/* ---  پاپ گالری--- */
.procode-img-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.procode-img-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.procode-img-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.procode-img-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

.procode-img-modal-content .procode-img-nav{display:none;}

.procode-img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.procode-img-nav.prev {
    left: -45px;
}

.procode-img-nav.next {
    right: -45px;
}

.procode-img-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* --- نمایش divider --- */

.procode-divider-row {
    position: relative;
    height: 35px;
    background: #d9d9d9;
    text-align-last: center;
}

/* سلول داخل divider */
.procode-divider-row td {
    padding: 0;
    border: none;
}
.pc-price-sep{margin:0 6px;color:#777;}
/* متن وسطِ واقعی صفحه */
.procode-divider-row td::before {
    content: attr(data-title);
    position: sticky;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* --- اسکرول داخلی --- */
.procode-scroll-main {
    position: relative;
    overflow: auto;
    max-height: 460px;
    border-radius: 8px;
}

.procode-price-info {
    background: #f3f3f3;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    color: #212121;
    width: fit-content;
    display:none;
}

.procode-price-info .price-item:last-child {
    margin-right: 5px;
}

.procode-price-info img {
    width: 25px;
}

.bottom-table {
    margin-top: 20px;
}

.procode-updated {
    background: #c6f6c6 !important;
    /* سبز ملایم */
    transition: background 0.4s;
}

/* full *****/
.procode-full-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    margin: 0 0 9px;
    box-shadow: 0 4px 14px rgba(30, 40, 55, .055);
    overflow: hidden;
    min-height: 140px;
}

.procode-full-row1 {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 9px 14px;
    position: relative;
    gap: 9px;
    justify-content: space-between;
}

.Procode-full-info {
    width: 70%;
    display: flex;
    gap: 20px;
}

.procode-full-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.procode-full-col-side {
    width: 130px;
    align-items: flex-end;
    justify-content: space-between;
    height: 120px;
}

.procode-full-col-main {
    flex: 1;
    min-width: 0
}

.procode-full-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    display: block
}

.procode-full-img.ph {
    width: 120px;
    height: 120px;
    background: #f2f2f2
}

.procode-img-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.procode-img-modal-img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    z-index: 2;
    pointer-events: auto;
}

.procode-img-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1;
}
.procode-img-modal {
    display: none;
}
.procode-img-modal[hidden] {
    display: none !important;
}

.procode-img-modal-close {
    position: fixed!important;
    top: 24px;
    right: 24px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    line-height: 28px;
    text-align: center;
    align-content: center;
}

body.procode-modal-open {
    overflow: hidden;
}

.procode-full-row2 {
    overflow: hidden;
    transition: grid-template-rows .3s ease, opacity .2s ease;
    display: grid;

}

/* بسته */
.procode-full-row2.is-collapsed {
    grid-template-rows: 0fr;
    opacity: 0;
    padding: 0;
    border-top: none;
    transition: padding .2s ease, border-color .2s ease;
}

/* باز */
.procode-full-row2.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    padding: 14px;
}

.procode-full-row2-content {
    overflow: hidden;
}

.procode-full-title {
    font-weight: 800;
    text-decoration: none;
    color: #111;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
}

.procode-full-title a{color: #111;}

.procode-full-price {
    margin-top: 10px;
    color: #265b7c;
}

.procode-full-price-val {
    font-weight: 600;
    font-size: 10px;
}
.procode-full-price-val .pc-price-single {font-size: 15px;}

.procode-full-score {
    display: flex;
    gap: 3px;
    align-items: center;
    font-size:13px;
}

.procode-full-score-star {
    color: #f5b301;
    font-size: 20px;
    height: 25px;
    margin-top: -18px;
}

.procode-full-toggle {
    color: #265b7c !important;
    cursor: pointer !important;
    font-size: 12px !important;
    background: none !important;
    min-height: fit-content !important;
    height: fit-content !important;
    width: fit-content !important;
    padding: 0 !important;
    margin-bottom: 8px;
}

.procode-full-toggle:hover span {
    color: #c92e2e;
}

.procode-full-row2 {
    padding: 14px;
    border-top: 1px solid #eee
}

.procode-full-feature {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 150px;
}

.procode-product-link {
    color: #04195b;
}

.procode-full-features-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 8px;
}

.procode-full-features {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: stretch;
}


.procode-full-feature-more {
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.procode-full-feature-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center
}

.procode-full-feature-label {
    font-size: 12px;
    color: #666
}

.procode-full-feature-value {
    font-size: 13px;
    font-weight: 800;
    margin-top: 3px
}

.procode-full-more-wrap {
    margin-top: 10px;
    text-align: center
}

.procode-full-more {
    background: #e5e7eb;
    border: 0;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer
}

.procode-full-summary {
    margin-top: 12px;
    line-height: 1.9;
    color: #333
}

.procode-full-summary p {
    text-align: justify;
    font-size: 12px;
}

.procode-full-summary ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.procode-full-summary ul li {
    margin-bottom: 0 !important;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: #f7f7f7;
    box-sizing: border-box;
}

.procode-full-summary .procode-summary-block ul {
    all: inherit;
}

.procode-full-summary .procode-summary-block ul li {
    all: inherit;
}

.procode-full-readmore {
    margin-top: 12px
}

.procode-full-readmore-btn {
    display: block;
    text-align: center;
    background: #f6f6f6;
    color: #212121;
    text-decoration: none;
    border-radius: 6px;
    padding: 9px;
}

.procode-full-readmore-btn:hover {
    color: #212121;
    background: #e9e9e9;
}

.procode-appropriate {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 8px;
}

.procode-appropriate-desktop {
    position: absolute;
    left: 100px;
    bottom: 6%;
}

.procode-appropriate-mobile {
    border-radius: 5px;
    padding: 5px 2px;
    margin: 0;
    width: 100%;
}

.procode-appropriate-mobile .procode-appropriate-item {
    font-size: 12px;
    flex: 1;
    justify-content: space-around;
}

.procode-appropriate-item {
    color: #333;
    font-size: 12px;
    padding: 0 5px;
    line-height: 1.6;
    white-space: nowrap;
    height: 15px;
    display: flex;
    align-items: center;
    background: none;
    border-radius: 0;
}

.procode-appropriate .procode-appropriate-item:last-child {
    border-left: none;
}

.procode-full-screenshot{
    border-radius: 8px!important;
    margin-bottom: 10px;
    border: 1px solid #b6b6b6!important;
    width: 17%;
    display: block!important;
    justify-self: right;
    margin-top:20px;
}


.procode-full-score-empty {
    font-size: 14px;
}

.procode-input {
    width: 100%!important;
    min-width: 150px;
}

@media(min-width:1024px){
    .procode-full-desktop .procode-full-list{display:flex;flex-wrap:wrap;justify-content:space-between;}
    .procode-full-desktop .procode-full-card{margin:5px;width:49%;}
}


/* card view */
.procode-card-grid{
    display:grid;
    grid-template-columns:repeat(1,1fr);
    gap:16px;
}
.procode-card{
    position:relative;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}
.procode-card .pc-media img{
    width:100%;
    height:220px;
    object-fit:contain;
    background:#fafafa;
    min-height: 220px;
}
.procode-card hr{margin-bottom:0!important;}
.pc-body{
    padding:14px;
    text-align:center;
    min-height: 115px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: stretch;
}
.procode-card .pc-title{font-size:14px;font-weight:600;margin-bottom:8px;text-align: right; color:#222;}
.procode-card .pc-score{font-size:13px;color:#777;text-align: right;}
.procode-card .pc-price{font-size: 14px !important;font-weight: 700;text-align: right;color:#212121;}
.procode-card .pc-price-currency{padding-right: 3px;}
.procode-card .pc-more{
    
}
.procode-card .pc-overlay{
    position:absolute;
    inset:0;
    background:rgba(255,255,255,.65);
    backdrop-filter:blur(12px);
    transform:translateY(100%);
    transition:.45s cubic-bezier(.4,0,.2,1);
    padding:18px;
    z-index:5;
}
.pc-body,
.pc-media {
    transition: 
        filter 0.35s ease,
        opacity 0.35s ease;
}
.procode-card .pc-media img{background:#fff;}
.procode-card.active .pc-overlay{transform:translateY(0);}
.procode-card.active .pc-body,
.procode-card.active .pc-media{filter:blur(4px);opacity:.4;}
.pc-close{
    float: left;
    border-radius: 5px !important;
    min-height: 23px !important;
    min-width: 10px !important;
    width: 22px !important;
    padding: 2px 2px 0 !important;
}
.pc-close:hover{background:#265b7c!important;color:#fff!important;}

#list-box-price-loder .wd-accordion.wd-style-shadow>.wd-accordion-item{
    box-shadow:none;
}

.procode-card .pc-body-info {display: flex;flex-direction: row-reverse;justify-content: space-between;}
    
.procode-card .pc-excerpt{margin-top: 30px;}

.procode-card .pc-body-more{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
}

.procode-card .pc-excerpt ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0px 5px;
}

.procode-card .pc-excerpt ul li {
  background: #fbfbfb;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 70%;
  border: 1px solid #f2f2f2;
  align-content: center;
  height: 80px;
  margin-bottom: 5px;
}

/* اگر تعداد فرد بود، آیتم آخر تمام عرض را بگیرد */
.procode-card .pc-excerpt ul li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}



/* procode list */
.procode-list{border-right: 2px solid #265b7c;}
.procode-list li{list-style: none;padding-right: 10px;}
.pc-price-min, .pc-price-max, .pc-price-single{font-weight: 900;}
.pc-price-sep{padding: 0 4px;}

@media (max-width: 768px) {
    .procode-full-screenshot{
        background: #ffffff !important;
        width: 100%;
        margin-top:20px;
    }
    .procode-full-row1 {
        flex-direction: column;
        padding: 5px;
        gap: 5px;
    }

    .Procode-full-info {
        width: 100%;
    }

    .procode-full-col-side {
        width: 100%;
        flex-direction: row;
        align-items: stretch;
        gap: 5px;
        height: 35px;
        border-top: 1px solid #ccc;
        padding: 5px 5px 0 5px;
        justify-content: space-between;
    }

    .procode-full-score {
        gap: 4px;
        padding-top: 5px;
    }

    .procode-full-title {
        white-space: normal;
        margin-bottom: 0!important;
    }
    
    .procode-full-price {margin-top:0;}

    .procode-full-toggle {
        margin-top: auto !important;
    }
    .procode-full-score-empty, .procode-full-toggle-text, .procode-full-score {
        font-size: 11px;
    }

    .procode-full-img, .procode-full-img.ph {
        width: 90px;
        height: 90px;
    }

    .procode-full-col-main {
        font-size: 14px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .procode-price-info {
        /*display: flex;*/
        justify-content: space-between;
        font-size: 2.6vw;
        width: 100%;
    }

    .procode-price-info img {
        width: 4.3vw;
    }

    .procode-price-info .price-item:last-child {
        margin-right: 0;
    }

    .procode-pdf, .procode-screenshot {
        font-size: 0px !important;
        padding: 0 !important;
    }

    .procode-screenshot::after {
        content: '📸';
        font-size: 26px;
        padding-left: 4px;
        padding-bottom: 3px;
    }

    .procode-pdf::after {
        content: '📄';
        font-size: 26px;
        padding-left: 4px;
        padding-top: 5px;
    }
    
    .procode-card .pc-more {width: 100%;}
    .pc-body-info {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        width: 100%;
    }
    .procode-full-card{
        min-height: 160px;
    }
}

/* card view */
@media(min-width:1024px){
    .procode-card-grid{grid-template-columns:repeat(4,1fr);}
}



/* =========================================================
 * ProCode Table 2 + Divider 2
 * Scoped design: code="table-2" / code="divider-2"
 * ======================================================= */
.procode-table-2-wrap {
    --pc-t2-border: #e7e9ed;
    --pc-t2-muted: #777d87;
    --pc-t2-text: #24262b;
    --pc-t2-soft: #f7f8fa;
    --pc-t2-accent: #ef3f49;
    --pc-t2-green: #11862b;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pc-t2-border);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(25,32,44,.055);
}

.procode-table-2-wrap .procode-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid var(--pc-t2-border);
}

.procode-table-2-wrap .procode-search {
    min-width: 220px;
    height: 42px;
    padding: 0 14px;
    color: var(--pc-t2-text);
    background: #fff;
    border: 1px solid #dfe2e7;
    border-radius: 10px;
    outline: none;
    box-shadow: none;
}

.procode-table-2-wrap .procode-search:focus {
    border-color: rgba(239,63,73,.7);
    box-shadow: 0 0 0 3px rgba(239,63,73,.08);
}

.procode-table-2-wrap .procode-screenshot,
.procode-table-2-wrap .procode-pdf {
    min-height: 42px;
    padding: 0 14px;
    color: #4c5159;
    background: #fff;
    border: 1px solid #dfe2e7;
    border-radius: 10px;
    font: inherit;
    cursor: pointer;
}

.procode-table-2-wrap .procode-scroll-main {
    max-height: 620px;
    overflow: auto;
    scrollbar-width: thin;
}

.procode-table-2-wrap .procode-table-2 {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--pc-t2-text);
    background: #fff;
}

.procode-table-2-wrap .procode-table-2 thead {
    position: sticky;
    top: 0;
    z-index: 8;
}

.procode-table-2-wrap .procode-table-2 th {
    height: 54px;
    padding: 12px 16px;
    color: #535861;
    background: #f7f8fa;
    border: 0;
    border-bottom: 1px solid var(--pc-t2-border);
    border-left: 1px solid #eceef1;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-align: right;
    vertical-align: middle;
}

.procode-table-2-wrap .procode-table-2 th:first-child {
    border-left: 0;
}

.procode-table-2-wrap .procode-table-2 th i {
    margin-right: 7px;
    color: #9aa0aa;
    font-size: 10px;
}

.procode-table-2-wrap .procode-table-2 .procode-row {
    transition: background-color .15s ease, box-shadow .15s ease;
}

.procode-table-2-wrap .procode-table-2 .procode-row:hover {
    background: #fbfbfc;
    box-shadow: inset 3px 0 0 var(--pc-t2-accent);
}

.procode-table-2-wrap .procode-table-2 td {
    height: 66px;
    padding: 10px 16px;
    color: var(--pc-t2-text);
    background: transparent;
    border: 0;
    border-bottom: 1px solid #eceef1;
    border-left: 1px solid #f0f1f3;
    font-size: 13px;
    line-height: 1.7;
    text-align: right;
    vertical-align: middle;
}

.procode-table-2-wrap .procode-table-2 td:first-child {
    border-left: 0;
}

.procode-table-2-wrap .procode-table-2 tbody tr:last-child td {
    border-bottom: 0;
}

.procode-table-2-wrap .procode-title-text {
    color: #25272c;
    font-weight: 600;
    text-decoration: none;
}

.procode-table-2-wrap .procode-title-text:hover {
    color: var(--pc-t2-accent);
}

.procode-table-2-wrap .procode-gallery-thumb,
.procode-table-2-wrap .procode-img-thumb {
    border-radius: 8px;
}

.procode-table-2-wrap .pc-t2-mobile-actions {
    display: none;
}

/* Divider 2 only lives inside the Table 2 scope. */
.procode-table-2-wrap .procode-divider-row {
    height: auto;
    background: transparent !important;
}

.procode-table-2-wrap .procode-divider-row td {
    height: auto;
    padding: 12px 16px;
    background: #f3f4f6 !important;
    border: 0;
    border-bottom: 1px solid #e4e6e9;
}

.procode-table-2-wrap .procode-divider-row td::before {
    position: static;
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    min-height: 30px;
    padding: 5px 12px;
    color: #41454d;
    background: #fff;
    border: 1px solid #dfe2e7;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(30,35,45,.04);
    transform: none;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    text-align-last: right;
}

@media (max-width: 767px) {
    .procode-table-2-wrap:not(.pc-t2-table-mobile) {
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        --pc-t2-sticky-top: 50px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-toolbar {
        display: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-scroll-main {
        max-height: none;
        overflow: visible;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tbody {
        display: block;
        width: 100%;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 thead {
        display: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 .procode-row {
        position: relative;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-areas:
            "image title title title"
            "image model model model"
            "price price price price"
            "spec1 spec2 spec3 spec4"
            "actions actions badges badges";
        gap: 8px 10px;
        width: 100%;
        margin: 0 0 14px;
        padding: 18px 18px 14px;
        overflow: hidden;
        box-sizing: border-box;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        box-shadow: 0 5px 18px rgba(25,32,44,.06);
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 .procode-row:hover {
        background: #fff;
        box-shadow: 0 5px 18px rgba(25,32,44,.06);
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 td {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: auto !important;
        max-width: none !important;
        min-height: 0;
        height: auto;
        padding: 0;
        white-space: normal !important;
        border: 0 !important;
        background: transparent;
        text-align: center;
        font-size: 12px;
        line-height: 1.45;
        overflow: visible;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 td::before {
        content: attr(data-label);
        display: block;
        color: #8a8f98;
        font-size: 11px;
        font-weight: 400;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 td:not([data-column="thumbnail"]):not([data-column="img"]):not([data-column="post_title"]):not([data-column="title"]):not([data-column="model"]):not([data-column="sku"]):not([data-column="price"]):not([data-column="price_dollar"]):not([data-column="_price"]):not([data-column="stock"]):not([data-column="stock_status"]):not([data-column="_stock_status"]):not([data-column="size"]):not([data-column="pa_size"]):not([data-column="pa_inches"]):not([data-dbcol^="pa_"]):not(.pc-t2-mobile-actions) {
        display: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="thumbnail"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="img"] {
        grid-area: image;
        align-self: start;
        justify-content: flex-start;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="thumbnail"]::before,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="img"]::before {
        display: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="thumbnail"] img,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="img"] img {
        width: 128px !important;
        height: 86px !important;
        object-fit: contain;
        border-radius: 6px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="post_title"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="title"] {
        grid-area: title;
        justify-content: flex-start;
        text-align: right;
        padding-left: 26px;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.55;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="post_title"]::before,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="title"]::before {
        display: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="post_title"] .procode-title-text,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="title"] .procode-title-text {
        color: #24262b;
        font-size: 16px;
        font-weight: 800;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="model"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="sku"] {
        grid-area: model;
        justify-content: flex-start;
        color: #777;
        font-size: 13px;
        text-align: right;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="model"]::before,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="sku"]::before {
        display: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="price"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="price_dollar"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="_price"] {
        grid-area: price;
        justify-content: flex-start;
        color: var(--pc-t2-green);
        font-size: 18px;
        font-weight: 800;
        text-align: right;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="price"]::before,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="price_dollar"]::before,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="_price"]::before {
        content: "";
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-dbcol^="pa_"] {
        display: flex;
        flex-direction: column-reverse;
        min-height: 58px;
        padding: 7px 5px;
        background: #fff;
        border: 1px solid #eceef2 !important;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 700;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-dbcol^="pa_"]::before {
        font-size: 10px;
        font-weight: 400;
        color: #878c95;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-dbcol^="pa_"]:nth-of-type(1) {
        grid-area: spec1;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-dbcol^="pa_"]:nth-of-type(2) {
        grid-area: spec2;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-dbcol^="pa_"]:nth-of-type(3) {
        grid-area: spec3;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-dbcol^="pa_"]:nth-of-type(4) {
        grid-area: spec4;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="stock"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="stock_status"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="_stock_status"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="size"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="pa_size"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="pa_inches"] {
        display: inline-flex;
        min-width: 74px;
        min-height: 36px;
        padding: 6px 11px;
        border: 1px solid #8bd497 !important;
        border-radius: 9px;
        color: #137b27;
        background: #f2fff4;
        font-weight: 700;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="stock"]::before,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="stock_status"]::before,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="_stock_status"]::before,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="size"]::before,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="pa_size"]::before,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="pa_inches"]::before {
        display: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="size"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="pa_size"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="pa_inches"] {
        border-color: #ff747a !important;
        color: #ef3f49;
        background: #fff;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-mobile-actions {
        grid-area: actions;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 4px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-details-link {
        color: #666;
        text-decoration: none;
        font-size: 12px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-details-link span {
        display: inline-block;
        margin-right: 6px;
        font-size: 20px;
        vertical-align: -2px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-more {
        position: absolute;
        top: 13px;
        left: 17px;
        color: #333;
        font-size: 22px;
        line-height: 1;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="stock"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="stock_status"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="_stock_status"] {
        position: absolute;
        left: 18px;
        bottom: 58px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="size"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="pa_size"],
    .procode-table-2-wrap:not(.pc-t2-table-mobile) td[data-column="pa_inches"] {
        position: absolute;
        left: 105px;
        bottom: 58px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-divider-row {
        display: block;
        width: 100%;
        margin: 20px 0 12px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-divider-row td {
        display: block;
        width: 100% !important;
        padding: 0;
        background: transparent !important;
        border: 0;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-divider-row td::before {
        width: 100%;
        min-height: 44px;
        padding: 10px 14px;
        box-sizing: border-box;
        background: #f4f5f7;
        border: 1px solid #e1e4e8;
        border-radius: 12px;
        color: #343840;
        font-size: 13px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-price-info {
        padding: 4px 2px 0;
        font-size: 11px;
    }
}

/* =========================================================
 * Table 2 refresh — Momtazkalla 2026
 * Desktop controls and table are isolated from the card layout.
 * ======================================================= */
@media (min-width: 0px) {
    .procode-table-2-wrap {
        --pc-t2-border: #e6e9ee;
        --pc-t2-border-strong: #d8dde5;
        --pc-t2-muted: #747b86;
        --pc-t2-text: #20242a;
        --pc-t2-soft: #f6f7f9;
        --pc-t2-accent: #265b7c;
        --pc-t2-accent-soft: #fff4f4;
        direction: rtl;
        padding: 0;
        overflow: hidden;
        background: #fff;
        border: 1px solid var(--pc-t2-border);
        border-radius: 18px;
        box-shadow: 0 8px 30px rgba(25, 32, 44, .055);
    }

    .procode-table-2-wrap .pc-t2-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        margin: 0;
        padding: 16px 18px;
        box-sizing: border-box;
        background: #fff;
        border-bottom: 1px solid var(--pc-t2-border);
    }

    .procode-table-2-wrap .pc-t2-toolbar-main,
    .procode-table-2-wrap .pc-t2-toolbar-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .procode-table-2-wrap .pc-t2-toolbar-main {
        flex: 1 1 auto;
    }

    .procode-table-2-wrap .pc-t2-search-field,
    .procode-table-2-wrap .pc-t2-select-field {
        position: relative;
        display: flex;
        align-items: center;
        min-width: 0;
        margin: 0;
        cursor: text;
    }

    .procode-table-2-wrap .pc-t2-search-field {
        flex: 1 1 420px;
        max-width: 560px;
    }

    .procode-table-2-wrap .pc-t2-search-field > i {
        position: absolute;
        right: 15px;
        z-index: 1;
        color: #939aa5;
        font-size: 14px;
        pointer-events: none;
    }

    .procode-table-2-wrap .procode-search {
        width: 100%;
        min-width: 320px;
        height: 44px;
        margin: 0;
        padding: 0 42px 0 14px;
        box-sizing: border-box;
        color: var(--pc-t2-text);
        background: #fafbfc;
        border: 1px solid var(--pc-t2-border-strong);
        border-radius: 11px !important;
        outline: none;
        box-shadow: none;
        font-size: 13px;
        transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    }

    .procode-table-2-wrap .procode-search:hover {
        background: #fff;
        border-color: #c9cfd8;
    }

    .procode-table-2-wrap .procode-search:focus,
    .procode-table-2-wrap .pc-t2-search-field.is-active .procode-search {
        background: #fff;
        border-color: rgba(38, 91, 124, .72);
        box-shadow: 0 0 0 3px rgba(38, 91, 124, .09);
    }

    .procode-table-2-wrap .pc-t2-select-field {
        flex: 0 0 158px;
        cursor: pointer;
    }

    .procode-table-2-wrap .pc-t2-control {
        width: 100%;
        height: 44px;
        margin: 0;
        padding: 0 14px 0 36px;
        appearance: none;
        -webkit-appearance: none;
        color: #3f454d;
        background: #fff;
        border: 1px solid var(--pc-t2-border-strong);
        border-radius: 11px;
        outline: none;
        font: inherit;
        font-size: 13px;
        cursor: pointer;
        transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    }

    .procode-table-2-wrap .pc-t2-select-field > i {
        position: absolute;
        left: 13px;
        color: #8a919c;
        font-size: 10px;
        pointer-events: none;
        transition: transform .18s ease, color .18s ease;
    }

    .procode-table-2-wrap .pc-t2-select-field:hover .pc-t2-control {
        background: #fafbfc;
        border-color: #c7cdd6;
    }

    .procode-table-2-wrap .pc-t2-control:focus,
    .procode-table-2-wrap .pc-t2-select-field.is-active .pc-t2-control {
        border-color: rgba(38, 91, 124, .72);
        box-shadow: 0 0 0 3px rgba(38, 91, 124, .08);
    }

    .procode-table-2-wrap .pc-t2-select-field.is-active > i {
        color: var(--pc-t2-accent);
    }

    .procode-table-2-wrap .pc-t2-reset {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 154px;
        height: 44px;
        margin: 0;
        padding: 0 16px;
        color: #d93b3b;
        background: var(--pc-t2-accent-soft);
        border: 1px solid #f5caca;
        border-radius: 11px;
        font: inherit;
        font-size: 13px;
        font-weight: 650;
        line-height: 1;
        white-space: nowrap;
        cursor: pointer;
        transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
    }

    .procode-table-2-wrap .pc-t2-reset:hover {
        color: #fff;
        background: var(--pc-t2-accent);
        border-color: var(--pc-t2-accent);
        transform: translateY(-1px);
    }

    .procode-table-2-wrap .pc-t2-reset:focus-visible,
    .procode-table-2-wrap .procode-screenshot:focus-visible {
        outline: 3px solid rgba(38, 91, 124, .16);
        outline-offset: 2px;
    }

    .procode-table-2-wrap .procode-screenshot {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: auto;
        min-width: 150px;
        height: 44px;
        margin: 0;
        padding: 0 16px;
        color: #4f5660;
        background: #fff;
        border: 1px solid var(--pc-t2-border-strong);
        border-radius: 11px !important;
        font: inherit;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
    }

    .procode-table-2-wrap .procode-screenshot:hover {
        color: var(--pc-t2-accent);
        background: #fffafa;
        border-color: #f0b7b7;
    }

    .procode-table-2-wrap .procode-scroll-main {
        position: relative;
        max-height: 620px;
        overflow: auto;
        border-radius: 0;
        scrollbar-width: thin;
        scrollbar-color: #bfc5ce #f4f5f7;
    }

    .procode-table-2-wrap .procode-table-2 {
        width: max-content;
        min-width: 100%;
        margin: 0;
        color: var(--pc-t2-text);
        background: #fff;
        border: 0;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: auto;
    }

    .procode-table-2-wrap .procode-table-2 thead {
        position: sticky;
        top: 0;
        z-index: 8;
    }

    .procode-table-2-wrap .procode-table-2 th {
        height: 52px;
        padding: 11px 15px;
        color: #555d68;
        background: #f6f7f9;
        border: 0;
        border-bottom: 1px solid var(--pc-t2-border);
        border-left: 1px solid #eaedf1;
        font-size: 12.5px;
        font-weight: 650;
        line-height: 1.5;
        text-align: right;
        vertical-align: middle;
        white-space: nowrap;
        cursor: pointer;
        transition: color .16s ease, background-color .16s ease;
    }

    .procode-table-2-wrap .procode-table-2 th:first-child {
        border-left: 0;
    }

    .procode-table-2-wrap .procode-table-2 th:hover,
    .procode-table-2-wrap .procode-table-2 th.is-sorted {
        color: var(--pc-t2-accent);
        background: #fff1f1;
    }

    .procode-table-2-wrap .procode-table-2 th i {
        margin-right: 7px;
        color: #a2a8b1;
        font-size: 9px;
        transition: transform .18s ease, color .18s ease;
    }

    .procode-table-2-wrap .procode-table-2 th[aria-sort="ascending"] i {
        color: var(--pc-t2-accent);
        transform: rotate(180deg);
    }

    .procode-table-2-wrap .procode-table-2 th[aria-sort="descending"] i {
        color: var(--pc-t2-accent);
        transform: rotate(0);
    }

    .procode-table-2-wrap .procode-table-2 .procode-row {
        transition: box-shadow .16s ease;
    }

    .procode-table-2-wrap .procode-table-2 .row-light,
    .procode-table-2-wrap .procode-table-2 .row-dark {
        background: transparent;
    }

    .procode-table-2-wrap .procode-table-2 .row-dark td {
        background: #fafbfc;
    }

    .procode-table-2-wrap .procode-table-2 td {
        min-height: 66px;
        height: 66px;
        padding: 9px 15px;
        color: var(--pc-t2-text);
        background: #fff;
        border: 0;
        border-bottom: 1px solid #eceff2;
        border-left: 1px solid #f0f2f5;
        font-size: 12.5px;
        font-weight: 550;
        line-height: 1.65;
        text-align: right;
        vertical-align: middle;
        transition: background-color .16s ease;
    }

    .procode-table-2-wrap .procode-table-2 td:first-child {
        border-left: 0;
    }

    .procode-table-2-wrap .procode-table-2 .procode-row:hover td {
        background: #f4f8fa;
    }

    .procode-table-2-wrap .procode-table-2 .procode-row:hover td:first-child {
        box-shadow: inset -3px 0 0 var(--pc-t2-accent);
    }

    .procode-table-2-wrap .procode-title-text {
        color: #22262c;
        font-weight: 700;
        text-decoration: none;
    }

    .procode-table-2-wrap .procode-title-text:hover {
        color: var(--pc-t2-accent);
    }

    .procode-table-2-wrap .procode-gallery-thumb,
    .procode-table-2-wrap .procode-img-thumb {
        border-radius: 9px;
    }

    .procode-table-2-wrap .pc-t2-mobile-actions {
        display: none;
    }

    .procode-table-2-wrap .procode-divider-row td {
        height: auto;
        padding: 10px 15px;
        background: var(--pc-divider-bg, #f2f4f7) !important;
        border: 0;
        border-bottom: 1px solid #e5e8ec;
    }

    .procode-table-2-wrap .procode-divider-row td::before {
        content: none;
    }

    .procode-table-2-wrap .pc-t2-divider-title {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 4px 12px;
        color: #3f4650;
        background: rgba(255, 255, 255, .92);
        border: 1px solid rgba(216, 221, 229, .95);
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
    }

    .procode-table-2-wrap .pc-t2-footer {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 48px;
        padding: 0 18px;
        color: var(--pc-t2-muted);
        background: #fff;
        border-top: 1px solid var(--pc-t2-border);
        font-size: 12px;
    }

    .procode-table-2-wrap .pc-t2-count {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .procode-table-2-wrap .pc-t2-count::before {
        content: "";
        width: 7px;
        height: 7px;
        background: #32a852;
        border-radius: 50%;
        box-shadow: 0 0 0 4px rgba(50, 168, 82, .1);
    }
}

.procode-table-2-wrap .is-filtered-out {
    display: none !important;
}

@media (min-width: 768px) and (max-width: 1180px) {
    .procode-table-2-wrap .pc-t2-toolbar {
        flex-wrap: wrap;
    }

    .procode-table-2-wrap .pc-t2-toolbar-main {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }

    .procode-table-2-wrap .pc-t2-search-field {
        max-width: none;
    }

    .procode-table-2-wrap .pc-t2-toolbar-actions {
        margin-right: auto;
    }
}

/* Table 2 card layout is activated only on mobile. */
@media (max-width: 767px) {
    .procode-table-2-wrap:not(.pc-t2-table-mobile) {
        --pc-t2-accent: #265b7c;
        --pc-t2-green: #168235;
        padding: 0;
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) > .procode-toolbar {
        display: none !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) > .procode-scroll-main {
        max-height: none !important;
        overflow: visible !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tbody {
        display: block !important;
        width: 100% !important;
        background: transparent !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 thead {
        display: none !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row {
        direction: ltr;
        position: relative;
        display: grid !important;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-template-rows: 22px 16px 18px 48px 28px;
        grid-auto-flow: row;
        align-content: start;
        row-gap: 0;
        width: 100%;
        min-width: 0;
        margin: 0 0 9px;
        padding: 10px 11px 6px;
        overflow: hidden;
        box-sizing: border-box;
        background: #fff;
        border: 1px solid #e3e6ea;
        border-radius: 12px;
        box-shadow: 0 3px 10px rgba(20, 27, 38, .04);
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row.is-mobile-expanded {
        height: auto;
        max-height: none;
        min-height: 200px;
        grid-template-rows: 22px 16px 18px 48px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row > td {
        direction: rtl;
        display: none;
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        margin: 0;
        padding: 0;
        border: 0 !important;
        background: transparent !important;
        white-space: normal !important;
        text-align: right;
        vertical-align: top;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-image:not(.pc-t2-mobile-empty) {
        display: flex !important;
        grid-column: 10 / 13;
        grid-row: 1 / 4;
        width: 100% !important;
        height: 64px !important;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-role-image .procode-gallery-cell,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-role-image .procode-gallery-thumb {
        display: flex !important;
        width: 100% !important;
        height: 100% !important;
        align-items: center;
        justify-content: center;
        border: 0 !important;
        background: transparent !important;
        overflow: hidden;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-role-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: contain;
        border: 0 !important;
        border-radius: 6px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-mobile-primary {
        display: -webkit-box !important;
        grid-column: 5 / 10;
        grid-row: 1;
        align-self: center;
        padding: 0 7px !important;
        overflow: hidden;
        color: #222;
        font-size: 14px;
        font-weight: 750;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-mobile-primary a {
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        text-decoration: none !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-mobile-secondary {
        display: block !important;
        grid-column: 5 / 10;
        grid-row: 2;
        align-self: center;
        padding: 0 7px !important;
        overflow: hidden;
        color: #858a93;
        font-size: 11.5px;
        line-height: 1.35;
        white-space: nowrap !important;
        text-overflow: ellipsis;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-score .pc-t2-role-score:not(.pc-t2-mobile-empty) {
        display: flex !important;
        grid-column: 5 / 10;
        grid-row: 3;
        align-self: start;
        justify-content: flex-start;
        padding: 0 7px !important;
        color: #747982;
        font-size: 11.5px;
        line-height: 1.35;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-score .pc-t2-role-score::before {
        content: "★";
        margin-left: 4px;
        color: #f5a000;
        font-size: 13px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-image .pc-t2-mobile-primary,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-image .pc-t2-mobile-secondary,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-image .pc-t2-role-score {
        grid-column: 5 / 13;
        padding-right: 0 !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-side .pc-t2-mobile-primary,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-side .pc-t2-mobile-secondary,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-side .pc-t2-role-score {
        grid-column: 1 / 10;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-image.no-side .pc-t2-mobile-primary,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-image.no-side .pc-t2-mobile-secondary,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-image.no-side .pc-t2-role-score {
        grid-column: 1 / 13;
        padding-inline: 0 !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-price .pc-t2-role-price:not(.pc-t2-mobile-empty) {
        direction: rtl;
        display: block !important;
        grid-column: 1 / 5;
        grid-row: 1 / 4;
        align-self: center;
        overflow: hidden;
        color: #265b7c;
        font-size: clamp(13.5px, 3.5vw, 16px);
        font-weight: 850;
        line-height: 1.45;
        text-align: left;
        white-space: nowrap !important;
        text-overflow: ellipsis;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-price.no-score.has-status .pc-t2-role-status:not(.pc-t2-mobile-empty) {
        display: block !important;
        grid-column: 1 / 5;
        grid-row: 1 / 4;
        align-self: center;
        color: var(--pc-t2-green);
        font-size: 12px;
        font-weight: 700;
        text-align: left;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-feature:not(.pc-t2-mobile-empty) {
        display: flex !important;
        grid-column: var(--pc-f-start) / span var(--pc-f-span);
        grid-row: var(--pc-f-row);
        min-height: 44px !important;
        padding: 3px !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow-wrap: anywhere;
        color: #202329;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.35;
        text-align: center;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-feature::before {
        content: attr(data-label);
        display: block;
        width: 100%;
        margin-bottom: 3px;
        overflow: hidden;
        color: #8b9098;
        font-size: 10px;
        font-weight: 400;
        line-height: 1.25;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-feature-later-row {
        border-top: 1px solid #eceef1 !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row:not(.is-mobile-expanded) > td.pc-t2-feature-extra,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row:not(.is-mobile-expanded) > td.pc-t2-feature-extra[hidden] {
        display: none !important;
        visibility: hidden !important;
    }


    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-update:not(.pc-t2-mobile-empty) {
        display: flex !important;
        grid-column: 1 / 13;
        grid-row: var(--pc-actions-row-collapsed);
        min-height: 26px !important;
        padding: 2px 2px 0 !important;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        border-top: 1px solid #eceef1 !important;
        color: #7c8189;
        font-size: 10.5px;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-update::before {
        content: attr(data-label) ":";
        color: #9a9fa6;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-update.has-more-features .pc-t2-role-update {
        grid-column: 7 / 13;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.is-mobile-expanded .pc-t2-role-update:not(.pc-t2-mobile-empty) {
        grid-row: var(--pc-actions-row-expanded);
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-mobile-actions {
        direction: rtl;
        display: flex !important;
        grid-column: 1 / 13;
        grid-row: var(--pc-actions-row-collapsed);
        min-height: 26px !important;
        padding: 2px 2px 0 !important;
        align-items: center;
        justify-content: center;
        border-top: 1px solid #eceef1 !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-update.has-more-features .pc-t2-mobile-actions {
        grid-column: 1 / 7;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.is-mobile-expanded .pc-t2-mobile-actions {
        grid-row: var(--pc-actions-row-expanded);
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-mobile-actions.is-empty {
        display: none !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle {
        display: inline-flex;
        min-height: 24px;
        padding: 1px 3px;
        align-items: center;
        justify-content: center;
        gap: 7px;
        color: #747982;
        background: transparent;
        border: 0;
        font: inherit;
        font-size: 10.8px;
        cursor: pointer;
        touch-action: manipulation;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle i {
        width: 7px;
        height: 7px;
        border-left: 1.5px solid #ef6b24;
        border-bottom: 1.5px solid #ef6b24;
        transform: rotate(-45deg) translateY(-2px);
        transition: transform .18s ease;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle[aria-expanded="true"] i {
        transform: rotate(135deg) translateY(-1px);
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-divider-row {
        display: block !important;
        width: 100% !important;
        margin: 16px 0 8px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-divider-row > td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-divider-row > td::before {
        content: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-divider-title {
        display: block;
        width: 100%;
        min-height: 42px;
        padding: 10px 13px;
        box-sizing: border-box;
        color: #fff;
        background: var(--pc-divider-bg, #eef0f3);
        border: 1px solid #e1e4e8;
        border-radius: 11px;
        font-size: 13px;
        font-weight: 700;
    }
    
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-divider-title::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        display: inline-block;
        margin-right: 8px;
        font-size: 12px;
        color: #fff;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        margin-top: 4px;
        color: #747b86;
        background: transparent;
        border: 0;
        font-size: 11px;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-count::before {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        margin-left: 7px;
        background: #32a852;
        border-radius: 50%;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) > .procode-price-info {
        margin: 4px 8px 0;
        padding: 7px 0;
        background: transparent;
        font-size: 10px;
    }
}

/* =========================================================
 * Table 2 mobile card — MomtazKala 2026 redesign
 * Compact state: 4 specs. Expanded state: up to 8 specs.
 * This final layer intentionally overrides the legacy mobile card rules above.
 * ======================================================= */
@media (max-width: 767px) {
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row {
        direction: ltr;
        display: grid !important;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-template-rows: 42px 28px 1px 58px 0 46px;
        width: 100%;
        min-height: 193px;
        margin: 0 0 12px;
        padding: 9px 11px;
        overflow: hidden;
        background: #fff;
        border: 1px solid #e1e5ea;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(30, 40, 55, .055);
        transition: grid-template-rows .28s ease, min-height .28s ease, box-shadow .2s ease;
        isolation: isolate;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row.is-mobile-expanded {
        grid-template-rows: 42px 28px 1px 58px 58px 46px;
        min-height: 251px;
        box-shadow: 0 7px 20px rgba(30, 40, 55, .08);
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row > td {
        min-height: 0 !important;
    }

    /* Product image: fixed at the top-right without cropping. */
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-image:not(.pc-t2-mobile-empty) {
        display: flex !important;
        grid-column: 10 / 13;
        grid-row: 1 / 3;
        width: 100% !important;
        height: 70px !important;
        padding: 1px 0 1px 5px !important;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-role-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
        border-radius: 5px;
    }

    /* Title gets the widest area and stays visually connected to the image. */
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-mobile-primary {
        direction: rtl;
        display: -webkit-box !important;
        grid-column: 1 / 10;
        grid-row: 1;
        align-self: center;
        padding: 0 8px 0 6px !important;
        overflow: hidden;
        color: #20242b;
        font-size: clamp(12.5px, 3.75vw, 15px);
        font-weight: 750;
        line-height: 1.55;
        text-align: right;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-mobile-secondary {
        display: none !important;
    }

    /* Price sits under the title; currency is added only for numeric prices. */
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-price .pc-t2-role-price:not(.pc-t2-mobile-empty) {
        direction: rtl;
        display: flex !important;
        grid-column: 4 / 10;
        grid-row: 2;
        min-width: 0;
        padding: 0 8px 0 6px !important;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        overflow: hidden;
        color: #265b7c;
        font-size: clamp(15px, 4.3vw, 18px);
        font-weight: 850;
        line-height: 1;
        text-align: right;
        white-space: nowrap !important;
        text-overflow: ellipsis;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-price.pc-t2-has-numeric-price::after {
        content: "تومان";
        flex: 0 0 auto;
        color: #f04418;
        font-size: 10.5px;
        font-weight: 500;
    }

    /* Score is deliberately light—no green badge in this mobile design. */
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-score .pc-t2-role-score:not(.pc-t2-mobile-empty) {
        direction: ltr;
        display: flex !important;
        grid-column: 1 / 4;
        grid-row: 2;
        padding: 6px 4px 0 1px !important;
        align-items: center;
        justify-content: flex-start;
        gap: 3px;
        color: #f04418;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-score .pc-t2-role-score::before {
        content: none !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-score .pc-t2-role-score::after {
        content: "★";
        color: #ffc400;
        font-size: 17px;
        line-height: 1;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-role-score .procode-score,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-role-score .procode-score[class*="score-"] {
        width: auto;
        padding: 0;
        color: #f04418;
        background: transparent;
        border-radius: 0;
        font-size: inherit;
        font-weight: inherit;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-image .pc-t2-mobile-primary {
        grid-column: 1 / 13;
        padding-right: 0 !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-image.has-price .pc-t2-role-price {
        grid-column: 4 / 13;
        padding-right: 0 !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.no-price.no-score.has-status .pc-t2-role-status:not(.pc-t2-mobile-empty) {
        direction: rtl;
        display: flex !important;
        grid-column: 1 / 10;
        grid-row: 2;
        padding: 0 8px !important;
        align-items: center;
        color: #168235;
        font-size: 12px;
        font-weight: 750;
        text-align: right;
    }

    /* A quiet divider separates product summary from specifications. */
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row::before {
        content: "";
        display: block;
        grid-column: 1 / 13;
        grid-row: 3;
        align-self: center;
        height: 1px;
        margin: 0 1px;
        background: #e7eaee;
    }

    /* Four equal spec cells per row. */
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-feature:not(.pc-t2-mobile-empty):not(.pc-t2-feature-overflow) {
        grid-column: var(--pc-f-start) / span var(--pc-f-span);
        grid-row: var(--pc-f-row);
        min-height: 0 !important;
        padding: 7px 4px 5px !important;
        align-items: center;
        color: #161b22;
        font-size: 12px;
        font-weight: 750;
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis;
        line-height: 1.5;
        max-height: 3.8em;
        text-align: center;
        direction: ltr;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-feature::before {
        content: attr(data-label);
        display: block;
        width: 100%;
        margin: 4px 0;
        overflow: hidden;
        color: #9199a6;
        font-size: 10.5px;
        font-weight: 450;
        line-height: 1.25;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-feature-index-0,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-feature-index-1,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-feature-index-2,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-feature-index-4,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-feature-index-5,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-feature-index-6 {
        border-right: 1px solid #e4e8ed !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-feature-later-row {
        border-top: 1px solid #eef0f3 !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row > td.pc-t2-feature-overflow {
        display: none !important;
        visibility: hidden !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row:not(.is-mobile-expanded) > td.pc-t2-feature-extra,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row:not(.is-mobile-expanded) > td.pc-t2-feature-extra[hidden] {
        display: none !important;
        visibility: hidden !important;
    }

    /* Update and expand control form one soft outlined footer. */
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row.has-update::after,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row.has-more-features::after {
        content: "";
        z-index: 0;
        display: block;
        grid-column: 1 / 13;
        grid-row: 6;
        align-self: stretch;
        margin: 4px 1px 0;
        background: #fff;
        /* border: 1px solid #dfe5eb; */
        border-radius: 11px;
        box-shadow: 0 1px 2px rgba(27, 39, 55, .025);
        pointer-events: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-update:not(.pc-t2-mobile-empty) {
        direction: rtl;
        z-index: 1;
        display: flex !important;
        grid-column: 1 / 13;
        grid-row: 6;
        min-width: 0;
        min-height: 40px !important;
        margin: 4px 1px 0;
        padding: 0 10px !important;
        align-items: center;
        justify-content: flex-start;
        gap: 3px;
        overflow: hidden;
        color: #737d8d;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0;
        font-size: clamp(9.5px, 2.8vw, 11px);
        line-height: 1;
        white-space: nowrap !important;
        text-overflow: ellipsis;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-role-update::before {
        content: attr(data-label) ":";
        color: #8d96a3;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-update.has-more-features .pc-t2-role-update {
        grid-column: 6 / 13;
        margin-left: 0;
        border: 0 !important;
        border-radius: 0;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-mobile-actions {
        direction: rtl;
        z-index: 2;
        display: flex !important;
        grid-column: 1 / 13;
        grid-row: 6;
        min-height: 40px !important;
        margin: 4px 1px 0;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row.has-update.has-more-features .pc-t2-mobile-actions {
        grid-column: 1 / 6;
        margin-right: 0;
        border: 0 !important;
        border-radius: 0;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-row .pc-t2-mobile-actions.is-empty {
        display: none !important;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle {
        display: inline-flex;
        width: 100%;
        min-height: 38px;
        margin: 2px;
        padding: 0 7px;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        color: #536176;
        background: transparent;
        border: 0;
        border-radius: 9px;
        font: inherit;
        font-size: clamp(10px, 3vw, 11.5px);
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        transition: color .18s ease, background-color .18s ease,
                    box-shadow .18s ease, transform .12s ease;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle:hover {
        color: #3f4c60;
        background: transparent;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle[aria-expanded="true"] {
        color: #d94727;
        background: transparent;
        box-shadow: none;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle i {
        width: 8px;
        height: 8px;
        border-left: 2px solid #536176;
        border-bottom: 2px solid #536176;
        transform: rotate(-45deg) translateY(-2px);
        transition: border-color .18s ease, transform .25s ease;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle:hover i,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle:active i,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle[aria-expanded="true"] i {
        border-color: #e15a3b;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .pc-t2-feature-toggle[aria-expanded="true"] i {
        transform: rotate(135deg) translate(-1px, -1px);
    }
}

/* Divider2 sticky headers. Keep the row in normal flow; move its cell only. */
@media (max-width: 767px) {
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-divider-row {
        position: relative;
        height: auto;
        overflow: visible;
        background: transparent;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-divider-row.pc-t2-divider-pinned {
        z-index: 20;
    }

    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-divider-row.pc-t2-divider-pinned > td {
        transform: translateY(var(--pc-t2-divider-offset, 0px));
        transition: none;
    }
}

/* Table 2: mobile toolbar and live product count */
@media (max-width: 767px) {
    .procode-table-2-wrap > .pc-t2-toolbar {
        display: block !important;
        direction: rtl;
        width: 100%;
        margin: 0 0 14px;
        padding: 12px;
        box-sizing: border-box;
        background: #fff;
        border: 1px solid #e3e6ea;
        border-radius: 14px;
        box-shadow: 0 3px 12px rgba(20, 27, 38, .035);
    }

    .procode-table-2-wrap .pc-t2-toolbar-main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .procode-table-2-wrap .pc-t2-search-field,
    .procode-table-2-wrap .pc-t2-select-field {
        position: relative;
        display: flex;
        align-items: center;
        min-width: 0;
        margin: 0;
    }

    .procode-table-2-wrap .pc-t2-search-field {
        grid-column: 1 / -1;
        max-width: none;
    }

    .procode-table-2-wrap .pc-t2-toolbar .procode-search,
    .procode-table-2-wrap .pc-t2-toolbar .pc-t2-control {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 44px;
        margin: 0;
        padding: 0 12px;
        box-sizing: border-box;
        color: #343b46;
        background: #fafbfc;
        border: 1px solid #dfe3e9;
        border-radius: 10px !important;
        font: inherit;
        font-size: 16px;
        transition: border-color .18s ease, box-shadow .18s ease;
    }

    .procode-table-2-wrap .pc-t2-toolbar .procode-search {
        padding-right: 38px;
    }

    .procode-table-2-wrap .pc-t2-toolbar .pc-t2-control {
        padding-left: 30px;
        appearance: none;
        -webkit-appearance: none;
        background-image: none;
        cursor: pointer;
    }

    .procode-table-2-wrap .pc-t2-search-field > i {
        position: absolute;
        right: 13px;
        color: #929aa6;
        font-size: 14px;
        pointer-events: none;
    }

    .procode-table-2-wrap .pc-t2-select-field > i {
        position: absolute;
        left: 11px;
        color: #929aa6;
        font-size: 10px;
        pointer-events: none;
    }

    .procode-table-2-wrap .pc-t2-toolbar .procode-search:focus,
    .procode-table-2-wrap .pc-t2-toolbar .pc-t2-control:focus,
    .procode-table-2-wrap .pc-t2-select-field.is-active .pc-t2-control {
        outline: none;
        border-color: #265b7c;
        box-shadow: 0 0 0 3px rgba(38, 91, 124, .08);
    }

    .procode-table-2-wrap .pc-t2-reset {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        margin: 0;
        padding: 8px;
        color: #d93b3b;
        background: #fff4f4;
        border: 1px solid #f5d4d4;
        border-radius: 10px;
        font: inherit;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
    }

    .procode-table-2-wrap .pc-t2-reset:active {
        background: #ffe7e7;
    }

    .procode-table-2-wrap .pc-t2-reset:focus-visible {
        outline: 2px solid #265b7c;
        outline-offset: 2px;
    }

    .procode-table-2-wrap .pc-t2-toolbar-main > .pc-t2-count {
        display: inline-flex;
        align-items: center;
        justify-self: end;
        gap: 8px;
        min-height: 44px;
        color: #697382;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
    }

    .procode-table-2-wrap .pc-t2-toolbar-main > .pc-t2-count::before {
        flex-shrink: 0;
        margin: 0;
    }

    .procode-table-2-wrap .pc-t2-toolbar-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eef0f3;
    }

    .procode-table-2-wrap .pc-t2-toolbar-actions .procode-screenshot {
        justify-content: center;
        width: auto;
        min-height: 44px;
        padding: 0 12px !important;
        font-size: 12px !important;
    }

    .procode-table-2-wrap .pc-t2-toolbar-actions .procode-screenshot::after {
        content: none;
    }

    .procode-table-2-wrap.pc-t2-count-in-toolbar > .pc-t2-footer {
        display: none !important;
    }
}


/* Mobile search/filter visibility must override the card and divider layouts. */
@media (max-width: 767px) {
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-row.is-filtered-out,
    .procode-table-2-wrap:not(.pc-t2-table-mobile) .procode-table-2 tr.procode-divider-row.is-filtered-out {
        display: none !important;
    }
}


/* Table 2 / Divider 2: the same table on every viewport; scrolling stays local. */
.procode-table-2-wrap.pc-t2-table-mobile .procode-scroll-main {
    overflow: auto;
    max-width: 100%;
    overscroll-behavior-inline: contain;
    height: 520px;
}
.procode-table-2-wrap.pc-t2-table-mobile .procode-scroll-main:focus-visible {
    outline: 1px solid #d8dde5;
    outline-offset: -1px;
}
.procode-table-2-wrap.pc-t2-table-mobile .procode-table-2 {
    width: max-content;
    min-width: 100%;
}
.procode-table-2-wrap.pc-t2-table-mobile .procode-row > td {
    display: table-cell;
}
.procode-table-2-wrap.pc-t2-table-mobile .procode-row > td.pc-t2-mobile-actions {
    display: none !important;
}
.procode-table-2-wrap.pc-t2-table-mobile .procode-table-2 .procode-divider-row > td {
    background: #fff !important;
    color: #41454d !important;
    border-top: 1px solid #e4e6e9;
    border-bottom: 1px solid #e4e6e9;
}
.procode-table-2-wrap.pc-t2-table-mobile .pc-t2-divider-title,
.procode-table-2-wrap.pc-t2-table-mobile .procode-divider-row > td::before {
    background: #f7f8fa !important;
    color: #41454d !important;
    border-color: #e4e6e9 !important;
}
/* Markers are emitted only for the first configured column, never a divider. */
.procode-table-2-wrap.pc-t2-freeze-first .procode-table-2 .pc-t2-frozen {
    position: sticky;
    inset-inline-start: 0;
    z-index: 3;
    background: #fff;
    box-shadow: -2px 0 0 #e7e9ed;
}
.procode-table-2-wrap.pc-t2-freeze-first .procode-table-2 .row-dark > td.pc-t2-frozen {
    background: #fafbfc;
}
.procode-table-2-wrap.pc-t2-freeze-first .procode-table-2 thead .pc-t2-frozen {
    z-index: 10;
    background: #f7f8fa;
}
@media (max-width: 767px) {
    .procode-table-2-wrap.pc-t2-table-mobile { max-width:100%; min-width:0; }
    .procode-table-2-wrap.pc-t2-table-mobile > .pc-t2-toolbar {
        display:grid !important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;
        grid-template-rows:36px 36px;
        gap:6px;
        margin:0;
        padding:8px;
        width:100%;
        border:0;
        border-bottom:1px solid #e6e9ee;
        border-radius:0;
        box-shadow:none;
        background:#fff;
    }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar-main,
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar-actions { display:contents; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-search-field { grid-column:1 / 3; grid-row:1; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-select-field { grid-row:2; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar .procode-search,
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar .pc-t2-control {
        height:36px;
        padding:0 8px;
        border-radius:7px !important;
        font-size:12px;
    }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar .procode-search { padding-right:30px; font-size:16px; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-search-field > i { right:10px; font-size:12px; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar .pc-t2-control { padding-left:20px; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-select-field > i { left:8px; font-size:9px; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-reset,
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar-actions .procode-screenshot {
        grid-column:3;
        width:36px;
        min-width:36px;
        max-width:36px;
        height:36px;
        min-height:36px;
        max-height:36px;
        box-sizing:border-box;
        margin:0;
        padding:0 !important;
        justify-content:center;
        border-radius:7px !important;
        font-size:15px !important;
        overflow:hidden;
        white-space:nowrap;
    }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar-actions .procode-screenshot { grid-row:1; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-reset { grid-row:2; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-reset > span,
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-shot-label { display:none; }
    .procode-table-2-wrap.pc-t2-table-mobile .procode-screenshot::after { content:none; }
    .procode-table-2-wrap.pc-t2-freeze-first .pc-t2-frozen {
        min-width:100px;
        max-width:160px !important;
        white-space:normal !important;
        overflow-wrap:anywhere;
    }
}


/* Compact Table 2: search and image export are the only toolbar controls. */
.procode-table-2-wrap.pc-t2-table-mobile > .pc-t2-toolbar {
    display:flex;
    align-items:center;
    gap:10px;
}
.procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar-main {
    display:block;
    flex:1;
    min-width:0;
}
.procode-table-2-wrap.pc-t2-table-mobile .pc-t2-search-field { width:100%; max-width:none; }
.procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar-actions {
    display:flex;
    flex:none;
    margin:0;
    padding:0;
    border:0;
}
/* A sticky thead moves horizontally as one box; individual th cells must own stickiness. */
.procode-table-2-wrap.pc-t2-table-mobile .procode-table-2 thead { position:static !important; z-index:auto; }
.procode-table-2-wrap.pc-t2-table-mobile .procode-table-2 thead th {
    position:sticky;
    top:0;
    z-index:5;
}
.procode-table-2-wrap.pc-t2-freeze-first .procode-table-2 thead th.pc-t2-frozen {
    inset-inline-start:0;
    top:0;
    z-index:10;
}
.procode-table-2-wrap.pc-t2-table-mobile .procode-table-2 .procode-row > td {
    height:53px;
    min-height:53px;
    padding:7px 12px;
}
.procode-table-2-wrap.pc-t2-table-mobile .procode-gallery-thumb { width:51px; height:51px; }
.procode-table-2-wrap.pc-t2-table-mobile .procode-gallery-thumb .procode-img-thumb { width:100%; height:100%; }
/* Divider background belongs to the shortcode, while its text has no badge surface. */
.procode-table-2-wrap.pc-t2-table-mobile .procode-table-2 .procode-divider-row > td {
    background:var(--pc-divider-bg, #f5f5f5) !important;
    color:var(--pc-divider-fg, #41454d) !important;
    padding:8px 12px;
}
.procode-table-2-wrap.pc-t2-table-mobile .procode-table-2 .procode-divider-row > td::before { content:none !important; }
.procode-table-2-wrap.pc-t2-table-mobile .procode-table-2 .pc-t2-divider-title {
    display:block;
    min-height:0;
    padding:0;
    background:transparent !important;
    color:inherit !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    font-size:16px !important;
    line-height:1.6;
    text-align:center;
}
.procode-table-2-wrap.pc-t2-table-mobile .pc-t2-divider-title::after { content:none !important; }
@media (max-width:767px) {
    .procode-table-2-wrap.pc-t2-table-mobile > .pc-t2-toolbar {
        display:grid !important;
        grid-template-columns:minmax(0,1fr) 36px;
        grid-template-rows:36px;
        gap:6px;
    }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar-main,
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar-actions { display:contents; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-search-field { grid-column:1; grid-row:1; }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar-actions .procode-screenshot { grid-column:2; grid-row:1; }
}

/* Keep divider text centered in the visible table viewport while scrolling. */
.procode-table-2-wrap.pc-t2-table-mobile {
    container-type:inline-size;
    min-width:0;
    max-width:100%;
}
.procode-table-2-wrap.pc-t2-table-mobile .procode-table-2 .pc-t2-divider-title {
    position:sticky;
    inset-inline-start:12px;
    width:calc(100cqw - 24px);
    max-width:calc(100cqw - 24px);
    box-sizing:border-box;
    white-space:normal;
    overflow-wrap:anywhere;
}
@media (max-width:767px) {
    .procode-table-2-wrap.pc-t2-table-mobile > .pc-t2-toolbar {
        grid-template-columns:minmax(0,3fr) minmax(0,1fr);
        width:100%;
        min-width:0;
        box-sizing:border-box;
        overflow:hidden;
    }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-search-field {
        min-width:0;
        box-sizing:border-box;
    }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-search-field input {
        width:100%;
        min-width:0;
        max-width:100%;
        box-sizing:border-box;
    }
    .procode-table-2-wrap.pc-t2-table-mobile .pc-t2-toolbar-actions .procode-screenshot {
        display:flex!important;
        align-items:center;
        justify-content:center;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        height:36px;
        min-height:36px;
        padding:0!important;
        margin:0;
        box-sizing:border-box;
    }
    .procode-table-2-wrap.pc-t2-table-mobile .procode-screenshot .pc-t2-shot-label { display:none!important; }
    .procode-table-2-wrap.pc-t2-table-mobile .procode-screenshot .pc-t2-shot-icon { display:inline!important; font-size:20px; }
}
