/* Elizeh Brands Carousel Styles */
.elizeh-brands-wrapper {
    padding: 20px 0;
}

.elizeh-brands-block {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    border-radius: 40px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Static brands display */
.elizeh-brands-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.elizeh-brand-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 180px;
    max-width: 350px;
    opacity: 1;
    visibility: visible;
}

.elizeh-brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.elizeh-brand-item img {
    width: 100%;
    height: 100%;
    max-height: 100px; /* Control image height */
    object-fit: contain;
    object-position: center; /* Ensure image is centered */
    display: block;
    transition: all 0.3s ease;
    padding: 10px;
    background-color: white;
    margin: 0 auto; /* Center horizontally */
}


/* Responsive styles */
@media (max-width: 768px) {
    .elizeh-brand-item {
        flex: 0 0 calc(100% - 20px); /* Display 1 item on mobile */
    }

    .elizeh-brands-slider-container {
        flex-direction: column;
    }

    .elizeh-brands-slider {
        order: 1;
        width: 100%;
    }

    .elizeh-brands-prev,
    .elizeh-brands-next {
        order: 2;
        margin: 15px 5px;
        width: 35px;
        height: 35px;
    }

    .elizeh-brands-navigation-mobile {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        gap: 20px;
        width: 100%;
        order: 2;
    }
}

/* Brands carousel styling - no owl carousel dependency */

/* Transition effect for the brands slider */
.elizeh-brands-slider {
    transition: transform 0.5s ease;
}

/* Ensure images are properly centered and fit */
.elizeh-brand-item img {
    object-position: center;
    background-color: white;
    border-radius: 15px;
}
