/* «В корзине» (partials/site/cart-toast): the window under the header's cart icon after «В корзину», 2026-11-30 */
.lfct {
    --ink: #111; --gold: #b08d57; --line: #e9e6e1; --muted: #8c8c8c; --soft: #f7f5f2;
    position: fixed; z-index: 10300; font-family: 'CenturyGothic', Arial, Helvetica, sans-serif; color: var(--ink);
    opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s;
}
.lfct[hidden] { display: none; }
.lfct.is-on { opacity: 1; transform: none; }
.lfct * { box-sizing: border-box; font-size: inherit; }   /* the theme sets «* { font-size: 20px }» */
.lfct a { text-decoration: none; }
.lfct svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lfct__close { flex: none; width: 28px; height: 28px; padding: 6px; border: 0; background: none; color: inherit; opacity: .55; cursor: pointer; }
.lfct__close:hover { opacity: 1; }
.lfct a:focus-visible, .lfct button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* under the header's cart icon (top / right set by the script from the icon's place) */
.lfct--3 {
    top: 95px; right: 20px; width: 320px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
}
.lfct__notch { position: absolute; top: -7px; right: 18px; width: 12px; height: 12px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; transform: rotate(45deg); }
.lfct__row { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.lfct__img { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.lfct__img:empty { background: var(--soft); }
.lfct__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lfct__info { flex: 1; display: grid; gap: 3px; min-width: 0; }
.lfct__over { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lfct__over svg { width: 14px; height: 14px; stroke-width: 2.2; }
.lfct__brand { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lfct__name { font-size: 14px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lfct__btn {
    display: flex; align-items: center; justify-content: center; height: 44px; border: 1px solid var(--ink); border-radius: 22px;
    background: var(--ink); color: #fff !important; font-family: inherit; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
    transition: background-color .2s;
}
.lfct__btn:hover { background: #333; }

/* phones: a strip under the header */
@media (max-width: 767px) {
    .lfct--3 { top: 57px; left: 0; right: 0; width: auto; border-radius: 0 0 12px 12px; border-width: 0 0 1px; }
    .lfct__notch { right: 22px; }
}

/* ------------------------------------------------------------------------------------------------------------------
   The site's other messages (October's flash: «Вы вышли из личного кабинета», errors…) in the same look, in place of
   the old site's green bar (desktop.css / style_main.css «.jax-flash-message»), 2026-11-30 */
body .jax-flash-message {
    top: 95px; right: 24px; left: auto; bottom: auto; width: auto; max-width: 420px; margin: 0;
    display: flex; align-items: center; gap: 12px; padding: 12px 44px 12px 14px; border-radius: 12px;
    background: #111; color: #fff; text-align: left; text-shadow: none;
    font-family: 'CenturyGothic', Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.45;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}
body .jax-flash-message.success, body .jax-flash-message.error, body .jax-flash-message.warning,
body .jax-flash-message.info, body .jax-flash-message.loading { background: #111; }
/* the mark on the left: a gold tick (done), a red «!» (error), a gold «i» (the rest) */
body .jax-flash-message::before {
    content: 'i'; flex: none; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px;
    border-radius: 50%; background: #b08d57; color: #fff; font: bold 13px/1 Arial, sans-serif;
}
body .jax-flash-message.success::before {
    content: ''; background: #b08d57 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
body .jax-flash-message.error::before { content: '!'; background: #a3141f; }
body .jax-flash-message span.flash-message { font-size: 14px; line-height: 1.45; color: #fff; }
body .jax-flash-message a.flash-close { top: 50%; right: 12px; transform: translateY(-50%); opacity: .55; text-shadow: none; }
body .jax-flash-message a.flash-close:hover, body .jax-flash-message a.flash-close:focus { opacity: 1; }

@media (max-width: 767px) {
    body .jax-flash-message { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); left: 12px; right: 12px; max-width: none; }
}
