.elementor-20164 .elementor-element.elementor-element-070df24{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:1rem;--padding-bottom:5rem;--padding-left:5rem;--padding-right:5rem;}.elementor-20164 .elementor-element.elementor-element-e98894f{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;border-style:solid;--border-style:solid;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;border-color:#E7E7E7;--border-color:#E7E7E7;--border-radius:10px 10px 10px 10px;box-shadow:0px 0px 80px 0px rgba(231, 231, 231, 0.5);--padding-top:1rem;--padding-bottom:1rem;--padding-left:1rem;--padding-right:1rem;}.elementor-widget-theme-archive-title .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-20164 .elementor-element.elementor-element-d58e7ad .elementor-heading-title{font-size:20px;color:var( --e-global-color-5c632a4 );}@media(max-width:767px){.elementor-20164 .elementor-element.elementor-element-070df24{--padding-top:0px;--padding-bottom:0px;--padding-left:15px;--padding-right:15px;}.elementor-20164 .elementor-element.elementor-element-d58e7ad .elementor-heading-title{font-size:16px;}}/* Start custom CSS for shortcode, class: .elementor-element-bc0d5ca */.custom-products-table-wrapper {
    width: 100%;
    direction: rtl;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.custom-products-table-search {
    margin-bottom: 18px;
}

.custom-products-table-search input {
    width: 100%;
    max-width: 460px;
    height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(41, 70, 105, 0.18);
    border-radius: 14px;
    background: #ffffff;
    color: #294669;
    font-size: 14px;
    outline: none;
    box-shadow: 0 8px 24px rgba(13, 11, 97, 0.06);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.custom-products-table-search input::placeholder {
    color: rgba(41, 70, 105, 0.55);
}

.custom-products-table-search input:focus {
    border-color: #ffa422;
    box-shadow: 0 0 0 4px rgba(255, 164, 34, 0.18);
}

.custom-products-table {
    width: 100%;
    min-width: 560px;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 1px solid rgba(41, 70, 105, 0.14);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(13, 11, 97, 0.08);
}

.custom-products-table thead th {
    background: linear-gradient(135deg, #0d0b61 0%, #294669 100%);
    color: #ffffff;
    padding: 17px 20px;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    border-bottom: 3px solid #ffa422;
    white-space: nowrap;
}

.custom-products-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(41, 70, 105, 0.1);
    background: #ffffff;
    color: #294669;
    font-size: 14px;
    text-align: right;
    vertical-align: middle;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-products-table tbody tr:last-child td {
    border-bottom: 0;
}

.custom-products-table tbody tr:hover td {
    background: rgba(71, 139, 141, 0.08);
}

.custom-products-table .product-title {
    width: 70%;
}

.custom-products-table .product-title a {
    color: #294669;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.custom-products-table .product-title a:hover {
    color: #0d0b61;
}

.custom-products-table .product-price {
    width: 30%;
    color: #0d0b61;
    font-weight: 800;
    white-space: nowrap;
}

.custom-products-table .product-price .amount {
    color: #0d0b61;
    font-weight: 800;
}

.custom-products-table .product-price ins {
    color: #478b8d;
    text-decoration: none;
    font-weight: 800;
}

.custom-products-table .product-price del {
    color: rgba(41, 70, 105, 0.45);
    font-weight: 400;
    margin-left: 8px;
}

@media (max-width: 767px) {
    .custom-products-table-search input {
        max-width: 100%;
        height: 44px;
        border-radius: 12px;
        font-size: 13px;
    }

    .custom-products-table {
        min-width: 520px;
        border-radius: 14px;
    }

    .custom-products-table thead th,
    .custom-products-table tbody td {
        padding: 13px 14px;
        font-size: 13px;
    }
}

.custom-products-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.custom-products-table-sort form {
    margin: 0;
}

.custom-products-table-sort select {
    min-width: 170px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(41, 70, 105, 0.18);
    border-radius: 14px;
    background: #fff;
    color: #294669;
    font-size: 14px;
    outline: none;
    box-shadow: 0 8px 24px rgba(13, 11, 97, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-products-table-sort select:focus {
    border-color: #ffa422;
    box-shadow: 0 0 0 4px rgba(255, 164, 34, 0.18);
}

 /*@media (max-width: 767px) {
    .custom-products-table-toolbar {
        align-items: stretch;
    }

    .custom-products-table-search,
    .custom-products-table-sort {
        width: 100%;
    }

    .custom-products-table-sort select {
        width: 100%;
        height: 44px;
        font-size: 13px;
        border-radius: 12px;
    }
}*/

.custom-products-table-search {
    flex: 1 1 480px;
}

.custom-products-table-search input {
    max-width: 420px;
    width: 100%;
}

.custom-products-table-sort select {
    min-width: 240px;
}

/*@media (max-width: 767px) {
    .custom-products-table-search {
        flex-basis: 100%;
    }

    .custom-products-table-search input,
    .custom-products-table-sort select {
        max-width: 100%;
        width: 100%;
    }
}*/

/* Order Link */

.custom-order-link {
    display: inline-block;
    padding: 6px 16px;
    background-color: #1a3a6b !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none !important;
    border: 2px solid transparent !important;
    transition: background-color 0.15s ease,
                border-color 0.15s ease,
                color 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
}

/* Hover */
.custom-order-link:hover {
    background-color: #ffffff !important;
    color: #1a3a6b !important;
    border-color: #1a3a6b !important;
}

/* Active - هنگام کلیک */
.custom-order-link:active {
    background-color: #e8a020 !important;
    border-color: #e8a020 !important;
    color: #ffffff !important;
}

/* Focus */
.custom-order-link:focus,
.custom-order-link:focus-visible {
    outline: 3px solid #e8a020 !important;
    outline-offset: 2px;
}


@media (max-width: 767px) {

    /* Toolbar */
    .custom-products-table-toolbar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 16px;
        width: 100%;
    }

    /* Search */
    .custom-products-table-search {
        width: 100%;
        flex: none;
        margin-bottom: 0;
    }

    .custom-products-table-search input {
        width: 100%;
        max-width: 100%;
        height: 44px;
        padding: 0 14px;
        font-size: 13px;
        border-radius: 12px;
        box-sizing: border-box;
    }

    /* Sort */
    .custom-products-table-sort {
        width: 100%;
    }

    .custom-products-table-sort form {
        width: 100%;
        margin: 0;
    }

    .custom-products-table-sort select {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 44px;
        padding: 0 14px;
        font-size: 13px;
        border-radius: 12px;
        box-sizing: border-box;
    }

    /* Table Wrapper */
    .custom-products-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        direction: rtl;
        box-sizing: border-box;
    }

    /* Table */
    .custom-products-table {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        table-layout: fixed;
        border-radius: 14px;
        box-sizing: border-box;
    }

    /* Header + Cells */
    .custom-products-table thead th,
    .custom-products-table tbody td {
        padding: 12px 9px;
        font-size: 12px;
        line-height: 1.7;
        box-sizing: border-box;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    /* Product column */
    .custom-products-table .product-title {
        width: 68%;
    }

    /* Price column */
    .custom-products-table .product-price {
        width: 32%;
        white-space: normal;
    }

    .custom-products-table .product-price .amount {
        font-size: 12px;
    }

    /* Order button */
    .custom-order-link {
        padding: 5px 9px;
        font-size: 11px;
        border-radius: 4px;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {

    /* قیمت محصول */
    .custom-products-table .product-price {
        text-align: center !important;
        vertical-align: middle !important;
    }

    .custom-products-table .product-price .amount {
        display: inline-block;
        text-align: center;
    }

    /* دکمه سفارش */
    .custom-products-table td:has(.custom-order-link) {
        text-align: center !important;
        vertical-align: middle !important;
    }

    .custom-order-link {
        display: inline-block;
        margin: 0 auto;
        text-align: center;
    }
}

.custom-products-table .product-price del {
    color: rgba(41, 70, 105, 0.70) !important;
    font-weight: 700 !important;
    margin-left: 8px;
    opacity: 1;
}

.custom-products-table .product-price del .amount {
    color: inherit !important;
    font-weight: 700 !important;
}

@media (max-width: 767px) {

    .custom-products-table .product-price del {
        color: rgba(41, 70, 105, 0.60) !important;
        text-decoration: line-through !important;
        text-decoration-thickness: 1.5px !important;
        text-decoration-color: rgba(41, 70, 105, 0.75) !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        opacity: 1 !important;
        white-space: nowrap;
    }

    .custom-products-table .product-price del .amount {
        color: inherit !important;
        text-decoration: line-through !important;
        text-decoration-thickness: 1.5px !important;
    }
}

select#customProductsTableSort {
    color: #8A99AD !important;
}




@media (max-width: 768px) {
  .custom-products-table th:last-child,
  .custom-products-table td:last-child {
    display: none;
  }
}


/*چدید*/
@media (max-width: 768px) {
    .custom-products-table {
        table-layout: fixed;
        width: 100%;
    }

    .custom-products-table th:nth-child(2),
    .custom-products-table td.product-price {
        width: 105px;
        min-width: 105px;
        max-width: 105px;
        text-align: center;
        white-space: normal;
    }

    .custom-products-table td.product-price del,
    .custom-products-table td.product-price ins,
    .custom-products-table td.product-price .price,
    .custom-products-table td.product-price .woocommerce-Price-amount {
        display: block;
        text-align: right;
    }

    .custom-products-table td.product-price del {
        margin-bottom: 4px;
        opacity: 0.7;
    }

    .custom-products-table td.product-price ins {
        text-decoration: none;
    }
}


.product-out-of-stock {
    color: #c62828;
    font-weight: 700;
    font-size: 14px;
}/* End custom CSS */