/**
 * dd-legacy-inline.css — rules rescued from the `custom-css-js` plugin's database.
 *
 * PROVENANCE: these two rules lived ONLY in wp_posts, as custom-css-js post 8871
 * ("Custom css", type=header, linking=internal, priority=5, side=frontend), created
 * 2023-12-24. They were printed as an inline <style> block in <head> on every front-end
 * page. Nothing about them was in git, in the theme, or in any backup that a developer
 * would think to look at — a database row was silently load-bearing for the store's
 * add-to-cart UI. Audit 2026-07-25 flagged exactly that. Migrated 2026-07-26.
 *
 * The rules are reproduced BYTE-FOR-BYTE. Do not "tidy" them here: the migration's whole
 * value is that it is provably a no-op, so the plugin can be retired without a visual
 * regression hunt. Improve them in a separate, separately-verified change if wanted.
 *
 * WHAT THEY DO, and why each still matters:
 *
 * 1. `.quantity_wrap` is Bookory's own wrapper, printed by
 *    bookory/woocommerce/global/quantity-input.php:30 — so it appears wherever a quantity
 *    input does, i.e. the cart page as well as the product form. Every premade cover is
 *    sold exactly once (see inc/dd/stock-safety.php, which retires a cover on sale), so a
 *    quantity stepper is never a valid control here: letting a customer set qty 2 offers
 *    them something the business cannot deliver. `.wc-block-components-quantity-selector`
 *    is the same control on the block-based cart/checkout.
 *
 *    NOTE: dd-product-page.css:666 already hides `.quantity_wrap` on the single-product
 *    page, but only under `body.dd-product-single.dd-card-on`. This rule is unconditional
 *    and site-wide, and is what covers the cart surface. It is NOT redundant.
 *
 * 2. `.wc-block-must-login-prompt a` restyles the "you must be logged in" link on the
 *    block checkout — brand green, larger, bolder, because at default styling it reads as
 *    body text and customers miss it.
 *
 * ENQUEUED BY: inc/dd/legacy-inline-css.php, deliberately at a late priority so it lands
 * last in <head>. Both rules already carry !important; loading last additionally wins any
 * !important-vs-!important tie at equal specificity, so the migrated sheet is never weaker
 * than the inline block it replaces.
 */

.quantity_wrap, .wc-block-components-quantity-selector {
    display: none !important;
}

.wc-block-must-login-prompt a {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #14a800 !important;
}
