.units-wrap {
    background: #fff;
    border: 1px solid #f0eae3;
    border-radius: 15px;
    overflow: auto;
    font-family: Figtree, Arial, sans-serif;
}

.units {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 16px;
    color: #0a0a0a
}

.units thead th {
    background: #fdfbf9;
    color: #0a0a0a;
    text-align: left;
    font-weight: 600;
    padding: 18px 20px;
    border-bottom: 1px solid #f0eae3;
}

.units tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #f4ebe3
}

.units tbody tr:hover>td {
    background: #fdfbf9
}

.units td:first-child {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 20px;
    color: #cfa885;
}

.units .chip {
    display: inline-block;
    border-radius: 99px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap
}

.units .chip.garten {
    background: #f4ebe3;
    color: #8d8174
}

.units .chip.terrasse {
    background: #cfa885;
    color: #fff
}

.units .status {
    color: #8d8174;
    font-size: 14px
}

.status.verkauft {
    color: black;
    font-weight: 600;
}

.units .detail {
    display: inline-block;
    background: #cfa885;
    color: #0a0a0a;
    border: none;
    cursor: pointer;
    border-radius: 99px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 14px;
    font-family: Figtree, Arial, sans-serif;
    transition: all .2s;
}

.units .detail:hover {
    background: #0a0a0a;
    color: #fff
}

/* riga espandibile */
.units .detail-row>td {
    padding: 0;
    border-bottom: 1px solid #f4ebe3
}

.units .detail-row .inner {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: #fdfbf9;
}

.units .detail-row.open .inner {
    max-height: 120px
}

.units .detail-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
    flex-wrap: wrap
}

.units .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 99px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: Figtree, Arial, sans-serif;
    transition: all .2s;
}

.units .btn.pdf {
    background: #0a0a0a;
    color: #fff
}

.units .btn.pdf:hover {
    background: #2d2d2d
}

.units .btn.info {
    background: #cfa885;
    color: #0a0a0a
}

.units .btn.info:hover {
    background: #b2a291
}

@media(max-width:767px) {
    .units {
        font-size: 14px
    }

    .units td:first-child {
        font-size: 18px
    }
}