/* Kobalz Wunschname-Vorschau 1.0.2 – nur eigene Klassen .kwv-…, wird nur auf Artikelseiten mit Vorlage geladen. */
.kwv-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
    color: #4b5563;
}
.kwv-hint {
    flex: 1 1 200px;
    min-width: 0;
}
.kwv-count {
    flex: none;
    font-variant-numeric: tabular-nums;
}
.kwv-admin {
    flex: 1 1 100%;
    color: #9a3412;
    font-weight: 600;
}
.kwv-has-preview {
    position: relative;
}
.kwv-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #065f46;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    pointer-events: none;
}
.kwv-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
}
/* Größe und Position setzt kwv.js am sichtbaren Bildbereich (Ausschnitt × 2,5, Herz/Bildzähler/Badge ausgespart). */
.kwv-closeup {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    width: 42%;
    max-width: none;
    height: auto;
    box-sizing: border-box;
    border: 2px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    background: #ffffff;
    pointer-events: none;
}
/* Lasche über der oberen Kante der Nahansicht (ab 1.0.2) – verdeckt nie den Ausschnitt. */
.kwv-closeup-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 3;
    box-sizing: border-box;
    height: 20px;
    padding: 0 8px;
    border-radius: 8px 8px 0 0;
    background: #ffffff;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08);
    color: #3a2210;
    font-size: 11px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    pointer-events: none;
}
@media (max-width: 767.98px) {
    .kwv-closeup {
        width: 50%;
    }
    .kwv-badge {
        top: 8px;
        left: 8px;
        font-size: 11px;
    }
}
