.mdp-bis-form h3 {
  margin-bottom: 10px;
}

.mdp-bis-confirmed {
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid #86c9a8;
  border-left: 4px solid #16835b;
  border-radius: 8px;
  background: #effaf5;
  color: #14553e;
  line-height: 1.45;
}

.mdp-bis-signup-copy {
  margin: 0 0 16px;
  color: #52525b;
  line-height: 1.55;
}

.mdp-bis-social-proof,
.mdp-bis-restock-estimate {
  margin: 10px 0 16px;
  padding: 10px 12px;
  border-radius: 7px;
  background: #f5f3ff;
  color: #3f3f46;
  font-size: .92em;
  line-height: 1.45;
}

.mdp-bis-social-proof { font-weight: 700; }

.mdp-bis-product-context {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 22px;
  padding: 13px;
  border-radius: 9px;
  background: #fafafa;
}

.mdp-bis-product-context img {
  width: 78px;
  height: 78px;
  border-radius: 7px;
  object-fit: contain;
}

.mdp-bis-product-context strong,
.mdp-bis-product-context span {
  display: block;
}

.mdp-bis-product-context span {
  margin-top: 4px;
  color: #b32d2e;
  font-size: .9em;
}

.mdp-bis-style-minimal .mdp-bis-product-context {
  display: none;
}

.mdp-bis-style-spotlight .mdp-bis-product-context {
  display: grid;
  text-align: center;
}

.mdp-bis-style-spotlight .mdp-bis-product-context img {
  width: 150px;
  height: 150px;
  margin: auto;
}

.mdp-bis-style-card {
  border-top: 7px solid var(--mdp-bis-accent, #4f46e5);
}

.mdp-bis-style-compact {
  max-width: 820px;
  padding: 20px;
}

.mdp-bis-style-compact .mdp-bis-product-context {
  float: left;
  width: 190px;
  margin: 0 22px 12px 0;
}

.mdp-bis-style-compact .mdp-bis-product-context img {
  width: 54px;
  height: 54px;
}

.mdp-bis-style-compact .mdp-bis-privacy,
.mdp-bis-style-compact .mdp-bis-message {
  clear: both;
}

.mdp-bis-style-outline {
  border: 2px solid var(--mdp-bis-accent, #4f46e5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.mdp-bis-card-notify {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  text-decoration: none !important;
}

.fct-product-modal .mdp-bis-popup-notice {
  display: none;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid #d4d4d8;
  border-left: 4px solid var(--mdp-bis-accent, #4f46e5);
  border-radius: 8px;
  background: #fff;
}

.fct-product-modal .mdp-bis-popup-notice.is-visible {
  display: block;
}

.mdp-bis-popup-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(210px, .8fr) auto;
  gap: 12px;
  align-items: end;
}

.mdp-bis-popup-copy {
  align-self: center;
}

.mdp-bis-popup-copy strong,
.mdp-bis-popup-copy span {
  display: block;
}

.mdp-bis-popup-copy strong {
  margin-bottom: 3px;
  font-size: 15px;
}

.mdp-bis-popup-copy span {
  color: #52525b;
  font-size: 13px;
  line-height: 1.35;
}

.mdp-bis-popup-email {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

.mdp-bis-popup-email input {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px 8px 15px;
  padding-left: 15px !important;
  border: 1px solid #a7aaad;
  border-radius: 6px;
  font: inherit;
}

.mdp-bis-popup-form .mdp-bis-button {
  min-height: 40px;
  margin: 0;
  padding: 8px 15px;
  white-space: nowrap;
}

.mdp-bis-popup-form .mdp-bis-message {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  font-size: 13px;
}

@media (max-width: 720px) {
  .mdp-bis-style-compact .mdp-bis-product-context {
    float: none;
    width: auto;
    margin: 0 0 18px;
  }

  .fct-product-modal .mdp-bis-popup-notice {
    margin: 0 0 10px;
    padding: 12px;
    border-left-width: 3px;
  }

  .mdp-bis-popup-form {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .mdp-bis-popup-form .mdp-bis-button {
    width: 100%;
  }
}
