/* Market alert ("Notify me about new listings"), shared by buyer-request.html and sold.html.
   Markup comes from assets/js/market-alert.js. */

.malert-sec { padding: clamp(72px, 9vw, 120px) 0 0; scroll-margin-top: var(--header-h); }
.malert {
  display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 72px);
  align-items: start; padding-top: 40px; border-top: 1px solid var(--line);
}
.malert-head { display: grid; gap: 10px; }
.malert-head h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.08; }
.malert-prefilled { color: var(--sky-ink); font-weight: 600; }

.malert-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; align-items: end; }
.malert-consent, .malert-actions, .malert-note { grid-column: 1 / -1; }
.malert-actions { display: flex; }
.malert-note { margin-top: 0; }
.malert-form .check a { color: var(--sky-ink); text-underline-offset: 3px; }
/* number field: no spinner, it is a price */
.malert-form input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.malert-form input[type="number"]::-webkit-outer-spin-button,
.malert-form input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

@media (max-width: 900px) { .malert { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .malert-form { grid-template-columns: minmax(0, 1fr); } }
