/* -------------------------------
   KRS PRODUCT SEARCH - STYLES
------------------------------- */

.product-search-wrapper {
    max-width: 500px;
    margin: 20px auto;
    position: relative;
    font-family: Arial, sans-serif;
}

.product-search-row {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}

.FaDiv {
    padding: 0 10px;
    color: #888;
}

#product-search-input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 16px;
    outline: none;
}

.product-search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
}

.search-result-item {
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-result-item img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 3px;
}

.search-title {
    font-size: 14px;
    color: #333;
}

.view-more-btn {
    display: block;
    width: 100%;
    border: none;
    background: #0071a1;
    color: #fff;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
}

.search-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto; /* allow popup to scroll if too tall */
}

.search-lightbox .lightbox-content {
    width: 90%;
    max-width: 1000px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: 90vh; /* never taller than viewport */
}

.search-lightbox iframe {
    width: 100%;
    border: none;
    height: auto; /* will be dynamically set by JS */
    display: block;
}



.search-lightbox .lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 10;
}

.my-product-outer .woocommerce-message{
    border: none;
    border-top: 3px double #006938;
    line-height: 1.1em;
}

.my-product-outer a.button.wc-forward{
    background-color:#006938;
    font-weight: 300;
    color: white;
    padding: .5em 2em;
    border: 1px solid white!important;
    border-radius: 5px;
    transition: .3s;
    margin: 2vh 0 0 0;
}

.my-product-outer a.button.wc-forward:hover{
    background-color: #00924E;
   cursor: pointer;   
    color: white!important; 
    border: 1px solid white!important;   
    font-weight: 300;   
}


