/* Chip lọc tour — partial Tour::frontend.layouts.filter-chips (themes/Base).
   Dùng chung mọi theme: màu nhấn lấy --primary-color nếu theme có. Mobile cuộn ngang. */
.tour-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 16px;
}

.tour-filter-chips__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #d9e2ec;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none !important;
    transition: border-color .15s, background-color .15s, color .15s;
}

.tour-filter-chips__chip:hover {
    border-color: var(--primary-color, #0366d6);
    color: var(--primary-color, #0366d6);
}

.tour-filter-chips__chip.is-active {
    border-color: var(--primary-color, #0366d6);
    background: var(--primary-color, #0366d6);
    color: #fff !important;
}

.tour-filter-chips__count {
    min-width: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #eef2f7;
    color: #4b5563;
    font-size: 12px;
    text-align: center;
}

.tour-filter-chips__chip.is-active .tour-filter-chips__count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

@media (max-width: 767px) {
    .tour-filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: -4px;
        margin-right: -4px;
        padding: 0 4px 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tour-filter-chips::-webkit-scrollbar {
        display: none;
    }
}
