@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
.make {
    max-height:60px;
    overflow:hidden;
}
.card_wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.pagination_block {
    display: flex;
    width: 100%;
    max-width: 1665px;
    padding: 16px 0;
    justify-content: end;
}

.auction_card_container {
    display: flex;
    gap: 1.5em;
    flex-wrap: wrap;
    max-width: 1665px;
    width: 100%;
}

.pagination_block ul {
    display: flex;
    gap: 0.5rem;
}

.pagination_block li {
    list-style: none !important;
}

.pagination_block li a {
    border: 1px solid #D0D5DD;
    padding: 6px 8px;
    border-radius: 6px;
    min-width: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination_block li.active a {
    background-color: #DBDCFF;
    border: 1px solid #4348E6;
    padding: 6px 8px;
    border-radius: 6px;
    min-width: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination_block li a:hover {
    background-color: #DBDCFF;
    border: 1px solid #D0D5DD;
    padding: 6px 8px;
    border-radius: 6px;
    min-width: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination_block li a {
    font-family: 'Roboto';
    font-size: 14px;
    font-weight: 500 !important;
    color: #475467 !important;
}

.grid-view {
    max-width: 1665px;
    width: 100%;
}

.auction_card_block {
    width: 260px;
    max-width: 260px;
    border-radius: 6px;
    flex-grow: 1;
}

.auction_card {
    border-radius: 6px;
    border: 1px solid #D0D5DD;
    background: #FFF;
    display: flex;
    flex-direction: column;
    height:100%;
}

.auction_card:hover {
    box-shadow: 0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06);
}

.card_img_block {
    display:flex;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    position:relative;
    max-height: 190px;
    height: 100%;
}

img.card-img {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    height: 190px; 
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay_items {
    display: flex;
    justify-content: space-between;
    position: absolute;
    height: 100%;
    flex-direction: column;
    inset-inline-end: 16px;
    align-items: end;
}

.add_shopping_cart {
    border-radius: 100px;
    background: #FCFCFD;
    display: flex;
    width: 32px;
    height: 32px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    /* Shadow/xs */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    z-index: 98;
    margin-top: 16px;
}

.add_shopping_cart.checked {
    background: #DBDCFF;
    display: flex;
    width: 32px;
    height: 32px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    /* Shadow/xs */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    z-index: 98;
    margin-top: 16px;
}

.add_shopping_cart:hover {
    border-radius: 100px;
    background: #DBDCFF;
    display: flex;
    width: 32px;
    height: 32px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    /* Shadow/xs */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    z-index: 98;
    margin-top: 16px;
}

.add_shopping_cart input[type=checkbox] {
    display: none;
}

input[type=checkbox] + span.cart_icon {
    background: url("../images/cart-frame.png");
	background-size:contain;
    background-repeat:no-repeat;
    width: 24px !important;
    height: 24px !important;
    display: inline-block;
    position: relative;
    z-index:99;
    margin-bottom: 0 !important;
}

input[type=checkbox] + span.cart_icon:hover {
    background: url("../images/cart-frame-hover.png");
	background-size:contain;
    background-repeat:no-repeat;
    width: 24px !important;
    height: 24px !important;
    display: inline-block;
    position: relative;
    z-index:99;
    margin-bottom: 0 !important;
}

.add_shopping_cart label {
    margin: 0;
    width: 24px !important;
    height: 24px !important;
}

input[type=checkbox]:checked + span.cart_icon {
	background: url("../images/cart-check-fill.png");
	background-size:contain;
    background-repeat:no-repeat;
    width: 24px !important;
    height: 24px !important;
    display: inline-block;
    position: relative;
    z-index:99;
    margin-bottom: 0 !important;
}

/* Timer greater than 2 hrs */
.timer_block.blue_block {
    color: #175CD3;
    text-align: center;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: 500 !important;
    line-height: 110%; /* 15.4px */
    border-radius: 4px;
    border: 1px solid #2E90FA;
    background:  #EFF8FF;
    box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
    display: inline-flex;
    padding: 4px;
    align-items: center;
    gap: 2px;
    margin-bottom: 16px;
}

/* Timer between 1 - 2 hrs */
.timer_block.orange_block {
    color: #B54708;
    text-align: center;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: 500 !important;
    line-height: 110%; /* 15.4px */
    border-radius: 4px;
    border: 1px solid #F79009;
    background:  #FFFAEB;
    box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
    display: inline-flex;
    padding: 4px;
    align-items: center;
    gap: 2px;
    margin-bottom: 16px;
}

/* Timer less than 1 hrs */
.timer_block.red_block {
    color: #C01048;
    text-align: center;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: 500 !important;
    line-height: 110%; /* 15.4px */
    border-radius: 4px;
    border: 1px solid #F63D68;
    background:  #FFF1F3;
    box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
    display: inline-flex;
    padding: 4px;
    align-items: center;
    gap: 2px;
    margin-bottom: 16px;
}

.card_desc {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
}

.bid_price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card_desc p.font_16_12 {
    color:  #475467;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    line-height: 110%;
    margin-bottom: 4px
}

.model {
    margin-bottom: 10px; 
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 24px;
}

.card_desc .make a{
    color: #1D2939;
    font-size: 24px;
    font-family: "IBM Plex Sans";
    font-weight: 500;
    line-height: 110%;
}

.card_desc .seller a {
    color: #4348E6;
    font-size: 14px;
    font-weight: 600;
    line-height: 110%;
    margin-bottom: 4px;
}

.card_desc p.province {
    color:#344054;
    font-size: 14px;
    font-weight: 300;
    line-height: 110%;
    margin-bottom: 10px;
}

.bid_price p.bid_label {
    color: #667085;
    font-size: 14px;
    font-weight: 300;
    line-height: 110%; /* 15.4px */
     margin-bottom: 4px;
}

.bid_price p.price {
    color: #1D2939;
    font-size: 18px;
    font-weight: 600;
    line-height: 100%;
    margin-bottom: 0;
}


.bid_button a{
    color: #4348E6;
    font-size: 16px;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 500;
    line-height: 20px;
    border-radius: 4px;
    border: 1px solid #F6F6FF;
    background: #F6F6FF;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    display: flex;
    width: 54px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
}


.bid_button a:hover{
    color: #4348E6;
    font-size: 16px;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 500;
    line-height: 20px;
    border-radius: 4px;
    border: 1px solid #EDEDFF;
    background: #EDEDFF;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    display: flex;
    width: 54px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

span.bull_point {
    font-size: 14px;
    color: #98A2B3;
    padding: 6px;
}

.pad_16_tb  {
    padding: 16px 0;
}

a.list_block {
    border-radius: 8px;
    border: 1px solid #D0D5DD;
    background: #FFF;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    display: flex;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

a.grid_block {
    border-radius: 8px;
    border: 1px solid #D0D5DD;
    background: #FFF;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    display: flex;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

a.list_block:hover {
    background: #EDEDFF;
    border: 1px solid #EDEDFF;
}

a.grid_block:hover {
    background: #EDEDFF;
    border: 1px solid #EDEDFF;
}

.toggle_block {
    display: flex;
    gap: 10px;
}

p.resuts_amount {
    color: #101828;
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; 
    margin-bottom: 0;
}

.card_display_options {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

a.list_block svg {
    width: 20px;
    height: 20px;
    background-image: none;
    color: #344054;
}

a.grid_block svg {
    width: 20px;
    height: 20px;
    background-image: none;
    color: #344054;
}

/* Responsive Styles */

@media only screen and (max-width: 1920px) {
        .auction_card_block {
        width: calc(260px + (290 - 260) * ((100vw - 1440px) / (1920 - 1440))) !important;
        max-width: calc(260px + (315 - 260) * ((100vw - 1440px) / (1920 - 1440))) !important;
    }
}

@media only screen and (max-width: 1440px) {
        .auction_card_block {
        width: calc(230px + (260 - 230) * ((100vw - 1025px) / (1440 - 1025))) !important;
        max-width: calc(230px + (260 - 230) * ((100vw - 1025px) / (1440 - 1025))) !important;
    }
}

@media only screen and (max-width: 1415px) {
        .auction_card_block {
        width: calc(230px + (260 - 230) * ((100vw - 1025px) / (1415 - 1025))) !important;
        max-width:315px !important;
    }
}

@media only screen and (max-width: 1024px) {
    .make {
        max-height:default;
        overflow:hidden;
    }
    .card_desc {
        padding: calc(8px + (16 - 8) * ((100vw - 320px) / (1023 - 320))) !important;
    }

        .auction_card_block {
        width: calc(175px + (230 - 175) * ((100vw - 992px) / (1023 - 992))) !important;
    }

    .add_shopping_cart {
        border-radius: 100px;
        background: #FCFCFD;
        display: flex;
        width: calc(16px + (32 - 16) * ((100vw - 320px) / (1023 - 320))) !important;
        height: calc(16px + (32 - 16) * ((100vw - 320px) / (1023 - 320))) !important;
        padding: 8px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        aspect-ratio: 1/1;
        /* Shadow/xs */
        box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
        z-index: 98;
        margin-top: 8px;
    }

    .add_shopping_cart.checked {
        background: #DBDCFF;
        display: flex;
        width: calc(16px + (32 - 16) * ((100vw - 320px) / (1023 - 320))) !important;
        height: calc(16px + (32 - 16) * ((100vw - 320px) / (1023 - 320))) !important;
        padding: 8px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        aspect-ratio: 1/1;
        /* Shadow/xs */
        box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
        z-index: 98;
        margin-top: 8px;
    }

    .add_shopping_cart:hover {
        border-radius: 100px;
        background: #DBDCFF;
        display: flex;
        width: calc(16px + (32 - 16) * ((100vw - 320px) / (1023 - 320))) !important;
        height: calc(16px + (32 - 16) * ((100vw - 320px) / (1023 - 320))) !important;
        padding: 8px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        aspect-ratio: 1/1;
        /* Shadow/xs */
        box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
        z-index: 98;
        margin-top: 8px;
    }

    .add_shopping_cart input[type=checkbox] {
        display: none;
    }

    input[type=checkbox] + span.cart_icon {
        background: url("../images/cart-frame.png");
        background-size:contain;
        background-repeat:no-repeat;
        width: calc(15px + (24 - 15) * ((100vw - 320px) / (1023 - 320))) !important;
        height: calc(15px + (24 - 15) * ((100vw - 320px) / (1023 - 320))) !important;
        display: inline-block;
        position: relative;
        z-index:99;
        margin-bottom: 0 !important;
    }

    input[type=checkbox] + span.cart_icon:hover {
        background: url("../images/cart-frame-hover.png");
        background-size:contain;
        background-repeat:no-repeat;
        width: calc(15px + (24 - 15) * ((100vw - 320px) / (1023 - 320))) !important;
        height: calc(15px + (24 - 15) * ((100vw - 320px) / (1023 - 320))) !important;
        display: inline-block;
        position: relative;
        z-index:99;
        margin-bottom: 0 !important;
    }

    .add_shopping_cart label {
        margin: 0;
        height: calc(15px + (24 - 15) * ((100vw - 320px) / (1023 - 320))) !important;
    }

    input[type=checkbox]:checked + span.cart_icon {
        background: url("../images/cart-check-fill.png");
        background-size:contain;
        background-repeat:no-repeat;
        width: calc(15px + (24 - 15) * ((100vw - 320px) / (1023 - 320))) !important;
        height: calc(15px + (24 - 15) * ((100vw - 320px) / (1023 - 320))) !important;
        display: inline-block;
        position: relative;
        z-index:99;
        margin-bottom: 0 !important;
    }

    .card_desc p.font_16_12 {
        color:  #475467;
        font-size: calc(12px + (16 - 12) * ((100vw - 320px) / (1023 - 320))) !important;
        font-weight: 400;
        line-height: 110%;
        margin-bottom: 4px
    }

    .card_desc .make a{
        color: #1D2939;
        font-size: calc(14px + (24 - 14) * ((100vw - 320px) / (1023 - 320))) !important;
        font-family: "IBM Plex Sans";
        font-weight: 500;
        line-height: 110%;
    }

    .card_desc .seller a{
        color: #4348E6;
        font-size: calc(10px + (14 - 10) * ((100vw - 320px) / (1023 - 320))) !important;
        font-weight: 600;
        line-height: 110%;
        margin-bottom: 4px;
    }

    .card_desc p.province {
        color:#344054;
        font-size: calc(10px + (14 - 10) * ((100vw - 320px) / (1023 - 320))) !important;
        font-weight: 300;
        line-height: 110%;
        margin-bottom: 10px;
    }

    .bid_price p.bid_label {
        color: #667085;
        font-size: calc(10px + (14 - 10) * ((100vw - 320px) / (1023 - 320))) !important;
        font-weight: 300;
        line-height: 110%; /* 15.4px */
        margin-bottom: 4px;
    }

    .bid_price p.price {
        color: #1D2939;
        font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (1023 - 320))) !important;
        font-weight: 600;
        line-height: 100%;
        margin-bottom: 0;
    }

    .bid_price .bid_button {
        border-radius: 4px;
        border: 1px solid #F6F6FF;
        background: #F6F6FF;
        box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
        display: flex;
        width: 38px;
        padding: 4px;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .bid_button a{
        color: #4348E6;
        font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1023 - 320))) !important;
        font-weight: 500;
        line-height: 20px;
    }

    span.bull_point {
        font-size: 14px;
        color: #98A2B3;
        padding: 6px;
    }

    /* Timer greater than 2 hrs */
    .timer_block.blue_block {
        color: #175CD3;
        text-align: center;
        font-size: calc(10px + (14 - 10) * ((100vw - 320px) / (1023 - 320))) !important;
        font-weight: 500 !important;
        line-height: 110%; /* 15.4px */
        border-radius: 4px;
        border: 1px solid #2E90FA;
        background:  #EFF8FF;
        box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
        display: inline-flex;
        padding: 4px;
        align-items: center;
        gap: 2px;
        margin-bottom: 8px;
    }

    /* Timer between 1 - 2 hrs */
    .timer_block.orange_block {
        color: #B54708;
        text-align: center;
        font-size: calc(10px + (14 - 10) * ((100vw - 320px) / (1023 - 320))) !important;
        font-weight: 500 !important;
        line-height: 110%; /* 15.4px */
        border-radius: 4px;
        border: 1px solid #F79009;
        background:  #FFFAEB;
        box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
        display: inline-flex;
        padding: 4px;
        align-items: center;
        gap: 2px;
        margin-bottom: 8px;
    }

    /* Timer less than 1 hrs */
    .timer_block.red_block {
        color: #C01048;
        text-align: center;
        font-size: calc(10px + (14 - 10) * ((100vw - 320px) / (1023 - 320))) !important;
        font-weight: 500 !important;
        line-height: 110%; /* 15.4px */
        border-radius: 4px;
        border: 1px solid #F63D68;
        background:  #FFF1F3;
        box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
        display: inline-flex;
        padding: 2px 4px;
        align-items: center;
        gap: 2px;
        margin-bottom: 8px;
    }

    .card_img_block {
        display:flex;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        position:relative;
        max-height: calc(99px + (190 - 99) * ((100vw - 320px) / (1023 - 320))) !important;
        height: 100%;
    }

    img.card-img {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        height: calc(99px + (190 - 99) * ((100vw - 320px) / (1023 - 320))) !important;
        width: 100%;
    }

    .overlay_items {
        display: flex;
        justify-content: space-between;
        position: absolute;
        height: 100%;
        flex-direction: column;
        right: 8px;
        align-items: end;
    }

}

@media only screen and (max-width: 991px) {

    .model {
        height: 0;
        visibility: hidden;
    }

    .auction_card_block {
        width: calc(228px + (303 - 228) * ((100vw - 768px) / (991 - 768))) !important;
    }

}

@media only screen and (max-width: 767px) {

    .auction_card {
        border-radius: 6px;
        border: 1px solid #D0D5DD;
        background: #FFF;
        display: flex;
        flex-direction: column;
        height:100% !important;
    }

    .auction_card_container {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        max-width: 1665px;
        width: 100%;
        
    }

    .card_img_block {
        display:flex;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        position:relative;
        max-height: calc(99px + (290 - 99) * ((100vw - 320px) / (767 - 320))) !important;
        height: 100%;
    }

    img.card-img {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        height: calc(99px + (290 - 99) * ((100vw - 320px) / (767 - 320))) !important;
        width: 100%;
    }

    .auction_card_block {
        width: calc(139px + (254 - 139) * ((100vw - 320px) / (767 - 320))) !important;
        max-width: calc(139px + (354 - 139) * ((100vw - 320px) / (767 - 320))) !important;
    }

    /* Hide the 'First' and 'Last' links on small screens */
    .pagination-custom li.first,
    .pagination-custom li.last {
        display: none;
    }

}

.search-wrapper {
    display: flex;
    gap: 0.5em;
    flex-direction: column;
    max-width: 1665px;
    width: 100%;
}


.input-group.search_group {
    display: flex;
    padding: 5px 12px;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    border: 1px solid var(--Gray-gray-5, #D9D9D9);
    background: var(--Gray-gray-1, #FFF);
    justify-content: space-between;
}

.input-group.search_group input.form-control {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
}

.filter-sort-container .btn-group {
    width: 100%;
}

.filter-sort-container .btn-group button.btn.dropdown-toggle {
    border-radius: 6px;
    border: 1px solid  #D0D5DD;
    background:  #FFF;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    display: flex;
    padding: 10px 16px;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    width: 100%;
}

.filter-sort-container {
    display: flex;
}

.filter-sort-container .btn-group.open .dropdown-menu {
    display: flex !important;
    flex-direction: column;
    padding: 12px;
    gap: .5em;
}

.auction_card_container .mainfilter {
    width: 100%;
}