/* Brand Products Section - Flat Design */
.brand-products-section {
    padding: 40px 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
}

.brand-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E0E0E0;
}

.brand-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap; /* Prevent wrapping */
    white-space: nowrap; /* Keep title on one line */
}

.brand-header-logo {
    max-height: 35px;
    width: auto;
    filter: grayscale(0%);
    opacity: 0.8;
}

.brand-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    white-space: nowrap; /* Keep on single line */
}

.brand-view-all {
    color: #424242;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.brand-view-all:hover {
    color: #757575;
}

/* Brand Products List - 2 Column Layout */
.brand-products-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.brand-product-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #FAFAFA;
    border: 1px solid #E0E0E0;
    padding: 20px;
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.brand-product-row:hover {
    border-color: #757575;
    background: #FFFFFF;
}

.brand-product-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
}

.brand-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-product-title {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

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

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.meta-label {
    color: #757575;
    font-weight: 600;
}

.meta-value {
    color: #424242;
    font-family: monospace;
    background: #F5F5F5;
    padding: 2px 6px;
    border: 1px solid #E0E0E0;
}

.brand-product-compatible {
    margin-bottom: 12px;
}

.compatible-label {
    font-size: 10px;
    font-weight: 700;
    color: #757575;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.compatible-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.compatible-tag {
    display: inline-block;
    font-size: 11px;
    color: #424242;
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    padding: 3px 8px;
    white-space: nowrap;
    transition: border-color 0.2s;
}

.compatible-tag:hover {
    border-color: #757575;
}

.compatible-tag.more {
    background: #F5F5F5;
    color: #757575;
    font-weight: 600;
}

.brand-product-price-wrapper {
    margin-top: auto;
    padding-top: 10px;
}

.brand-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
}

.brand-product-price-old {
    font-size: 14px;
    font-weight: 400;
    color: #9E9E9E;
    text-decoration: line-through;
}

.price-info {
    font-size: 11px;
    color: #757575;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 968px) {
    .brand-products-list {
        gap: 15px;
    }
    
    .brand-product-row {
        padding: 15px;
        gap: 15px;
    }
    
    .brand-product-image {
        width: 100px;
        height: 100px;
    }
    
    .brand-product-title {
        font-size: 15px;
    }
    
    .brand-product-price {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .brand-products-section {
        padding: 30px 0;
    }
    
    .brand-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .brand-view-all {
        align-self: flex-end;
    }
    
    .brand-header-logo {
        max-height: 30px;
    }
    
    .brand-section-title {
        font-size: 20px;
    }
    
    .brand-products-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand-product-row {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-product-image {
        width: 150px;
        height: 150px;
    }
    
    .brand-product-info {
        align-items: center;
    }
    
    .brand-product-meta {
        justify-content: center;
        gap: 8px;
    }
    
    .meta-item {
        font-size: 11px;
    }
    
    .meta-value {
        padding: 1px 4px;
    }
    
    .brand-product-compatible {
        text-align: left;
    }
    
    .compatible-label {
        font-size: 9px;
    }
    
    .compatible-tags {
        gap: 4px;
    }
    
    .compatible-tag {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .price-amount {
        font-size: 18px;
    }
    
    .price-info {
        font-size: 10px;
    }
}
