/* APW v2.2 — Gleichmäßige Produktkarten */
.apw-widget {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    transition: box-shadow .2s;
}
.apw-widget:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.apw-image-link {
    display: block;
    text-align: center;
    padding: 12px;
    background: #fafafa;
}
.apw-main-img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    display: block;
}
.apw-gallery {
    display: none; /* Galerie ausgeblendet im Grid */
}
.apw-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 10px 12px 12px;
}
.apw-title {
    font-weight: 700;
    font-size: 12.5px;
    color: #111;
    margin-bottom: 8px;
    /* Titel: maximal 3 Zeilen */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.3em;
}
.apw-price {
    font-weight: 700;
    color: #B12704;
    font-size: 14px;
    margin-bottom: 6px;
}
.apw-features {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    flex: 1;
    /* Gleichmäßige Höhe: feste Höhe mit overflow hidden */
    max-height: 7.5em;
    overflow: hidden;
}
.apw-features li {
    padding: 3px 0 3px 14px;
    position: relative;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    /* Keine line-clamp auf LI — Text wird via PHP gekürzt */
}
.apw-features li::before {
    content: "•";
    position: absolute;
    left: 2px;
    color: #FF9900;
    font-weight: bold;
}
.apw-btn {
    display: block;
    text-align: center;
    padding: 9px 8px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12.5px;
    margin-top: auto;
    transition: opacity .15s;
}
.apw-btn:hover {
    opacity: .88;
}
.apw-note {
    font-size: 10.5px;
    color: #888;
    margin: 6px 0 0;
    line-height: 1.3;
}
/* Inline single widget (außerhalb der Grid) */
.apw-widget.apw-standalone {
    max-width: 300px;
}
