.brand-section-custom {
    padding: 80px 0;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}
.brand-section-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
}
.brand-header-title {
    text-align: center;
    margin-bottom: 50px;
}
.brand-header-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.brand-header-title .title-line {
    height: 4px;
    width: 60px;
    background-color: #10b981;
    margin: 5px 0 0 0;
    border-radius: 2px;
}
.brand-wrapper {
    transition: all 0.3s ease;
}
.brand-wrapper:hover {
    transform: translateY(-5px);
}
.brand-wrapper:hover .brand-image-container {
    border-color: #10b981 !important;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.15) !important;
}
.brand-wrapper .brand-image-container {
    transition: all 0.3s ease;
}
.brand-wrapper a:hover {
    text-decoration: none;
}
.brand-wrapper h6 {
    transition: color 0.3s ease;
}
.brand-wrapper:hover h6 {
    color: #10b981 !important;
}
/* Correction pour Owl Carousel */
.brand__slider.owl-carousel .owl-stage-outer {
    padding: 20px 0;
}

/* Correction spécifique pour éviter le masquage forcé (not(.owl-loaded)) dans home.blade.php */
.brand__slider.owl-carousel:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
}
.brand__slider.owl-carousel:not(.owl-loaded) > .brand-wrapper {
    display: block !important; /* Force l'affichage même si not(.owl-loaded) */
    flex: 0 0 130px;
    width: 130px;
}
.brand__slider.owl-carousel:not(.owl-loaded)::-webkit-scrollbar {
    height: 6px;
}
.brand__slider.owl-carousel:not(.owl-loaded)::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}
