/* Изолированная версия утверждённого светлого компактного окна. */
#omf-first-massage { position:fixed; inset:0; width:470px; max-width:calc(100vw - 24px); max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px); margin:auto; padding:0; border:0; border-radius:16px; background:#fff; color:#2f4135; font:400 16px/1.5 'Jost',sans-serif; box-shadow:0 12px 35px #182b2529; overflow:auto; overscroll-behavior:contain; text-align:left; }
#omf-first-massage:not([open]) { display:none; }
#omf-first-massage::backdrop { background:rgba(32,34,29,.65); }
#omf-first-massage * { box-sizing:border-box; }
#omf-first-massage [hidden] { display:none!important; }
#omf-first-massage :is(button,a,label[for]) { cursor:pointer; }
#omf-first-massage :is(button,a,input,h2):focus-visible { outline:2px solid #405b48; outline-offset:4px; }
#omf-first-massage button { font-family:inherit; text-transform:none; letter-spacing:0; min-height:44px; }
#omf-first-massage .omf-fm-close { position:absolute; top:10px; right:10px; z-index:2; isolation:isolate; width:44px; height:44px; padding:13px; margin:0; border:0; border-radius:50%; background:transparent; color:#40352f; display:grid; place-items:center; }
#omf-first-massage .omf-fm-close::before { content:''; position:absolute; inset:5px; z-index:-1; border-radius:50%; background:#fcf8f3; }
#omf-first-massage .omf-fm-close svg { width:18px; height:18px; }
#omf-first-massage .omf-fm-close:hover::before { background:#e7ddd3; }
#omf-first-massage .omf-fm-close:focus-visible { outline-offset:-4px; }
#omf-first-massage .omf-fm-photo { height:176px; overflow:hidden; background:#ddc6b3; }
#omf-first-massage .omf-fm-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 46%; border-radius:0; }
#omf-first-massage .omf-fm-content { padding:24px 30px 28px; }
#omf-first-massage h2 { margin:8px 0 20px; padding:0; font:400 33px/1.12 'Jost',sans-serif; letter-spacing:-.025em; color:inherit; text-transform:none; text-wrap:balance; }
#omf-first-massage .omf-fm-offers { display:grid; gap:8px; margin:0 0 16px; }
#omf-first-massage .omf-fm-offer-row { display:flex; justify-content:space-between; align-items:center; gap:6px; padding:12px 14px; border:0; border-radius:8px; background:#f1f2f0; }
#omf-first-massage .omf-fm-or { text-align:center; font:400 10px/1 'Jost',sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#526458; }
#omf-first-massage #omf-first-massage-title { text-align:center; }
#omf-first-massage .omf-fm-offer-row h3 { margin:0; padding:0; font:400 17px/1.35 'Jost',sans-serif; color:inherit; text-transform:none; letter-spacing:0; }
#omf-first-massage .omf-fm-offer-row p { margin:3px 0 0; font:400 12px/1.5 'Jost',sans-serif; color:#526458; }
#omf-first-massage .omf-fm-amount { font:400 27px/1.2 'Jost',sans-serif; letter-spacing:-.02em; white-space:nowrap; font-variant-numeric:tabular-nums; }
#omf-first-massage .omf-fm-eligibility { margin:7px 0 0; font:400 12px/1.5 'Jost',sans-serif; color:#526458; text-align:center; }
#omf-first-massage ::selection { background:#dce8dc; color:#2f4135; }
#omf-first-massage input { caret-color:#405b48; }
#omf-first-massage form { margin:0; padding:0; }
#omf-first-massage .omf-fm-honey { display:none; }
#omf-first-massage .omf-fm-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
#omf-first-massage .omf-fm-fields label { display:flex; flex-direction:column; gap:6px; margin:0; font:400 13px/1.5 'Jost',sans-serif; min-width:0; }
#omf-first-massage .omf-fm-fields input { width:100%; height:48px; margin:0; padding:0 13px; border:1px solid #85998a; border-radius:5px; background:#f7f9f6; color:#2f4135; font:400 16px/1.5 'Jost',sans-serif; box-shadow:none; }
#omf-first-massage input::placeholder { color:#586b5d; opacity:1; }
#omf-first-massage input:hover,#omf-first-massage input:focus { border-color:#2f4135; }
#omf-first-massage input[aria-invalid=true] { border:2px solid #9a1f34; }
#omf-first-massage .omf-fm-submit { display:block; width:100%; min-height:52px; margin:18px 0 0; padding:14px 16px; border:0; border-radius:28px; background:#405b48; color:#fff; font:500 16px/1.5 'Jost',sans-serif; text-align:center; }
#omf-first-massage .omf-fm-submit:hover { background:#354d3c; text-decoration:underline; text-underline-offset:4px; }
#omf-first-massage button:active { transform:translateY(1px); }
#omf-first-massage button:disabled { cursor:wait; opacity:.7; }
#omf-first-massage .omf-fm-consent { margin:14px 0 0; font:400 12px/1.5 'Jost',sans-serif; color:#526458; text-wrap:pretty; }
#omf-first-massage .omf-fm-consent a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
#omf-first-massage .omf-fm-consent a:hover { text-decoration-thickness:2px; }
#omf-first-massage .omf-fm-error { color:#9a1f34; margin:12px 0 0; font:400 13px/1.45 'Jost',sans-serif; }
#omf-first-massage .omf-fm-success { padding:52px 40px 46px; text-align:center; }
#omf-first-massage .omf-fm-check { display:grid; place-items:center; width:80px; height:80px; margin:0 auto 26px; border-radius:50%; background:#2c8648; color:#fff; }
#omf-first-massage .omf-fm-check svg { width:51px; height:51px; }
#omf-first-massage .omf-fm-success h2 { max-width:340px; margin:0 auto 18px; font-size:38px; }
#omf-first-massage .omf-fm-success p { margin:0 auto; max-width:350px; color:#526458; font:400 16px/1.6 'Jost',sans-serif; text-wrap:pretty; }
html.omf-fm-open { overflow:hidden; }
/* Предыдущее автоматическое предложение на главной заменено новым окном. */
.home-release-20260924-trial-banner { display:none!important; }
@media(max-width:620px) {
  #omf-first-massage { max-width:calc(100vw - 16px); max-height:calc(100vh - 16px); max-height:calc(100dvh - 16px); }
  #omf-first-massage .omf-fm-content { padding:14px 18px 16px; }
  #omf-first-massage .omf-fm-photo { height:144px; height:clamp(120px,22svh,160px); }
  #omf-first-massage .omf-fm-photo img { object-position:center 46%; }
  #omf-first-massage h2 { margin:0 0 8px; font-size:25px; }
  #omf-first-massage .omf-fm-offers { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:stretch; gap:8px; margin-bottom:12px; }
  #omf-first-massage .omf-fm-offer-row { flex-direction:column; justify-content:space-between; gap:3px; padding:8px 4px; text-align:center; }
  #omf-first-massage .omf-fm-offer-row>div { min-height:0; }
  #omf-first-massage .omf-fm-offer-row h3 { font-size:15px; }
  #omf-first-massage .omf-fm-offer-row p { margin-top:1px; font-size:12px; line-height:1.35; }
  #omf-first-massage .omf-fm-or { align-self:center; }
  #omf-first-massage .omf-fm-amount { font-size:24px; }
  #omf-first-massage .omf-fm-eligibility { margin:6px 0 0; line-height:1.35; text-align:center; }
  #omf-first-massage .omf-fm-fields { grid-template-columns:1fr; gap:8px; }
  #omf-first-massage .omf-fm-fields label { gap:3px; font-size:12px; line-height:1.4; }
  #omf-first-massage .omf-fm-fields input { height:44px; }
  #omf-first-massage .omf-fm-submit { min-height:44px; margin-top:12px; padding:10px 12px; line-height:1.4; }
  #omf-first-massage .omf-fm-consent { margin-top:10px; line-height:1.35; }
  #omf-first-massage .omf-fm-success { padding:52px 24px 38px; }
  #omf-first-massage .omf-fm-success h2 { font-size:34px; }
  #omf-first-massage .omf-fm-success p { font-size:15px; }
}
@media(max-width:360px) {
  #omf-first-massage .omf-fm-content { padding:12px 16px 14px; }
  #omf-first-massage #omf-first-massage-title { font-size:22px; }
  #omf-first-massage .omf-fm-amount { font-size:24px; }
  #omf-first-massage .omf-fm-offer-row h3 { font-size:15px; }
  #omf-first-massage .omf-fm-offer-row p { font-size:11px; }
}
@media(max-width:620px) and (max-height:620px) {
  #omf-first-massage .omf-fm-photo { height:120px; }
  #omf-first-massage .omf-fm-content { padding-top:8px; padding-bottom:10px; }
  #omf-first-massage .omf-fm-offers { margin-bottom:8px; }
  #omf-first-massage .omf-fm-offer-row>div { min-height:0; }
  #omf-first-massage .omf-fm-offer-row p { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { #omf-first-massage * { animation:none!important; transition:none!important; } }
