/**
 * EveryParts
 *
 * @author      Ukoo <help@every.parts> - https://www.ukoo.fr
 * @copyright   Ukoo 2024 - https://www.ukoo.fr
 * @license     see file: LICENSE.txt
 *
 * @version     2.1.1
 */
.voitures .bloc {
    overflow: hidden;
}
.voitures .bloc a {
    color: var(--ucpt-primary-color);
}
.voitures .bloc a > span {
    display: block;
}
.voitures .ucpt-intro__img-container {
    overflow: hidden;
}
.voitures .bloc a img {
    transition: all .2s ease-in-out;
}
.voitures .bloc a:hover {
    color: var(--jdgm-primary-color);
}
.voitures .bloc a:hover img {
    transform: scale(1.1);
}

#module-ukooparts-enginetypes .ucpt-glossary .ucpt-cards,
#module-ukooparts-manufacturers .ucpt-glossary .ucpt-cards {
	gap:25px;
}
#module-ukooparts-enginetypes .ucpt-glossary .ucpt-cards .ucpt-cards__item,
#module-ukooparts-manufacturers .ucpt-glossary .ucpt-cards .ucpt-cards__item {
	flex: 0 0 23.5% !important;
	max-width: unset !important;
}
#module-ukooparts-enginetypes .ucpt-glossary .ucpt-cards__img-wrapper,
#module-ukooparts-manufacturers .ucpt-glossary .ucpt-cards__img-wrapper {
	height: auto;
}
#module-ukooparts-enginetypes .ucpt-cards__img,
#module-ukooparts-manufacturers .ucpt-cards__img {
	max-height: unset;
}

#module-ukooparts-enginetypes .ucpt-intro,
#module-ukooparts-enginetypes .ucpt-glossary.ucpt-section,
#module-ukooparts-manufacturers .ucpt-intro,
#module-ukooparts-manufacturers .ucpt-glossary.ucpt-section
{
	margin: 0 !important;
}

@media (max-width: 574px) {
    .voitures {
        display: flex;
        flex-wrap: wrap;
        overflow-x:hidden;
        gap: 10px
    }
    .voitures .bloc {
        width: 160px;
        flex-shrink: 0;
    }
}
@media (min-width: 575px) {
    .voitures {
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 992px) {
    .voitures {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1200px) {
    .voitures {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Modal */
#ucpt-modal-quickadd,
#ucpt-modal-quickadd .h3,
#ucpt-modal-quickadd p,
#ucpt-modal-quickadd span,
#ucpt-modal-quickadd a:not(.btn) {
    color: var(--ucpt-dark-color) !important;
}
#ucpt-modal-quickadd .btn-primary {
    color: #ffffff !important;
}
#ucpt-modal-quickadd .btn-outline-primary {
    color: #24b9d7 !important;
}
#ucpt-modal-quickadd .btn-outline-primary:hover,
#ucpt-modal-quickadd .btn-outline-danger:hover {
    color: #ffffff !important;
}
#ucpt-modal-quickadd .btn-outline-danger {
    color: #ff4c4c !important;
}
#ucpt-modal-quickadd .ucpt-quickadd__icon {
    fill: #ffffff;
}

.ucpt__model-reference {
    color: #c1c1c1 !important;
}