.pfh-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-content: start;
    gap: 24px;
    margin: 24px 0;
}

.pfh-product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3e0dc;
    border-radius: 8px;
    background: #fff;
}

.pfh-product-media {
    aspect-ratio: 1 / 1;
    background: #f6f4f1;
}

.pfh-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pfh-product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3eee8, #e9f0ed);
}

.pfh-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 18px;
}

.pfh-product-brand {
    margin: 0;
    color: #71685f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

.pfh-product-title {
    margin: 0;
    color: #2d2925;
    font-size: 20px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.pfh-product-description {
    color: #4a4540;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.pfh-product-description p {
    margin: 0 0 10px;
}

.pfh-product-description p:last-child {
    margin-bottom: 0;
}

.pfh-product-description-toggle {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-height: 0;
    margin: 6px 0 0;
    border: 0;
    padding: 0;
    color: #4f8f6b;
    background: transparent;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: underline;
    cursor: pointer;
}

.pfh-product-description-toggle:hover,
.pfh-product-description-toggle:focus {
    color: #3f7558;
}

.pfh-product-meta {
    display: grid;
    gap: 8px;
    margin: auto 0 0;
}

.pfh-product-meta div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #eeeae5;
    padding-top: 8px;
}

.pfh-product-meta dt,
.pfh-product-meta dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.pfh-product-meta dt {
    color: #71685f;
}

.pfh-product-meta dd {
    color: #2d2925;
    font-weight: 600;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
}

.pfh-product-meta-full {
    display: block !important;
}

.pfh-product-meta-full dd {
    text-align: left !important;
    font-weight: 400 !important;
    color: #2d2925;
    font-size: 13px;
    line-height: 1.5;
}

.pfh-product-meta-full dd p {
    margin: 0 0 4px;
}

.pfh-product-meta-full dd p:last-child {
    margin-bottom: 0;
}

.pfh-product-pricing {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #e3e0dc;
    padding-top: 14px;
}

.pfh-product-price {
    color: #2d2925;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}

.pfh-product-unit-price {
    color: #71685f;
    font-size: 14px;
    line-height: 1.3;
    text-align: right;
}

.pfh-products-empty {
    margin: 24px 0;
}

.pfh-cart-notice {
    margin: 18px 0;
    border-left: 4px solid #4f8f6b;
    padding: 12px 14px;
    background: #edf6f1;
    color: #244635;
}

.pfh-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0;
}

.pfh-products-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.pfh-products-search-form,
.pfh-products-sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pfh-products-search-form label,
.pfh-products-sort-form label {
    color: #71685f;
    font-size: 14px;
    font-weight: 700;
}

.pfh-products-search-form input,
.pfh-products-sort-form select {
    min-height: 40px;
    border: 1px solid #d8d2cb;
    border-radius: 6px;
    padding: 8px 34px 8px 10px;
    color: #2d2925;
    background: #fff;
    font: inherit;
}

.pfh-products-search-form input {
    min-width: 220px;
    padding-right: 10px;
}

.pfh-products-search-form button {
    min-height: 40px;
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    background: #4f8f6b;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.pfh-products-search-form button:hover {
    background: #3f7558;
}

.pfh-products-reset-link {
    color: #71685f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.pfh-products-reset-link:hover,
.pfh-products-reset-link:focus {
    color: #2d2925;
    text-decoration: underline;
}

.pfh-products-tierarten {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    padding: 14px;
    border: 1px solid #e7e1da;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfb 0%, #f6f1eb 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pfh-tierart-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid #d9d1c8;
    border-radius: 999px;
    padding: 9px 18px;
    white-space: nowrap;
    color: #594f47;
    background: linear-gradient(180deg, #ffffff 0%, #f8f3ee 100%);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(48, 34, 22, 0.06);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pfh-tierart-button:hover,
.pfh-tierart-button:focus {
    border-color: #78a98d;
    color: #2d2925;
    box-shadow: 0 6px 18px rgba(79, 143, 107, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
}

.pfh-tierart-button:focus {
    outline: 0;
}

.pfh-tierart-button:focus-visible {
    border-color: #4f8f6b;
    box-shadow: 0 0 0 3px rgba(79, 143, 107, 0.18), 0 6px 18px rgba(79, 143, 107, 0.12);
}

.pfh-tierart-button.is-active {
    border-color: #4f8f6b;
    color: #fff;
    background: linear-gradient(180deg, #6aa07f 0%, #4f8f6b 100%);
    box-shadow: 0 10px 22px rgba(79, 143, 107, 0.22);
}

.pfh-tierart-button.is-active:hover,
.pfh-tierart-button.is-active:focus {
    color: #fff;
    border-color: #4f8f6b;
}

.pfh-add-to-cart-form {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    margin-top: 2px;
}

.pfh-add-to-cart-form label,
.pfh-cart-item label {
    display: grid;
    gap: 5px;
    margin: 0;
    color: #71685f;
    font-size: 13px;
    line-height: 1.2;
}

.pfh-add-to-cart-form input,
.pfh-cart-item input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d8d2cb;
    border-radius: 6px;
    padding: 8px 10px;
    color: #2d2925;
    background: #fff;
}

.pfh-add-to-cart-form button,
.pfh-cart-button {
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    background: #4f8f6b;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.pfh-add-to-cart-form button:hover,
.pfh-cart-button:hover {
    background: #3f7558;
}

.pfh-product-unavailable {
    margin: 18px 0 0;
    border-left: 4px solid #c62828;
    border-radius: 6px;
    padding: 12px 14px;
    background: #fdecea;
    color: #8a1f1f;
    font-weight: 700;
    line-height: 1.4;
}

.pfh-cart {
    margin: 24px 0;
}

.pfh-cart-title {
    margin: 0 0 16px;
    color: #2d2925;
}

.pfh-cart-empty {
    margin: 0;
}

.pfh-flow-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pfh-flow-toolbar {
    margin-bottom: 16px;
}

.pfh-flow-nav-link,
.pfh-cart-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid #d8d2cb;
    border-radius: 6px;
    padding: 10px 14px;
    background: #fff;
    color: #2d2925;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.pfh-flow-nav-link:hover,
.pfh-flow-nav-link:focus,
.pfh-cart-secondary-button:hover,
.pfh-cart-secondary-button:focus {
    border-color: #bcb3aa;
    background: #f8f5f2;
    color: #2d2925;
    text-decoration: none;
}

.pfh-cart-form {
    display: grid;
    gap: 16px;
}

.pfh-cart-items {
    display: grid;
    gap: 10px;
}

.pfh-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px 120px 42px;
    align-items: end;
    gap: 16px;
    border: 1px solid #e3e0dc;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.pfh-cart-item > div {
    display: grid;
    gap: 4px;
}

.pfh-cart-item strong {
    color: #2d2925;
}

.pfh-cart-item span {
    color: #71685f;
}

.pfh-cart-item > strong {
    text-align: right;
}

.pfh-cart-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d8d2cb;
    border-radius: 6px;
    padding: 0;
    background: #fff;
    color: #8a1f1f;
    cursor: pointer;
}

.pfh-cart-remove:hover,
.pfh-cart-remove:focus {
    border-color: #8a1f1f;
    background: #fdecea;
    color: #8a1f1f;
}

.pfh-cart-delivery {
    display: grid;
    gap: 8px;
    border: 1px solid #e3e0dc;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.pfh-cart-delivery-label {
    margin: 0;
    color: #71685f;
    font-size: 14px;
    font-weight: 700;
}

.pfh-delivery-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pfh-delivery-option {
    flex: 1 1 80px;
}

.pfh-delivery-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pfh-delivery-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    border: 2px solid #e3e0dc;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #71685f;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    user-select: none;
}

.pfh-delivery-option-card small {
    display: block;
    margin-top: 2px;
    color: #94897f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.pfh-delivery-option-card svg {
    flex-shrink: 0;
    transition: color 0.15s;
}

.pfh-delivery-option:hover .pfh-delivery-option-card {
    border-color: #b5cec0;
    background: #f6f4f1;
}

.pfh-delivery-option input[type="radio"]:checked + .pfh-delivery-option-card {
    border-color: #4f8f6b;
    background: #eef6f1;
    color: #2d2925;
}

.pfh-delivery-option input[type="radio"]:checked + .pfh-delivery-option-card svg {
    color: #4f8f6b;
}

.pfh-delivery-option input[type="radio"]:focus-visible + .pfh-delivery-option-card {
    outline: 3px solid rgba(79, 143, 107, 0.35);
    outline-offset: 2px;
}

.pfh-delivery-option.is-disabled {
    cursor: not-allowed;
}

.pfh-delivery-option.is-disabled .pfh-delivery-option-card {
    border-color: #e7e1da;
    background: linear-gradient(180deg, #faf8f5 0%, #f2ede7 100%);
    color: #9a9086;
    cursor: not-allowed;
    opacity: 0.82;
}

.pfh-delivery-option.is-disabled .pfh-delivery-option-card svg {
    color: #b3a79a;
}

.pfh-delivery-option.is-disabled:hover .pfh-delivery-option-card {
    border-color: #e7e1da;
    background: linear-gradient(180deg, #faf8f5 0%, #f2ede7 100%);
}

.pfh-cart-shipping-note {
    margin: 4px 0 0;
    color: #4a4540;
}

.pfh-cart-shipping-note[hidden],
.pfh-cart-summary [hidden] {
    display: none;
}

.pfh-cart-summary {
    display: grid;
    gap: 8px;
    border-top: 2px solid #2d2925;
    padding-top: 14px;
    color: #2d2925;
}

.pfh-cart-summary div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.pfh-cart-summary span {
    color: #71685f;
}

.pfh-cart-summary-total {
    border-top: 1px solid #e3e0dc;
    margin-top: 4px;
    padding-top: 10px;
    font-size: 18px;
}

.pfh-cart-button {
    justify-self: end;
}

.pfh-cart-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.pfh-cart-inquiry-button,
.pfh-inquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    background: #2d2925;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.pfh-cart-inquiry-button:hover,
.pfh-cart-inquiry-button:focus,
.pfh-inquiry-button:hover,
.pfh-inquiry-button:focus {
    background: #4a4540;
    color: #fff;
    text-decoration: none;
}

.pfh-inquiry {
    margin: 24px 0;
}

.pfh-inquiry-title {
    margin: 0 0 16px;
    color: #2d2925;
}

.pfh-inquiry-notice {
    margin: 0 0 16px;
    border-left: 4px solid #4f8f6b;
    padding: 12px 14px;
    background: #edf6f1;
    color: #244635;
}

.pfh-inquiry-notice-error {
    border-left-color: #b64b3c;
    background: #fbefed;
    color: #6f2a20;
}

.pfh-inquiry-form {
    display: grid;
    gap: 16px;
}

.pfh-inquiry-highlight {
    border: 1px solid #e6d6b8;
    border-radius: 10px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #fff9ef 0%, #f9f1e2 100%);
    color: #4a4037;
}

.pfh-inquiry-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: #2d2925;
}

.pfh-inquiry-highlight p {
    margin: 0;
}

.pfh-inquiry-highlight + .pfh-inquiry-actions {
    margin-top: 10px;
}

.pfh-inquiry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.pfh-inquiry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pfh-inquiry-form label {
    display: grid;
    gap: 6px;
    color: #71685f;
    font-size: 14px;
    font-weight: 700;
}

.pfh-inquiry-form input,
.pfh-inquiry-form textarea {
    width: 100%;
    border: 1px solid #d8d2cb;
    border-radius: 6px;
    padding: 10px 12px;
    color: #2d2925;
    background: #fff;
    font: inherit;
}

.pfh-inquiry-form input[aria-invalid="true"],
.pfh-inquiry-form textarea[aria-invalid="true"],
.pfh-inquiry-consent-control input[aria-invalid="true"] {
    border-color: #b64b3c;
    background: #fff7f5;
}

.pfh-inquiry-field-error {
    color: #b64b3c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.pfh-inquiry-form-error {
    margin-bottom: -4px;
}

.pfh-inquiry-consent {
    display: block;
    margin: 0;
}

.pfh-inquiry-consent-control {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    border: 1px solid #e3e0dc;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
    color: #4a4540;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.pfh-inquiry-consent-control input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 2px 0 0;
}

.pfh-inquiry-consent-control a {
    color: #3f7558;
    text-decoration: underline;
}

.pfh-inquiry-consent-control a:hover,
.pfh-inquiry-consent-control a:focus {
    color: #2f5f47;
}

.pfh-inquiry-summary {
    border: 1px solid #e3e0dc;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.pfh-inquiry-summary ul {
    margin: 8px 0;
}

.pfh-cart-link {
    display: inline-flex;
    position: relative;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    border: 2px solid #3f7558;
    border-radius: 999px;
    padding: 10px 16px;
    color: #fff;
    background: #4f8f6b;
    box-shadow: 0 4px 12px rgba(79, 143, 107, .25);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.pfh-cart-link:hover,
.pfh-cart-link:focus {
    color: #fff;
    border-color: #2f5f47;
    background: #3f7558;
    box-shadow: 0 6px 16px rgba(79, 143, 107, .35);
    text-decoration: none;
}

.pfh-cart-link:focus {
    outline: 3px solid rgba(79, 143, 107, .3);
    outline-offset: 3px;
}

.pfh-cart-link-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    color: #fff;
}

.pfh-cart-link-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.pfh-cart-link-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 0 7px;
    background: #c62828;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.pfh-products-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 26px 0 0;
}

.pfh-products-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 40px;
    border: 1px solid #d8d2cb;
    border-radius: 6px;
    padding: 9px 14px;
    color: #2d2925;
    background: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.pfh-products-page-link:hover,
.pfh-products-page-link:focus {
    border-color: #4f8f6b;
    color: #2d2925;
    text-decoration: none;
}

.pfh-products-page-link.is-disabled {
    opacity: .45;
    cursor: default;
}

.pfh-products-page-status {
    color: #71685f;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 560px) {
    .pfh-products-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pfh-product-content {
        padding: 16px;
    }

    .pfh-products-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .pfh-products-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .pfh-products-search-form,
    .pfh-products-sort-form {
        align-items: stretch;
        flex-direction: column;
    }

    .pfh-products-search-form input {
        min-width: 0;
    }

    .pfh-products-tierarten {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
        border-radius: 16px;
    }

    .pfh-tierart-button {
        width: auto;
        justify-content: center;
    }

    @media (max-width: 480px) {
        .pfh-products-tierarten {
            grid-template-columns: 1fr;
        }
    }

    .pfh-add-to-cart-form,
    .pfh-cart-item {
        grid-template-columns: 1fr;
    }

    .pfh-cart-item > strong {
        text-align: left;
    }

    .pfh-cart-button {
        justify-self: stretch;
    }

    .pfh-cart-actions {
        flex-direction: column;
    }

    .pfh-inquiry-grid {
        grid-template-columns: 1fr;
    }

    .pfh-products-pagination {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .pfh-products-page-status {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }
}
