/**
 * Alrowad Site Suite - Client Logos
 * Extracted from the legacy B2B widget stylesheet to remove the product-widget dependency.
 */

.iab2b-logos-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.iab2b-logos-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
}

.iab2b-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.iab2b-logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.iab2b-logo-item img {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.iab2b-logos--grayscale .iab2b-logo-item img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.iab2b-logos--grayscale .iab2b-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scrollRight {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@media (max-width: 767px) {
    .iab2b-logo-item img { max-height: 40px; max-width: 100px; }
    .iab2b-logos-track { gap: 40px; }
}

@media (max-width: 480px) {
    .iab2b-logo-item img { max-height: 35px; max-width: 80px; }
    .iab2b-logos-track { gap: 30px; }
}
