/**
 * Brands Slider Styles
 */

.al-brands-slider-container {
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.al-brand-link {
    text-decoration: none !important;
    display: block;
    color: inherit !important;
    width: 100%;
    outline: none;
}

.al-brand-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px 15px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 130px; /* Force equal height */
width: 130px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    cursor: grab;
}

.al-brand-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    border-color: #d0d0d0;
    transform: translateY(-5px);
}

.al-brand-logo-wrap {
    width: 100%;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.al-brand-logo-wrap img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.al-brand-card:hover .al-brand-logo-wrap img {
    filter: grayscale(0%);
}

.al-brand-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-transform: capitalize;
}

/* Swiper specific styles */
.swiper-pagination-bullet-active {
    background: #333;
}

.al-brands-slider-container .swiper-button-next,
.al-brands-slider-container .swiper-button-prev {
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.al-brands-slider-container .swiper-button-next:after,
.al-brands-slider-container .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}
