/* MODNOTAK: «Уведомить о поступлении». Тёмная тема Upsell — html[data-up-theme=dark].
   Цвета: кнопка сервисная — графит #1c1b1a (оранжевый только для покупки), «уже подписан» — светлая с галочкой. */
.mnotify[hidden], .mnotify-hp, .mnotify-m [hidden] { display: none !important; }
/* артикул нельзя купить — неактивную «В корзину» темы прячем, на её месте наша кнопка */
.mnotify-on > .js-product-block-submit, .mnotify-on .product-cart__submit.js-product-block-submit, .mnotify-on .product__fix-cart-submit { display: none !important; }

.mnotify { display: flex; flex-direction: column; width: 100%; }
.mnotify__btn, .mnotify-lbtn {
    --up-btn-bg: #1c1b1a; --up-btn-bg-hover: #000; --up-btn-bg-active: #000;
    --up-btn-border-color: #1c1b1a; --up-btn-border-color-hover: #000; --up-btn-border-color-active: #000;
    --up-btn-color: #fff; --up-btn-color-hover: #fff; --up-btn-color-active: #fff;
    --up-btn-focus-shadow: rgba(28, 27, 26, .3);
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-weight: 600; white-space: nowrap;
}
.mnotify__btn:hover, .mnotify-lbtn:hover { background: #000; border-color: #000; color: #fff; }
.mnotify__btn:focus-visible, .mnotify-lbtn:focus-visible { outline: 2px solid #ef6c00; outline-offset: 2px; }
.mnotify__icon { flex: none; }
.mnotify__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mnotify__btn.is-subscribed, .mnotify-lbtn.is-subscribed {
    --up-btn-bg: #f1f7f1; --up-btn-border-color: #cfe5d0; --up-btn-color: #1f5f2a;
    background: #f1f7f1; border-color: #cfe5d0; color: #1f5f2a;
}
.mnotify__btn.is-subscribed:hover, .mnotify-lbtn.is-subscribed:hover { background: #e6f2e7; border-color: #b9dbbb; color: #1f5f2a; }

/* список товаров: тонкая кнопка-обводка, чтобы сетка не «тяжелела» */
.mnotify-lbtn { --up-btn-bg: transparent; --up-btn-color: #1c1b1a; background: transparent; color: #1c1b1a; border: 1px solid #1c1b1a; }
.mnotify-lbtn:hover { background: #1c1b1a; color: #fff; }
.mnotify-lbtn--icon { width: auto; min-width: 2.75rem; padding-left: .75rem; padding-right: .75rem; }
.mnotify-lbtn--icon.btn-100 { width: auto; }

html[data-up-theme=dark] .mnotify__btn { --up-btn-bg: #eceae6; --up-btn-border-color: #eceae6; --up-btn-color: #1c1b1a; background: #eceae6; border-color: #eceae6; color: #1c1b1a; }
html[data-up-theme=dark] .mnotify__btn:hover { background: #fff; border-color: #fff; color: #1c1b1a; }
html[data-up-theme=dark] .mnotify-lbtn { border-color: rgba(255, 255, 255, .45); color: #eceae6; }
html[data-up-theme=dark] .mnotify-lbtn:hover { background: #eceae6; border-color: #eceae6; color: #1c1b1a; }
html[data-up-theme=dark] .mnotify__btn.is-subscribed, html[data-up-theme=dark] .mnotify-lbtn.is-subscribed { background: rgba(124, 196, 136, .1); border-color: rgba(124, 196, 136, .3); color: #a5d6ad; }

/* закреплённая панель на телефоне */
.mnotify--fix { flex: 1; width: auto; min-width: 0; }
.mnotify--fix .mnotify__btn { height: 100%; min-height: 2.75rem; }

/* ---------------------------------------------------------------- тема modnotak7
   Кнопка как была у arrived: белая с оранжевой рамкой, Open Sans 12px, высота 44px. */
.mnotify-on > .product__button, .mnotify-on > .products__button { display: none !important; }
.products__cart-flex:has(.mnotify-lbtn--m7) > .products__button[disabled] { display: none !important; }
.mnotify--m7 { display: block; width: auto; }
.mnotify--m7 .mnotify__btn, .mnotify-lbtn.mnotify-lbtn--m7 {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 44px; min-width: 200px; max-width: 100%; padding: 0 20px; box-sizing: border-box;
    border: 2px solid #fd7e15; border-radius: 4px; background: #fff; color: #fd7e15;
    font: 400 12px/1.2 "Open Sans", sans-serif; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s;
}
.mnotify--m7 .mnotify__btn:hover, .mnotify-lbtn.mnotify-lbtn--m7:hover { background: #fd7e15; border-color: #fd7e15; color: #fff; }
.mnotify--m7 .mnotify__btn.is-subscribed, .mnotify-lbtn.mnotify-lbtn--m7.is-subscribed { background: #f1f7f1; border-color: #9fcca3; color: #1f5f2a; }
.mnotify--m7 .mnotify__btn.is-subscribed:hover, .mnotify-lbtn.mnotify-lbtn--m7.is-subscribed:hover { background: #e6f2e7; border-color: #7fbb85; color: #1f5f2a; }
.mnotify-lbtn.mnotify-lbtn--m7 { width: 100%; min-width: 0; }
.product__button-fix .mnotify--m7, .product__button-fix .mnotify--m7 .mnotify__btn { width: 100%; }

/* ---------------------------------------------------------------- окно */
html.mnotify-lock, html.mnotify-lock body { overflow: hidden; }
.mnotify-ov { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(28, 27, 26, .45); opacity: 0; transition: opacity .2s; }
.mnotify-ov.is-open { opacity: 1; }
.mnotify-m { position: relative; width: 100%; max-width: 30rem; max-height: calc(100vh - 2rem); overflow-y: auto; padding: 1.5rem; border-radius: 1rem; background: #fff; color: #1c1b1a; font-size: .9375rem; line-height: 1.4; box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .18); transform: translateY(.75rem) scale(.98); transition: transform .2s; }
.mnotify-ov.is-open .mnotify-m { transform: none; }
.mnotify-m:focus { outline: none; }
.mnotify-m.is-busy .mnotify-m__form { opacity: .6; pointer-events: none; }
.mnotify-m__head { display: flex; align-items: center; gap: .625rem; margin-bottom: 1rem; }
.mnotify-m__ico { flex: none; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: #f3f1ec; color: #1c1b1a; }
.mnotify-m__title { flex: 1; font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.mnotify-m__x { flex: none; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; margin: -.25rem -.25rem -.25rem 0; padding: 0; border: 0; border-radius: .5rem; background: none; color: #8a8680; cursor: pointer; }
.mnotify-m__x:hover { color: #1c1b1a; background: #f3f1ec; }
.mnotify-m__item { display: flex; align-items: center; gap: .875rem; padding: .75rem; margin-bottom: 1rem; border-radius: .75rem; background: #faf9f7; }
.mnotify-m__img { flex: none; width: 3.5rem; height: 3.5rem; border-radius: .5rem; overflow: hidden; background: #fff; }
.mnotify-m__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mnotify-m__info { min-width: 0; }
.mnotify-m__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; }
.mnotify-m__sku { margin-top: .125rem; color: #8a8680; font-size: .8125rem; }
.mnotify-m__intro { margin: 0 0 1rem; color: #55524d; }
.mnotify-f { display: block; margin: 0 0 .875rem; }
.mnotify-f__l { display: block; margin-bottom: .375rem; font-size: .8125rem; font-weight: 600; color: #55524d; }
.mnotify-f__l i { font-style: normal; font-weight: 400; color: #a5a19b; }
.mnotify-m .mnotify-f__i { display: block; width: 100%; height: 2.875rem; padding: 0 .875rem; border: 1px solid #dcd8d2; border-radius: .625rem; background: #fff; color: #1c1b1a; font: inherit; font-size: 1rem; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.mnotify-m .mnotify-f__i:focus { outline: none; border-color: #1c1b1a; box-shadow: 0 0 0 3px rgba(28, 27, 26, .12); }
.mnotify-m .mnotify-f__i.is-error { border-color: #c62828; box-shadow: 0 0 0 3px rgba(198, 40, 40, .12); }
.mnotify-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.mnotify-chip { position: relative; margin: 0; cursor: pointer; }
.mnotify-m .mnotify-chip input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; pointer-events: none; }
.mnotify-m .mnotify-chip input::before, .mnotify-m .mnotify-chip input::after { display: none !important; }
.mnotify-chip span { display: inline-flex; align-items: center; height: 2.25rem; padding: 0 .875rem; border: 1px solid #dcd8d2; border-radius: 1.125rem; font-size: .875rem; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.mnotify-chip:hover span { border-color: #1c1b1a; }
.mnotify-chip input:checked + span { background: #1c1b1a; border-color: #1c1b1a; color: #fff; }
.mnotify-chip input:focus-visible + span { outline: 2px solid #ef6c00; outline-offset: 2px; }
.mnotify-captcha { margin: .25rem 0 .875rem; min-height: 0; }
.mnotify-m__err { margin: 0 0 .875rem; padding: .625rem .875rem; border-radius: .625rem; background: #fbeeee; color: #b71c1c; font-size: .875rem; }
.mnotify-m__submit { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; height: 3rem; padding: 0 1rem; border: 1px solid #1c1b1a; border-radius: .625rem; background: #1c1b1a; color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.mnotify-m__submit:hover { background: #000; }
.mnotify-m__submit:disabled { opacity: .6; cursor: default; }
.mnotify-m__submit:focus-visible { outline: 2px solid #ef6c00; outline-offset: 2px; }
.mnotify-m__consent { margin: .625rem 0 0; color: #a5a19b; font-size: .75rem; text-align: center; }
.mnotify-m__done { text-align: center; padding: .5rem 0 0; }
.mnotify-m__ok { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: #e8f5e9; color: #2e7d32; }
.mnotify-m__ok svg { width: 24px; height: 24px; }
.mnotify-m__done-text { margin: .875rem 0 1.25rem; font-size: 1rem; }
.mnotify-m__btns { display: flex; gap: .75rem; }
.mnotify-m__btns > * { flex: 1; display: flex; align-items: center; justify-content: center; height: 2.875rem; padding: 0 1rem; border-radius: .625rem; font: inherit; font-weight: 600; cursor: pointer; }
.mnotify-m__again { border: 1px solid #dcd8d2; background: none; color: #55524d; }
.mnotify-m__again:hover { border-color: #1c1b1a; color: #1c1b1a; }
.mnotify-m__closebtn { border: 1px solid #1c1b1a; background: #1c1b1a; color: #fff; }
.mnotify-m__closebtn:hover { background: #000; }

html[data-up-theme=dark] .mnotify-ov { background: rgba(0, 0, 0, .6); }
html[data-up-theme=dark] .mnotify-m { border: 1px solid rgba(255, 255, 255, .08); background: #242322; color: #eceae6; box-shadow: none; }
html[data-up-theme=dark] .mnotify-m__ico { background: rgba(255, 255, 255, .08); color: #eceae6; }
html[data-up-theme=dark] .mnotify-m__x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
html[data-up-theme=dark] .mnotify-m__item { background: rgba(255, 255, 255, .04); }
html[data-up-theme=dark] .mnotify-m__img { background: rgba(255, 255, 255, .9); }
html[data-up-theme=dark] .mnotify-m__intro, html[data-up-theme=dark] .mnotify-f__l { color: #bdbab5; }
html[data-up-theme=dark] .mnotify-m .mnotify-f__i { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #eceae6; }
html[data-up-theme=dark] .mnotify-m .mnotify-f__i:focus { border-color: #eceae6; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
html[data-up-theme=dark] .mnotify-chip span { border-color: rgba(255, 255, 255, .18); }
html[data-up-theme=dark] .mnotify-chip:hover span { border-color: #eceae6; }
html[data-up-theme=dark] .mnotify-chip input:checked + span { background: #eceae6; border-color: #eceae6; color: #1c1b1a; }
html[data-up-theme=dark] .mnotify-m__err { background: rgba(239, 154, 154, .12); color: #ef9a9a; }
html[data-up-theme=dark] .mnotify-m__submit, html[data-up-theme=dark] .mnotify-m__closebtn { border-color: #eceae6; background: #eceae6; color: #1c1b1a; }
html[data-up-theme=dark] .mnotify-m__submit:hover, html[data-up-theme=dark] .mnotify-m__closebtn:hover { background: #fff; }
html[data-up-theme=dark] .mnotify-m__ok { background: rgba(76, 175, 80, .15); color: #66bb6a; }
html[data-up-theme=dark] .mnotify-m__again { border-color: rgba(255, 255, 255, .25); color: #bdbab5; }
html[data-up-theme=dark] .mnotify-m__again:hover { border-color: #eceae6; color: #fff; }

@media (max-width: 767.98px) {
    .mnotify-ov { align-items: flex-end; padding: 0; }
    .mnotify-m { max-width: none; max-height: 92vh; padding: 1.25rem 1rem calc(1rem + env(safe-area-inset-bottom)); border-radius: 1rem 1rem 0 0; transform: translateY(100%); transition: transform .25s; }
    html[data-up-theme=dark] .mnotify-m { border-width: 1px 0 0; }
    .mnotify-m__title { font-size: 1.0625rem; }
    .mnotify-lbtn .mnotify__icon { width: 16px; height: 16px; }
}
