/* 4TFM Produktmerkmale - Ausgabe auf der Produktseite (Schrift und Überschriften kommen vom Theme) */
.tfm-attributes {
    margin: 20px 0;
}
.tfm-attributes__group + .tfm-attributes__group {
    margin-top: 18px;
}
.tfm-attributes__title {
    margin: 0 0 8px;
}

/* Liste */
.tfm-attributes__list {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}
.tfm-attributes__list .tfm-attributes__value {
    margin: 2px 0;
    line-height: 1.5;
}

/* Tabelle */
.tfm-attributes__table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}
.tfm-attributes__table th,
.tfm-attributes__table td {
    padding: 7px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    text-align: left;
    vertical-align: top;
    line-height: 1.4;
}
.tfm-attributes__table th {
    width: 45%;
    font-weight: 600;
}
.tfm-attributes__table tr:nth-child(odd) {
    background: rgba(0, 0, 0, .035);
}
.tfm-attributes__table tr:first-child th,
.tfm-attributes__table tr:first-child td {
    border-top: 1px solid rgba(0, 0, 0, .1);
}

/* Kompakt: eine Zeile je Merkmal */
.tfm-attributes__dl {
    margin: 0;
}
.tfm-attributes .tfm-attributes__dl .tfm-attributes__group + .tfm-attributes__group {
    margin-top: 4px;
}
.tfm-attributes__dl .tfm-attributes__title,
.tfm-attributes__dl .tfm-attributes__values {
    display: inline;
    margin: 0;
    line-height: 1.5;
}
.tfm-attributes__dl .tfm-attributes__title {
    font-weight: 600;
}

/* Tags */
.tfm-attributes--badges .tfm-attributes__group + .tfm-attributes__group {
    margin-top: 12px;
}
.tfm-attributes__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tfm-attributes__badges .tfm-attributes__value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 999px;
    font-size: .9em;
    line-height: 1.4;
}
.tfm-attributes__swatch {
    display: inline-block;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 50%;
    object-fit: cover;
}
