/* mfbasket — «В корзину» рядом с «Оформить и оплатить» */
.mfbk-row { display: flex; gap: 8px; margin-top: 14px; }
.mfbk-row > .mfc-buy { flex: 1 1 auto; min-width: 0; margin-top: 0 !important; padding-left: 10px; padding-right: 10px; white-space: nowrap; }
.mfbk-add { flex: 0 0 auto; min-height: 54px !important; border-radius: 12px !important; border: 1.5px solid var(--mfk-accent, #e5303d) !important; background: #fff !important;
  color: var(--mfk-accent, #e5303d) !important; font-size: 16px; font-weight: 700; white-space: nowrap; padding: 0 14px !important; }
.mfbk-add:hover:not(:disabled) { background: color-mix(in srgb, var(--mfk-accent, #e5303d) 7%, #fff) !important; }
.mfbk-add.is-in, .mfbk-ico.is-in { border-color: #1a9b53 !important; color: #1a9b53 !important; background: #f1faf4 !important; }
.mfbk-ico { display: none; }
@media (max-width: 1100px) and (min-width: 861px) { .mfbk-row { flex-direction: column; } .mfbk-row > .mfc-buy, .mfbk-add { flex: none; width: 100%; } }
@media (max-width: 860px) {
  .mfbk-row { display: contents; }
  .mfbk-add { display: none !important; }
  .mfc-bar .mfbk-ico { display: inline-flex; flex: none; width: 50px; height: 50px; padding: 0 !important; border-radius: 12px; border: 1.5px solid var(--mfk-accent, #e5303d);
    background: #fff; color: var(--mfk-accent, #e5303d); }
  .mfc-bar .mfbk-ico svg { width: 22px; height: 22px; }
  .mfc-bar { gap: 8px !important; }
  .mfc-bar [data-a="basket"] { padding: 0 16px !important; }
}

.mfbk-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; }
.mfbk-sh { position: relative; width: 100%; max-width: 420px; 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; }
.mfbk-x { position: absolute; top: 6px; right: 6px; width: 38px; height: 38px; border: 0; background: none; font-size: 24px; line-height: 1; color: #8a8f98; cursor: pointer; }
.mfbk-ttl { font-size: 19px; font-weight: 700; line-height: 1.25; margin: 0 34px 8px 0; }
.mfbk-txt { font-size: 14px; line-height: 1.45; color: #5b6370; margin: 0 0 16px; }
.mfbk-acts { display: flex; gap: 8px; }
.mfbk-b { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px; border: 1.5px solid #dcdfe4; border-radius: 12px; background: #fff;
  color: #1f2329 !important; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none !important; white-space: nowrap; box-sizing: border-box; }
.mfbk-b--main { border-color: var(--mfk-accent, var(--theme-base-color, #e5303d)); background: var(--mfk-accent, var(--theme-base-color, #e5303d)); color: #fff !important; }

.mfbk-toast { position: fixed; right: 24px; bottom: 24px; z-index: 2147483500; width: 380px; max-width: calc(100vw - 24px); box-sizing: border-box; background: #fff; color: #1f2329;
  border-radius: 16px; padding: 14px 14px 12px; box-shadow: 0 16px 48px rgba(15,18,24,.22); font-family: inherit; animation: mfbkIn .22s ease; transition: opacity .25s, transform .25s; }
.mfbk-toast.out { opacity: 0; transform: translateY(10px); }
@keyframes mfbkIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mfbk-tt { display: flex; gap: 12px; align-items: center; margin: 0 28px 12px 0; }
.mfbk-tt img { flex: none; width: 60px; height: 60px; object-fit: cover; border-radius: 10px; background: #f1eee9; }
.mfbk-tt div { min-width: 0; }
.mfbk-tt b { display: flex; align-items: center; gap: 6px; font-size: 15px; color: #1a9b53; margin: 0 0 2px; }
.mfbk-tt span { display: block; font-size: 13px; line-height: 1.4; color: #1f2329; }
.mfbk-tt small { display: block; font-size: 12px; color: #8a8f98; margin-top: 2px; }
.mfbk-toast .mfbk-b { min-height: 42px; font-size: 14px; }
@media (max-width: 860px) {
  .mfbk-toast { left: 12px; right: 12px; width: auto; max-width: none; bottom: 90px; }
}
