.tire-filter-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
}

.tire-filter-container h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 28px;
}

.tire-filter-container p {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 16px;
}
.filter-header h2{
    margin-bottom: 15px;
}
.filter-header p {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 16px;
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    flex: 1;
    min-width: 220px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: 500;
    font-size: 15px;
}

.filter-select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 15px;
    color: #2d3748;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.filter-select:focus {
    border-color: #d5042a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.filter-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.filter-button {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.filter-button {
    background: #d5042a;
    color: white;
}

.filter-button.secondary {
    background: #f1f5f9;
    color: #4a5568;
}

.filter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.filter-button:active {
    transform: translateY(0);
}

.results-header {
    margin: 30px 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf2f7;
}

.results-header h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 5px;
}

.results-header p {
    color: #718096;
    font-size: 15px;
    margin: 0;
}

.tire-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
    grid-template-columns: repeat(2,1fr);
    max-height: 300px;
    overflow: auto;
}
.tire-specs-results-grid{
    grid-template-columns: repeat(2,1fr) !important;
    max-height: 300px;
    overflow: auto;
}
.tire-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #edf2f7;
}

.tire-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.tire-card-header {
    background: #d5042a;
    color: white;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tire-card-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.tire-size {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.tire-card-body {
    padding: 20px;
}

.tire-detail {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.tire-detail:last-child {
    border-bottom: none;
}

.tire-detail span {
    color: #718096;
}

.tire-detail strong {
    color: #2d3748;
}

.tire-card-footer {
    padding: 0 20px 20px;
    text-align: center;
}

.view-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #d5042a;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.view-details:hover {
    background: #d5042a;
    color: white;
    border-color: #d5042a;
}

/* 模态框样式 */
.tire-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tire-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.tire-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 25px;
    background: #d5042a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    text-align: right;
}

.modal-footer .button {
    padding: 12px 25px;
    background: #d5042a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-footer .button:hover {
    background: #d5042a;
}

/* 详情页样式 */
.tire-detail-modal {
    padding: 10px;
}

.tire-detail-header {
    margin-bottom: 25px;
    text-align: center;
}

.tire-detail-header h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.tire-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 16px;
    color: #718096;
}

.tire-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #edf2f7;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: #e3f2fd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 28px;
    height: 28px;
    color: #d5042a;
}

.detail-content h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #718096;
}

.detail-content p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.tire-notes {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #d5042a;
}

.tire-notes h4 {
    margin-top: 0;
    color: #2c3e50;
}

.tire-notes p {
    margin-bottom: 0;
    color: #4a5568;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .tire-results-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
    }
}