/* Restock dialog inherits brand font and the existing .cd-btn button styling. */
.mra-btn { inline-size: 100%; cursor: pointer; min-block-size: 44px; }
.mra-dialog {
  box-sizing: border-box;
  inline-size: min(420px, calc(100% - 28px));
  max-block-size: calc(100dvh - 28px);
  overflow-x: hidden;
  overflow-y: auto;
  border: none;
  padding: 0;
  border-radius: 20px;
  background: #fff;
  color: #3a3a46;
  font: inherit;
  box-shadow: 0 18px 72px rgb(32 17 45 / 24%);
}
.mra-dialog::backdrop { background: rgb(31 20 39 / 66%); }
.mra-panel { padding: 24px; position: relative; }
.mra-panel h2 { color: #3a3a46; font-size: 21px; line-height: 1.35; margin: 2px 35px 8px 0; }
.mra-product { font-weight: 650; margin: 0 0 14px; }
.mra-close { position: absolute; top: 12px; left: 12px; background: #f8eef5; border: 0; border-radius: 50%; height: 34px; width: 34px; font-size: 26px; line-height: 1; cursor: pointer; }
.mra-form { display: grid; gap: 14px; }
.mra-field { display: grid; gap: 7px; font-size: 14px; font-weight: 650; }
.mra-field input { inline-size: 100%; border: 1px solid #d6ccd8; border-radius: 9px; min-block-size: 44px; padding-inline: 10px; font: inherit; direction: ltr; text-align: left; }
.mra-consent { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 12px; line-height: 1.65; }
.mra-submit { inline-size: 100%; min-block-size: 44px; font: inherit; }
.mra-status { min-block-size: 1em; font-size: 13px; margin: 0; line-height: 1.5; }
.mra-hp { position: absolute; inset-inline-start: 0; inset-block-start: 0; block-size: 0; inline-size: 0; overflow: hidden; opacity: 0; pointer-events: none; }
.mra-dialog [hidden] { display: none !important; }
.mra-dialog :focus-visible { outline: 3px solid #187d83; outline-offset: 3px; }
@media (max-width: 520px) {
  .mra-panel { padding: 22px 16px; }
  .mra-panel h2 { font-size: 19px; }
}
.mra-consent input { accent-color: #c00068; inline-size: 17px; block-size: 17px; flex: 0 0 auto; margin-top: 2px; }
.mra-consent span { flex: 1 1 auto; }
.mra-marketing { padding: 10px 12px; border-radius: 12px; background: #fdf1f7; border: 1px solid #f6cfe2; font-size: 13px; font-weight: 650; }
.mra-login { margin: 0; font-size: 12px; line-height: 1.6; color: #6b6b78; }
.mra-login a { color: #c00068; font-weight: 700; }
.mra-pdp { margin-block: 12px; }
.mra-pdp .mra-btn { min-block-size: 48px; }
.mra-optout { margin: 0; font-size: 12px; }
.mra-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #6b6b78; text-decoration: underline; cursor: pointer; }
.mra-terms { color: #c00068; font-weight: 700; white-space: nowrap; }
.mra-channel { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: #eefaf2; border: 1px solid #bfe6cd; color: #1f3d2b; text-decoration: none; text-align: center; }
.mra-channel__text { font-size: 13px; font-weight: 700; line-height: 1.5; }
.mra-channel__btn { justify-self: center; padding: 7px 14px; border-radius: 999px; background: #1fa855; color: #fff; font-size: 13px; font-weight: 700; }
.mra-channel:hover .mra-channel__btn, .mra-channel:focus-visible .mra-channel__btn { background: #178a45; }
