/* nav.woocommerce-pagination.wd-pagination {
    display: none;
}   */
.product-filter-s{position:relative;}
.core_barcode_search_form {
 position:relative;
}

#barcode-search-results{
    position:absolute; 
    width:100%;
    z-index: 1000;
}
.barcode-search-form input {
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    height: 46px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 35px;
    background-color: #fff;
    box-shadow: none;
    color: var(--wd-form-color);
    vertical-align: middle;
    font-size: 14px;
    transition: border-color .5s ease;
}
.barcode-search-form button {
    position: absolute;
    right: 0;
    padding: 0;
    min-height: unset;
    border: none;
    box-shadow: none;
    font-weight: 400;
    inset-inline-end: calc(var(--wd-form-brd-width) + 3px);
    width: calc(46px - ((1px + 3px) * 2));
    inset-block: calc(var(--wd-form-brd-width) + 3px);
    border-radius: 35px;
    font-size: 0;
    color: #fff;
    background-color: #1c61e7;
    outline: none;
}
.barcode-search-form button:hover {
    color: #fff;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.1);
    background-color: #1c61e7;
}

.barcode-search-form button:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: calc((var(--wd-form-height) / 2.5) / -2);
    margin-left: calc((var(--wd-form-height) / 2.5) / -2);
    opacity: 0;
    transition: opacity .1s ease;
    content: "";
    display: inline-block;
    width: calc(var(--wd-form-height) / 2.5);
    height: calc(var(--wd-form-height) / 2.5);
    border: 1px solid rgba(0, 0, 0, 0);
    border-left-color: currentColor;
    border-radius: 50%;
    vertical-align: middle;
    animation: wd-rotate 450ms infinite linear var(--wd-anim-state, paused);
}

.barcode-search-form button:after {
    font-size: calc(var(--wd-form-height) / 2.3);
    transition: opacity .2s ease;
    content: "\f130";
    font-weight: 200;
    font-family: "woodmart-font";
}

#core-barcode-results{position:absolute; width:100%;}
.core_barcode_search_form input {
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    height: 46px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 35px;
    background-color: #fff;
    box-shadow: none;
    color: var(--wd-form-color);
    vertical-align: middle;
    font-size: 14px;
    transition: border-color .5s ease;
}
.core_barcode_search_form button {
    position: absolute;
    right: 0;
    padding: 0;
    min-height: unset;
    border: none;
    box-shadow: none;
    font-weight: 400;
    inset-inline-end: calc(var(--wd-form-brd-width) + 3px);
    width: calc(46px - ((1px + 3px) * 2));
    inset-block: calc(var(--wd-form-brd-width) + 3px);
    border-radius: 35px;
    font-size: 0;
    color: #fff;
    background-color: #1c61e7;
    outline: none;
}
.core_barcode_search_form button:hover {
    color: #fff;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.1);
    background-color: #1c61e7;
}

.core_barcode_search_form button:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: calc((var(--wd-form-height) / 2.5) / -2);
    margin-left: calc((var(--wd-form-height) / 2.5) / -2);
    opacity: 0;
    transition: opacity .1s ease;
    content: "";
    display: inline-block;
    width: calc(var(--wd-form-height) / 2.5);
    height: calc(var(--wd-form-height) / 2.5);
    border: 1px solid rgba(0, 0, 0, 0);
    border-left-color: currentColor;
    border-radius: 50%;
    vertical-align: middle;
    animation: wd-rotate 450ms infinite linear var(--wd-anim-state, paused);
}

.core_barcode_search_form button:after {
    font-size: calc(var(--wd-form-height) / 2.3);
    transition: opacity .2s ease;
    content: "\f130";
    font-weight: 200;
    font-family: "woodmart-font";
}

.products-grid {
    display: grid;
    gap:0px;
    grid-template-columns: 33% 33% auto;
    background: #fff;
    padding: 16px;
    overflow: auto;
    max-height: 50vh;
    border-radius: 10px;
     scrollbar-color: #888 #f4f4f4;
        scrollbar-width: thin;
}
.products-grid::-webkit-scrollbar {
    width: 8px;
    height: 8px; 
}
.products-grid::-webkit-scrollbar-thumb {
    background-color: #888; 
    border-radius: 4px; 
    border: 2px solid #f4f4f4; 
}

.products-grid::-webkit-scrollbar-thumb:hover {
    background-color: #555; 
}
.products-grid::-webkit-scrollbar-track {
    background: #f4f4f4; 
    border-radius: 4px; 
}
.product-card {
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 5px;
    text-align: center;
    width:100%;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
}
.product-card a {
    text-decoration: none;
    color: inherit;
    display: grid;
    text-align: left;
    gap: 10px;
    height:100%;
    grid-template-rows: auto auto;
    grid-template-columns: 70px 1fr;
}
.product-image{
    grid-column: 1;
    align-items: center;
    display: flex;
    grid-row: 1 / span 2;
}

.product-image img {
    max-width: 100%;
    height: 85px;
    object-fit: contain;
    border-radius: 8px;
}
.product-title {
    font-size: 12px;
    font-weight: bold;
    margin:0;
    grid-row: 1;
    grid-column: 2;
}
.product-price {
    font-size: 14px;
    color: #0071a1;
    grid-row: 2;
    grid-column: 2;
}  