.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 50px auto 0px;
    padding-bottom: 50px;
}

.pagination__arrow {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
}

.pagination__arrow img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.pagination__arrow:is(span) {
    opacity: 0.4;
    pointer-events: none;
}

.pagination__page {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #c3b297;
    border-radius: 8px;
    color: #c3b297;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.pagination__page.is-active,
.pagination__page:hover {
    border: 0;
    background-color: #7a3b25;
    color: #fff;
}

.pagination__ellipsis {
    width: 25px;
    color: #c3b297;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
}

@media (max-width: 1180px) {
    .pagination {
        margin: 72px auto 0;
    }
}

@media (max-width: 900px) {
    .pagination {
        width: auto;
        margin-top: 44px;
    }
}

@media (max-width: 720px) {
    .pagination {
        gap: 10px;
    }

    .pagination__page {
        width: 28px;
        height: 28px;
        border-radius: 7px;
        font-size: 18px;
    }
}
