/* ============================================================
   Beutter Küchen — Materialien-Grid (Shortcode [bk_materialien])
   ============================================================ */

/* ── WRAPPER ──────────────────────────────────────────────── */
.bkm-wrap {
    background: #FFFCFA;
    padding: 0 clamp(24px, 5vw, 80px) 80px;
}

/* ── GRID ─────────────────────────────────────────────────── */
.bkm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 28px;
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 56px;
}

/* ── KARTE ────────────────────────────────────────────────── */
.bkm-card {
    display: flex;
    flex-direction: column;
}

/* ── BILD ─────────────────────────────────────────────────── */
.bkm-img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #E8E2DE;
    position: relative;
}

.bkm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.bkm-card:hover .bkm-img {
    transform: scale(1.05);
}

.bkm-img-empty {
    width: 100%;
    height: 100%;
    background: #E8E2DE;
}

/* ── BODY ─────────────────────────────────────────────────── */
.bkm-body {
    padding: 14px 2px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* ── TITEL ────────────────────────────────────────────────── */
.bkm-title {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #2A2422;
    margin: 0;
    line-height: 1.35;
}

/* ── VARIANTEN-SWATCHES ───────────────────────────────────── */
.bkm-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.bkm-swatch {
    width: 28px;
    height: 28px;
    overflow: hidden;
    border: 1px solid rgba(119, 87, 85, 0.2);
    background: #E8E2DE;
    flex-shrink: 0;
}

.bkm-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bkm-swatch-more {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #7A6A65;
    letter-spacing: 0.04em;
    padding: 0 4px;
}

/* ── INFO-LINK ────────────────────────────────────────────── */
.bkm-info-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #775755;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s ease;
}

.bkm-info-link:hover {
    color: #3E3D39;
}

/* ── LEER-STATE ───────────────────────────────────────────── */
.bkm-empty {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 300;
    color: #7A6A65;
    text-align: center;
    padding: 60px 0;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .bkm-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 720px) {
    .bkm-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }
}

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