.products-grid {
    display: flex;
    flex-wrap: wrap;
    margin: var(--space-m) 0;
    gap: var(--space-s) 2.6%;
}

.products__oil {
    justify-content: space-around;
}

.products__consumables {
    justify-content: center;
    column-gap: var(--space-2xl);
}

.products__element {
    width: 12%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xs);
}

.products__tile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    display: inline-block;
    background-color: #878787;
    border-radius: 18px;
    width: 155px;
    height: 155px;
    overflow: hidden;
    transition: background-color 0.1s ease-in-out;
}

.products__tile-ford-genuine,
.products__tile-oil {
    background-color: #00263d;
}

.products__tile-image {
    height: 155px;
    object-fit: cover;
    object-position: left;
}

.products__tile-oil .products__tile-image,
.products__tile-consumables .products__tile-image {
    object-position: center;
}

.products__tile-oil .products__tile-image {
    height: 145px;
    margin-top: 5px;
}

.products__element-label {
    margin: 0;
    font-size: var(--step-0);
}

.products__element-label--ford-genuine {
    color: #2096cd;
}

.products__element-label--omnicraft {
    color: #f28b2d;
}

.products__element-label--motorcraft {
    color: #dc1816;
}


.products__element:is(:hover, :focus) {
    .products__tile-omnicraft {
        background-color: #f28b2d;
    }

    .products__tile-motorcraft {
        background-color: #dc1816;
    }

    .products__tile-ford-genuine,
    .products__tile-oil,
    .products__tile-consumables {
        background-color: #2096cd;
    }
}

@media only screen and (max-width: 1400px) {
    .products-grid {
        column-gap: 2%;
    }

    .products__consumables {
        column-gap: var(--space-2xl);
    }

    .products__element {
        width: 15%;
    }
}

@media only screen and (max-width: 992px) {
    .products-grid {
        justify-content: space-evenly;
        column-gap: 24px;
    }

    .products__element {
        width: 155px;
    }

    .products__oil {
        justify-content: center;
    }
}

@media only screen and (max-width: 768px) {
    .products__oil {
        justify-content: center;
    }
}
