/* Custom Category Dropdown */
.custom-category-dropdown {
    /* position: relative; */
    display: inline-block;
    min-width: 215px;
    font-size: 16px;
    margin-right: 15px;
    padding-left: 20px;
}
.custom-category-dropdown .dropdown-toggle {
    background: transparent;
    border: none;
    color: #00303d;
    font-size: 16px;
    font-weight: 500;
    padding: 0 24px 0 0;
    height: 44px;
    line-height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
}
.custom-category-dropdown .dropdown-toggle:focus,
.custom-category-dropdown .dropdown-toggle:hover {
    outline: none;
    border: none;
    background: transparent;
    color: #00303d;
}
.custom-category-dropdown .dropdown-label {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.custom-category-dropdown .dropdown-arrow {
    /* margin-left: 8px;
    font-size: 14px;
    color: #00303d; */
    top: 3px;
    position: relative;
}
.custom-category-dropdown .dropdown-menu {
    position: absolute;
    /* left: 0; */
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 10;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
}
.custom-category-dropdown .dropdown-option {
    padding: 12px 24px;
    font-size: 16px;
    color: #00303d;
    cursor: pointer;
    transition: background 0.2s;
    white-space: pre;
}
.custom-category-dropdown .dropdown-option:hover, .custom-category-dropdown .dropdown-option.active {
    background: #1976d2;
    color: #fff;
}
.custom-category-dropdown .dropdown-option span {
    display: inline-block;
    min-width: 0;
}
/* Trending Search Sample Style */
.trending-search-wrap.sample-style {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: none;
    margin-top: 0;
    padding: 0;
    min-width: 320px;
    position: absolute;
    z-index: 10;
    width: 100%;
    display: none
}
.trending-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.trending-title {
    font-weight: 700;
    color: #222;
    font-size: 16px;
    padding: 18px 24px 10px 24px;
    display: flex;
    align-items: center;
    border-bottom: none;
}
.trending-icon {
    font-size: 18px;
    margin-right: 8px;
    color: #1976d2;
    display: inline-block;
}
.trending-item {
    padding: 10px 24px;
    font-size: 16px;
    color: #222;
    cursor: pointer;
    transition: background 0.2s;
}
.trending-item:hover, .trending-item:focus {
    background: #f5f7fa;
}
.trending-link {
    color: #222;
    text-decoration: none;
    display: block;
    width: 100%;
}
.trending-link:hover, .trending-link:focus {
    color: #1976d2;
    text-decoration: underline;
}
.custom-ajax-search {
    /* max-width: 860px; */
    /* margin: 20px auto; */
    background: none;
    padding: 0;
}
.custom-ajax-search .searchform {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}
.custom-ajax-search .search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-size: 24px;
    color: #00303d;
    flex: 0 0 auto;
}
.custom-ajax-search .search-field {
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 20px;
    padding: 18px 0 18px 0;
    outline: none;
    color: #00303d;
    font-family: inherit;
    z-index: 1;
    border-right: 1px solid #CCC;
    border-radius: unset;
    box-shadow: unset;
}
.custom-ajax-search .search-field::placeholder {
    color: #00303d;
    opacity: 0.7;
    font-size: 20px;
    font-weight: 500;
}
.custom-ajax-search .search-field:focus {
    outline: none;
    border: none;
    box-shadow: none;
}
.custom-ajax-search .product_cat {
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: #00303d;
    padding: 0 24px 0 0;
    max-width: 180px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    z-index: 0;
    height: 44px;
    line-height: 44px;
    border-radius: 0;
    box-shadow: none;
}
.custom-ajax-search .product_cat:focus {
    outline: none;
    border: none;
}
.custom-ajax-search .product_cat option {
    font-size: 16px;
    color: #00303d;
    padding: 12px 24px;
    background: #fff;
    border: none;
    border-radius: 0;
    font-weight: 400;
}
.custom-ajax-search .product_cat option:checked,
.custom-ajax-search .product_cat option:focus,
.custom-ajax-search .product_cat option:hover {
    background: #1976d2;
    color: #fff;
    font-weight: 500;
}
.custom-ajax-search .product_cat {
    max-height: 400px;
    overflow-y: auto;
}
/* For Webkit browsers */
.custom-ajax-search .product_cat::-webkit-scrollbar {
    width: 8px;
    background: #f2f2f2;
}
.custom-ajax-search .product_cat::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.search-results-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 0 0 10px 10px;
    display: none;
    max-height: 260px;
    overflow-y: auto;
    padding: 0;
}
.search-results-wrapper .search-result-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer;
    transition: background 0.2s;
}
.search-results-wrapper .search-result-item:last-child {
    border-bottom: none;
}
.search-results-wrapper .search-image {
    width: 44px;
    height: 44px;
    object-fit: cover;
    margin-right: 16px;
    border-radius: 6px;
    background: #f7f7f7;
}
.search-results-wrapper .search-name {
    font-weight: 500;
    color: #00303d;
    font-size: 17px;
}
.search-results-wrapper .search-price {
    color: #ff9800;
    font-size: 15px;
    margin-left: auto;
    font-weight: bold;
}
.search-results-wrapper .no-results {
    padding: 24px 20px;
    text-align: center;
    color: #999;
    font-size: 17px;
    font-weight: 500;
}
.search-submit[type="submit"]{
    border-radius: 0px 0px 0px 0px !important;
}