.cob-search-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
.hit-thumbnail {
    width: 60px;
    height: 60px;
}
.search-result-title mark {
    display: block;
    color: #ec3c43;
    background: unset;
}


article.hit-item {
    display: flex;
    flex-direction: row-reverse;
    align-content: center;
}
.cob-search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.cob-filter-group {
    flex: 1 1 18%;
    position: relative;
    min-width: 150px;
}

.cob-filter-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 15px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: right;
}
.cob-filter-button:hover {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}
.cob-filter-button i { margin-left: 8px; }

.cob-filter-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 250px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    padding: 15px;
    margin-top: 5px;
}
.cob-filter-options.open { display: block; z-index: 99999; }
.cob-price-box { min-width: 280px; }

label.cob-label-check {
    position: relative;
    padding-right: 35px;
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
    line-height: 20px;
}
.cob-label-check input { position: absolute; opacity: 0; height: 0; width: 0; }
.cob-checkmark {
    position: absolute;
    top: 0;
    right: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.cob-label-check:hover input ~ .cob-checkmark { background-color: #ccc; }
.cob-label-check input:checked ~ .cob-checkmark { background-color: #0d6efd; border-color: #0d6efd; }
.cob-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px; top: 2px;
    width: 5px; height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.cob-label-check input:checked ~ .cob-checkmark:after { display: block; }

/* Algolia Specific Overrides (remain as is, since they refer to InstantSearch.js internal classes) */
.ais-SearchBox-input { width: 100%; padding: 12px 15px; font-size: 1.2em; border-radius: 5px; }
.ais-Hits-item { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #eee; }
.ais-RefinementList-label { display: flex; align-items: center; }
.ais-RefinementList-labelText { padding-right: 8px; }
.ais-RefinementList-count {
    background-color: #e9ecef;
    color: #495057;
    padding: 2px 6px;
    font-size: 0.8em;
    border-radius: 10px;
}


@media(max-width: 992px) { .cob-filter-group { flex: 1 1 30%; } }
@media(max-width: 768px) { .cob-filter-group { flex: 1 1 45%; } }
@media(max-width: 576px) { .cob-filter-group { flex: 1 1 100%; } }