/* Kalanto - alternatywne produkty z innym czasem realizacji */

.m16alt {
    --alt-accent: #92C23B;
    --alt-dark: #253237;
    --alt-muted: #7a7a7a;
    --alt-border: #e3e3e3;
    /* Sekcja stoi teraz miedzy "Innymi modelami" a opisem produktu, wiec
       potrzebuje odstepu takze od dolu. */
    margin: 18px 0 22px;
    box-sizing: border-box;
}

.m16alt *,
.m16alt *::before,
.m16alt *::after {
    box-sizing: border-box;
}

.m16alt__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--alt-dark);
    text-transform: none;
}

.m16alt__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.m16alt__item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.m16alt__link {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 10px;
    border: 1px solid var(--alt-border);
    border-radius: 10px;
    background: #fff;
    color: var(--alt-dark);
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.m16alt__link:hover,
.m16alt__link:focus {
    border-color: var(--alt-accent);
    box-shadow: 0 4px 14px rgba(37, 50, 55, .1);
    color: var(--alt-dark);
    text-decoration: none;
}

.m16alt__thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f6f6f6;
}

.m16alt__thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.m16alt__thumb-empty {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #f0f0f0, #f0f0f0 6px, #f6f6f6 6px, #f6f6f6 12px);
}

.m16alt__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.m16alt__lead {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--alt-dark);
}

.m16alt__manufacturer {
    font-size: 12px;
    color: var(--alt-muted);
}

.m16alt__price {
    font-size: 14px;
    font-weight: 600;
    color: var(--alt-accent);
}

@media (max-width: 575px) {
    .m16alt__list {
        grid-template-columns: 1fr;
    }
}
