/* ============================================
   SEARCH AUTOCOMPLETE COMPONENT STYLES
   Extracted from: resources/views/partials/_search-autocomplete-script.blade.php
                   resources/views/partials/_hero-search.blade.php
   ============================================ */

/* Search Suggestions Dropdown Container */
#search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    z-index: 1000;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    border-radius: 0 0 4px 4px;
}

/* Loading State */
.search-loading,
.search-not-found,
.search-error {
    padding: 10px;
    text-align: center;
    background: white;
}

.search-loading {
    color: #999;
}

.search-not-found {
    color: #999;
}

.search-error {
    color: #dc3545;
}

/* Search Result Item */
.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
    background: white;
}

.search-result-item:hover {
    background-color: #f8f9fa !important;
}

/* Search Result Image */
.search-result-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
}

/* Search Result Info Container */
.search-result-info {
    flex-grow: 1;
}

/* Search Result Product Name */
.search-result-name {
    font-weight: 600;
    font-size: 14px;
    color: #1c1c1c;
}

/* Search Result Product Price */
.search-result-price {
    color: #666;
    font-size: 13px;
    font-weight: 600;
}

/* Hero Search Form */
.hero__search__form form {
    position: relative;
    overflow: visible !important;
}

/* Hero Search Phone Adjustment */
.hero__search__phone.phone-margin-fix {
    margin-right: -2em;
}

/* Banner Spacing */
.banner-spacing {
    height: 10px;
}

/* Banner Item Custom Size */
.hero__item.banner-custom-size {
    height: 400px;
    width: 400px;
}
