/* Product List Page - Flipkart Style Sidebar */

/* Sidebar Filters */
.sidebar__item {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}

.sidebar__item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.sidebar__item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar__item ul li {
    margin-bottom: 8px;
}

.sidebar__item ul li a {
    display: block;
    padding: 8px 0;
    color: #212121;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar__item ul li a:hover,
.sidebar__item ul li.active a {
    color: #7fad39;
    font-weight: 600;
}

/* Filter Bar */
.filter__item {
    background: #fff;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}

/* Search Bar - Compact Style */
.hero__search__form {
    height: 50px;
    border: 1px solid #ebebeb;
    position: relative;
}

.hero__search__form form {
    display: flex;
    height: 100%;
}

.hero__search__form input {
    flex: 1;
    border: none;
    height: 48px;
    font-size: 16px;
    color: #b2b2b2;
    padding-left: 20px;
}

.hero__search__form input::placeholder {
    color: #b2b2b2;
}

.hero__search__form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    padding: 0 30px;
}

/* Sort */
.filter__sort {
    text-align: right;
}

.filter__sort span {
    font-size: 14px;
    color: #878787;
    margin-right: 10px;
}

.filter__sort select {
    height: 36px;
    border: 1px solid #e0e0e0;
    padding: 0 12px;
    border-radius: 2px;
    font-size: 14px;
    color: #212121;
}

/* Product Grid */
.product__item__pic {
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .sidebar__item {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero__search__form,
    .filter__sort {
        text-align: center;
        margin-top: 10px;
    }
    
    .filter__sort {
        text-align: center;
    }
    
    .hero__search__form form {
        flex-direction: column;
    }
    
    .hero__search__form button {
        width: 100%;
    }
}
