.bf-size-notify { cursor: pointer; }
/* Out-of-stock sizes usually also carry the theme's own .bf-sz-tip class
   (mm tooltip) — its "cursor: default" has the same specificity as our
   plain .bf-size-notify rule above, so which one wins depends on stylesheet
   load order. This combined selector is more specific and always wins,
   regardless of order. */
.bf-size-notify.bf-sz-tip { cursor: pointer; }
.bf-size-notify:hover { background: #fff0f6; border-color: #ff2e7e; color: #ff2e7e; }

body.bf-notify-open { overflow: hidden; }

.bf-notify-modal { position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.bf-notify-modal:not([hidden]) { display: flex; }
.bf-notify-backdrop { position: absolute; inset: 0; background: rgba(26,26,26,0.5); }
.bf-notify-box {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  width: 340px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  font-family: 'Hanken Grotesk', Arial, sans-serif;
}
.bf-notify-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border: none; background: none;
  font-size: 22px; line-height: 1; color: #999; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.bf-notify-close:hover { color: #1a1a1a; }
.bf-notify-box h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 800; color: #1a1a1a; }
.bf-notify-sub { margin: 0 0 20px; font-size: 0.9rem; line-height: 1.5; color: #666; }
#bf-notify-form { flex-direction: column; gap: 10px; }
#bf-notify-form:not([hidden]) { display: flex; }
#bf-notify-email {
  padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px;
  font-size: 0.95rem; font-family: inherit;
}
#bf-notify-email:focus { outline: none; border-color: #ff2e7e; }
/* Roughly half the dialog, centred — the same in every modal, which is why
   the sizing lives on the shared class and not in each modal's own file.
   Not full width: a pill spanning the whole box under two lines of text
   reads as a page-level call to action. The percentage resolves against the
   content area (box minus its 32px padding), so 60% lands at ~214px in a
   420px box. min-width keeps it from shrinking to the label on narrow
   screens, where the box itself gets smaller. */
.bf-notify-submit {
  display: block;
  width: 60%;
  min-width: 150px;
  margin: 6px auto 0;
  padding: 13px 20px; border: none; border-radius: 999px;
  background: #ff2e7e; color: #fff; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; font-family: inherit;
}
.bf-notify-submit:hover { background: #e0286e; }
.bf-notify-submit:disabled { opacity: 0.6; cursor: default; }
.bf-notify-msg { margin: 16px 0 0; font-size: 0.9rem; line-height: 1.5; }
.bf-notify-msg--ok { color: #2d7a3a; }
.bf-notify-msg--err { color: #c0392b; }

/* ── Shared confirmation-step chrome ─────────────────────────────────
   Used by the price-alert, restock and brand-follow modals. It lives
   here because this file is the one every page with a modal loads;
   when it sat in price-alert.css the brand page rendered these
   buttons with the theme's defaults (invisible until hover). */
.bf-alert-tick {
  width: 44px;
  height: 44px;
  margin: 0 0 14px;
  border-radius: 50%;
  background: #fff0f6;
  color: #ff2e7e;
  font-size: 22px;
  line-height: 44px;
  text-align: center;
  font-weight: 700;
}
.bf-alert-receipt {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f7f7;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
}
/* Wider than the shared 340px box so the two footer links fit side by side
   instead of stacking — scoped to this modal so the restock one is unchanged. */
#bf-price-alert-modal .bf-notify-box { width: 420px; }

.bf-alert-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.bf-alert-sep { color: #ddd; font-size: 0.82rem; }
.bf-alert-link {
  white-space: nowrap;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.82rem;
  color: #999;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bf-alert-link:hover { color: #ff2e7e; }
.bf-alert-link:disabled { opacity: .5; cursor: default; text-decoration: none; }
