.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
    display: flex !important;
    justify-content: space-between;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #ff8c3f !important;
    color: #fff !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-weight: 600;
    font-size: 18px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.woocommerce nav.woocommerce-pagination ul li {
    font-weight: 600;
    font-size: 18px;
    width: 30px;
    height: 30px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.pagination-wrapper {
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    font-weight: 600;
    font-size: 18px;
}

.pagination-wrapper a:hover,
.pagination-wrapper .current {
    color: #ff8c3f;
}

@media (min-width: 1293px) {
    #content {
        padding: 30px 0;
    }

    .search-result {
        width: 55%;
    }

    .search-result ul {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        align-content: flex-start;
    }

    ul.products::before {
        content: none !important;
    }

    .current-collection {
        width: 90%;
        height: 55px;
        background: white;
        color: #9a9a9a;
        border-radius: 10px;
        margin: 0 auto;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
        font-size: 20px;
        display: flex;
        align-items: center;
        padding: 15px;
        font-weight: 600;
    }

    .collection-product-wrapper {
        align-content: flex-start;
        display: flex;
        width: 55%;
        flex-wrap: wrap;
    }

    ul.products li.product {
        width: 20% !important;
        margin: 0 !important;
        padding: 0 5px !important;
    }

    .rarity {
        width: 100%;
        background: #ff8c3f;
        color: white;
        font-size: 32px;
        border-radius: 10px;
        padding: 4px 20px 7px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .card-container {
        width: 20%;
        padding: 0 5px;
    }

    .product-image {
        position: relative;
        height: 175px;
        display: flex;
        justify-content: center;
    }

    .product-image img {
        object-fit: contain;
        width: 120px !important;
        height: 160px !important;
    }

    .product-image::after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        /* Adjust the height as needed */
        background-color: #cccccc;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .collection-product-card {
        background: white;
        width: 100%;
        height: 400px;
        border-radius: 20px;
        filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.25));
        margin-bottom: 15px;
        padding: 15px 10px;
        position: relative;
    }

    .product-title {
        margin-top: 5px;
        font-size: 15px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        /* number of lines to show */
        line-clamp: 3;
        -webkit-box-orient: vertical;
        padding-bottom: 2px;
        font-weight: 600;
    }

    .collection-product-bottom {
        left: 10px;
        right: 10px;
        position: absolute;
        bottom: 15px;
    }

    .product-price {
        color: #4d4d4d;
        font-size: 17px;
        font-weight: 700;
    }

    .price {
        color: #4d4d4d !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        margin-bottom: 0 !important;
    }

    .qty-number {
        color: #4d4d4d;
        font-size: 15px;
        font-weight: 600;
    }

    .CartBtn {
        margin-top: 5px;
    }

    .CartBtn a {
        width: 100%;
        text-align: center;
        border-radius: 10px !important;
        background-color: #ff8c3f !important;
        color: #fff !important;
        font-weight: 600 !important;
    }

    .CartBtn a:hover {
        background: #ff9e5e !important;
    }

    .added_to_cart {
        display: none !important;
    }

    .qty-control {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    .qty-control input {
        width: 60%;
        height: 30px;
        border: none;
        text-align: center;
        font-weight: 600;
    }

    .minus,
    .plus {
        width: 20%;
        border: none;
        background: #ff8c3f;
        cursor: pointer;
    }

    .qty-control button:disabled,
    .CartBtn button:disabled {
        background-color: #ffb98b;
        cursor: not-allowed;
    }

    .minus:hover,
    .plus:hover {
        background: #ff9e5e;
    }

    .minus {
        border-radius: 6px 0 0 6px;
    }

    .plus {
        border-radius: 0 6px 6px 0;
    }
}

@media (max-width: 1292px) {
    #content {
        padding: 30px 0;
    }

    .search-result {
        width: 55%;
    }

    .search-result ul {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        align-content: flex-start;
    }

    ul.products::before {
        content: none !important;
    }

    .current-collection {
        width: 90%;
        height: 55px;
        background: white;
        color: #9a9a9a;
        border-radius: 10px;
        margin: 0 auto;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
        font-size: 20px;
        display: flex;
        align-items: center;
        padding: 15px;
        font-weight: 600;
    }

    .collection-product-wrapper {
        align-content: flex-start;
        display: flex;
        width: 55%;
        flex-wrap: wrap;
    }

    ul.products li.product {
        width: 25% !important;
        margin: 0 !important;
        padding: 0 5px !important;
    }

    .rarity {
        width: 100%;
        background: #ff8c3f;
        color: white;
        font-size: 32px;
        border-radius: 10px;
        padding: 4px 20px 7px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .product-image {
        position: relative;
        height: 125px;
        display: flex;
        justify-content: center;
    }

    .product-image img {
        object-fit: contain;
        width: 84px !important;
        height: 120px !important;
    }

    .product-image::after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        /* Adjust the height as needed */
        background-color: #cccccc;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .card-container {
        width: 25%;
        padding: 0 5px;
    }

    .collection-product-card {
        background: white;
        width: 100%;
        height: 300px;
        border-radius: 20px;
        filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.25));
        margin-bottom: 15px;
        padding: 15px 10px;
        position: relative;
    }

    .product-title {
        margin-top: 5px;
        font-size: 12px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        /* number of lines to show */
        line-clamp: 3;
        -webkit-box-orient: vertical;
        padding-bottom: 2px;
        font-weight: 600;
    }

    .collection-product-bottom {
        left: 10px;
        right: 10px;
        position: absolute;
        bottom: 15px;
    }

    .product-price {
        color: #4d4d4d;
        font-size: 14px;
        font-weight: 600;
    }

    .price {
        color: #4d4d4d !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        margin-bottom: 0 !important;
    }

    .qty-number {
        color: #4d4d4d;
        font-size: 15px;
        font-weight: 600;
    }

    .CartBtn {
        margin-top: 5px;
    }

    .CartBtn a {
        width: 100%;
        text-align: center;
        border-radius: 8px !important;
        background-color: #ff8c3f !important;
        color: #fff !important;
        font-weight: 500 !important;
        font-size: 12px !important;
        padding: 8px 0;
    }

    .CartBtn a:hover {
        background: #ff9e5e !important;
    }

    .added_to_cart {
        display: none !important;
    }

    .qty-control {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .qty-control input {
        width: 60%;
        height: 25px;
        border: none;
        text-align: center;
        font-weight: 500;
    }

    .minus,
    .plus {
        width: 20%;
        border: none;
        background: #ff8c3f;
        cursor: pointer;
    }

    .qty-control button:disabled,
    .CartBtn button:disabled {
        background-color: #ffb98b;
        cursor: not-allowed;
    }

    .minus:hover,
    .plus:hover {
        background: #ff9e5e;
    }

    .minus {
        border-radius: 6px 0 0 6px;
    }

    .plus {
        border-radius: 0 6px 6px 0;
    }
}

@media (max-width: 927px) {
    .search-result {
        width: 95%;
    }

    .collection-product-wrapper {
        width: 95%;
    }
}

@media (max-width: 500px) {
    .card-container {
        width: 50%;
    }

    ul.products li.product {
        width: 50%;
    }

    .pagination-wrapper {
        width: 100%;
        font-weight: 500;
        font-size: 16px;
    }
}