.cfr-rename, .cfr-rename__layer, .cfr-rename__layer * { box-sizing: border-box; }
.cfr-rename [hidden], .cfr-rename__layer[hidden] { display: none !important; }
.cfr-rename__footer { max-width: 1200px; margin: 0 auto; padding: 0 20px 18px; }
.cfr-rename__reopen { display: inline-block; border: 0; background: transparent; color: inherit; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 7px 0; }
.cfr-rename__layer { position: fixed; inset: 0; z-index: 100010; display: grid; place-items: center; padding: 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #44425b; }
.cfr-rename__shade { position: absolute; inset: 0; background: rgba(49,42,57,.19); }
.cfr-rename__card { position: relative; width: min(820px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 34px 36px; border: 1px solid #efe8e5; border-radius: 24px; background: #fffaf7; box-shadow: 0 28px 75px rgba(55,44,67,.18); outline: none; }
.cfr-rename__layer button { font-family: inherit; cursor: pointer; }
.cfr-rename__close { position: absolute; right: 17px; top: 14px; z-index: 2; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #44425b; font-size: 30px; line-height: 1; }
.cfr-rename__close:hover { background: #f4e8ef; }
.cfr-rename__eyebrow { margin: 0; color: #a84969; font-size: 11px; font-weight: 750; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.cfr-rename__identity { display: grid; grid-template-columns: 190px 70px 270px; align-items: end; gap: 20px; max-width: 570px; margin: 17px 0 10px; padding-bottom: 17px; border-bottom: 1px solid #e8dfe5; }
.cfr-rename__brand-old, .cfr-rename__brand-new { display: grid; grid-template-rows: 18px 48px; gap: 10px; min-width: 0; align-items: center; }
.cfr-rename__brand-old small, .cfr-rename__brand-new small { display: block; margin-left: 10px; color: #807786; font-size: 12px; font-weight: 700; line-height: 18px; }
.cfr-rename__old-crop { display: block; position: relative; width: 170px; max-width: calc(100% - 10px); aspect-ratio: 170 / 36; overflow: hidden; margin-left: 10px; mix-blend-mode: multiply; }
.cfr-rename__old-crop img { display: block; position: absolute; width: 123.529%; max-width: none; height: auto; left: -10%; top: -52.778%; }
.cfr-rename__brand-new img { display: block; width: 250px; max-width: calc(100% - 10px); height: auto; margin-left: 10px; }
.cfr-rename__arrow { width: 70px; height: 48px; fill: none; stroke: #b95a7d; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cfr-rename__story { display: grid; grid-template-columns: minmax(0,1fr) 315px; align-items: center; gap: 20px; min-height: 300px; }
.cfr-rename__copy { min-width: 0; }
.cfr-rename__copy h2 { margin: 0 0 13px; color: #44425b; font-size: 31px; font-weight: 760; line-height: 1.13; letter-spacing: -.035em; }
.cfr-rename__copy > p:not(.cfr-rename__assurance) { max-width: 490px; margin: 0 0 15px; color: #575367; font-size: 15px; line-height: 1.5; }
.cfr-rename__assurance { position: relative; margin: 0 0 22px; padding: 12px 13px 12px 40px; border-left: 3px solid #c46d8b; border-radius: 0 9px 9px 0; background: #f7eef2; color: #4d495d; font-size: 14px; font-weight: 650; line-height: 1.4; }
.cfr-rename__assurance::before { content: "✓"; position: absolute; left: 12px; top: 13px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e5eee0; color: #4d7446; font-size: 12px; font-weight: 800; }
.cfr-rename__continue { min-height: 46px; padding: 9px 19px; border: 0; border-radius: 10px; background: #44425b; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; }
.cfr-rename__continue:hover { background: #55536d; }
.cfr-rename__mascot { display: block; width: 100%; max-height: 330px; height: auto; object-fit: contain; }
.cfr-rename__layer button:focus-visible, .cfr-rename__reopen:focus-visible { outline: 3px solid #dc567c; outline-offset: 3px; }
body.cfr-rename-modal-open .cookie-banner { visibility: hidden !important; }

/* On purchase pages the same card sits in document flow and never blocks a form. */
.cfr-rename__layer.cfr-rename__layer--compact { position: static; display: block; padding: 12px 15px; }
.cfr-rename__layer--compact .cfr-rename__shade { display: none; }
.cfr-rename__layer--compact .cfr-rename__card { width: min(820px, 100%); max-height: none; margin: 0 auto; padding: 20px 24px; box-shadow: 0 8px 25px rgba(55,44,67,.12); }
.cfr-rename__layer--compact .cfr-rename__identity, .cfr-rename__layer--compact .cfr-rename__mascot { display: none; }
.cfr-rename__layer--compact .cfr-rename__story { display: block; min-height: 0; }
.cfr-rename__layer--compact .cfr-rename__copy h2 { max-width: 95%; font-size: 22px; }
.cfr-rename__layer--compact .cfr-rename__assurance { margin-bottom: 12px; }

@media (max-height: 680px) and (min-width: 601px) {
  .cfr-rename__card { padding: 22px 28px; }
  .cfr-rename__identity { margin: 8px 0; padding-bottom: 8px; }
  .cfr-rename__story { min-height: 0; }
  .cfr-rename__mascot { max-height: 230px; }
}
@media (max-width: 600px) {
  .cfr-rename__layer { align-items: end; padding: 0; }
  .cfr-rename__card { width: 100%; max-height: calc(100vh - 8px); max-height: calc(100dvh - 8px); padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  .cfr-rename__close { right: 10px; top: 8px; width: 40px; height: 40px; }
  .cfr-rename__eyebrow { display: none; }
  .cfr-rename__identity { display: block; margin: 0 36px 8px 0; padding: 0; border: 0; }
  .cfr-rename__brand-old, .cfr-rename__arrow { display: none; }
  .cfr-rename__brand-new { display: block; }
  .cfr-rename__brand-new small { margin: 0 0 6px; color: #887587; font-size: 11px; }
  .cfr-rename__brand-new img { width: 210px; max-width: 100%; margin: 0; }
  .cfr-rename__story { display: block; min-height: 0; }
  .cfr-rename__copy h2 { margin: 9px 0 8px; font-size: 21px; line-height: 1.14; }
  .cfr-rename__copy > p:not(.cfr-rename__assurance) { margin: 0 0 10px; font-size: 13px; line-height: 1.45; }
  .cfr-rename__assurance { margin-bottom: 13px; padding: 9px 10px 9px 36px; font-size: 12px; }
  .cfr-rename__assurance::before { left: 9px; top: 10px; }
  .cfr-rename__continue { min-height: 40px; width: 100%; padding: 8px 12px; font-size: 13px; }
  .cfr-rename__mascot { display: none; }
  .cfr-rename__layer--compact { padding: 8px 10px; }
  .cfr-rename__layer--compact .cfr-rename__card { border-radius: 16px; padding: 15px 16px; }
  .cfr-rename__layer--compact .cfr-rename__identity { display: none; }
  .cfr-rename__layer--compact .cfr-rename__copy h2 { font-size: 20px; }
}
@media (max-height: 420px) and (max-width: 850px) {
  .cfr-rename__card { padding-top: 13px; }
  .cfr-rename__brand-new img { width: 140px; }
}
