/* The "Notify me when it's back" card under an out-of-stock product's
   purchase controls. Set like the rest of the CMT product page: a white
   panel, ink type, a crimson flag on the left. */
.stock-alert-open[hidden], .stock-alert[hidden] { display: none; }
.stock-alert { margin: 22px 0 0; padding: 18px 20px; border: 1px solid var(--cmt-line, #d3d8df); border-left: 4px solid var(--cmt-accent, #a81f33); border-radius: 6px; background: var(--cmt-surface, #fff); color: var(--cmt-ink, #222); }
.stock-alert h2 { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.25; color: var(--cmt-ink, #222); }
.stock-alert > p { margin: 0 0 14px; color: var(--cmt-muted, #49515b); font-size: .95rem; line-height: 1.5; }
.stock-alert label { display: block; margin: 0 0 12px; }
.stock-alert label > span { display: block; margin-bottom: 5px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cmt-muted, #49515b); }
.stock-alert input[type="email"] { width: 100%; max-width: 420px; padding: 11px 12px; border: 1px solid var(--cmt-line, #d3d8df); border-radius: 4px; font: inherit; color: var(--cmt-ink, #222); background: #fff; }
.stock-alert input[type="email"]:read-only { background: var(--cmt-bg, #f1f3f6); }
.stock-alert-consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.45; color: var(--cmt-ink, #222); }
.stock-alert-consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--cmt-accent, #a81f33); }
.stock-alert-turnstile { margin: 0 0 12px; }
.stock-alert-turnstile[hidden] { display: none; }
.stock-alert .button { margin: 0; }
.stock-alert-status { margin: 10px 0 0; font-size: .92rem; line-height: 1.45; color: var(--cmt-muted, #49515b); }
.stock-alert-status:empty { display: none; }
.stock-alert-status.is-error { color: var(--cmt-accent, #a81f33); font-weight: 700; }
.stock-alert.is-saved .button, .stock-alert.is-saved label, .stock-alert.is-saved .stock-alert-turnstile { display: none; }
@media (max-width: 640px) {
  .stock-alert { padding: 14px; }
  .stock-alert input[type="email"] { max-width: none; }
}
