/* mfone — окно «Купить в 1 клик» */
.mfo-ov { position: fixed; inset: 0; z-index: 2147483600; background: rgba(15,18,24,.55); display: flex; align-items: center; justify-content: center; padding: 16px; font-family: inherit; }
.mfo-sh { position: relative; width: 100%; max-width: 440px; background: #fff; color: #1f2329; border-radius: 20px; padding: 24px 22px 20px; box-shadow: 0 20px 60px rgba(15,18,24,.3); box-sizing: border-box; max-height: 100%; overflow: auto; animation: mfoUp .2s ease; }
.mfo-sh * { box-sizing: border-box; }
@keyframes mfoUp { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.mfo-x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; color: #8a8f98; cursor: pointer; }
.mfo-ttl { font-size: 20px; font-weight: 700; line-height: 1.25; margin: 0 36px 10px 0; }
.mfo-prod { display: flex; gap: 12px; align-items: center; background: #f7f5f2; border-radius: 12px; padding: 10px; margin: 0 0 14px; }
.mfo-prod img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #e4ded5; }
.mfo-prod div { min-width: 0; font-size: 13px; line-height: 1.4; color: #5b6370; }
.mfo-prod b { display: block; font-size: 14px; color: #1f2329; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mfo-txt { font-size: 14px; line-height: 1.45; color: #5b6370; margin: 0 0 14px; }
.mfo-fld { display: block; font-size: 12px; color: #6b7078; margin: 0 0 10px; font-weight: 400; }
.mfo-sh input[type=text], .mfo-sh input[type=tel] { display: block; width: 100%; height: 50px; margin: 4px 0 0; padding: 0 14px; border: 1.5px solid #dcdfe4; border-radius: 12px; background: #fff;
  font-size: 17px; color: #1f2329; outline: none; -webkit-appearance: none; appearance: none; }
.mfo-sh input:focus { border-color: #1f2329; }
.mfo-sh input.bad { border-color: #d93025; }
.mfo-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.mfo-err { min-height: 18px; font-size: 13px; color: #d93025; margin: 0 0 6px; }
.mfo-go { display: block; width: 100%; height: 54px; border: 0; border-radius: 14px; background: var(--theme-base-color, #e5303d); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.mfo-go[disabled] { opacity: .5; cursor: default; }
.mfo-note { font-size: 12px; line-height: 1.45; color: #6b7078; margin: 12px 0 0; text-align: center; }
.mfo-done { text-align: center; padding: 10px 0 4px; }
.mfo-done i { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: #e8f6ee; color: #1a9b53; align-items: center; justify-content: center; font-size: 28px; font-style: normal; margin-bottom: 12px; }
@media (max-width: 600px) { .mfo-ov { align-items: flex-end; padding: 0; } .mfo-sh { border-radius: 20px 20px 0 0; max-width: none; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); } }
