.brand-logo-img {
    max-height: 40px;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 10px;
}

.tire-shop-container {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.filters-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.filter-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
}

.filter-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-search {
    margin-bottom: 15px;
}

.filter-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.filter-options-wrapper {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.filter-options-wrapper.collapsed {
    max-height: 150px;
}

.filter-option {
    margin-bottom: 8px;
}

.filter-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.filter-option input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.see-more-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 13px;
    padding: 5px 0;
    text-decoration: underline;
}

.see-more-btn:hover {
    color: #0056b3;
}

.price-range-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

.price-range-inputs input {
    width: 80px;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
}

#priceSlider {
    margin: 20px 0 10px 0;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.products-main {
    flex: 1;
}

.best-seller-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.best-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.best-box:hover {
    transform: translateY(-5px);
}

.best-box h4 {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.best-box p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.best-box.good {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.best-box.better {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.best-box.best {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.products-count {
    font-size: 16px;
    font-weight: 600;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-controls label {
    font-size: 14px;
    font-weight: 500;
}

.sort-controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.product-card a{
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card a:hover{
    color: var(--pbmit-global-color);
}

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 170px;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
    border-bottom:1px solid #c3cfe2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover .product-image {
    transform: translateY(-10px);
}

.product-image img {
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #27ae60;
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 15px;
}

.product-brand {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-model {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-size {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.product-specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.spec-badge {
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    color: #555;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--pbmit-global-color);
    margin-bottom: 12px;
}

.product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    background: #f0f0f0;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    padding: 8px 5px;
    font-size: 14px;
}

.btn-add-cart {
    flex: 1;
    background: var(--pbmit-global-color);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add-cart:hover {
    background: #c0392b;
}

.btn-view-details {
    flex: 1;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view-details:hover {
    background: #f8f9fa;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    font-size: 14px;
}

.pagination a:hover {
    background: #5a6c7d;
    color: #fff;
    border-color: #5a6c7d;
}

.pagination .active {
    background: #5a6c7d;
    color: #fff;
    border-color: #5a6c7d;
}

.pagination .pagination-first,
.pagination .pagination-prev,
.pagination .pagination-next,
.pagination .pagination-last {
    font-size: 18px;
    color: #666;
}

.pagination .pagination-first:hover,
.pagination .pagination-prev:hover,
.pagination .pagination-next:hover,
.pagination .pagination-last:hover {
    color: #fff;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-products i {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.no-products p {
    color: #666;
}

/* ── Good / Better / Best boxes ──────────────────────────────────────── */

.best-seller-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.gbb-card a{
    display: block;
    text-decoration: none;
    color: inherit;
}

.gbb-card a:hover{
    color: var(--pbmit-global-color);
}

.gbb-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.gbb-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gbb-tier-banner {
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

.gbb-card.good   .gbb-tier-banner { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); }
.gbb-card.better .gbb-tier-banner { background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%); }
.gbb-card.best   .gbb-tier-banner { background: linear-gradient(135deg, #27ae60 0%, #229954 100%); }

.gbb-card .product-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gbb-card:hover .product-image {
    transform: translateY(-6px);
}

.gbb-card .product-image img {
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gbb-card:hover .product-image img {
    transform: scale(1.05);
}

.gbb-card .product-info {
    padding: 14px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gbb-card .product-actions {
    margin-top: auto;
    padding-top: 10px;
}

.gbb-card.good   .btn-add-cart { background: #2980b9; }
.gbb-card.good   .btn-add-cart:hover { background: #1f6391; }

.gbb-card.better .btn-add-cart { background: #e67e22; }
.gbb-card.better .btn-add-cart:hover { background: #ca6f1e; }

.gbb-card.best   .btn-add-cart { background: #229954; }
.gbb-card.best   .btn-add-cart:hover { background: #1a7a42; }

@media (max-width: 992px) {
    .best-seller-boxes {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 992px) {
    .tire-shop-container {
        flex-direction: column;
    }
    
    .filters-sidebar {
        width: 100%;
    }
    
    .best-seller-boxes {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}