/* Tray alerts sign-up on /stock-browse (stock-alerts.js). */
/* 180px clears the fixed header and the sticky Filter bar, so a #tray-alerts link shows the heading. */
.stock-alerts{margin-top:36px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:32px;align-items:start;scroll-margin-top:180px}
.stock-alerts-intro h2{font-size:clamp(22px,2.4vw,30px);font-weight:800;line-height:1.15;margin-bottom:12px}
.stock-alerts-intro p{font-size:15.5px;margin-bottom:10px}
.stock-alert-form fieldset{border:0;padding:0;margin:0 0 18px;min-width:0}
.stock-alert-form legend{font-size:14px;font-weight:600;color:var(--steel);margin-bottom:8px;padding:0}
.stock-alert-choice,.stock-alert-products{display:flex;flex-wrap:wrap;gap:8px}
.stock-alert-choice legend,.stock-alert-products legend{width:100%}
.stock-alert-option{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 14px;border:1px solid var(--hair-strong);border-radius:var(--r-btn);background:var(--surface2);font-size:15px;font-weight:600;color:var(--text);cursor:pointer}
.stock-alert-option:has(input:checked){border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.stock-alert-option input{accent-color:var(--accent);width:18px;height:18px}
.stock-alert-ute{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.9fr) minmax(0,1fr);gap:0 14px;margin-bottom:6px}
.stock-alert-ute .form-note{grid-column:1/-1;margin:-6px 0 18px}
.stock-alert-contact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}
.stock-alert-form button[type="submit"]{margin-top:4px}
@media (max-width:900px){
  .stock-alerts{grid-template-columns:1fr;gap:18px}
}
@media (max-width:640px){
  .stock-alerts{padding:20px 16px}
  .stock-alert-ute,.stock-alert-contact{grid-template-columns:1fr}
  .stock-alert-option{flex:1 1 100%}
  .stock-alert-products{gap:6px}
  .stock-alert-products .stock-alert-option{flex:1 1 0;min-width:0;justify-content:center;gap:6px;padding:9px 6px;font-size:14px}
  .stock-alert-form button[type="submit"]{width:100%}
}
