/**
* 2007-2023 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2023 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/

/************************* brand ******************/
.tvbrandlist-slider-inner {
    position: relative;
}

.tvcmsbrandlist-slider {
    position: relative;
    margin-bottom: 40px;
    clear: both;
}

.tvbrandlist-slider-info-box {
    display: none;
}

.owl-carousel .owl-item .tvbrandlist-slider-wrapper-info img {
    width: auto;
    margin: auto;
}

.tvbrand-img-block-main {
    padding: 15px 15px 0;
}

.tvbrand-img-block {
    transition: .5s ease;
}

.owl-carousel .owl-item .tvbrandlist-slider-wrapper-info .tvbrand-img-block img {
    transition: all .5ms ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    max-width: 100%;
    margin: 0 auto;
    width: auto;
}

.owl-carousel .owl-item .tvbrandlist-slider-wrapper-info .tvbrand-img-block:hover img {

    background-color: #E6E3E3;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    /*box-shadow: 0 2px 20px rgba(255, 255, 255, 15%);*/
    box-shadow: 0 2px 20px rgba(0, 0, 0, 15%);
}

.tvcmsbrandlist-slider .tvbrandlist-slider-content-box {
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 10px;
    margin-bottom: 30px;
    display: grid;
    padding: 20px;
}

.tvcmsbrandlist-slider .tvbrand-img-block a {
    display: inline-block;
}

.tvcmsbrandlist-slider .brand-more-link .btn {
    padding: 12px 40px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    background-color: var(--global-palette1);
    border-color: var(--global-palette1);
    font-size: 14px;
}

.tvcmsbrandlist-slider .brand-more-link {
    text-align: center;
}

@media (max-width: 991px) {
    .tvcmsbrandlist-slider {
        margin-bottom: 50px;
    }

    .tvcmsbrandlist-slider .tvbrandlist-slider-content-box {

        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, auto);
        gap: 0px;
    }

    .tvcmsbrandlist-slider .tvbrandlist-slider-content-box{
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

/* .tvbrand-img-block {
    border-radius: 0px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background-color: transparent;
} */
/* .tvbrandlist-slider-wrapper-info {
    margin: 0 15px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 3px;
    background-color: #fff;
} */
.tvbrandlist-slider-block {
    margin: 0 -15px;
    position: relative;
}

/*.tvcmsbrandlist-slider .tvcmsbrandlist-slider-main-title-wrapper {
    display: none;
}*/

/* .tvbrandlist-slider-wrapper-info .tvbrand-img-block:hover {
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.08);
} */

@media (min-width: 768px) {
    .tvcms-brandlist-pagination-wrapper {
        display: none;
    }
}

@media (max-width: 767px) {
    .tvcmsbrandlist-slider .tvbrand-img-block img {
        /*max-width: 80%;*/
        /*max-height: 60px;*/
        width: auto;
        height: auto;
        object-fit: contain;
        display: block !important;
        visibility: visible !important;
        border-radius: 7px;
    }

    .tvcmsbrandlist-slider .tvbrand-img-block a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        visibility: visible !important;
    }

    .tvcmsbrandlist-slider .tvbrand-img-block {
        flex: 0 0 calc(50% - 7.5px);
        /*background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));*/
        /*padding: 15px;*/
        display: flex !important;
        align-items: center;
        justify-content: center;
        /*height: 75px;*/
        visibility: visible !important;
    }

    .tvcms-brandlist-pagination-wrapper {
        clear: both;
    }

    .tvbrandlist-slider-next.tvcmsnext-btn,
    .tvbrandlist-slider-prev.tvcmsprev-btn {
        position: absolute;
        top: 55%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: #fff;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        z-index: 2;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tvbrandlist-slider-next.tvcmsnext-btn {
        right: 5px;
    }

    .tvbrandlist-slider-prev.tvcmsprev-btn {
        left: 5px;
    }

    .tvbrandlist-slider-next.tvcmsnext-btn i,
    .tvbrandlist-slider-prev.tvcmsprev-btn i {
        font-size: 24px;
        color: #333;
    }

    .tvcmsbrandlist-slider .tvbrandlist-slider-block .tvbrandlist-slider-wrapper-info {
        margin-right: 10px;
        margin-bottom: 25px;
    }
}


@media(max-width: 575px) {
    .tvbrandlist-slider-content-box {
        padding: 0 35px;
    }
}