/* Homepage hero lookup card - M & P Cash For Junk Cars */
:root { --mp-navy: #233d62; --mp-coral: #fe6347; --mp-cta: #d63a1c; --mp-cta-dark: #b42f15; --mp-ink: #1f2a3c; --mp-muted: #5c6680; --mp-line: #d7dbe5; --mp-bad: #b3261e; }

.mp-sitehome-bghome { height: auto; min-height: 750px; padding-bottom: 48px; }

/* Header phone stays visible but outlined, so the quote button is the one solid action up top. */
.navbar .navbar-right li a.call { background: #fff; color: var(--mp-cta-dark); box-shadow: inset 0 0 0 2px var(--mp-cta); }
.navbar .navbar-right li a.call:hover, .navbar .navbar-right li a.call:focus { background: var(--mp-cta); color: #fff; }
.mpcars-heading-mobile button { background: #fff !important; color: var(--mp-cta-dark) !important; box-shadow: inset 0 0 0 2px var(--mp-cta); min-height: 44px; }

.mph-card { background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(35, 61, 98, .16); padding: 22px 24px 18px; margin: 14px 0 0; max-width: 470px; position: relative; z-index: 2; }
.mph-card .mph-title { font-family: 'Poppins', sans-serif; font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--mp-navy); margin: 0 0 14px; text-align: left; }
.mph-card .mp-pick { margin-bottom: 12px; position: relative; }
.mph-card label { display: block; font: 600 14px/1.3 'Poppins', sans-serif; color: var(--mp-ink); margin: 0 0 5px; }
.mp-pick-box { position: relative; }
.mp-pick-box input { width: 100%; height: 50px; border: 1.5px solid var(--mp-line); border-radius: 9px; padding: 0 44px 0 14px; font: 500 16px 'Poppins', sans-serif; color: var(--mp-ink); background: #f7f8fb; }
.mp-pick-box input:focus { outline: none; border-color: var(--mp-navy); background: #fff; box-shadow: 0 0 0 3px rgba(35, 61, 98, .18); }
.mp-pick-box input::placeholder { color: #737c92; }
.mp-pick.is-off .mp-pick-box input { background: #eef0f4; color: #8a91a3; cursor: not-allowed; }
.mp-pick.is-bad .mp-pick-box input { border-color: var(--mp-bad); }
.mp-pick-arrow { position: absolute; right: 0; top: 0; width: 44px; height: 50px; border: 0; background: transparent; cursor: pointer; }
.mp-pick-arrow::after { content: ''; position: absolute; left: 16px; top: 20px; width: 9px; height: 9px; border-right: 2px solid var(--mp-navy); border-bottom: 2px solid var(--mp-navy); transform: rotate(45deg); }
.mp-pick-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); max-height: 264px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--mp-line); border-radius: 10px; box-shadow: 0 12px 28px rgba(31, 42, 60, .18); z-index: 30; }
.mp-pick-list li { padding: 10px 12px; border-radius: 7px; font: 500 15px 'Poppins', sans-serif; color: var(--mp-ink); cursor: pointer; }
.mp-pick-list li:hover, .mp-pick-list li.is-cursor { background: #fff0ec; }
.mp-pick-list li[aria-selected="true"] { font-weight: 700; color: var(--mp-navy); }
.mp-pick-list .mp-pick-none { color: var(--mp-muted); cursor: default; background: none; }
.mph-err { min-height: 0; margin: 0; color: var(--mp-bad); font: 600 14px 'Poppins', sans-serif; }
.mph-err:not(:empty) { margin: 2px 0 10px; }
.mph-go { display: block; width: 100%; min-height: 54px; border: 0; border-radius: 10px; background: var(--mp-cta); color: #fff; font: 700 19px 'Poppins', sans-serif; letter-spacing: .2px; cursor: pointer; margin-top: 4px; transition: background .15s; }
.mph-go:hover, .mph-go:focus { background: var(--mp-cta-dark); }
.mph-go:focus-visible { outline: 3px solid var(--mp-navy); outline-offset: 2px; }
.mph-alt { margin: 12px 0 0; text-align: center; }
.mph-alt a { display: inline-block; padding: 8px 4px; font: 600 15px 'Poppins', sans-serif; color: var(--mp-navy); text-decoration: underline; text-underline-offset: 3px; }
.mph-note { margin: 2px 0 0; text-align: center; font: 500 14px 'Poppins', sans-serif; color: var(--mp-muted); }
.mpcars-contactwrap { padding-left: 0; }

@media (max-width: 767px) {
  .mp-sitehome-bghome { min-height: 0; padding-bottom: 24px; }
  .mph-card { margin: 10px auto 0; padding: 16px 16px 14px; box-shadow: 0 8px 24px rgba(35, 61, 98, .14); }
  .mph-card .mph-title { font-size: 19px; margin-bottom: 10px; }
  .mph-card .mp-pick { margin-bottom: 8px; }
  .mp-pick-box input, .mp-pick-arrow { height: 48px; }
  .navbar { padding-bottom: 8px; }
  .mpcars-heading-mobile button { padding: 8px 20px; }
}
@media (prefers-reduced-motion: reduce) { .mph-go { transition: none; } }
/* Neutralise legacy hero button rules inside the lookup card. */
.mph-card button { transition: background .15s; margin-right: 0; }
.mph-card .mp-pick-arrow { width: 44px; padding: 0; margin: 0; border-radius: 0; }
.mph-card .mph-go { width: 100%; padding: 12px 16px; margin: 4px 0 0; border-radius: 10px; font-size: 19px; font-weight: 700; color: #fff; }
