/* ============================================================
   MOBAKSOPT — МАКС + AI-чат  STYLES  v18
   ============================================================ */

/* 100% УДАЛЕНИЕ ИЗ ФУТЕРА (Woodmart) */
footer .mo-max-f, 
.footer-container .mo-max-f, 
.wd-footer .mo-max-f,
.woodmart-footer .mo-max-f {
    display: none !important;
}

/* ПЛАВАЮЩАЯ ИКОНКА В ШАПКЕ */
.mo-max-f {
    all: unset !important;
    display: inline-flex !important;
    width: 32px !important; 
    height: 32px !important; 
    cursor: pointer !important;
    margin-left: 8px !important;
    justify-content: center !important;
    align-items: center !important;
    transition: opacity 0.2s ease !important;
    border-radius: 50% !important; 
}
.mo-max-f:hover { opacity: 0.8; }
.mo-inner-svg { width: 100% !important; height: 100% !important; display: flex !important; align-items: center; justify-content: center; }
.mo-max-f svg { width: 100% !important; height: 100% !important; border-radius: 50%; }

/* ПОПАП МЕНЮ */
.mo-max-li, .mo-ai-li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.mo-row { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; padding: 8px 15px !important; cursor: pointer !important; width: 100% !important; box-sizing: border-box !important; transition: opacity 0.2s ease; }
.mo-row:hover { opacity: 0.7; }

.mo-ico { width: 32px !important; height: 32px !important; flex-shrink: 0 !important; display: flex; align-items: center; justify-content: center;}
.mo-ico svg { width: 100%; height: 100%; border-radius: 50%; }

.mo-txt { font-size: 14px !important; font-weight: 600 !important; color: #888 !important; font-family: inherit !important; white-space: nowrap !important; }
.mo-row:hover .mo-txt { color: #333 !important; }

.mo-badge { background: #FF6A00 !important; color: #fff !important; font-size: 10px !important; padding: 3px 6px !important; border-radius: 4px !important; margin-left: 6px !important; font-weight: 800 !important; line-height: 1 !important; text-transform: uppercase; }

/* AI WINDOW */
#mo-ai-o { position: fixed; inset: 0; z-index: 99999999; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; font-family: inherit; }
.mo-ai-w { width: 90%; max-width: 380px; height: 550px; background: #1a1a1a; border: 1px solid #333; border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.mo-ai-h { background: #222; padding: 16px 20px; color: #fff; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; }
.mo-ai-m { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; background: #1a1a1a; }
.m-m { display: flex; width: 100%; }
.m-u { justify-content: flex-end; }
.m-b { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.4; color: #fff; }
.m-u .m-b { background: #FF6A00; border-bottom-right-radius: 4px; }
.m-b { background: #333; border-bottom-left-radius: 4px; }

.mo-ai-f { padding: 15px; display: flex; gap: 10px; background: #222; border-top: 1px solid #333; }
.mo-ai-f input { flex: 1; background: #111; border: 1px solid #444; border-radius: 10px; color: #fff; padding: 12px 15px; outline: none; font-size: 14px; font-family: inherit; }
.mo-ai-f input:focus { border-color: #FF6A00; }
.mo-ai-f button { background: #FF6A00; color: #fff; border: none; padding: 0 18px; border-radius: 10px; cursor: pointer; font-size: 18px; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.mo-ai-f button:hover { background: #e65f00; }

/* MAX TOOLTIP */
#mo-max-t { position: fixed; z-index: 99999999; width: 280px; background: #1e1e1e; border: 1px solid #333; border-radius: 16px; padding: 20px; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.4); font-family: inherit; }
.mo-t-h { color: #fff; font-weight: 600; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 14px; }
.mo-t-p { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.mo-t-hint { color: #999; font-size: 13px; line-height: 1.4; margin-bottom: 20px; }
.mo-t-btn { background: #FF6A00; color: #fff; border: none; width: 100%; padding: 14px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14px; transition: background 0.2s; }
.mo-t-btn:hover { background: #e65f00; }