/* SMB Product Search Widget Styles */

.smb-search-container-8757fb48 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 15px auto;
}

/* Explicit resets to override theme outlines and underlines on dark backgrounds */
.elementor-widget-smb_product_search_8757fb48,
.elementor-widget-smb_product_search_8757fb48 .elementor-widget-container,
.elementor-widget-smb_product_search_8757fb48 .elementor-widget-container::after,
.elementor-widget-smb_product_search_8757fb48 .elementor-widget-container::before,
.smb-search-container-8757fb48,
.smb-search-container-8757fb48 form,
.smb-search-container-8757fb48 .smb-search-form-8757fb48,
.smb-search-container-8757fb48 input.smb-search-input-8757fb48 {
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.smb-search-field-wrapper-8757fb48 {
    display: flex;
    align-items: center;
    background: #ffffff !important;
    border: 2px solid #000C14 !important;
    border-radius: 8px;
    padding: 2px 2px 2px 14px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.smb-search-field-wrapper-8757fb48:focus-within {
    border-color: #F8002F !important;
    box-shadow: 0 4px 20px rgba(248, 0, 47, 0.15);
}

.smb-search-icon-8757fb48 {
    width: 18px;
    height: 18px;
    color: #000C14;
    flex-shrink: 0;
    margin-right: 10px;
}

.smb-search-input-8757fb48 {
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
    background: transparent !important;
    width: 100%;
    padding: 10px 0 !important;
    font-size: 15px;
    color: #333333 !important;
    box-shadow: none !important;
}

.smb-search-input-8757fb48::placeholder {
    color: #999999;
    opacity: 1;
}

.smb-search-submit-8757fb48 {
    background: #F8002F;
    color: #ffffff;
    border: none !important;
    border-bottom: none !important;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    height: 100%;
}

.smb-search-submit-8757fb48:hover {
    background: #000C14 !important;
}

/* Results Dropdown */
.smb-search-results-dropdown-8757fb48 {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
    max-height: 480px;
    display: flex;
    flex-direction: column;
}

.smb-search-loading-8757fb48 {
    padding: 15px;
    font-size: 14px;
    color: #666666;
    text-align: center;
    font-style: italic;
}

.smb-search-no-results-8757fb48 {
    padding: 15px;
    font-size: 14px;
    color: #000C14;
    text-align: center;
    font-weight: 500;
}

.smb-results-list-8757fb48 {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto;
    max-height: 350px;
}

.smb-results-list-8757fb48 li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.smb-results-list-8757fb48 li:last-child {
    border-bottom: none !important;
}

.smb-result-link-8757fb48 {
    display: block;
    padding: 12px 18px;
    text-decoration: none !important;
    transition: background-color 0.2s;
}

.smb-result-link-8757fb48:hover {
    background-color: rgba(248, 0, 47, 0.04);
}

.smb-result-content-8757fb48 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.smb-result-thumb-8757fb48 {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.08);
}

.smb-result-title-8757fb48 {
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.smb-result-link-8757fb48:hover .smb-result-title-8757fb48 {
    color: #F8002F;
}

/* Dropdown Pagination Footer */
.smb-search-pagination-8757fb48 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: #fdfdfd;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 12px;
    color: #555;
}

.smb-search-pag-btn-8757fb48 {
    background: #000C14;
    color: #fff;
    border: none !important;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.smb-search-pag-btn-8757fb48:hover:not(:disabled) {
    background: #F8002F;
}

.smb-search-pag-btn-8757fb48:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}
