.more-all-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 700;
    color: #e9aa2d;
    background: rgba(244, 163, 0, .10);
    transition: all .18s ease;
}

.more-all-link i {
    font-size: 1.2rem;
    line-height: 1;
    transition: transform .18s ease;
}

.more-all-link:hover {
    background: rgba(244, 163, 0, .18);
    transform: translateY(-1px);
}

.more-all-link:hover i {
    transform: translateY(2px);
}

.more-all-link:active {
    transform: translateY(0);
}


@keyframes downPulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

.more-all-link i {
    animation: downPulse 1.3s ease-in-out infinite;
}

.more-all-link:hover i {
    animation: none;
}

/*style in single-product*/

.price-table-fixed {
    table-layout: fixed;
    width: 100%;
}

.price-table {
    border-collapse: separate;
    border-spacing: 0;
    direction: rtl;
}

.price-table thead th {
    font-size: .85rem;
    font-weight: 900;
    color: rgba(17, 24, 39, .70);
    border: 0 !important;
    padding: 12px 14px !important;
    white-space: nowrap;
    background: transparent;
}

.price-table tbody td {
    border: 0 !important;
    padding: 16px 14px !important;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.price-table .col-name {
    width: 40%;
}

.price-table .col-price {
    width: 18%;
}

.price-table .col-stock {
    width: 12%;
}

.price-table .col-change {
    width: 16%;
}

.price-table .col-pct {
    width: 12%;
}

.price-table .col-buy {
    width: 12%;
}

.price-table tbody td.single-name {
    white-space: normal !important;
    overflow: hidden !important;
}

.price-table tbody td.single-name .name-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.45;
    font-weight: 900;
    color: rgba(17, 24, 39, .92);
}

.price-table tbody td.col-pct,
.price-table tbody td.col-change {
    text-align: center;
}

.price-table tbody td.col-pct .single-pct-chip {
    margin-inline: auto;
}

.price-table tbody td.buy-cell {
    display: table-cell !important;
    vertical-align: middle;
    overflow: visible;
    text-align: center;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

.price-table tbody td.buy-cell .buy-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.price-table tbody tr td {
    background: rgba(248, 250, 252, 1);
    border-top: 1px solid rgba(15, 23, 42, .06) !important;
    border-bottom: 1px solid rgba(15, 23, 42, .06) !important;
}

.price-table tbody tr td:first-child {
    border-right: 1px solid rgba(15, 23, 42, .06) !important;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    padding-right: 22px !important;
    position: relative;
}

.price-table tbody tr td:last-child {
    border-left: 1px solid rgba(15, 23, 42, .06) !important;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.price-table tbody tr td:first-child::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    right: 10px;
    width: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .55);
}

.price-table tbody tr.row-up td:first-child::before {
    background: rgba(47, 191, 113, .60);
}

.price-table tbody tr.row-down td:first-child::before {
    background: rgba(239, 68, 68, .55);
}

.price-table tbody tr.row-flat td:first-child::before {
    background: rgba(148, 163, 184, .55);
}

.price-table tbody tr {
    transition: transform .16s ease;
}

.price-table tbody tr:hover {
    transform: translateY(-1px);
}

.price-table tbody tr:hover td {
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
}

@media (max-width: 576px) {
    .price-table thead {
        display: none !important;
    }

    .price-table-scroll {
        overflow-x: hidden !important;
    }

    .price-table tbody tr {
        display: block !important;
        margin: 14px 0 !important;
        border-radius: 18px;
        overflow: hidden;
        background: #fff !important;
        border: 1px solid rgba(15, 23, 42, .08) !important;
        box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
        position: relative;
    }

    .price-table tbody tr::before {
        content: "";
        position: absolute;
        top: 12px;
        bottom: 12px;
        right: 12px;
        width: 5px;
        border-radius: 999px;
        background: rgba(148, 163, 184, .55);
    }

    .price-table tbody tr.row-up::before {
        background: rgba(47, 191, 113, .55);
    }

    .price-table tbody tr.row-down::before {
        background: rgba(239, 68, 68, .50);
    }

    .price-table tbody tr.row-flat::before {
        background: rgba(148, 163, 184, .55);
    }

    .price-table tbody td {
        display: block !important;
        width: 100% !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 12px 16px !important;
        padding-right: 34px !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: initial !important;
    }

    .price-table tbody td.col-name {
        padding-top: 16px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid rgba(15, 23, 42, .06) !important;
    }

    .price-table tbody td.col-name::before {
        content: none !important;
    }

    .price-table tbody td.col-name .name-title {
        font-size: 1.05rem;
        font-weight: 950;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .price-table tbody td:not(.col-name):not(.buy-cell) {
        display: grid !important;
        grid-template-columns: 92px 1fr;
        align-items: center;
        gap: 12px;
    }

    .price-table tbody td:not(.col-name):not(.buy-cell)::before {
        content: attr(data-label);
        font-size: .82rem;
        font-weight: 900;
        color: rgba(100, 116, 139, .95);
        white-space: nowrap;
        text-align: right;
    }

    .price-table tbody td:not(.col-name):not(.buy-cell) > * {
        justify-self: start;
        text-align: left;
    }


    .price-table tbody td.col-price,
    .price-table tbody td.col-stock,
    .price-table tbody td.col-change,
    .price-table tbody td.col-pct {
        border-bottom: 1px solid rgba(15, 23, 42, .06) !important;
    }

    .price-table .price-val {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        direction: ltr;
        font-weight: 900;
    }

    .price-table .price-val .rial {
        direction: rtl;
        font-weight: 800;
        opacity: .85;
        margin: 0;
    }

    .stock-pill,
    .single-pct-chip {
        white-space: nowrap;
    }

    .price-table .change-val {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .price-table tbody td.buy-cell {
        padding-top: 14px !important;
        padding-bottom: 16px !important;
    }

    .price-table tbody td.buy-cell::before {
        content: none !important;
    }

    .price-table tbody td.buy-cell .buy-wrap {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .price-table tbody td.buy-cell .single-button {
        width: 100% !important;
        border-radius: 16px !important;
        padding: .65rem 1rem !important;
        font-size: 13px !important;
    }

    .price-table tbody td.buy-cell {
        padding: 12px 16px 16px !important;
        padding-right: 34px !important;
    }

    .price-table tbody td.buy-cell .single-button {
        border-radius: 14px !important;
        width: auto !important;
        min-width: 120px;
        padding: .55rem 1.1rem !important;
        font-size: 13px !important;
        box-shadow: 0 10px 22px rgba(16, 185, 129, .18) !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .price-table tbody td.buy-cell .buy-wrap {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .price-table tbody tr {
        overflow: visible !important;
    }
}



