body {
    background-color: var(--back);
}

.limited-header {
    display: flex;
    flex-direction: column;
    margin: 50px 0 20px;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.limited-header h1 {
    font-weight: bold;
}


/* Auctions Section */

.limited-items-wrapper {
    background-color: var(--shades);
    padding: 30px;
    border-radius: 10px;
}

.limited-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
    /* display: flex;
    flex-wrap: wrap; */
}

.limited-products .limited-item {
    flex-direction: column;
    background-color: var(--light);
    display: flex;
    box-shadow: 0 0 30px rgb(0 0 0 / 5%);
    border-radius: 5px;
    position: relative;
    margin-bottom: 0;
    padding: 20px;
}

.limited-products .limited-item .p-thumb {
    width: 100%;
    height: 0;
    padding-top: 100%;
}

.limited-products .limited-item .p-body {
    display: flex;
    flex-direction: column;
}

.limited-products .p-name {
    margin: 0;
    transition: 0s;
    transform: none;
}

.p-dets.auc-dets {
    transform: none;
    transition: 0s;
}

.limited-details {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: var(--blue);
    padding: 20px 0;
    margin: 20px -20px 0;
}

.limited-counter {
    display: flex;
    gap: 10px;
}

.limited-counter span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.limited-counter span u {
    font-size: 12px;
    text-transform: uppercase;
    line-height: 100%;
    font-weight: 600;
    color: var(--light);
    text-decoration: none;
}

.limited-counter span b {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background-color: var(--light);
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: 600;
}

.limited-details-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0 0;
}


/**/

.pagination {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.pagination-wrapper {
    border-top: 1px solid var(--shadow);
    margin-top: 20px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#count {
    padding: 6px 10px;
    border: none;
    border: 1px solid var(--shadow);
    font-weight: 600;
    color: var(--head);
    border-radius: 5px;
    transition: 0.1s;
    height: 40px;
    font-size: 12px;
    max-width: 130px;
    cursor: pointer;
    margin-inline-start: auto;
}

.limited-cates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.limited-cates button {
    background-color: var(--shades);
    padding: 10px 20px;
    border-radius: 100px;
}

.limited-cates button.active {
    background-color: var(--key);
    color: var(--light);
    font-weight: 600;
}

a.view-page {
    background-color: var(--step);
    color: var(--dark);
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 10px;
}

a.view-page:hover {
    opacity: 1;
}