.offer {
  --offer-bg: #FAEEF2; --offer-ink: #2E1B2E; --offer-muted: #7A6674;
  position: fixed; inset: 0; margin: auto; padding: 0; border: 1px solid #D9CFBC;
  width: min(480px, calc(100% - 32px)); max-width: 900px; max-height: calc(100dvh - 32px);
  background: var(--offer-bg); color: var(--offer-ink); border-radius: 4px;
  overflow: auto; overscroll-behavior: contain; box-shadow: 0 24px 90px #2E1B2E26;
  letter-spacing: 0; font-family: var(--f-body); font-weight: 400;
}
.offer::backdrop { background: #2E1B2E66; }
.offer[open] { animation: offer-enter .42s cubic-bezier(.2,.8,.2,1) both; }
.offer--blush { --offer-bg: #E9C4D1; --offer-muted: #644D5D; }
.offer--ink { --offer-bg: #2E1B2E; --offer-ink: #FAEEF2; --offer-muted: #E9C4D1; }
.offer__close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 0; background: var(--offer-bg); color: var(--offer-ink); }
.offer svg { width: 18px; height: 18px; flex: 0 0 auto; }
.offer button, .offer a { transition: opacity .2s, transform .2s; letter-spacing: 0; }
.offer button:hover, .offer a:hover { opacity: .78; }
.offer button:active { transform: translateY(1px); }
.offer :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.offer__content { padding: 42px 36px 28px; text-align: center; min-width: 0; }
.offer__brand { display: flex; align-items: center; justify-content: center; gap: 10px; font: 20px var(--f-display); margin-bottom: 28px; }
.offer__brand img { width: 34px; height: 30px; }
.offer .offer__title { font: 32px/1.16 var(--f-display); letter-spacing: 0; text-wrap: balance; overflow-wrap: anywhere; }
.offer__message { font-size: 14px; line-height: 1.6; color: var(--offer-muted); margin: 14px 0 22px; overflow-wrap: anywhere; white-space: pre-line; }
.offer__saving { font: 32px/1.2 var(--f-display); margin-bottom: 12px; }
.offer__saving--text { font-size: 24px; line-height: 1.35; overflow-wrap: anywhere; white-space: pre-line; text-wrap: balance; }
.offer__code { font: 500 15px/1.5 var(--f-body); border-block: 1px solid #D9CFBC; padding: 12px 4px; margin: 0 0 18px; user-select: all; overflow-wrap: anywhere; }
.offer__button { min-height: 48px; padding: 12px 18px; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; background: var(--offer-ink); color: var(--offer-bg); font: 500 14px/1.5 var(--f-body); border-radius: 2px; overflow-wrap: anywhere; }
.offer__button:disabled { opacity: .55; cursor: wait; }
.offer__feedback { min-height: 36px; padding-top: 6px; font-size: 12px; line-height: 1.4; }
.offer__shop { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; }
.offer__terms { margin-top: 16px; font-size: 11px; line-height: 1.6; color: var(--offer-muted); }
.offer--editorial { width: min(840px, calc(100% - 40px)); }
.offer--editorial[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.offer__photo { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center 28%; }
.offer--sheet { inset: auto 24px 24px auto; margin: 0; width: 380px; }
.offer--sheet::backdrop { background: #2E1B2E33; }
.offer--sheet .offer__content { padding: 32px 28px 24px; }
.offer--sheet .offer__brand { margin-bottom: 18px; }
.offer--sheet .offer__title { font-size: 26px; }
.offer--sheet .offer__message { margin-bottom: 18px; }
@keyframes offer-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .offer__content { padding: 40px 24px 24px; }
  .offer .offer__title { font-size: 28px; }
  .offer--editorial[open] { display: block; width: min(440px, calc(100% - 24px)); }
  .offer__photo { height: 200px; min-height: 0; object-position: center 35%; }
  .offer--editorial .offer__content { padding-top: 22px; }
  .offer--editorial .offer__brand { margin-bottom: 16px; }
  .offer--sheet { inset: auto 0 0; width: 100%; max-width: none; max-height: 92dvh; border-radius: 6px 6px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}
@media (prefers-reduced-motion: reduce) { .offer[open] { animation: none; } .offer button, .offer a { transition: none; } }
