/*
 * Product Designer App - Customised v0.11.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;
}

/* Editable customer guidance inserted by Product Designer App - Customised. */
#productdesignerapp-wrapper .pda-customised-info-box {
    box-sizing: border-box;
    width: calc(100% - .5rem);
    margin: .25rem;
    padding: .65rem .75rem;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #f6f7f7;
    color: #2c3338;
    font-size: .92rem;
    line-height: 1.45;
}

#productdesignerapp-wrapper .pda-customised-info-box > :first-child {
    margin-top: 0;
}

#productdesignerapp-wrapper .pda-customised-info-box > :last-child {
    margin-bottom: 0;
}

#productdesignerapp-wrapper .pda-customised-info-box ul,
#productdesignerapp-wrapper .pda-customised-info-box ol {
    margin-top: .35rem;
    margin-bottom: .35rem;
    padding-left: 1.25rem;
}
