/* Motarea product-list pagination */
.tvcms-all-pagination .tv-pagination-number {
    float: none;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.tvcms-all-pagination .page-list.tv-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 30px 0 8px;
    background: transparent;
    box-shadow: none;
}

.tvcms-all-pagination .tv-pagination-wrapper li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.tvcms-all-pagination .tv-pagination-wrapper li a,
.tvcms-all-pagination .tv-pagination-wrapper li span.previous,
.tvcms-all-pagination .tv-pagination-wrapper li span.next,
.tvcms-all-pagination .tv-pagination-wrapper .spacer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #073c5e;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.tvcms-all-pagination .tv-pagination-wrapper li:not(.current) a:not(.previous):not(.next):hover {
    background: #eef3f7;
    color: #073c5e;
}

.tvcms-all-pagination .tv-pagination-wrapper li.current a {
    min-width: 44px;
    padding: 0;
    background: #f76300;
    color: #fff;
    box-shadow: 0 5px 14px rgba(247, 99, 0, .2);
}

.tvcms-all-pagination .tv-pagination-wrapper li.current a:hover {
    background: #df5900;
    color: #fff;
}

.tvcms-all-pagination .tv-pagination-wrapper li .previous,
.tvcms-all-pagination .tv-pagination-wrapper li .next {
    min-width: 54px;
    padding: 0 15px;
    border: 2px solid #073c5e;
    background: #fff;
    color: #073c5e;
}

.tvcms-all-pagination .tv-pagination-wrapper li .previous {
    margin-right: 8px;
}

.tvcms-all-pagination .tv-pagination-wrapper li .next {
    margin-left: 8px;
}

.tvcms-all-pagination .tv-pagination-wrapper li a.previous:hover,
.tvcms-all-pagination .tv-pagination-wrapper li a.next:hover {
    border-color: #073c5e;
    background: #073c5e;
    color: #fff;
    transform: translateY(-1px);
}

.tvcms-all-pagination .tv-pagination-wrapper li .previous i,
.tvcms-all-pagination .tv-pagination-wrapper li .next i {
    width: auto;
    height: auto;
    color: currentColor;
    font-size: 25px;
    line-height: 1;
}

.tvcms-all-pagination .tv-pagination-wrapper li:not(.current) a.disabled,
.tvcms-all-pagination .tv-pagination-wrapper li .previous.disabled,
.tvcms-all-pagination .tv-pagination-wrapper li .next.disabled {
    border-color: #cbd5df;
    background: #f7f9fb;
    color: #9aa8b6;
    pointer-events: none;
    transform: none;
}

.tvcms-all-pagination .tv-pagination-wrapper li a:focus-visible {
    outline: 3px solid rgba(247, 99, 0, .35);
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .tvcms-all-pagination .page-list.tv-pagination-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 0 8px;
        padding-top: 24px;
    }

    .tvcms-all-pagination .page-list.tv-pagination-wrapper::after {
        display: block;
        clear: none;
        flex: 0 0 100%;
        order: 1;
        height: 0;
        content: "";
    }

    .tvcms-all-pagination .tv-pagination-wrapper li:not(.pagination-previous):not(.pagination-next) {
        order: 1;
    }

    .tvcms-all-pagination .tv-pagination-wrapper li.pagination-previous,
    .tvcms-all-pagination .tv-pagination-wrapper li.pagination-next {
        order: 2;
        margin-top: 10px;
    }

    .tvcms-all-pagination .tv-pagination-wrapper li a,
    .tvcms-all-pagination .tv-pagination-wrapper li span.previous,
    .tvcms-all-pagination .tv-pagination-wrapper li span.next,
    .tvcms-all-pagination .tv-pagination-wrapper .spacer {
        min-width: 40px;
        height: 40px;
        padding: 0 9px;
        font-size: 14px;
    }

    .tvcms-all-pagination .tv-pagination-wrapper li.current a {
        min-width: 40px;
    }

    .tvcms-all-pagination .tv-pagination-wrapper li .previous,
    .tvcms-all-pagination .tv-pagination-wrapper li .next {
        min-width: 46px;
        padding: 0 10px;
    }

    .tvcms-all-pagination .tv-pagination-wrapper li .previous {
        margin-right: 16px;
    }

    .tvcms-all-pagination .tv-pagination-wrapper li .next {
        margin-left: 16px;
    }
}
