/* Listing Page Styles */

/* Autocomplete Styles */
.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
}

.autocomplete input[type=text] {
    width: 100%;
}

.autocomplete input[type=submit] {
    background-color: DodgerBlue;
    color: #fff;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

/* Listing Page Layout */
.bike-listing {
    margin-top: 10px;
}

.mobile-filter {
    margin: 0 5px;
}

.filter-header {
    margin: 0 5px;
    padding-bottom: 5px;
    text-align: right;
}

.filter-divider {
    margin: 0;
}

/* Card Styles */
.card-dynamic {
    margin-bottom: 7px !important;
}

.grid-image {
    width: 100%;
    height: auto;
}

.item-detl-head {
    margin-bottom: 15px;
}

.item-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.item-rate {
    margin-top: 31px;
    color: #e31e24;
    font-weight: 600;
}

.item-dec {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.item-detl {
    text-align: center;
    min-width: 50px;
}

.item-detl span {
    min-width: 50px;
    line-height: 2;
}

/* Button Styles */
.btn-viewSeller {
    width: 80%;
}

.btn-shortlist {
    width: 20%;
}

.uk-btn-custom {
    border-radius: 4px;
}

/* Mobile Filter Styles */
.filter-model-body {
    height: 100%;
}

.filter-header-mobile {
    background-color: white;
    z-index: 15;
    box-shadow: 0 3px 6px 0 rgba(36,39,44,.1);
    height: 52px;
    position: fixed;
    top: 0;
    width: 100%;
}

.filter-content {
    padding: 20px 50px;
    padding-top: 65px;
    overflow: scroll;
    height: 100%;
}

.filter-bottom-mobile {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 10px 0;
    box-shadow: rgb(36 39 44 / 30%) 0px -2px 4px 0px;
}

/* List Styles */
.brand-list {
    padding-left: 30px;
}

.brand-name {
    font-weight: 600;
}

/* Featured Flag */
.featured_flag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e31e24;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    z-index: 1;
}

/* Photo Count Overlay */
.uk-overlay-custom {
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 5px 10px;
}

/* Filter Bottom Mobile */
.filter-bottom {
    display: none;
}

@media (max-width: 640px) {
    .filter-bottom {
        display: block;
    }
    
    .filter-div {
        text-align: center;
    }
    
    .btn-sort, .btn-filter {
        display: inline-block;
        padding: 10px 20px;
        margin: 0 5px;
    }
} 