.laps-search-box {
    width: 100%;
    max-width: 100% !important;
    position: relative;
    font-family: inherit;
}






#laps-results {
    width: 100% !important;
    max-width: 100% !important;
    background: #F7F5F5;
    border: 1px solid #8A8A8A;
    overflow: overlay;
    max-height: 300px;
}







.laps-item .add_to_cart_button.laps-added {
    background-color: #2e7d32;
    color: #ffffff;
    border-color: #2e7d32;
}


.laps-item .add_to_cart_button::after,
.laps-item .added_to_cart.wc-forward {
    display: none !important;
}





.laps-item .button {
    align-self: flex-start;
    padding: 6px 14px;
}



#laps-search::placeholder {
         
    color: #252323;        
    font-weight: 600;
    opacity: 0.8;
}



.laps-price-label {
    font-weight: 500;
    color: #B03921;
}





@media (min-width: 700px) {



#laps-search {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    color:black !important;
    border: 1px solid black;
    border-radius: none;
}




.laps-item {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    gap: 5px;
    padding: 10px 50px;
    border: 1px solid black;
  
    transition: background 0.25s ease;
}

.laps-item h4 {
    margin: auto;
    font-weight: 500;
    width: 70% !important;

}


.laps-price {
    margin: auto;
    font-size: 17px;
    font-weight: 700;
    color: #2e7d32;
}


.laps-item .add_to_cart_button {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease;
}




.laps-not-found {
    padding: 16px;
    background: white;
    color: #b00020;
    border-radius: 8px;
    text-align:  center;
    font-size: 17px;
    font-weight: 500;
    font-family: inherit;
}


}



@media (max-width: 700px) {



     #laps-search {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    color:black !important;
    border: 1px solid black;
    border-radius: none;
}




    .laps-item {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        column-gap: 12px;
        row-gap: 6px;
        padding: 10px;
        border-bottom: 1px solid #8A8A8A;
        align-items: start;
    }


    .laps-item h4 {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        margin: auto;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        line-height: 1.4;
    }

    
    .laps-item .laps-price {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        font-size: 14.5px;
        font-weight: 700;
        color: #2e7d32;
        white-space: nowrap;
        text-align: center;
    }

   
    .laps-item .add_to_cart_button {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        justify-self: end;
        padding: 7px 8px !important;
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
    }



   .laps-not-found {
    padding: 16px;
    background: white;
    color: #b00020;
    border-radius: 8px;
    text-align:  center;
    font-size: 15px;
    line-height: 1.5em;
    font-weight: 500;
    font-family: inherit;
}




}










.laps-spinner {
    display: none;
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: laps-spin 0.8s linear infinite;
    pointer-events: none;
}

@keyframes laps-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}


#laps-search {
    padding-right: 40px;
}



