/*
 * Product Designer App - Customised v0.9.0
 * The vendor theme defines #productdesignerapp-wrapper .d-flex with
 * display:flex!important. JavaScript therefore also applies an inline
 * display:none!important. These class-based rules are a secondary safety net.
 * Setting-dependent structural fallbacks are printed inline by PHP.
 */
#productdesignerapp-wrapper .pda-customised-hide-quantity.pdapp-cart-group,
#productdesignerapp-wrapper .pda-customised-hide-quantity.pdapp-cart-sizes,
#productdesignerapp-wrapper .pda-customised-hide-price.pdapp-cart-prices,
#productdesignerapp-wrapper .pda-customised-hide-review-item-quantity,
#productdesignerapp-wrapper .pda-customised-hide-review-summary,
#productdesignerapp-wrapper .pda-customised-hide-heading,
#productdesignerapp-wrapper .pda-customised-empty-variants.pdapp-cart-variants {
    display: none !important;
}

#productdesignerapp-wrapper .pda-customised-empty-header {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

#productdesignerapp-wrapper .pda-customised-step-zero .modal-footer {
    justify-content: flex-end !important;
    border-top: 0 !important;
    padding-top: 0.35rem !important;
}

#productdesignerapp-wrapper .pda-customised-step-zero .modal-footer > span:empty {
    display: none !important;
}

/* Preserve PDA validation/error messages inside .pdapp-cart-qty. */
#productdesignerapp-wrapper .pdapp-cart-qty.pda-customised-review-summary-cleanup {
    border-top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    gap: 0 !important;
}
