<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/**
 * Search Filters Styles
 * æœç´¢ç­›é€‰æ&nbsp;·å¼
 */

/* æœç´¢ç­›é€‰å®¹å™¨ */
.search-filters-container {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.search-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.search-filters-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
}

.search-filters-header h3 i {
    margin-right: 0.5rem;
    color: var(--theme-color, #007bff);
}

/* ç­›é€‰ç»„ */
.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.filter-group .form-control,
.filter-group .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.filter-group .form-control:focus,
.filter-group .form-select:focus {
    border-color: var(--theme-color, #007bff);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* ä»·æ&nbsp;¼èŒƒå›´æ&nbsp;·å¼ */
.price-range-container {
    space-y: 1rem;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-input-group {
    display: flex;
    flex: 1;
}

.price-input-group .input-group-text {
    background: #f8f9fa;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.price-input-group .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.price-separator {
    font-weight: 500;
    color: #666;
    padding: 0 0.5rem;
}

.price-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.price-preset {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.price-preset:hover,
.price-preset.active {
    background-color: var(--theme-color, #007bff);
    border-color: var(--theme-color, #007bff);
    color: white;
}

/* å¹´ä»½èŒƒå›´æ&nbsp;·å¼ */
.year-range-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.year-range-container .form-select {
    flex: 1;
}

.year-separator {
    font-weight: 500;
    color: #666;
    padding: 0 0.5rem;
}

/* ç­›é€‰æŒ‰é’® */
.filter-actions {
    margin-top: 2rem;
    padding-top: 1rem;
    /* border-top: 1px solid #eee; */
}

.filter-actions .btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* æœç´¢ç»“æžœæ&nbsp;·å¼ */
.search-results-container {
    background: #fff;
    /* border-radius: 12px; */
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.results-info {
    color: #666;
}

.results-count {
    font-weight: 500;
    color: #333;
}

.search-term {
    color: var(--theme-color, #007bff);
}

.results-sorting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-sorting label {
    margin: 0;
    font-weight: 500;
    color: #555;
}

/* æ´»åŠ¨ç­›é€‰æ&nbsp;‡ç­¾ */
.active-filters {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.active-filters-label {
    font-weight: 500;
    color: #555;
    margin-right: 0.5rem;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.filter-tag {
    background: var(--theme-color, #007bff);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-left: 0.25rem;
}

.filter-tag a:hover {
    color: #ffcccc;
}

/* äº§å“ç½‘æ&nbsp;¼ */
.products-grid {
    position: relative;
}

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

/* åˆ†é¡µæ&nbsp;·å¼ */
.products-pagination {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.ajax-pagination .pagination {
    margin: 0;
}

.ajax-pagination .page-link {
    border-radius: 8px;
    margin: 0 0.25rem;
    border: 1px solid #ddd;
    color: #555;
    transition: all 0.3s ease;
}

.ajax-pagination .page-link:hover {
    background-color: var(--theme-color, #007bff);
    border-color: var(--theme-color, #007bff);
    color: white;
}

.ajax-pagination .page-item.active .page-link {
    background-color: var(--theme-color, #007bff);
    border-color: var(--theme-color, #007bff);
}

/* æ—&nbsp;ç»“æžœæ&nbsp;·å¼ */
.no-products-found {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.no-products-found h3 {
    color: #333;
    margin-bottom: 1rem;
}

.no-products-found .suggestions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.no-products-found .suggestions h5 {
    margin-bottom: 1rem;
    color: #333;
}

.no-products-found .suggestions ul {
    margin: 0;
    color: #666;
}

/* åŠ&nbsp;è½½è¦†ç›–å±‚ */
.search-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.search-loading-overlay .loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.search-loading-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
}

.search-loading-overlay p {
    margin: 0;
    color: #666;
    font-weight: 500;
    font-size: 1rem;
}

/* å“åº”å¼è®¾è®¡ */
@media (max-width: 768px) {

    .search-filters-container,
    .search-results-container {
        padding: 1rem;
        border-radius: 8px;
    }

    .search-filters-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .price-inputs {
        flex-direction: column;
    }

    .price-presets {
        justify-content: center;
    }

    .year-range-container {
        flex-direction: column;
    }

    .filter-tags {
        justify-content: center;
    }

    .active-filters {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .price-presets .price-preset {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .filter-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
}

/* äº§å“åˆå§‹çŠ¶æ€ - ä¸ºanime.jsåŠ¨ç”»å‡†å¤‡ */
.products .product {
    opacity: 0;
    transform: translateY(20px);
}

/* å‡å°‘åŠ¨ç”»åå¥½çš„ç”¨æˆ· - ç›´æŽ¥æ˜¾ç¤º */
@media (prefers-reduced-motion: reduce) {
    .products .product {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ç­›é€‰å™¨æŠ˜å&nbsp;æ&nbsp;·å¼ï¼ˆç§»åŠ¨ç«¯ï¼‰ */
.filters-toggle {
    display: none;
    width: 100%;
    margin-bottom: 1rem;
    background: var(--theme-color, #007bff);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
}

@media (max-width: 768px) {

    /* åœ¨ç§»åŠ¨ç«¯éšè—æ‰€æœ‰æ—§çš„ç­›é€‰å™¨åˆ‡æ¢æŒ‰é’® */
    .filters-toggle {
        display: none !important;
    }

    .search-filters-container {
        display: none;
    }

    .search-filters-container.show {
        display: block;
    }
}

/* å•†åº—é¡µé¢ç­›é€‰æ&nbsp;·å¼ - äº§å“åˆ—è¡¨ä¸Šæ–¹ */
.shop-filters-container {
    background: #fff;
    border-radius: 0 !important;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.shop-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.shop-filters-header h3 {
    margin: 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-filters-header h3 i {
    color: var(--theme-color, #D7183D);
    font-size: 1rem;
}

.shop-filters-header .btn {
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

/* ç­›é€‰å™¨è¡¨å•å¸ƒå±€ */
#shop-filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 1rem;
    align-items: end;
}

#search-filter-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    grid-template-rows: auto auto auto auto auto !important;
    gap: 1rem !important;
    align-items: end !important;
}

/* å•†åº—é¡µé¢ç¬¬ä¸€è¡Œï¼šBrandã€Registration Statusã€Body Typeã€Fuel Type */
.shop-filters-container #shop-filter-form .filter-group:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.shop-filters-container #shop-filter-form .filter-group:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.shop-filters-container #shop-filter-form .filter-group:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.shop-filters-container #shop-filter-form .filter-group:nth-child(4) {
    grid-column: 4;
    grid-row: 1;
}

/* å•†åº—é¡µé¢ç¬¬äºŒè¡Œï¼šDriveã€Model Codeã€Price Range */
.shop-filters-container #shop-filter-form .filter-group:nth-child(5) {
    grid-column: 1;
    grid-row: 2;
}

.shop-filters-container #shop-filter-form .filter-group:nth-child(6) {
    grid-column: 2;
    grid-row: 2;
}

.shop-filters-container #shop-filter-form .filter-group:nth-child(7) {
    grid-column: 3 / 5;
    grid-row: 2;
}

/* æœç´¢é¡µé¢ç½‘æ&nbsp;¼å¸ƒå±€ - ä¸Žå•†åº—é¡µé¢å®Œå…¨ä¸€è‡´ï¼Œåªæ˜¯å¢žåŠ&nbsp;æœç´¢æ¡†è¡Œ */
/* ä½¿ç”¨æœ€é«˜ä¼˜å…ˆçº§çš„é€‰æ‹©å™¨å¼ºåˆ¶åº”ç”¨ */

/* æœç´¢é¡µé¢è¡¨å•ç½‘æ&nbsp;¼è®¾ç½® */
body.search .shop-filters-container form#search-filter-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    grid-template-rows: auto auto auto auto auto !important;
    gap: 1rem !important;
    align-items: end !important;
}

/* é‡ç½®æ‰€æœ‰filter-groupçš„é»˜è®¤æ&nbsp;·å¼ */
body.search .shop-filters-container form#search-filter-form .filter-group {
    grid-column: unset !important;
    grid-row: unset !important;
}

/* ç¬¬ä¸€è¡Œï¼šå…³é”®è¯æœç´¢ï¼ˆè·¨å…¨éƒ¨4åˆ—ï¼‰ */
body.search .shop-filters-container form#search-filter-form .filter-group:nth-child(1) {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
}

/* ç¬¬äºŒè¡Œï¼šBrandã€Registration Statusã€Body Typeã€Fuel Type */
body.search .shop-filters-container form#search-filter-form .filter-group:nth-child(2) {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

body.search .shop-filters-container form#search-filter-form .filter-group:nth-child(3) {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

body.search .shop-filters-container form#search-filter-form .filter-group:nth-child(4) {
    grid-column: 3 !important;
    grid-row: 2 !important;
}

body.search .shop-filters-container form#search-filter-form .filter-group:nth-child(5) {
    grid-column: 4 !important;
    grid-row: 2 !important;
}

/* ç¬¬ä¸‰è¡Œï¼šDriveã€Model Codeã€Price Rangeï¼ˆå&nbsp;2åˆ—ï¼‰ */
body.search .shop-filters-container form#search-filter-form .filter-group:nth-child(6) {
    grid-column: 1 !important;
    grid-row: 3 !important;
}

body.search .shop-filters-container form#search-filter-form .filter-group:nth-child(7) {
    grid-column: 2 !important;
    grid-row: 3 !important;
}

body.search .shop-filters-container form#search-filter-form .filter-group:nth-child(8) {
    grid-column: 3 / 5 !important;
    grid-row: 3 !important;
}

/* ç¬¬å››è¡Œï¼šMileage Rangeï¼ˆè·¨å…¨éƒ¨4åˆ—ï¼‰ */
body.search .shop-filters-container form#search-filter-form .mileage-filter {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
}

/* ç¬¬äº”è¡Œï¼šç­›é€‰æŒ‰é’®ï¼ˆè·¨å…¨éƒ¨4åˆ—ï¼‰ */
body.search .shop-filters-container form#search-filter-form .filter-actions {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    justify-self: center !important;
    margin-top: 0.5rem !important;
    padding-top: 0 !important;
    border-top: none !important;
}

/* æœç´¢é¡µé¢å…³é”®è¯æœç´¢æ¡†ç‰¹æ®Šæ&nbsp;·å¼ */
.shop-filters-container #search-filter-form .filter-group:nth-child(1) .input-group {
    height: 2.5rem;
}

.shop-filters-container #search-filter-form .filter-group:nth-child(1) .form-control {
    height: 2.5rem;
}

.shop-filters-container #search-filter-form .filter-group:nth-child(1) .btn {
    height: 2.5rem;
    padding: 0.5rem 1rem;
}

/* å•†åº—é¡µé¢ç­›é€‰æŒ‰é’®é»˜è®¤ä½ç½® */
.shop-filters-container #shop-filter-form .filter-actions {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: center;

}

/* 2è¡Œå¸ƒå±€çš„ç­›é€‰ç»„ */
.shop-filters-container .filter-group {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 4rem;
    cursor: pointer;
}

.shop-filters-container .filter-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: normal;
    height: 1.2rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ç¡®ä¿ç­›é€‰ç»„çš„å†…å®¹åŒºåŸŸå¯¹é½ */
.shop-filters-container .filter-group&gt;*:last-child {

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

/* ç‰¹æ®Šå¤„ç†ï¼šä»·æ&nbsp;¼èŒƒå›´å’Œå¹´ä»½èŒƒå›´ä¸åº”ç”¨ä¸Šè¿°è§„åˆ™ */
.shop-filters-container .price-range-container,
.shop-filters-container .year-range-container {
    height: 2.5rem !important;
}

/* ç¡®ä¿æ‰€æœ‰æŽ§ä»¶åŸºçº¿å¯¹é½ */
.shop-filters-container .form-select,
.shop-filters-container .price-range-container,
.shop-filters-container .year-range-container,
.shop-filters-container .filter-actions .btn {
    align-self: flex-end;
}

/* 2è¡Œå¸ƒå±€çš„è¡¨å•æŽ§ä»¶ */
.shop-filters-container .form-control,
.shop-filters-container .form-select {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    height: 2.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.shop-filters-container .form-control:focus,
.shop-filters-container .form-select:focus {
    border-color: var(--theme-color, #D7183D);
    box-shadow: 0 0 0 0.2rem rgba(215, 24, 61, 0.15);
}

/* ä»·æ&nbsp;¼èŒƒå›´æ°´å¹³å¸ƒå±€ */
.shop-filters-container .price-range-container {
    display: flex;
    align-items: center;
    height: 2.5rem;
}

.shop-filters-container .price-inputs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    height: 100%;
}

.shop-filters-container .price-input-group {
    flex: 1;
    height: 2.5rem;
}

.shop-filters-container .price-input-group .input-group-text {
    background: #f8f9fa;
    border: 1px solid #ddd;
    font-weight: 500;
    color: #666;
    font-size: 0.875rem;
    padding: 0.5rem 0.5rem;
}

.shop-filters-container .price-input-group .form-control {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
}

.shop-filters-container .price-input-group .form-control:focus {
    border-color: var(--theme-color, #D7183D);
    box-shadow: 0 0 0 0.2rem rgba(215, 24, 61, 0.15);
}

.shop-filters-container .price-separator {
    font-weight: 500;
    color: #666;
    padding: 0 0.2rem;
    font-size: 0.875rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
}

/* å¹´ä»½èŒƒå›´ */
.shop-filters-container .year-range-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 2.5rem;
}

.shop-filters-container .year-range-container .form-select {
    flex: 1;
    height: 2.5rem;
}

.shop-filters-container .year-separator {
    font-weight: 500;
    color: #666;
    padding: 0 0.2rem;
    font-size: 0.875rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
}

/* ç­›é€‰æŒ‰é’® */
.shop-filters-container .filter-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 2rem;
    width: 100%;
}

.shop-filters-container .filter-actions .btn {
    width: 100%;
    padding: 0.6rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
    transition: all 0.3s ease;
}

.shop-filters-container .filter-actions .btn:hover {
    background-color: #555555;
    border-color: #555555;
    color: #ffffff;
}

.shop-filters-container .filter-actions .btn:focus,
.shop-filters-container .filter-actions .btn:active {
    background-color: #222222;
    border-color: #222222;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(51, 51, 51, 0.25);
}

.shop-filters-container .filter-actions .btn i {
    margin-right: 0.5rem;
}



/* å•†åº—ç­›é€‰åŒºåŸŸ */
.shop-filters-section {
    margin-bottom: 2rem;
}

/* å•†åº—åŠ&nbsp;è½½è¦†ç›–å±‚ */
.shop-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.shop-loading-overlay .loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.shop-loading-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
}

.shop-loading-overlay p {
    margin: 0;
    color: #666;
    font-weight: 500;
    font-size: 1rem;
}

/* å•†åº—é¡µé¢å’Œæœç´¢é¡µé¢å“åº”å¼è®¾è®¡ */
@media (max-width: 1200px) {
    #shop-filter-form {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 0.75rem;
    }

    #search-filter-form {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto auto auto;
        gap: 0.75rem;
    }

    /* å•†åº—é¡µé¢å“åº”å¼å¸ƒå±€ - 1200pxä»¥ä¸‹ */
    /* ç¬¬ä¸€è¡Œï¼šBrandå’ŒRegistration Status */
    .shop-filters-container #shop-filter-form .filter-group:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .shop-filters-container #shop-filter-form .filter-group:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    /* ç¬¬äºŒè¡Œï¼šBody Typeå’ŒFuel Type */
    .shop-filters-container #shop-filter-form .filter-group:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .shop-filters-container #shop-filter-form .filter-group:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    /* ç¬¬ä¸‰è¡Œï¼šDriveå’ŒModel Code */
    .shop-filters-container #shop-filter-form .filter-group:nth-child(5) {
        grid-column: 1;
        grid-row: 3;
    }

    .shop-filters-container #shop-filter-form .filter-group:nth-child(6) {
        grid-column: 2;
        grid-row: 3;
    }

    /* ç¬¬å››è¡Œï¼šPrice Range */
    .shop-filters-container #shop-filter-form .filter-group:nth-child(7) {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    /* ç¬¬å…­è¡Œï¼šç­›é€‰æŒ‰é’® */
    .shop-filters-container #shop-filter-form .filter-actions {
        grid-column: 1 / -1;
        grid-row: 6;
        justify-self: center;
    }

    /* æœç´¢é¡µé¢å“åº”å¼å¸ƒå±€ - 1200pxä»¥ä¸‹ */
    /* ç¬¬ä¸€è¡Œï¼šå…³é”®è¯æœç´¢ï¼ˆè·¨2åˆ—ï¼‰ */
    .shop-filters-container #search-filter-form .filter-group:nth-child(1) {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    /* ç¬¬äºŒè¡Œï¼šä»·æ&nbsp;¼èŒƒå›´å’Œå“ç‰Œ */
    .shop-filters-container #search-filter-form .filter-group:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .shop-filters-container #search-filter-form .filter-group:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    /* ç¬¬ä¸‰è¡Œï¼šè½¦èº«ç±»åž‹å’Œç‡ƒæ–™ç±»åž‹ */
    .shop-filters-container #search-filter-form .filter-group:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }

    .shop-filters-container #search-filter-form .filter-group:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }

    /* ç¬¬å››è¡Œï¼šé©¾é©¶ä½ç½®å’Œå¹´ä»½èŒƒå›´ */
    .shop-filters-container #search-filter-form .filter-group:nth-child(6) {
        grid-column: 1;
        grid-row: 4;
    }

    .shop-filters-container #search-filter-form .filter-group:nth-child(7) {
        grid-column: 2;
        grid-row: 4;
    }

    /* ç¬¬äº”è¡Œï¼šç­›é€‰æŒ‰é’® */
    .shop-filters-container #search-filter-form .filter-actions {
        grid-column: 1 / -1;
        grid-row: 5;
        justify-self: center;
    }
}

@media (max-width: 992px) {
    #shop-filter-form {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {

    /* åœ¨ç§»åŠ¨ç«¯å®Œå…¨éšè—PCç«¯å•†åº—ç­›é€‰å™¨ */
    .shop-filters-container {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .shop-filters-container .filter-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* å•†åº—äº§å“ç½‘æ&nbsp;¼ä¼˜åŒ– */
.shop-filters-section .products {
    margin-top: 1rem;
}

.shop-filters-section .products .product {
    margin-bottom: 2rem;
}

/* å•†åº—åˆ†é¡µæ&nbsp;·å¼ */
.shop-filters-section .woocommerce-pagination {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.woocommerce nav.woocommerce-pagination ul li{
    border-width:0 ;
}

.shop-filters-section .woocommerce-pagination .page-numbers {
    border-radius: 8px;
    margin: 0 0.25rem;
    border: 0px solid #ddd;
    color: #555;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
}

.shop-filters-section .woocommerce-pagination .page-numbers:hover,
.shop-filters-section .woocommerce-pagination .page-numbers.current {
    /* background-color: var(--theme-color, #007bff);
    border-color: var(--theme-color, #007bff);
    color: white; */
}

/* å•†åº—ç­›é€‰æ&nbsp;‡ç­¾æ&nbsp;·å¼ */
.shop-filters-container .active-filters {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.shop-filters-container .active-filters-label {
    font-weight: 500;
    color: #555;
    margin-right: 0.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.shop-filters-container .filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.shop-filters-container .filter-tag {
    background: var(--theme-color, #007bff);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-filters-container .filter-tag a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-left: 0.25rem;
}

.shop-filters-container .filter-tag a:hover {
    color: #ffcccc;
}

/* MileageåŒæ»‘åŠ¨æ¡æ&nbsp;·å¼ */
.shop-filters-container .mileage-filter,
.search-filters-container .mileage-filter {
    grid-column: 1 / -1;
    grid-row: 3;
    /* margin: 1rem 0; */
    width: 100%;
}

.mileage-range-container {
    width: 100%;
    padding: 0 15px;
}

.mileage-dual-slider {
    position: relative;
    width: 100%;
    height: 40px;
    margin: 15px 0;
}

.mileage-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    transform: translateY(-50%);
}

.mileage-slider-range {
    position: absolute;
    height: 100%;
    background: #202020;
    border-radius: 3px;
}

.mileage-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.mileage-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000000;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: all;
    position: relative;
    z-index: 2;
}

.mileage-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #202020;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: all;
    position: relative;
    z-index: 2;
}

.mileage-slider-max {
    z-index: 1;
}

/* æ°”æ³¡æ&nbsp;·å¼ */
.mileage-bubble {
    position: absolute;
    background: #202020;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.mileage-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #202020;
}

.mileage-bubble-min {
    bottom: 50px;
}

.mileage-bubble-max {
    bottom: 50px;
}

/* æ˜¾ç¤ºæ°”æ³¡ */
.mileage-dual-slider:hover .mileage-bubble,
.mileage-slider:active+.mileage-bubble,
.mileage-slider:focus+.mileage-bubble {
    opacity: 1;
}

.mileage-range-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6c757d;
    margin-left: 0.5rem;
}

/* Model Code Range Dropdown Styles */
.model-code-range-container {
    width: 100%;
}

.model-code-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.model-code-inputs .form-select {
    flex: 1;
    min-width: 0;
}

.model-code-separator {
    color: #6c757d;
    font-weight: 500;
    flex-shrink: 0;
}

/* Home Page Filters Styles - ä¸“ä¸šå¹³è¡¡å¸ƒå±€ */
.home-filters-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    /* border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); */
}

.home-filters-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-color), #B01530, var(--theme-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    border-radius: 12px 12px 0 0;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 200% 0;
    }

    50% {
        background-position: -200% 0;
    }
}

.home-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    /* margin-bottom: 2rem;
   
    border-bottom: 2px solid #e9ecef; */
}

.home-filters-header h3 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.4rem;
}

.home-filters-header h3 i {
    color: var(--theme-color);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Home filters ä¸‰è¡Œç½‘æ&nbsp;¼å¸ƒå±€ - æŒ‰é’®ç‹¬å&nbsp;ä¸€è¡Œ */
#home-filter-form {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem 1rem;
    align-items: end;
}

/* ç¬¬ä¸€è¡Œï¼šä¸»è¦ç­›é€‰å­—æ®µ */
.home-filters-container .filter-group:nth-child(1) {
    grid-column: 1;
}

/* Brand */
.home-filters-container .filter-group:nth-child(2) {
    grid-column: 2;
}

/* Registration Status */
.home-filters-container .filter-group:nth-child(3) {
    grid-column: 3;
}

/* Body Type */
.home-filters-container .filter-group:nth-child(4) {
    grid-column: 4;
}

/* Fuel Type */
.home-filters-container .filter-group:nth-child(5) {
    grid-column: 5;
}

/* Drive */
.home-filters-container .filter-group:nth-child(6) {
    grid-column: 6;
}

/* Model Code - ç‰¹æ®Šå®½åº¦ä¼˜åŒ– */
.home-filters-container .filter-group:nth-child(6) {
    grid-column: 6;
    min-width: 140px;
}

/* ç¬¬äºŒè¡Œï¼šä»·æ&nbsp;¼èŒƒå›´ + é‡Œç¨‹èŒƒå›´ */
.home-filters-container .filter-group:nth-child(7) {
    grid-column: 1 / 4;
    grid-row: 2;
    align-self: stretch;
}

/* Price Range */

.home-filters-container .mileage-filter {
    grid-column: 4 / 7;
    grid-row: 2;
    align-self: stretch;
}

/* ç¬¬ä¸‰è¡Œï¼šæŒ‰é’®ç‹¬å&nbsp;ä¸€è¡Œ */
.home-filters-container .filter-actions {
    grid-column: 1 / 7;
    grid-row: 3;
    align-self: center;
}

.home-filters-container .filter-group {
    margin-bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1rem;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.home-filters-container .filter-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* ç¬¬äºŒè¡Œç»„ä»¶è‡ªç„¶é«˜åº¦ */
.home-filters-container .filter-group:nth-child(7),
.home-filters-container .mileage-filter {
    min-height: auto;
}

.home-filters-container .filter-group label,
.home-filters-container .mileage-filter label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.home-filters-container .filter-group label::after,
.home-filters-container .mileage-filter label::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, var(--theme-color), #B01530);
    border-radius: 1px;
}

.home-filters-container .form-select,
.home-filters-container .form-control {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.65rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #ffffff;
    width: 100%;
    cursor: pointer;
}

.home-filters-container .form-select:focus,
.home-filters-container .form-control:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 0.3rem rgba(215, 24, 61, 0.15);
    transform: translateY(-1px);
    background: #ffffff;
}

.home-filters-container .price-input-group .form-control:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 0.3rem rgba(215, 24, 61, 0.15);
    transform: translateY(-1px);
    background: #ffffff;
}

.home-filters-container .price-input-group:focus-within .input-group-text {
    border-color: var(--theme-color);
}

/* Home filters button - ç‹¬å&nbsp;ä¸€è¡Œæ&nbsp;·å¼ */
.home-filters-container .filter-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    padding: 0;
}

.home-filters-container .btn-primary {
    background: linear-gradient(135deg, var(--theme-color), #B01530, var(--theme-color));
    background-size: 200% 100%;
    border: none;
    border-radius: 4px;
    padding: 1rem 3rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(215, 24, 61, 0.3);
    white-space: nowrap;
    height: auto;
    min-height: 56px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* max-width: 300px; */
    width: 100%;
}

.home-filters-container .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.home-filters-container .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(215, 24, 61, 0.4);
    background-position: 100% 0;
}

.home-filters-container .btn-primary:hover::before {
    left: 100%;
}

.home-filters-container .btn-primary:active {
    transform: translateY(-1px) scale(1.01);
}

/* é¦–é¡µç­›é€‰å™¨æŒ‰é’®å›¾æ&nbsp;‡é—´è· */
.home-filters-container .btn-primary i {
    margin-right: 0.75rem;
    font-size: 1rem;
}

.home-filters-container .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background: transparent;
    border-radius: 4px;
    /* padding: 0.75rem 1.5rem; */
    font-weight: 600;
    transition: all 0.3s ease;
}

.home-filters-container .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

/* Home filters mileage slider - åŒè¡Œå¸ƒå±€æ&nbsp;·å¼ */
.home-filters-container .mileage-filter {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1rem;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.home-filters-container .mileage-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.home-filters-container .mileage-range-container {
    margin-top: 0.5rem;
}

/* ç´§å‡‘çš„æ»‘åŠ¨æ¡æ&nbsp;·å¼ */
.home-filters-container .mileage-dual-slider {
    position: relative;
    height: 35px;
    margin: 15px 0;
}

.home-filters-container .mileage-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    transform: translateY(-50%);
}

.home-filters-container .mileage-slider-range {
    position: absolute;
    height: 100%;
    background: #202020;
    border-radius: 3px;
}

.home-filters-container .mileage-slider {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    height: 6px;
    background: transparent;
    outline: none;
    border: none;
    transform: translateY(-50%);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.home-filters-container .mileage-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #202020;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.home-filters-container .mileage-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #202020;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.home-filters-container .mileage-slider-min {
    z-index: 1;
}

.home-filters-container .mileage-slider-max {
    z-index: 2;
    pointer-events: none;
}

.home-filters-container .mileage-slider-max::-webkit-slider-thumb {
    pointer-events: all;
}

.home-filters-container .mileage-slider-max::-moz-range-thumb {
    pointer-events: all;
}

/* é¦–é¡µç­›é€‰å™¨æ°”æ³¡æ&nbsp;·å¼ */
.home-filters-container .mileage-bubble {
    position: absolute;
    background: #202020;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.home-filters-container .mileage-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #202020;
}

.home-filters-container .mileage-bubble-min {
    bottom: 50px;
}

.home-filters-container .mileage-bubble-max {
    bottom: 50px;
}

/* Home filters price range - ç´§å‡‘åŒè¡Œå¸ƒå±€ */
.home-filters-container .price-range-container {
    margin-top: 0.5rem;
}

.home-filters-container .price-inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ç¡®ä¿input-groupåŸºç¡€æ&nbsp;·å¼ */
.home-filters-container .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.home-filters-container .price-input-group {
    flex: 1;
    display: flex !important;
    align-items: stretch;
    flex-direction: row !important;
}

.home-filters-container .price-input-group .input-group-text {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-right: none !important;
    border-radius: 6px 0 0 6px !important;
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
    padding: 0.65rem 0.5rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.home-filters-container .price-input-group .form-control {
    border: 1px solid #e9ecef !important;
    border-left: none !important;
    border-radius: 0 6px 6px 0 !important;
    font-size: 0.8rem;
    padding: 0.65rem;
    flex: 1;
}

.home-filters-container .price-separator {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--theme-color);
    margin: 0 0.25rem;
}

/* Home filters model code - ä¼˜åŒ–å¸ƒå±€ */
.home-filters-container .model-code-range-container {
    margin-top: 0.5rem;
}

.home-filters-container .model-code-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-filters-container .model-code-inputs .form-select {
    flex: 1;
    min-width: 55px;
    font-size: 0.75rem;
    padding: 0.6rem 0.4rem;
    text-align: center;
}

.home-filters-container .model-code-separator {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--theme-color);
    margin: 0 0.1rem;
    flex-shrink: 0;
}

/* Model Code å­—æ®µç‰¹æ®Šä¼˜åŒ– - ç¡®ä¿ä¸‹æ‹‰æ¡†å®½åº¦è¶³å¤Ÿ */
.home-filters-container .filter-group:nth-child(6) .form-select {
    min-width: 60px !important;
    font-size: 0.75rem !important;
    padding: 0.6rem 0.3rem !important;
    text-align: center;
}

/* å“åº”å¼è®¾è®¡ */
@media (max-width: 768px) {
    .mileage-range-container {
        padding: 0 10px;
    }

    .model-code-inputs {
        flex-direction: column;
        gap: 8px;
    }

    .model-code-separator {
        display: none;
    }

    /* Home filters mobile */
    .home-filters-container {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
        border-radius: 15px;
    }

    #home-filter-form {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .home-filters-container .filter-group:nth-child(1),
    .home-filters-container .filter-group:nth-child(2),
    .home-filters-container .filter-group:nth-child(3),
    .home-filters-container .filter-group:nth-child(4),
    .home-filters-container .filter-group:nth-child(5),
    .home-filters-container .filter-group:nth-child(6),
    .home-filters-container .filter-group:nth-child(7),
    .home-filters-container .mileage-filter,
    .home-filters-container .filter-actions {
        grid-column: 1;
        grid-row: auto;
    }

    .home-filters-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .home-filters-header h3 {
        font-size: 1.25rem;
    }

    .home-filters-container .filter-group {
        padding: 1rem;
    }

    .home-filters-container .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }

    .home-filters-container .price-inputs,
    .home-filters-container .model-code-inputs {
        flex-direction: column;
        gap: 1rem;
    }

    .home-filters-container .price-separator,
    .home-filters-container .model-code-separator {
        display: none;
    }
}

/* å¹³æ¿å“åº”å¼ */
@media (max-width: 1024px) and (min-width: 769px) {
    #home-filter-form {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .home-filters-container .filter-group:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .home-filters-container .filter-group:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .home-filters-container .filter-group:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
    }

    .home-filters-container .filter-group:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }

    .home-filters-container .filter-group:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }

    .home-filters-container .filter-group:nth-child(6) {
        grid-column: 3;
        grid-row: 2;
        min-width: 140px;
    }

    .home-filters-container .filter-group:nth-child(7) {
        grid-column: 1 / 2;
        grid-row: 3;
    }

    .home-filters-container .mileage-filter {
        grid-column: 2 / 4;
        grid-row: 3;
    }

    .home-filters-container .filter-actions {
        grid-column: 1 / 4;
        grid-row: 4;
    }
}</pre></body></html>