/*Начало верстки для элемента с показалом моделей на странице модели*/
.repair-models {
    margin-inline: auto;
    margin-bottom: 0;
}

.repair-models__inner {
    margin-bottom: 32px;
}

.repair-models__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.repair-models__toggle {
    display: none;
    /* по умолчанию скрыта, показывается скриптом */
    color: #2563eb;
    font-size: 14px;
    line-height: 20px;
    text-decoration: underline;
    white-space: nowrap;
    cursor: pointer;
}

.repair-models__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

.repair-models__item {
    padding: 8px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    cursor: pointer;
}

.repair-models__name {
    color: #374151;
    font-weight: 500;
    font-size: clamp(12px, 1.1vw, 14px);
}

@media (min-width: 640px) {
    .repair-models__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .repair-models__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .repair-models__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/*Конец верстки для элемента с показалом моделей на странице модели*/