.bread {
    padding: 15px 0;
}
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.section {
    padding: 0 0 60px 0;
}

.search-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.search-category-tabs a {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
    font-size: 1.4rem;
}
.search-category-tabs a.active,
.search-category-tabs a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.06);
}

.filters-sidebar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 20px;
}
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.filters-title {
    font-size: 1.4rem;
    font-weight: 700;
}
.clear-filters-btn {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}
.filter-block {
    border-top: 1px solid #eee;
    padding: 15px 0;
}
.filter-block:first-child {
    border-top: none;
    padding-top: 0;
}
.filter-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.filter-block-title {
    flex: 1;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}
.filter-block-title .toggle-icon {
    transition: transform 0.3s;
}
.filter-block-title.collapsed .toggle-icon {
    transform: rotate(-90deg);
}
.filter-options {
    list-style: none;
    padding: 10px 0 0 10px;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}
.filter-options li {
    margin-bottom: 8px;
}
.filter-options li.filter-zero-hit label {
    opacity: 0.45;
}
.filter-options label {
    display: flex;
    align-items: center;
    font-weight: 400;
}
.filter-options .checkbox {
    margin-right: 8px;
}
.reset_filter {
    font-size: 1.2rem;
    white-space: nowrap;
}

.search-results-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search-results-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}
.search-results-list.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.product-card-list {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    padding: 25px;
    display: flex;
    transition: all 0.3s;
}
.product-card-list:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.product-list-img {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}
.product-list-img img {
    max-width: 80%;
    max-height: 80%;
}
.product-list-info {
    flex-grow: 1;
}
.product-list-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.product-list-title a {
    color: var(--secondary-color);
    text-decoration: none;
}
.product-list-title a:hover {
    color: var(--primary-color);
}
.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 15px;
}
.product-meta-grid span {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
}
.product-list-actions {
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}
.product-list-actions .btn {
    margin-right: 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.search-suggest-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 1200;
    max-height: 320px;
    overflow-y: auto;
}
.search-suggest-dropdown.is-open {
    display: block;
}
.search-suggest-item {
    display: block;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.3rem;
}
.search-suggest-item:hover,
.search-suggest-item:focus {
    background: #f8f9fa;
    color: var(--primary-color);
}
.search-suggest-item small {
    display: block;
    color: #888;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .filters-sidebar {
        display: none;
        position: absolute;
        z-index: 100;
        width: 100%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    .col-md-9 { width: 100%; }
    .product-card-list {
        flex-direction: column;
    }
    .product-list-img {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .filter-toggle-btn {
        display: block;
    }
}

.filter-toggle-btn {
    display: none;
}
