/* МосТоргДом · основные действия витрины */
@layer mtd69Actions {
:is(
    #mtd-home .mhr-actions .mtd65-ready,
    #mtd-showcase .ms-button,
    #mtd-category .mk-add,
    #mtd-category .mtd65-select,
    #mtd-category .mtd-c64-quote-button,
    #product-search .mtd65-select,
    #product-search .product-layout button[onclick^="cart.add("],
    #product-product #button-cart,
    #product-product #mtd-curtain .mc-submit,
    #mtd-mobile34 .mtd34-action,
    #mtd-cart-page .mtd-cart-checkout,
    #mtd-full-checkout #quickcheckoutconfirm #button-payment-method,
    #mtd-custom-page .mcx-button
) {
    background: var(--mtd69-fill, #0752c5) !important;
    border-color: var(--mtd69-fill, #0752c5) !important;
    border-radius: 8px !important;
    color: #fff !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

:is(
    #mtd-home .mhr-actions .mtd65-ready,
    #mtd-showcase .ms-button,
    #mtd-category .mk-add,
    #mtd-category .mtd65-select,
    #mtd-category .mtd-c64-quote-button,
    #product-search .mtd65-select,
    #product-search .product-layout button[onclick^="cart.add("],
    #product-product #button-cart,
    #product-product #mtd-curtain .mc-submit,
    #mtd-mobile34 .mtd34-action,
    #mtd-cart-page .mtd-cart-checkout,
    #mtd-full-checkout #quickcheckoutconfirm #button-payment-method,
    #mtd-custom-page .mcx-button
):focus-visible {
    outline: 3px solid #063772 !important;
    outline-offset: 3px !important;
}
}

/* These local tokens affect only the controls listed above. */
@media (hover: hover) {
    :where(a, button, input[type="submit"]):hover { --mtd69-fill: #0645a6; }
}
:where(a, button, input[type="submit"]):active { --mtd69-fill: #05377f; }
:where(button, input):disabled,
:where(a, button)[aria-disabled="true"] { --mtd69-fill: #536781; }
