.pf-finder {
    max-width: 640px;
    margin: 0 auto 3rem;
}
.pf-finder--page .pf-headline {
    margin-bottom: 1.5rem;
}
.pf-level {
    margin-bottom: 1rem;
}
.pf-level label {
    font-weight: 600;
    margin-bottom: .35rem;
    display: block;
}
.pf-product {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: .5rem;
}
.pf-product[hidden] {
    display: none;
}
.pf-product-image {
    width: 110px;
    height: 110px;
    object-fit: contain;
}
.pf-product-name {
    font-weight: 600;
    display: block;
    margin-bottom: .25rem;
}
.pf-product-price {
    font-size: 1.35rem;
    font-weight: 700;
}
.pf-product-baseprice,
.pf-product-tax {
    font-size: .85rem;
    opacity: .75;
}
.pf-buy {
    display: flex;
    gap: .75rem;
}
.pf-qty {
    width: 90px;
}
.pf-submit {
    flex: 1;
}

/* Auswahl auf der Artikelseite */
.pf-finder--product {
    max-width: none;
    margin: 0 0 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: .5rem;
}
.pf-finder--product .pf-level:last-child {
    margin-bottom: 0;
}
.pf-headline-sm {
    font-weight: 700;
    margin-bottom: .75rem;
}
.pf-finder.pf-loading {
    opacity: .5;
    pointer-events: none;
}

/* Überschrift & OPC */
.pf-finder .pf-headline {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.pf-finder--product .pf-headline {
    font-size: 1rem;
    margin-bottom: .75rem;
}
.pf-portlet .pf-finder {
    margin-bottom: 0;
}
.pf-portlet-preview {
    padding: 1rem;
    border: 2px dashed rgba(0, 0, 0, .2);
    border-radius: .5rem;
    text-align: center;
}

/* Robust gegenüber Templates (z. B. admorris Pro), die .form-group als Flex-Zeile darstellen */
.pf-finder .pf-level {
    display: block !important;
}
.pf-finder .pf-level > label {
    display: block;
    width: 100%;
    margin: 0 0 .35rem;
}
.pf-finder .pf-level > select {
    width: 100%;
    margin: 0;
}
.pf-finder--product {
    width: 100%;
}

/* Passende Sorten als Kacheln */
.pf-level--chips {
    margin-top: .25rem;
}
.pf-chips-head {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    margin-bottom: .5rem;
}
.pf-chips-title {
    font-weight: 600;
}
.pf-count {
    display: inline-block;
    padding: .1rem .55rem;
    border-radius: 1rem;
    background: #2f7d32;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.4;
}
.pf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.pf-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
    padding: .5rem .85rem;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .5rem;
    background: #fff;
    color: inherit;
    font: inherit;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.pf-chip:hover:not(:disabled),
.pf-chip:focus-visible {
    border-color: #2f7d32;
    box-shadow: 0 0 0 2px rgba(47, 125, 50, .2);
    outline: none;
}
.pf-chip.is-active {
    border-color: #2f7d32;
    background: #2f7d32;
    color: #fff;
}
.pf-chip:disabled {
    opacity: .45;
    cursor: not-allowed;
    text-decoration: line-through;
}
.pf-chip-name {
    font-weight: 600;
}
.pf-chip-price {
    font-size: .8rem;
    opacity: .8;
}
