/* Header announcement-bar "Click Here" — now inline text inside the same
   heading widget as "Get 20% off your first order" (normal word spacing,
   wraps naturally on mobile), just needs a clickable affordance. */
#iswo-header-trigger {
  text-decoration: underline;
  cursor: pointer;
}

#iswo-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(11, 27, 43, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
#iswo-overlay.iswo-open {
  opacity: 1;
  visibility: visible;
}
#iswo-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(11, 27, 43, 0.35);
  padding: 40px 32px 32px;
  text-align: center;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  transform: translateY(14px) scale(.97);
  transition: transform .25s ease;
}
#iswo-overlay.iswo-open #iswo-card {
  transform: translateY(0) scale(1);
}
#iswo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: none;
  background: #F1F3F7;
  color: #64748B;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#iswo-close:hover { background: #E2E8F0; }
#iswo-close svg { flex-shrink: 0; }
#iswo-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #2F9ED0;
  margin-bottom: 10px;
}
#iswo-headline {
  font-size: 26px;
  font-weight: 800;
  color: #1B2A4A;
  line-height: 1.25;
  margin: 0 0 10px;
}
#iswo-headline span { color: #2F9ED0; }
#iswo-sub {
  font-size: 14px;
  color: #64748B;
  line-height: 1.55;
  margin: 0 0 22px;
}

/* ── Form state ────────────────────────────────────────────────────── */
#iswo-form { text-align: left; }
#iswo-email {
  width: 100%;
  box-sizing: border-box;
  font-size: 15px;
  padding: 13px 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  margin-bottom: 12px;
  font-family: inherit;
}
#iswo-email:focus {
  outline: none;
  border-color: #2F9ED0;
}
#iswo-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 18px;
}
#iswo-consent-row input {
  margin-top: 3px;
  flex-shrink: 0;
}
#iswo-consent-row label {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.5;
}
#iswo-error {
  font-size: 12.5px;
  color: #D9534F;
  margin: -6px 0 12px;
  display: none;
}
#iswo-error.iswo-show { display: block; }
#iswo-submit {
  display: block;
  width: 100%;
  background: #2F9ED0;
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(47,158,208,.35);
  box-sizing: border-box;
  cursor: pointer;
  font-family: inherit;
}
#iswo-submit:hover { background: #2787B5; }
#iswo-submit:disabled { opacity: .6; cursor: default; }

/* ── Revealed-code state ───────────────────────────────────────────── */
#iswo-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #F8FBFD;
  border: 1.5px dashed #2F9ED0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
#iswo-code {
  font-family: Consolas, Monaco, monospace;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .06em;
  color: #1B2A4A;
}
#iswo-copy {
  border: none;
  background: transparent;
  color: #2F9ED0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
#iswo-copy:hover { background: rgba(47,158,208,.1); }
#iswo-cta {
  display: block;
  width: 100%;
  background: #8EC33F;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(142,195,63,.35);
  box-sizing: border-box;
  text-align: center;
}
#iswo-cta:hover { background: #7BAF32; }

#iswo-skip {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: #94A3B8;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
@media (max-width: 420px) {
  #iswo-card { padding: 32px 22px 26px; }
  #iswo-headline { font-size: 22px; }
}

/* ── Lowe's promotion variant ─────────────────────────────────────────── */
#iswo-overlay { overflow-y: auto; }
#iswo-card.iswo-lowes { padding: 0; overflow: hidden; max-width: 440px; margin: auto; text-align: center; }
#iswo-card.iswo-lowes * { box-sizing: border-box; }
.iswo-lowes #iswo-close { top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.18); color: #fff; }
.iswo-lowes #iswo-close:hover { background: rgba(255,255,255,.32); }
.lw-head { background: linear-gradient(180deg, #0A5C9E, #004990); color: #fff; padding: 20px 44px 17px; }
.lw-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
#iswo-card .lw-headline { font-size: clamp(17px, 4.8vw, 23px); white-space: nowrap; font-weight: 800; color: #fff; line-height: 1.2; margin: 0; }
.lw-main { padding: 0 24px 22px; }
.lw-photo { position: relative; aspect-ratio: 393 / 160; overflow: hidden; border-radius: 12px; margin: 12px 0 10px; background: #0b6fa8; }
#iswo-card .lw-photo img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 58%; display: block; max-width: none !important; margin: 0; }
.lw-kit { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #516274; }
.lw-price { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lw-was { font-size: 16px; color: #94A3B8; text-decoration: line-through; }
.lw-now { font-size: 30px; font-weight: 800; color: #1B2A4A; letter-spacing: -.01em; }
.lw-off { background: #EAF6FB; color: #2F9ED0; font-weight: 700; font-size: 12px; padding: 4px 9px; border-radius: 999px; }
.lw-perks { display: grid; gap: 8px; margin: 0 0 14px; text-align: left; }
.lw-perk { display: flex; align-items: center; gap: 13px; padding: 10px 14px; border-radius: 12px; background: #F7FAFC; border: 1px solid #E4EAF0; }
.lw-ico { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; }
.lw-gift { background: #8EC33F; }
.lw-cruise { background: #2F9ED0; }
.lw-perk b { white-space: nowrap; display: block; font-size: 15px; font-weight: 700; color: #1B2A4A; line-height: 1.3; }
.lw-perk small { display: block; font-size: 12.5px; color: #64748B; line-height: 1.4; margin-top: 1px; }
.lw-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 14px; background: #004990; color: #fff !important; border-radius: 11px; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2; box-shadow: 0 6px 16px rgba(0,73,144,.3); transition: background .18s, transform .18s; }
.lw-btn:hover, .lw-btn:focus-visible { background: #003a75; transform: translateY(-1px); color: #fff !important; }
#iswo-card .lw-btn img { display: block; height: 26px !important; width: 79px !important; max-width: none !important; flex-shrink: 0; margin: 0; }
.lw-btn span, .lw-btn b { white-space: nowrap; }
.lw-btn b { font-weight: 800; font-size: 17px; }
.lw-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lw-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #1B2A4A; line-height: 1.3; }
.lw-steps li > span, .lw-steps li > a { color: #1B2A4A; }
.lw-steps li > a { text-decoration: underline; text-decoration-color: #2F9ED0; text-underline-offset: 2px; }
.lw-steps b { width: 22px; height: 22px; border-radius: 50%; background: #EAF6FB; color: #2F9ED0; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lw-form { margin: 14px 0 0; padding: 14px; background: #F7FAFC; border: 1px solid #E4EAF0; border-radius: 12px; text-align: left; }
.lw-form[hidden], .lw-done[hidden] { display: none; }
.lw-form-label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #1B2A4A; }
.lw-form-row { display: flex; gap: 8px; }
.lw-form-row input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 11px 12px; border: 1.5px solid #E2E8F0; border-radius: 10px; background: #fff; }
.lw-form-row input:focus { outline: none; border-color: #2F9ED0; }
.lw-submit { flex: 0 0 auto; background: #2F9ED0; color: #fff; border: 0; border-radius: 10px; padding: 0 18px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(47,158,208,.3); }
.lw-submit:hover { background: #2787B5; }
.lw-submit:disabled { opacity: .6; cursor: default; }
.lw-consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; }
.lw-consent input { margin-top: 2px; flex-shrink: 0; }
.lw-consent label { font-size: 11.5px; color: #64748B; line-height: 1.45; }
.lw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lw-error { display: none; margin: 8px 0 0; font-size: 12px; color: #D9534F; }
.lw-error.lw-show { display: block; }
.lw-done { margin: 14px 0 0; padding: 14px; background: #F1F8E6; border: 1px solid #CFE3A8; border-radius: 12px; text-align: center; }
.lw-done b { display: block; font-size: 15px; color: #1B2A4A; margin-bottom: 2px; }
.lw-done span { font-size: 12.5px; color: #516274; line-height: 1.45; }
.iswo-lowes #iswo-skip { margin-top: 8px; }
.lw-fine { margin: 10px 0 0; font-size: 10.5px; color: #94A3B8; line-height: 1.45; }
.lw-fine a { color: #64748B; text-decoration: underline; }
@media (max-width: 420px) {
  .lw-head { padding: 18px 40px 15px; }
  .lw-main { padding: 0 16px 18px; }
  .lw-now { font-size: 27px; }
  .lw-perk { gap: 10px; padding: 11px 10px; }
  .lw-perk b { font-size: 13.5px; }
}

/* Beat the theme's global button styles */
#iswo-card .lw-submit { background: #2F9ED0 !important; color: #fff !important; border: 0 !important; border-radius: 10px !important; padding: 0 18px !important; font-weight: 700 !important; font-size: 14px !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: 0 4px 12px rgba(47,158,208,.3) !important; }
#iswo-card .lw-submit:hover { background: #2787B5 !important; }
#iswo-card .lw-form-row input { height: auto; margin: 0; }
#iswo-card .lw-consent input { width: auto; height: auto; margin: 2px 0 0; }
#iswo-card #iswo-skip { background: none !important; border: 0 !important; color: #94A3B8 !important; }
