/* Custom CSS */
.section-brands {
    position: relative;
    overflow: hidden;
}

.section-brands:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(10px);
    z-index: -1;
}

.container-width {
    max-width: 100%;
}

.tab-content-container {
    width: 90%;
    max-width: 1400px;

    margin: 0 auto;

    background-color: #fff;

    padding: 20px;
    border-radius: 10px;
    position: relative;
    z-index: 10000;

    display: none;

}

.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;

}

.nav-tabs.active {
    position: relative;
    z-index: 10001;
    background-color: #ffffff;
    /* Background color for navigation */
    border-radius: 10px;
    padding: 10px;
    margin-bottom: -10px;
}


input[type="search"] {
    width: 100%;
    max-width: 350px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: width 0.3s ease-in-out;
    /* Smooth transition */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    input[type="search"] {
        max-width: 200px;
        /* Adjust maximum width for smaller screens */
    }
}

.outer-box {
    background-color: #f0f0f0;

    padding: 20px;
    border-radius: 10px;
}

.inner-box {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   
    height: 80px; /* Set fixed height */
    overflow: hidden; /* Hide overflow content */
}

.category-badge {
    display: block !important;
    margin-bottom: 10px;
    color: white;
    font-size: larger;
    /* Increase badge text size */
}

.product-list {
    max-height: 200px;

    overflow-y: auto;

    overflow-x: hidden;

}

.product-list a {
    display: block;
    
    margin-bottom: 2px; 
    color: #000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-list a:hover {
    transform: scale(.9);
    color: #333;
}

.scrollable {
    max-height: 450px;
    overflow-y: scroll;
    padding: 10px;
    background-color: #f0f0f0;
}

 .compatibility-text-box {
    max-width: 100%;
    /* Adjust max-width as needed */
    word-wrap: break-word;
    /* Allow text to wrap */
}

.compatibility-text {
    white-space: nowrap;
    /* Prevent individual text from wrapping */
} 