.devvn_form_quicksearch,
.tdz_form_quicksearch {
    position: relative;
}
.quick-search-results {
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    color: #111;
    left: 0;
    position: absolute;
    right: 0;
    text-align: left;
    top: 105%;
    z-index: 99999;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-sizing: border-box;
}
.quicksearch_load_noresult .quick-search-results {
    min-height: auto !important;
}
.quicksearch_searching_text,
.quicksearch_noresult {
    padding: 12px 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
}
strong.title_sec {
    display: block;
    padding: 6px 12px;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    clear: both;
}

.quicksearch_item {
    overflow: hidden;
    padding: 8px 12px;
    display: block;
    color: #222;
    text-decoration: none;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.quicksearch_item:hover {
    background: #f5f5f5;
    color: #0066cc;
}

.quicksearch_thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    float: left;
    margin: 0 10px 0 0;
    border-radius: 4px;
}

.quicksearch_info {
    overflow: hidden;
    display: block;
}
.quicksearch_info .title {
    line-height: 1.3 !important;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    max-height: 36px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.quicksearch_info > span.price {
    display: block;
    margin-top: 3px;
}

.quicksearch_info > span.price > .amount, 
.quicksearch_info > span.price ins > .amount {
    color: red;
    font-size: 15px;
    font-weight: bold;
}
.quicksearch_info > span.price del, 
.quicksearch_info > span.price del > .amount {
    font-size: 13px;
    color: #888;
    text-decoration: line-through;
    margin-right: 5px;
}

/* Out of Stock Badge */
.qs-badge-out-of-stock {
    display: inline-block;
    background-color: red;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: 3px;
    margin-right: 5px;
}
.is-out-of-stock {
    opacity: 0.75;
}

.quicksearch_item_col_2 {
    width: 50%;
    float: left;
    box-sizing: border-box;
}

[class*="taxsync_"] strong.title {
    font-weight: normal;
}

.quicksearch_item_wrap:after {
    content: "";
    clear: both;
    display: table;
}

[class*="taxsync_"] > .quicksearch_item:nth-child(2n+1) {
    clear: both;
}

@media (max-width: 676px) {
    .quick-search-results {
        max-height: calc(100vh - 200px);
    }
    .quicksearch_item_col_2 {
        width: 100%;
        float: none;
    }
}
