.ktm-bike-tab {
    width: 100%;
}

.ktm-bike-search {
    display: block;
    width: 100%;
    padding: 10px !important;
    margin-bottom: 30px !important;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}

.ktm-bike-search:focus {
    border-color: #f60;
}

.ktm-bike-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3;
    column-gap: 48px;
}

@media (max-width: 768px) {
    .ktm-bike-list {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .ktm-bike-list {
        columns: 1;
    }
}

.ktm-bike-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    break-inside: avoid;
    line-height: 1.4;
}

.ktm-bike-item a {
    text-decoration: none;
    color: inherit;
}

.ktm-bike-item a:hover {
    color: #f60;
}

.ktm-bike-no-results {
    color: #888;
    font-style: italic;
    margin-top: 8px;
}

/* ── Archive / category page filter ─────────────────────────────────────── */

.ktm-archive-filter {
    margin-bottom: 24px;
}

.ktm-archive-filter__field {
    position: relative;
    max-width: 420px;
}

.ktm-archive-filter__input {
    display: block;
    width: 100%;
    padding: 10px 36px 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    transition: border-color 0.15s;
    outline: none;
}

.ktm-archive-filter__input:focus {
    border-color: #f60;
    cursor: text;
}

.ktm-archive-filter__clear {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
}

.ktm-archive-filter__clear:hover {
    color: #f60;
}

.ktm-archive-filter__dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 280px;
    overflow-y: auto;
    z-index: 9999;
}

.ktm-archive-filter__option {
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.1s;
}

.ktm-archive-filter__option:hover,
.ktm-archive-filter__option.is-active {
    background: #fff5ee;
    color: #f60;
}

.ktm-archive-filter__label {
    margin-top: 10px;
    font-size: 13px;
    color: #555;
}

.ktm-archive-filter__label a {
    margin-left: 8px;
    color: #999;
    text-decoration: none;
    font-size: 12px;
}

.ktm-archive-filter__label a:hover {
    color: #f60;
}
