/* Only loaded on German product detail pages in the MeLiTec shop channel. */
.melitec-product-buy {
    container-type: inline-size;
    container-name: melitec-buy;
    min-width: 0;
}
/* Preserve the current wide layout. Only narrow buy areas are rearranged. */
@container melitec-buy (max-width: 360px) {
    .melitec-product-buy .buy-widget-container > fieldset,
    .melitec-product-buy .buy-widget-container > .col-8 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .melitec-product-buy .buy-widget-container .product-detail-quantity-group {
        width: 100%;
    }
}
@container melitec-buy (max-width: 520px) {
    .melitec-product-buy [data-swag-paypal-express-button] {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 9px;
    }
    .melitec-product-buy [data-swag-paypal-express-button] > .paypal-buttons {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 auto;
        margin: 0 !important;
    }
}
