/* PPTParts 2026-11-16: give Luma-style buttons (.action.primary / .action.secondary, used by the
   PPTCommerce Portal, Part Request, guest order lookup, advanced search) the Hyva button look.
   :where() keeps specificity at zero, so any page-specific button styling still wins. */
:where(.action.primary:not(.btn), .action.secondary:not(.btn)) {
    display: inline-flex; align-items: center; justify-content: center; gap: .375rem;
    padding: .5rem 1rem; border: 2px solid transparent; border-radius: var(--radius-lg, .5rem);
    font-weight: 600; line-height: 1.5; text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
:where(.action.primary:not(.btn)) { background-color: var(--color-primary, #1f48c5); color: var(--color-on-primary, #fff); }
:where(.action.primary:not(.btn)):hover { background-color: var(--color-primary-lighter, #3b63d8); color: var(--color-on-primary, #fff); text-decoration: none; }
:where(.action.secondary:not(.btn)) { background-color: var(--color-on-primary, #fff); color: var(--color-primary-darker, #183a9e); border-color: var(--color-primary-lighter, #3b63d8); }
:where(.action.secondary:not(.btn)):hover { color: var(--color-primary-lighter, #3b63d8); text-decoration: none; }
:where(.action.primary:not(.btn), .action.secondary:not(.btn)):disabled { opacity: .6; cursor: not-allowed; }

/* Request a Part: Luma-style .input-text fields fill their grid column on every screen size
   (the page CSS only did this below 640px, leaving short fields on desktop). */
body.partrequest-index-index form.partrequest input.input-text,
body.partrequest-index-index form.partrequest textarea,
body.partrequest-index-index form.partrequest select {
    display: block; width: 100%; max-width: 100%; box-sizing: border-box;
}
