.wcbdp-lock,
.wcbdp-lock body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.wcbdp-overlay,
.wcbdp-overlay *,
.wcbdp-overlay *::before,
.wcbdp-overlay *::after {
  box-sizing: border-box;
}

.wcbdp-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vw, 22px);
  background:
    radial-gradient(circle at 18% 12%, rgba(17, 184, 107, 0.22), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(76, 125, 255, 0.2), transparent 31%),
    rgba(4, 10, 22, 0.76);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  overflow: hidden;
}

.wcbdp-overlay[hidden] {
  display: none !important;
}

.wcbdp-modal {
  --wcbdp-ink: #08111f;
  --wcbdp-ink-2: #101a2c;
  --wcbdp-muted: #5b6a80;
  --wcbdp-line: #dbe5ee;
  --wcbdp-green: #11b86b;
  --wcbdp-green-dark: #087a47;
  --wcbdp-mint: #ecfff4;
  --wcbdp-navy: #071226;
  position: relative;
  width: min(980px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  max-height: calc(100svh - 28px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(22px, 2.5vw, 30px);
  background: #ffffff;
  box-shadow: 0 34px 100px rgba(1, 7, 18, 0.52);
  color: var(--wcbdp-ink);
  outline: none;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wcbdp-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.wcbdp-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 17, 31, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--wcbdp-ink);
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(8, 17, 31, 0.1);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.wcbdp-close span {
  display: block;
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
}

.wcbdp-close:hover,
.wcbdp-close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(8, 17, 31, 0.24);
  background: var(--wcbdp-navy);
  color: #ffffff;
}

.wcbdp-form-view {
  display: grid;
  grid-template-columns: minmax(292px, 0.78fr) minmax(460px, 1.22fr);
  height: auto;
  min-height: 0;
}

.wcbdp-brand-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.4vw, 38px);
  background:
    radial-gradient(circle at 24% 18%, rgba(116, 227, 169, 0.18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(76, 125, 255, 0.13), transparent 36%),
    linear-gradient(145deg, #071226 0%, #0a1728 58%, #06120d 100%);
  color: #ffffff;
}

.wcbdp-brand-panel::before,
.wcbdp-brand-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.wcbdp-brand-panel::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 96%);
}

.wcbdp-brand-panel::after {
  right: -125px;
  bottom: -125px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(17, 184, 107, 0.2);
  filter: blur(16px);
}

.wcbdp-brand-panel > * {
  position: relative;
  z-index: 1;
}

.wcbdp-brand-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.wcbdp-logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(145deg, #071710, #0b101b 80%);
  color: #55ff9d;
  font-weight: 500;
  letter-spacing: -0.04em;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.wcbdp-brand-top strong {
  display: block;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.wcbdp-brand-top small {
  display: block;
  margin-top: 2px;
  color: #b8c8d9;
  font-size: 12px;
  font-weight: 500;
}

.wcbdp-pill,
.wcbdp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wcbdp-pill {
  border: 1px solid rgba(168, 237, 198, 0.44);
  background: rgba(236, 255, 244, 0.1);
  color: #99f4c4;
}

.wcbdp-pill i,
.wcbdp-mini-card-head i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--wcbdp-green);
  box-shadow: 0 0 0 5px rgba(17, 184, 107, 0.16);
}

.wcbdp-brand-copy {
  margin: 0 0 22px;
}

.wcbdp-brand-copy h3 {
  margin: 15px 0 12px;
  max-width: 360px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 650;
}

.wcbdp-brand-copy p {
  margin: 0;
  max-width: 340px;
  color: #c6d4e4;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 400;
}

.wcbdp-benefits {
  display: grid;
  gap: 9px;
  margin: 6px 0 0;
}

.wcbdp-benefits div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  padding: 9px 11px;
  backdrop-filter: blur(10px);
}

.wcbdp-benefits span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(116, 227, 169, 0.12);
  color: #74e3a9;
  font-size: 10.5px;
  font-weight: 700;
}

.wcbdp-benefits strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.wcbdp-mini-card {
  display: none;
}

.wcbdp-form-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(26px, 3vw, 34px);
  background:
    radial-gradient(circle at 88% 0%, rgba(76, 125, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8fbfd);
}

.wcbdp-modal-head {
  max-width: 520px;
  margin: 0 48px 14px 0;
}

.wcbdp-eyebrow {
  margin-bottom: 11px;
  border: 1px solid #a8edc6;
  background: #effff5;
  color: #007843;
}

.wcbdp-modal h2,
.wcbdp-thanks-view h2 {
  margin: 0;
  color: var(--wcbdp-ink);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 650;
}

.wcbdp-modal p,
.wcbdp-thanks-view p {
  margin: 11px 0 0;
  color: var(--wcbdp-muted);
  font-size: 15px;
  line-height: 1.52;
  font-weight: 400;
}

.wcbdp-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 11px;
}

.wcbdp-form label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--wcbdp-ink-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.wcbdp-form label span b {
  color: #0a8f53;
}

.wcbdp-form input,
.wcbdp-form select,
.wcbdp-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--wcbdp-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 22px rgba(8, 17, 31, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--wcbdp-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  padding: 9px 12px;
  outline: none !important;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.wcbdp-form select {
  cursor: pointer;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, #5b6a80 50%),
    linear-gradient(135deg, #5b6a80 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 50%,
    calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.wcbdp-form textarea {
  min-height: 66px;
  max-height: 66px;
  resize: none;
}

.wcbdp-form input::placeholder,
.wcbdp-form textarea::placeholder {
  color: #8796a8;
  font-weight: 400;
}

.wcbdp-form input:focus,
.wcbdp-form select:focus,
.wcbdp-form textarea:focus {
  border-color: rgba(17, 184, 107, 0.72);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(17, 184, 107, 0.1), 0 0 0 4px rgba(17, 184, 107, 0.12);
}

.wcbdp-form input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
}

.wcbdp-full {
  grid-column: 1 / -1;
}

.wcbdp-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.wcbdp-consent {
  display: flex !important;
  align-items: flex-start;
  flex-direction: row;
  gap: 9px !important;
  margin-top: 0 !important;
  color: var(--wcbdp-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4;
}

.wcbdp-consent input {
  width: 17px;
  height: 17px;
  min-height: 17px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--wcbdp-green);
  box-shadow: none;
}

.wcbdp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #071226 0%, #0a8f53 100%);
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.005em;
  padding: 12px 18px;
  box-shadow: 0 16px 38px rgba(7, 18, 38, 0.2), 0 10px 26px rgba(17, 184, 107, 0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.wcbdp-submit i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.16);
  font-style: normal;
}

.wcbdp-submit:hover,
.wcbdp-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(7, 18, 38, 0.23), 0 13px 32px rgba(17, 184, 107, 0.19);
}

.wcbdp-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.wcbdp-error {
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 14px;
  background: rgba(254, 226, 226, 0.92);
  color: #991b1b;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
}

.wcbdp-thanks-view {
  min-height: min(520px, calc(100vh - 28px));
  min-height: min(520px, calc(100svh - 28px));
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 44px);
  background:
    radial-gradient(circle at 18% 12%, rgba(17, 184, 107, 0.14), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(76, 125, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8fbfd);
  text-align: center;
}

.wcbdp-thanks-view[hidden],
.wcbdp-form-view[hidden] {
  display: none !important;
}

.wcbdp-success-card {
  width: min(100%, 560px);
  border: 1px solid var(--wcbdp-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(8, 17, 31, 0.1);
  padding: clamp(24px, 3.4vw, 38px);
}

.wcbdp-success-card .wcbdp-pill {
  margin: 0 auto 14px;
  border-color: #a8edc6;
  background: #effff5;
  color: #007843;
}

.wcbdp-check {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #071226, #11b86b);
  color: #ffffff;
  font-size: 39px;
  font-weight: 950;
  box-shadow: 0 18px 45px rgba(17, 184, 107, 0.25);
}

.wcbdp-next-steps {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  text-align: left;
}

.wcbdp-next-steps span {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--wcbdp-line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--wcbdp-ink-2);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px;
}

.wcbdp-next-steps strong {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--wcbdp-mint);
  color: #007843;
  font-size: 12px;
  font-weight: 700;
}

.wcbdp-thanks-view .wcbdp-submit {
  margin-top: 20px;
  min-width: 150px;
}

@media (max-height: 760px) and (min-width: 921px) {
  .wcbdp-modal {
    width: min(940px, calc(100vw - 24px));
  }

  .wcbdp-form-view {
    grid-template-columns: minmax(270px, 0.72fr) minmax(450px, 1.28fr);
  }

  .wcbdp-brand-panel,
  .wcbdp-form-panel {
    padding: 24px;
  }

  .wcbdp-brand-top {
    margin-bottom: 22px;
  }

  .wcbdp-brand-copy h3,
  .wcbdp-modal h2 {
    font-size: clamp(27px, 2.8vw, 34px);
  }

  .wcbdp-brand-copy p,
  .wcbdp-modal p {
    font-size: 13.5px;
    line-height: 1.42;
  }

  .wcbdp-benefits div {
    min-height: 42px;
    padding: 8px 10px;
  }

  .wcbdp-modal-head {
    margin-bottom: 12px;
  }

  .wcbdp-form {
    gap: 8px 10px;
  }

  .wcbdp-form label {
    gap: 4px;
    font-size: 12px;
  }

  .wcbdp-form input,
  .wcbdp-form select,
  .wcbdp-form textarea {
    min-height: 36px;
    border-radius: 12px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .wcbdp-form textarea {
    min-height: 44px;
    max-height: 44px;
  }

  .wcbdp-consent {
    font-size: 10.8px !important;
    line-height: 1.18;
  }

  .wcbdp-submit {
    min-height: 39px;
    padding: 8px 16px;
  }
}

@media (max-width: 920px) {
  .wcbdp-overlay {
    padding: 12px;
  }

  .wcbdp-modal {
    width: min(100%, 680px);
    max-height: calc(100vh - 24px);
    max-height: calc(100svh - 24px);
  }

  .wcbdp-form-view {
    grid-template-columns: 1fr;
  }

  .wcbdp-brand-panel {
    display: block;
    padding: 17px 20px;
  }

  .wcbdp-brand-top {
    margin-bottom: 0;
  }

  .wcbdp-brand-copy,
  .wcbdp-benefits,
  .wcbdp-mini-card {
    display: none;
  }

  .wcbdp-form-panel {
    padding: 24px;
  }

  .wcbdp-modal-head {
    margin-bottom: 15px;
  }
}

@media (max-width: 620px) {
  .wcbdp-overlay {
    padding: 8px;
  }

  .wcbdp-modal {
    width: 100%;
    max-height: calc(100vh - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 22px;
  }

  .wcbdp-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .wcbdp-close span {
    font-size: 24px;
  }

  .wcbdp-brand-panel {
    display: none;
  }

  .wcbdp-form-panel,
  .wcbdp-thanks-view {
    padding: 16px 14px 14px;
  }

  .wcbdp-modal-head {
    margin: 0 40px 10px 0;
  }

  .wcbdp-eyebrow {
    margin-bottom: 8px;
    padding: 6px 9px;
    font-size: 9px;
  }

  .wcbdp-modal h2,
  .wcbdp-thanks-view h2 {
    font-size: clamp(24px, 7.5vw, 31px);
    letter-spacing: -0.052em;
  }

  .wcbdp-modal p,
  .wcbdp-thanks-view p {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.35;
  }

  .wcbdp-form {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .wcbdp-form label {
    gap: 3px;
    font-size: 11.5px;
  }

  .wcbdp-form input,
  .wcbdp-form select,
  .wcbdp-form textarea {
    min-height: 36px;
    border-radius: 11px;
    font-size: 12.5px;
    padding: 8px 10px;
  }

  .wcbdp-form textarea {
    min-height: 44px;
    max-height: 44px;
  }

  .wcbdp-consent {
    gap: 8px !important;
    font-size: 11px !important;
    line-height: 1.22;
  }

  .wcbdp-consent input {
    width: 15px;
    height: 15px;
    min-height: 15px;
  }

  .wcbdp-submit {
    min-height: 40px;
    border-radius: 12px;
    padding: 9px 14px;
    font-size: 12.5px;
  }

  .wcbdp-submit i {
    width: 21px;
    height: 21px;
    border-radius: 8px;
  }

  .wcbdp-error {
    border-radius: 12px;
    font-size: 12px;
    padding: 8px 10px;
  }

  .wcbdp-thanks-view {
    min-height: calc(100vh - 16px);
    min-height: calc(100svh - 16px);
  }

  .wcbdp-success-card {
    border-radius: 21px;
    padding: 20px 15px;
  }

  .wcbdp-check {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    border-radius: 17px;
    font-size: 31px;
  }

  .wcbdp-success-card .wcbdp-pill,
  .wcbdp-next-steps {
    margin-top: 13px;
  }

  .wcbdp-next-steps {
    gap: 7px;
  }

  .wcbdp-next-steps span {
    gap: 8px;
    border-radius: 12px;
    font-size: 12px;
    padding: 8px;
  }

  .wcbdp-next-steps strong {
    width: 23px;
    height: 23px;
    border-radius: 8px;
    font-size: 11px;
  }

  .wcbdp-thanks-view .wcbdp-submit {
    margin-top: 15px;
  }
}

@media (max-height: 680px) and (max-width: 620px) {
  .wcbdp-form-panel,
  .wcbdp-thanks-view {
    padding: 13px;
  }

  .wcbdp-modal-head {
    margin-bottom: 7px;
  }

  .wcbdp-eyebrow,
  .wcbdp-modal p {
    display: none;
  }

  .wcbdp-modal h2 {
    font-size: 24px;
  }

  .wcbdp-form {
    gap: 5px;
  }

  .wcbdp-form label {
    font-size: 11px;
  }

  .wcbdp-form input,
  .wcbdp-form select,
  .wcbdp-form textarea {
    min-height: 33px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .wcbdp-form textarea {
    min-height: 36px;
    max-height: 38px;
  }

  .wcbdp-consent {
    font-size: 10.5px !important;
    line-height: 1.15;
  }

  .wcbdp-submit {
    min-height: 36px;
  }
}

/* Version 1.8.0: consistent modal sizing across homepage, FlowOps and mobile views. */
html body .wcbdp-overlay .wcbdp-modal {
  width: min(920px, calc(100vw - 28px)) !important;
  max-height: calc(100vh - 28px) !important;
  max-height: calc(100svh - 28px) !important;
}

html body .wcbdp-overlay .wcbdp-form-view {
  grid-template-columns: minmax(280px, 0.76fr) minmax(430px, 1.24fr) !important;
  min-height: 0 !important;
}

html body .wcbdp-overlay .wcbdp-brand-panel,
html body .wcbdp-overlay .wcbdp-form-panel {
  min-height: 0 !important;
}

html body .wcbdp-overlay .wcbdp-brand-panel {
  padding: 30px 34px !important;
}

html body .wcbdp-overlay .wcbdp-form-panel {
  padding: 30px !important;
}

html body .wcbdp-overlay .wcbdp-brand-top {
  margin-bottom: 28px !important;
}

html body .wcbdp-overlay .wcbdp-brand-copy {
  margin-bottom: 20px !important;
}

html body .wcbdp-overlay .wcbdp-brand-copy h3 {
  font-size: clamp(28px, 2.6vw, 34px) !important;
}

html body .wcbdp-overlay .wcbdp-brand-copy p {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

html body .wcbdp-overlay .wcbdp-benefits {
  gap: 8px !important;
}

html body .wcbdp-overlay .wcbdp-benefits div {
  min-height: 44px !important;
  padding: 8px 10px !important;
}

html body .wcbdp-overlay .wcbdp-modal-head {
  margin-bottom: 13px !important;
}

html body .wcbdp-overlay .wcbdp-form {
  gap: 8px 10px !important;
}

html body .wcbdp-overlay .wcbdp-form label {
  gap: 4px !important;
}

html body .wcbdp-overlay .wcbdp-form input:not([type="checkbox"]),
html body .wcbdp-overlay .wcbdp-form select {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
}

html body .wcbdp-overlay .wcbdp-form textarea,
html body .wcbdp-overlay .wcbdp-form textarea[name="details"] {
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  resize: none !important;
  overflow: auto !important;
}

html body .wcbdp-overlay .wcbdp-consent {
  margin-top: 0 !important;
  line-height: 1.25 !important;
}

html body .wcbdp-overlay .wcbdp-submit {
  min-height: 42px !important;
  height: 42px !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

@media (max-height: 760px) and (min-width: 921px) {
  html body .wcbdp-overlay .wcbdp-modal {
    width: min(900px, calc(100vw - 24px)) !important;
  }

  html body .wcbdp-overlay .wcbdp-form-view {
    grid-template-columns: minmax(260px, 0.73fr) minmax(420px, 1.27fr) !important;
  }

  html body .wcbdp-overlay .wcbdp-brand-panel,
  html body .wcbdp-overlay .wcbdp-form-panel {
    padding: 22px 24px !important;
  }

  html body .wcbdp-overlay .wcbdp-brand-top {
    margin-bottom: 20px !important;
  }

  html body .wcbdp-overlay .wcbdp-brand-copy h3,
  html body .wcbdp-overlay .wcbdp-modal h2 {
    font-size: clamp(26px, 2.5vw, 32px) !important;
  }

  html body .wcbdp-overlay .wcbdp-brand-copy p,
  html body .wcbdp-overlay .wcbdp-modal p {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  html body .wcbdp-overlay .wcbdp-form input:not([type="checkbox"]),
  html body .wcbdp-overlay .wcbdp-form select {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
  }

  html body .wcbdp-overlay .wcbdp-form textarea,
  html body .wcbdp-overlay .wcbdp-form textarea[name="details"] {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
  }

  html body .wcbdp-overlay .wcbdp-submit {
    height: 38px !important;
    min-height: 38px !important;
  }
}

@media (max-width: 920px) {
  html body .wcbdp-overlay .wcbdp-modal {
    width: min(100%, 680px) !important;
  }

  html body .wcbdp-overlay .wcbdp-form-view {
    grid-template-columns: 1fr !important;
  }

  html body .wcbdp-overlay .wcbdp-brand-panel {
    padding: 15px 18px !important;
  }

  html body .wcbdp-overlay .wcbdp-brand-top {
    margin-bottom: 0 !important;
  }

  html body .wcbdp-overlay .wcbdp-form-panel {
    padding: 22px !important;
  }
}

@media (max-width: 620px) {
  html body .wcbdp-overlay {
    padding: 8px !important;
  }

  html body .wcbdp-overlay .wcbdp-modal {
    width: 100% !important;
    max-height: calc(100vh - 16px) !important;
    max-height: calc(100svh - 16px) !important;
    border-radius: 22px !important;
  }

  html body .wcbdp-overlay .wcbdp-brand-panel {
    display: none !important;
  }

  html body .wcbdp-overlay .wcbdp-form-panel {
    padding: 15px 14px 13px !important;
  }

  html body .wcbdp-overlay .wcbdp-modal-head {
    margin: 0 40px 9px 0 !important;
  }

  html body .wcbdp-overlay .wcbdp-eyebrow {
    margin-bottom: 7px !important;
  }

  html body .wcbdp-overlay .wcbdp-modal h2 {
    font-size: clamp(24px, 7vw, 30px) !important;
  }

  html body .wcbdp-overlay .wcbdp-modal p {
    margin-top: 6px !important;
    font-size: 12.5px !important;
    line-height: 1.3 !important;
  }

  html body .wcbdp-overlay .wcbdp-form {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  html body .wcbdp-overlay .wcbdp-form label {
    gap: 3px !important;
    font-size: 11px !important;
  }

  html body .wcbdp-overlay .wcbdp-form input:not([type="checkbox"]),
  html body .wcbdp-overlay .wcbdp-form select {
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    font-size: 12.5px !important;
    border-radius: 11px !important;
    padding: 7px 10px !important;
  }

  html body .wcbdp-overlay .wcbdp-form textarea,
  html body .wcbdp-overlay .wcbdp-form textarea[name="details"] {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 12.5px !important;
    border-radius: 11px !important;
    padding: 7px 10px !important;
  }

  html body .wcbdp-overlay .wcbdp-consent {
    font-size: 10.7px !important;
    line-height: 1.18 !important;
  }

  html body .wcbdp-overlay .wcbdp-submit {
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 12px !important;
    font-size: 12.5px !important;
  }
}

@media (max-height: 680px) and (max-width: 620px) {
  html body .wcbdp-overlay .wcbdp-form-panel {
    padding: 12px !important;
  }

  html body .wcbdp-overlay .wcbdp-eyebrow,
  html body .wcbdp-overlay .wcbdp-modal p {
    display: none !important;
  }

  html body .wcbdp-overlay .wcbdp-modal h2 {
    font-size: 23px !important;
  }

  html body .wcbdp-overlay .wcbdp-form {
    gap: 5px !important;
  }

  html body .wcbdp-overlay .wcbdp-form input:not([type="checkbox"]),
  html body .wcbdp-overlay .wcbdp-form select {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  html body .wcbdp-overlay .wcbdp-form textarea,
  html body .wcbdp-overlay .wcbdp-form textarea[name="details"] {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }

  html body .wcbdp-overlay .wcbdp-submit {
    height: 34px !important;
    min-height: 34px !important;
  }
}
