@font-face { font-family: PopupManrope; src: url(../assets/manrope.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: PopupSerif; src: url(../assets/dm-serif-text.woff2) format("woff2"); font-display: swap; }
#rt-campaign-popup {
  width: min(920px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; overflow: auto; background: transparent; border: 0;
  color: #232323; font: 500 17px/1.58 PopupManrope, sans-serif;
}
#rt-campaign-popup::backdrop { background: rgb(0 0 0 / 65%); }
.rt-popup-card { position: relative; display: grid; grid-template-columns: 400fr 520fr; background: #fbfdfd; border-radius: 32px; }
.rt-popup-card picture { position: relative; display: block; min-width: 0; }
.rt-popup-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 32px 0 0 32px; }
.rt-popup-body { display: flex; flex-direction: column; min-height: 600px; padding: 64px clamp(32px, 4vw, 56px) 52px; }
#rt-campaign-popup p { margin: 0; }
#rt-campaign-popup h2 { margin: 15px 0 18px; max-width: 360px; color: #005468; font: 400 46px/1.06 PopupSerif, Georgia, serif; }
.rt-popup-eyebrow { color: #547d32; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
#rt-campaign-popup .rt-popup-example { display: flex; align-items: center; gap: 16px; margin: 26px 0 28px; padding: 14px 20px; border-radius: 18px; background: #ebf7fc; color: #005468; font-size: 15px; line-height: 1.4; }
.rt-popup-example strong { color: #547d32; font: 400 32px/1 PopupSerif, Georgia, serif; }
.rt-popup-actions { display: flex; align-items: center; gap: 28px; margin-top: auto; }
#rt-campaign-popup .rt-popup-actions a { display: grid; place-items: center; min-height: 54px; min-width: 179px; padding: 0 20px; border-radius: 27px; background: #547d32; color: white; font-weight: 700; text-decoration: none; }
#rt-campaign-popup .rt-popup-actions a:hover { background: #426326; }
#rt-campaign-popup button { border: 0; font: inherit; color: #005468; cursor: pointer; }
#rt-campaign-popup .rt-popup-later { padding: 8px 0; background: transparent; text-decoration: underline; font-size: 15px; }
#rt-campaign-popup .rt-popup-close { position: absolute; z-index: 2; top: 20px; right: 20px; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #ebf7fc; font-size: 27px; line-height: 1; }
.rt-popup-star, .rt-popup-flower, .rt-popup-flower-mobile { position: absolute; pointer-events: none; z-index: 1; }
.rt-popup-star { top: 0; left: 32%; width: clamp(86px, 13vw, 150px); transform: translateY(-35%); }
.rt-popup-flower { bottom: 0; left: 0; transform: translate(-35%, 30%); }
.rt-popup-mobile, .rt-popup-flower-mobile { display: none; }
@media (min-width: 681px) and (min-height: 700px) {
  #rt-campaign-popup { padding: 54px 46px 40px; width: min(1012px, calc(100% - 16px)); }
}
@media (max-width: 680px) {
  #rt-campaign-popup { width: min(350px, calc(100% - 24px)); font-size: 16px; }
  .rt-popup-card { display: block; border-radius: 28px; }
  .rt-popup-card picture { aspect-ratio: 350 / 228; }
  .rt-popup-photo { border-radius: 28px 28px 0 0; }
  .rt-popup-body { min-height: 0; padding: 30px 28px 22px; }
  #rt-campaign-popup h2 { margin: 11px 0 13px; font-size: 32px; }
  #rt-campaign-popup .rt-popup-example, .rt-popup-desktop, .rt-popup-star, .rt-popup-flower { display: none; }
  .rt-popup-mobile, .rt-popup-flower-mobile { display: block; }
  .rt-popup-flower-mobile { top: max(0px, calc((min(350px, 100vw - 24px)) * .6514 - 42px)); right: 28px; }
  .rt-popup-actions { margin-top: 24px; flex-direction: column; gap: 4px; }
  .rt-popup-actions a { width: 100%; }
  #rt-campaign-popup .rt-popup-close { top: 14px; right: 14px; background: #fbfdfd; }
}
