/* Общие переменные: фикс неопределённых токенов (terracotta / accent-tint). */
:root {
    --terracotta: #c2452d;
    --terracotta-soft: #fdf2ef;
    --accent-tint: #eef2ff;
}

/* ========================================================================
   АГРЕГАТО — Лендинг главной страницы (scope .lp)
   Все новые классы имеют префикс lp- и обёрнуты в .lp.
   НЕ трогает style.css. Файлы: index.html + landing.js.
   ======================================================================== */

/* ---------- Локальные шрифты (подключаются на всех страницах, где подключён landing.css) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/assets/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/assets/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/static/assets/fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/assets/fonts/Inter_28pt-Bold.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/static/assets/fonts/Inter_28pt-ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/assets/fonts/PlayfairDisplay-Regular.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/assets/fonts/PlayfairDisplay-Bold.woff2") format("woff2"); }

/* ---------- Scope-класс + CSS-переменные ---------- */
.lp {
    --lp-bg: #F7F7FB;
    --lp-bg-hero: radial-gradient(120% 80% at 50% 0%, #EDE8FF 0%, #F7F7FB 60%);
    --lp-surface: #FFFFFF;
    --lp-surface-2: #F1EFFF;
    --lp-text: #0E0E14;
    --lp-text-muted: #6B6B7B;
    --lp-border: #E8E6F0;
    --lp-accent: #7C5CFF;
    --lp-accent-hover: #6A48FF;
    --lp-accent-soft: #EDE8FF;
    --lp-success: #17B26A;
    --lp-danger: #EF4444;
    --lp-r-sm: 8px;
    --lp-r-md: 12px;
    --lp-r-lg: 16px;
    --lp-r-xl: 24px;
    --lp-r-2xl: 32px;
    --lp-r-pill: 999px;
    --lp-shadow-sm: 0 1px 2px rgba(20,15,60,.06);
    --lp-shadow-md: 0 6px 24px rgba(124,92,255,.10);
    --lp-shadow-lg: 0 16px 48px rgba(124,92,255,.16);
    --lp-font-display: "Playfair Display", Georgia, serif;
    --lp-font-body: "Inter", -apple-system, sans-serif;
}

/* ---------- База ---------- */
.lp {
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: var(--lp-font-body);
    -webkit-font-smoothing: antialiased;
}
.lp *,
.lp *::before,
.lp *::after { box-sizing: border-box; }
.lp img { display: block; max-width: 100%; }
.lp a { color: inherit; text-decoration: none; }
.lp button { font-family: inherit; cursor: pointer; }
.lp [hidden] { display: none !important; }

/* ========================================================================
   HERO
   ======================================================================== */
.lp-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 24px;
    padding: 20px 0 24px;
    align-items: start;
}
.lp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background-image: url('/static/assets/backgrounds/hero-bg.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #EDE8FF;
    z-index: -1;
    pointer-events: none;
}

/* ---------- Раскладка grid (AI-бейдж сверху, колонки снизу) ---------- */
.lp-hero__left   { grid-column: 1; grid-row: 2; min-width: 0; }
.lp-hero__center { grid-column: 2; grid-row: 2; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-hero__right  { grid-column: 3; grid-row: 2; min-width: 0; }

/* ---------- Левая колонка ---------- */
.lp-hero__left h1.lp-h1 {
    font-family: var(--lp-font-display);
    font-size: clamp(28px, 2.6vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin: 6px 0 10px;
}
.lp-hero__left .lp-sub {
    font-size: 14px; line-height: 1.5;
    color: var(--lp-text-muted); margin: 0 0 14px;
    max-width: 380px;
}

/* ---------- Бейдж ---------- */
.lp-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: var(--lp-r-pill);
    background: #fff; border: 1px solid var(--lp-border);
    font-size: 12px; font-weight: 500; color: var(--lp-text);
    box-shadow: var(--lp-shadow-sm);
    margin-bottom: 6px;
}
.lp-badge__icon { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }

/* ---------- Кнопки ---------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: var(--lp-r-pill);
    font-size: 15px; font-weight: 600; border: 1px solid transparent;
    transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.lp-btn:active { transform: translateY(1px); }
.lp-btn--ghost {
    background: transparent; border-color: var(--lp-border); color: var(--lp-text);
    padding: 8px 16px; font-size: 13px;
}
.lp-btn--ghost:hover { border-color: var(--lp-accent); color: var(--lp-accent); }
.lp-btn--primary { background: var(--lp-accent); color: #fff; }
.lp-btn--primary:hover { background: var(--lp-accent-hover); }

/* ---------- Поисковая строка ---------- */
.lp-search {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border-radius: var(--lp-r-pill);
    box-shadow: var(--lp-shadow-md);
    padding: 4px 4px 4px 18px;
}
.lp-search__icon-search { color: var(--lp-text-muted); flex-shrink: 0; }
.lp-search__input {
    flex: 1; min-width: 0; border: none; outline: none; background: transparent;
    padding: 11px 0; font-size: 14px; font-family: inherit; color: var(--lp-text);
    width: 100%;
}
.lp-search__input::placeholder { color: var(--lp-text-muted); }
.lp-search__cam {
    background: transparent; border: none; padding: 8px; border-radius: 50%;
    color: var(--lp-text-muted); display: inline-flex; flex-shrink: 0;
}
.lp-search__cam:hover { color: var(--lp-accent); }
.lp-search__submit { padding: 10px 22px; font-size: 13px; flex-shrink: 0; background: #0E0E14; color: #fff; }
.lp-search__submit:hover { background: #22222E; }

/* ---------- Строка поиска + тумблер в ряд ---------- */
.lp-hero__search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
}
.lp-hero__search-row .lp-search {
    flex: 1;
    min-width: 0;
}
.lp-hero__search-row .lp-smart-toggle {
    flex-shrink: 0;
}
@media (max-width: 899px) {
    .lp-hero__search-row {
      flex-wrap: wrap;
    }
    .lp-hero__search-row .lp-smart-toggle {
      width: 100%;
      justify-content: center;
    }
}

/* ---------- Тумблер «Умный поиск» ---------- */
.lp-smart-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 10px; border-radius: var(--lp-r-pill);
    background: rgba(237,232,255,.6); cursor: pointer; user-select: none;
    font-size: 12px; color: var(--lp-text-muted);
    flex-shrink: 0;
    margin: 0;
    transition: background .15s;
}
.lp-smart-toggle:hover {
    background: var(--lp-accent-soft);
}
.lp-smart-toggle.is-on { background: var(--lp-accent-soft); }
.lp-smart-toggle__alice {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}
.lp-smart-toggle__text { font-size: 12px; color: var(--lp-text); font-weight: 500; white-space: nowrap; }
.lp-smart-toggle__track {
    position: relative; width: 40px; height: 22px; border-radius: var(--lp-r-pill);
    background: #d9d4ee; transition: background .15s; flex-shrink: 0;
}
.lp-smart-toggle__thumb {
    position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
    border-radius: 50%; background: #fff; transition: transform .15s;
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.lp-smart-toggle.is-on .lp-smart-toggle__track { background: var(--lp-accent); }
.lp-smart-toggle.is-on .lp-smart-toggle__thumb { transform: translateX(18px); }
.lp-smart-toggle:focus-visible {
    outline: 3px solid rgba(124, 92, 255, 0.4);
    outline-offset: 2px;
}

/* ---------- Чипсы популярных запросов ---------- */
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0; }
.lp-chip {
    padding: 6px 12px; border-radius: var(--lp-r-pill);
    border: 1px solid var(--lp-border); background: #fff;
    font-size: 12px; color: var(--lp-text-muted); transition: all .15s;
}
.lp-chip:hover { background: var(--lp-surface-2); border-color: var(--lp-accent); color: var(--lp-accent); }

/* ---------- Промо-плашки (2 шт) ---------- */
.lp-promos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
}
@media (max-width: 899px) {
    .lp-promos { grid-template-columns: 1fr; }
}

/* Базовая промо-плашка */
.lp-promo {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 24px;
    min-height: 140px;
    text-decoration: none;
    color: #0E0E14;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.lp-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(124, 92, 255, 0.15);
}

.lp-promo__corner {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .2s, background .2s;
    z-index: 2;
}
.lp-promo__corner svg {
    width: 16px;
    height: 16px;
}

/* Ася — фиолетовая */
.lp-promo--asa .lp-promo__corner {
    border: 1.5px solid #8B5CF6;
    color: #8B5CF6;
}
.lp-promo--asa:hover .lp-promo__corner {
    background: rgba(139, 92, 246, 0.12);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

/* Уменьшато — мятная */
.lp-promo--umenshato .lp-promo__corner {
    border: 1.5px solid #10B981;
    color: #10B981;
}
.lp-promo--umenshato:hover .lp-promo__corner {
    background: rgba(16, 185, 129, 0.12);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Ася — фиолетово-розовая */
.lp-promo--asa {
    background: linear-gradient(135deg,
      rgba(237, 232, 255, 0.85) 0%,
      rgba(255, 240, 250, 0.85) 100%);
    border-color: rgba(168, 85, 247, 0.25);
}
.lp-promo--asa .lp-promo__title {
    color: #6A48FF;
}

/* Уменьшато — мятно-зелёная */
.lp-promo--umenshato {
    background: linear-gradient(135deg,
      rgba(220, 252, 231, 0.85) 0%,
      rgba(236, 253, 245, 0.85) 100%);
    border-color: rgba(23, 178, 106, 0.25);
}
.lp-promo--umenshato .lp-promo__title {
    color: #065F46;
}

.lp-promo__icon-wrap {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}
.lp-promo__icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(124, 92, 255, 0.22));
}

.lp-promo__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
    padding-right: 0;
}
.lp-promo__title {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    padding-right: 46px;
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}
.lp-promo__text {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #6B6B7B;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    padding-right: 8px;
}
.lp-promo__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    margin-top: 8px;
    border-radius: 999px;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
    background: #ffffff;
    border: none;
    box-shadow: 0 2px 10px rgba(20, 15, 60, 0.06);
    transition: transform .15s, box-shadow .15s;
    white-space: nowrap;
}
.lp-promo--asa .lp-promo__cta {
    color: #6A48FF;
}
.lp-promo--umenshato .lp-promo__cta {
    color: #10B981;
}
.lp-promo__cta:hover {
    transform: translateX(2px);
    box-shadow: 0 4px 16px rgba(124, 92, 255, 0.18);
}

/* ---------- Правая колонка ---------- */
.lp-hero__right { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; text-align: right; }
.lp-hero__ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    padding: 8px 12px 8px 10px;
    background: #fff;
    border-radius: var(--lp-r-pill);
    box-shadow: 0 4px 20px rgba(124,92,255,.12);
    margin: 0;
    max-width: 260px;
    gap: 10px;
    position: relative;
    z-index: 5;
}
.lp-hero__ai-badge-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}
.lp-hero__ai-badge-text {
    font-family: var(--lp-font-body);
    font-weight: 500;
    font-size: 11px;
    line-height: 1.25;
    color: var(--lp-text);
}
.lp .lp-hero-art {
    align-self: flex-start;
    max-width: 240px;
    max-height: 240px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform-origin: 50% 50%;
    margin: 0 auto;
    animation:
      lpCubeFloat 9s ease-in-out infinite,
      lpCubePulse 5s ease-in-out infinite;
}

@keyframes lpCubeFloat {
    0%, 100% {
      transform: translateY(0) rotate(0deg);
    }
    50% {
      transform: translateY(-10px) rotate(-2deg);
    }
}

@keyframes lpCubePulse {
    0%, 100% {
      filter: drop-shadow(0 24px 48px rgba(168, 85, 247, 0.25));
    }
    50% {
      filter: drop-shadow(0 32px 60px rgba(236, 72, 153, 0.4));
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp .lp-hero-art { animation: none; }
}
@media (max-width: 899px) {
    .lp .lp-hero-art { max-width: 240px; max-height: 240px; align-self: center; }
}
.lp-bullets {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: auto;
    align-self: flex-end;
}
.lp-bullets li {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 4px 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0E0E14;
    text-align: right;
    transition: color .15s;
}
.lp-bullets li:hover {
    color: #6A48FF;
    transform: none;
    box-shadow: none;
}
.lp-bullets__icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    order: 2;
    margin-left: 4px;
}

/* ---------- Адаптив hero ---------- */
@media (max-width: 1199px) {
    .lp-hero { grid-template-columns: 1fr 1.5fr; }
    .lp-hero__ai-badge { grid-column: 2; }
    .lp-hero__right { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 899px) {
    .lp-hero { grid-template-columns: 1fr; grid-template-rows: none; }
    .lp-hero__ai-badge { grid-column: 1; grid-row: auto; justify-self: start; }
    .lp-hero__left { grid-column: 1; grid-row: auto; min-width: 0; }
    .lp-hero__center { grid-column: 1; grid-row: auto; min-width: 0; }
    .lp-hero__right { grid-column: 1; grid-row: auto; flex-direction: column; min-width: 0; }
}

/* ========================================================================
   КАТЕГОРИИ + ПОПУЛЯРНОЕ (ШАГИ 4–5)
   ======================================================================== */
.lp-content { display: grid; grid-template-columns: 260px 1fr 300px; gap: 24px; padding: 20px 0 40px; align-items: start; }
.lp-cats { background: #fff; border-radius: var(--lp-r-xl); padding: 16px; border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-sm); position: sticky; top: 90px; min-width: 0; }
.lp-cats__title { font-size: 16px; font-weight: 600; margin: 4px 0 12px 8px; }
.lp-cats__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.lp-cat-item { list-style: none; margin: 0; padding: 0; }
.lp-cat-row { display: flex; align-items: center; gap: 4px; }
.lp-cat { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--lp-r-md); text-decoration: none; color: var(--lp-text); font-size: 14px; transition: background .15s, transform .15s; }
.lp-cat__toggle {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-text-muted);
    transition: background .15s, color .15s, transform .2s;
}
.lp-cat__toggle:hover {
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
}
.lp-cat__toggle svg { transition: transform .2s; }
.lp-cat__toggle.is-open svg { transform: rotate(180deg); }
.lp-cat:hover { background: var(--lp-accent-soft); color: var(--lp-accent); transform: translateX(2px); }
.lp-cat__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--lp-r-md);
    background: #EDE8FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s;
}
.lp-cat__icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: contrast(1.15) saturate(1.1);
}
.lp-cat__icon--fallback {
    background: var(--lp-surface-2);
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-accent);
    text-transform: uppercase;
}
.lp-cat__icon--svg {
    color: var(--lp-accent);
}
.lp-cat__icon--svg svg {
    width: 20px;
    height: 20px;
    display: block;
}
.lp-cats__sublist .lp-cat__icon--svg svg {
    width: 17px;
    height: 17px;
}
.lp-cat:hover .lp-cat__icon { background: #E1D9FF; }
.lp-cat__name { font-size: 14px; color: var(--lp-text); }
.lp-cat:hover .lp-cat__name { color: var(--lp-accent); }
.lp-cats__more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 12px; padding: 10px; background: transparent; border: none; cursor: pointer; color: var(--lp-text-muted); font-size: 13px; border-top: 1px solid var(--lp-border); }
.lp-cats__more:hover { color: var(--lp-accent); }
.lp-cats__more svg { transition: transform .2s; }
.lp-cats__more.is-open svg { transform: rotate(180deg); }
.lp-cats__list--extra { margin-top: 4px; }
.lp-cats__sublist {
    list-style: none;
    margin: 4px 0 4px 0;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lp-cats__sublist .lp-cat {
    font-size: 13px;
    padding: 6px 10px;
}
.lp-cats__sublist .lp-cat__icon {
    width: 28px;
    height: 28px;
}
.lp-cats__sublist .lp-cat__icon img {
    width: 20px;
    height: 20px;
}
.lp-cats__sublist .lp-cat__toggle {
    width: 22px;
    height: 22px;
}
.lp-cats__sublist:not([hidden]) {
    animation: lpSlideDown .15s ease-out;
}
@keyframes lpSlideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lp-content__main { min-height: 200px; min-width: 0; overflow: hidden; }

/* ---------- Популярные товары ---------- */
.lp-popular { padding: 4px 0 0; }
.lp-popular__head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; margin-bottom: 16px;
}
.lp-popular__title {
    font-size: 20px; font-weight: 600; margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.lp-popular__title svg { color: var(--lp-accent); }
.lp-popular__sub { margin: 4px 0 0; font-size: 13px; color: var(--lp-text-muted); }
.lp-popular__all {
    font-size: 13px; color: var(--lp-text-muted); text-decoration: none;
    display: inline-flex; align-items: center; gap: 4px;
}
.lp-popular__all:hover { color: var(--lp-accent); }
.lp-carousel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 4px 4px 16px;
}
/* 390px: 4 узкие колонки — цены/названия переносим, не выпуская за карточку. */
.lp-carousel > .lp-prod { min-width: 0; }
.lp-carousel .lp-prod__body { min-width: 0; }
.lp-carousel .lp-prod__name { overflow-wrap: anywhere; }
.lp-carousel .lp-prod__price { min-width: 0; }
.lp-carousel .lp-prod__price-now,
.lp-carousel .lp-prod__price-old { overflow-wrap: anywhere; }
.lp-prod {
    flex: 0 0 calc((100% - 36px) / 4); scroll-snap-align: start;
    background: #fff; border: 1px solid var(--lp-border);
    border-radius: var(--lp-r-lg); padding: 12px;
    position: relative; cursor: pointer;
    overflow: visible !important;
    transition: box-shadow .2s, transform .2s;
}
.lp-prod:hover { box-shadow: var(--lp-shadow-md); transform: translateY(-2px); }
.lp-prod__fav {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.9); border: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--lp-text-muted); transition: color .15s, transform .15s;
}
.lp-prod__fav:hover { color: var(--lp-accent); transform: scale(1.08); }
.lp-prod__fav.is-active { color: var(--lp-accent); }
.lp-prod__img {
    position: relative; aspect-ratio: 1/1; border-radius: var(--lp-r-md);
    background: var(--lp-surface-2); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.lp-prod__img img { width: 100%; height: 100%; object-fit: cover; }
.lp-prod__img--fallback {
    background: linear-gradient(135deg, #F1EFFF 0%, #E3DEFF 100%);
    color: var(--lp-accent); font-size: 32px; font-weight: 700;
    letter-spacing: 0.02em;
}
.lp-prod__source {
    position: absolute; bottom: 8px; left: 8px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px;
    height: 24px; padding: 0 10px 0 5px; border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 4px rgba(15, 23, 42, .14);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-family: var(--lp-font-body);
    font-size: 11px; font-weight: 600; color: var(--lp-text);
    line-height: 1; white-space: nowrap; pointer-events: none;
}
.lp-prod__source img {
    width: 16px; height: 16px; object-fit: contain; border-radius: 4px;
}
.lp-prod__body { padding: 10px 2px 0; display: flex; flex-direction: column; gap: 6px; }
.lp-prod__name {
    font-size: 13px; font-weight: 500; line-height: 1.35; margin: 0;
    min-height: 2.7em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.lp-prod__rating {
    font-size: 12px; color: var(--lp-text-muted);
    display: flex; align-items: center; gap: 4px;
}
.lp-prod__rating::before { content: '★'; color: #F59E0B; }
.lp-prod__rating span { color: #A0A0B0; }
.lp-prod__price {
    display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
    margin-top: 2px;
}
.lp-prod__price-now { font-size: 16px; font-weight: 700; }
.lp-prod__price-old {
    font-size: 12px; color: #A0A0B0;
    text-decoration: line-through;
}
.lp-prod__discount {
    font-size: 11px; font-weight: 600; color: #fff;
    background: var(--lp-success); padding: 2px 6px; border-radius: 999px;
}
.lp-prod__cart {
    margin-top: 6px; padding: 10px 12px; border: none; cursor: pointer;
    border-radius: var(--lp-r-md); background: #0E0E14; color: #fff;
    font-size: 13px; font-weight: 500; width: 100%;
    transition: background .15s;
}
.lp-prod__cart:hover { background: #22222E; }

/* ========================================================================
   AI-АССИСТЕНТ + МАРКЕТПЛЕЙСЫ (ШАГИ 6–7)
   ======================================================================== */
.lp-ai {
    background: linear-gradient(160deg, #F1EFFF 0%, #E3DEFF 100%);
    border-radius: var(--lp-r-2xl);
    padding: 24px 20px;
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(124,92,255,.08);
    box-shadow: 0 12px 40px rgba(124,92,255,.10);
    overflow: hidden;
    min-width: 0;
}
.lp-ai::before {
    content: '';
    position: absolute;
    inset: auto -40% -40% -40%;
    height: 60%;
    background: radial-gradient(50% 100% at 50% 0%, rgba(124,92,255,.25), transparent 70%);
    pointer-events: none;
}
/* Бренд-бейдж «Эксперто» */
.lp-ai__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 6px;
    background: #fff;
    border-radius: var(--lp-r-pill);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 2px rgba(20,15,60,.06);
    position: relative;
    z-index: 1;
}
.lp-ai__badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}
.lp-ai__badge span {
    background: linear-gradient(135deg, #7C5CFF 0%, #EC4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #7C5CFF;
}
.lp-ai__title {
    font-family: var(--lp-font-display);
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--lp-text);
    position: relative;
    z-index: 1;
}
.lp-ai__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--lp-text-muted);
    margin: 0;
    position: relative;
    z-index: 1;
}
.lp-ai__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: #0E0E14;
    color: #fff;
    border: none;
    border-radius: var(--lp-r-pill);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .15s, background .15s;
    position: relative;
    z-index: 1;
    margin-top: auto;
    box-shadow: 0 8px 20px rgba(14,14,20,.18);
}
.lp-ai__btn:hover { background: #22222E; transform: translateY(-1px); }
.lp-ai__btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.lp-ai__art {
    display: block;
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    object-position: center bottom;
    margin: 12px 0 0;
    pointer-events: none;
    position: relative;
    z-index: 0;
}
.lp-ai__foot {
    display: block;
    margin-top: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
}
/* Пилюля-подпись: фон for_text.png + наложенный текст */
.lp-ai__slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    aspect-ratio: 2169 / 725;
    background-image: url('/static/assets/reviewito/for_text.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    padding: 0 8%;
    box-sizing: border-box;
}
.lp-ai__slogan-text {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #3A2E5C;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
}

/* ---------- 3 фичи-карточки внутри #lp-ai ---------- */
.lp-ai__features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 16px;
}

.lp-ai__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    text-decoration: none;
    color: #0E0E14;
    box-shadow: 0 2px 10px rgba(124, 92, 255, 0.05);
    transition: transform .15s, box-shadow .15s, background .15s;
    position: relative;
    z-index: 1;
}
.lp-ai__feature:hover {
    transform: translateX(2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.12);
    background: #fff;
}

.lp-ai__feature-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.28), 0 0 0 1px rgba(124, 92, 255, 0.10);
}
.lp-ai__feature-icon img {
    width: 44px; height: 44px;
    object-fit: contain;
}

.lp-ai__feature-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}
.lp-ai__feature-body strong {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0E0E14;
    line-height: 1.2;
}
.lp-ai__feature-body span {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 11px;
    color: #6B6B7B;
    line-height: 1.3;
}

.lp-ai__feature-arrow {
    flex-shrink: 0;
    color: #A0A0B0;
    transition: transform .15s;
}
.lp-ai__feature:hover .lp-ai__feature-arrow {
    transform: translateX(2px);
    color: #7C5CFF;
}

/* Адаптив панели (основные grid-areas — в общем блоке ниже, не дублировать) */
@media (max-width: 699px) {
    .lp-ai__title { font-size: 26px; }
    .lp-ai__slogan { max-width: 260px; }
}

.lp-mps {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    margin-top: 24px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-r-2xl);
    box-shadow: var(--lp-shadow-sm);
    flex-wrap: wrap;
}
.lp-mps__left {
    flex-shrink: 0;
    padding-right: 24px;
    border-right: 1px solid var(--lp-border);
}
.lp-mps__title {
    font-family: var(--lp-font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--lp-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lp-mps__title-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.lp-mps__sub {
    font-size: 12px;
    color: var(--lp-text-muted);
    margin-top: 2px;
}
.lp-mps__list {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    flex-wrap: wrap;
    min-width: 0;
}
.lp-mps__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    transition: transform .15s, opacity .15s;
    opacity: .85;
}
.lp-mps__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.lp-mps__item:hover {
    transform: scale(1.12);
    opacity: 1;
}
.lp-mps__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--lp-r-pill);
    background: var(--lp-surface-2);
    color: var(--lp-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}
.lp-mps__more:hover {
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
}
.lp-mps__more svg { width: 14px; height: 14px; }

/* ---------- Общий адаптив ---------- */
@media (max-width: 1199px) {
    .lp-content { grid-template-columns: 240px 1fr 280px; }
}
@media (max-width: 899px) {
    .lp-content {
        grid-template-columns: 220px 1fr;
        grid-template-areas:
            "cats main"
            "ai ai";
    }
    .lp-cats { grid-area: cats; position: static; }
    .lp-content__main { grid-area: main; }
    .lp-ai { grid-area: ai; }
    .lp-mps { flex-direction: column; align-items: flex-start; }
    .lp-mps__left {
        border-right: none;
        border-bottom: 1px solid var(--lp-border);
        padding-right: 0;
        padding-bottom: 12px;
        width: 100%;
    }
    .lp-mps__list { gap: 16px; justify-content: flex-start; }
}
@media (max-width: 699px) {
    .lp-content {
        grid-template-columns: 1fr;
        grid-template-areas: "cats" "main" "ai";
    }
}
@media (max-width: 600px) {
    .lp-mps__more { align-self: stretch; justify-content: center; }
}

/* ---------- Шапка (вне #lp-landing, поэтому правила вне scope .lp) ---------- */
/* Знак + текст в две строки (ШАГ 7.2, подзадача 1) */
.site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.site-header__mark {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}
.site-header__name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.site-header__name-main {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #0E0E14;
}
.site-header__name-sub {
    font-size: 13px;
    margin-top: 2px;
    color: #6B6B7B;
}

/* Иконки кнопок шапки (ШАГ 7.2/7.3) */
.nav-link img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}
.nav-icon img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Pill-кнопки «Ася» и «Уменьшато» — целые картинки (ШАГ 7.3, подзадача 3) */
.site-header__action {
    display: inline-flex;
    align-items: center;
}
.site-header__action--asi,
.site-header__action--savings {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}
.site-header__pill {
    display: block;
    height: 44px;
    width: auto;
    object-fit: contain;
}

/* ---------- ШАГ 8.1/8.2: растяжка контейнера + кнопка «Войти» ---------- */
/* Широкий контейнер ТОЛЬКО на лендинге (body.view-landing) */
body.view-landing .container {
    max-width: 1720px;
    padding-left: 32px;
    padding-right: 32px;
}

/* Защита от горизонтального скроллбара: hero-фон шириной 100vw
   не должен создавать прокрутку (ШАГ 8.2) */
body.view-landing {
    overflow-x: hidden;
}

/* Шапка: выше + центрирование (ШАГ 8.3, подзадача 1). Применяется на всех страницах. */
.site-header {
    padding-top: 16px;
    padding-bottom: 16px;
    min-height: auto;
    height: auto;
    align-items: center;
    justify-content: space-between;
}

/* Кнопка «Войти» — обводка вместо чёрного фона (все страницы).
   Селектор: .nav-profile-btn (из HTML: nav-link nav-link--dark nav-profile-btn).
   !important нужен, т.к. .nav-link--dark в style.css задаёт background/color с !important. */
.nav-profile-btn {
    background: transparent !important;
    border: 1px solid #D6D2E8;
    color: #0E0E14 !important;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 500;
    transition: border-color .15s, background .15s, color .15s;
}
.nav-profile-btn:hover {
    border-color: #7C5CFF;
    background: rgba(124,92,255,.06) !important;
    color: #7C5CFF !important;
}
/* Иконка профиля — 44px, как у сердца и корзины */
.nav-profile-btn img {
    width: 44px;
    height: 44px;
}
/* ---------- ШАГ 8.5: счётчики ♥ и 🛒 в шапке (все страницы) ---------- */
/* Единый вид: чёрный счётчик в правом верхнем углу, без фона у иконки */
.nav-icon {
    position: relative;
}
.nav-icon__badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    background: #0E0E14;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    border-radius: 999px;
    font-family: "Inter", -apple-system, sans-serif;
}
/* Убираем акцентный класс корзины — обе иконки прозрачные, счётчики одинаковые */
.nav-icon__badge--accent {
    background: #0E0E14;
}

/* ========================================================================
   Волна 12.9 — автодополнение поиска (suggest dropdown)
   ======================================================================== */
.lp-search {
    position: relative;
    overflow: visible;
}

.lp-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(20, 15, 60, 0.12);
    padding: 8px;
    z-index: 40;
    max-height: 420px;
    overflow-y: auto;
    font-family: "Inter", system-ui, sans-serif;
}
.lp-suggest[hidden] { display: none; }

.lp-suggest__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lp-suggest__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #0E0E14;
    transition: background .12s;
}
.lp-suggest__item:hover,
.lp-suggest__item.is-active {
    background: #F5F3FF;
}

.lp-suggest__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #A0A0B0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lp-suggest__item--history .lp-suggest__icon {
    color: #7C5CFF;
}

.lp-suggest__text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-suggest__remove {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #A0A0B0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    transition: color .12s, background .12s;
}
.lp-suggest__remove:hover {
    background: rgba(239, 68, 68, 0.10);
    color: #EF4444;
}

.lp-search__clear {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #A0A0B0;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    margin-right: 4px;
    transition: color .12s, background .12s;
}
.lp-search__clear:hover {
    background: #F5F3FF;
    color: #7C5CFF;
}
.lp-search__clear.is-visible { display: inline-flex; }

/* ========================================================================
   W39-landing-footer — сайтовый футер на главной (#lp-landing)
   Классы только lp-footer*. Токены --lp-* наследуются из .lp.
   ======================================================================== */
.lp-footer {
    position: relative;
    overflow: hidden;
    margin-top: 24px;
    padding: 40px 40px 28px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-r-2xl);
    box-shadow: var(--lp-shadow-sm);
    color: var(--lp-text);
    font-family: var(--lp-font-body);
}

/* Декор-«пузыри» — CSS-градиенты (НЕ картинки), клиппуются overflow:hidden */
.lp-footer__bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
    z-index: 0;
}
.lp-footer__bubble--tl { top: -70px; left: -50px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(124,92,255,.22), rgba(124,92,255,0) 70%); }
.lp-footer__bubble--tr { top: -60px; right: -40px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(88,196,255,.20), rgba(88,196,255,0) 70%); }
.lp-footer__bubble--br { bottom: -80px; right: 6%; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,138,196,.16), rgba(255,138,196,0) 70%); }

.lp-footer__top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 1fr));
    gap: 32px;
}

/* ---------- Бренд-блок ---------- */
.lp-footer__brand { min-width: 0; }
.lp-footer__brand-link { display: inline-flex; align-items: center; gap: 10px; }
.lp-footer__logo { width: 40px; height: 40px; object-fit: contain; }
.lp-footer__brand-name {
    font-family: var(--lp-font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--lp-text);
}
.lp-footer__brand-tag { margin-top: 6px; font-size: 13px; color: var(--lp-text-muted); }
.lp-footer__bubbles { width: 100%; max-width: 220px; height: auto; margin-top: 18px; }

/* ---------- Колонки ссылок ---------- */
.lp-footer__col { min-width: 0; }
.lp-footer__col-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.lp-footer__col-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    flex-shrink: 0;
}
.lp-footer__col-icon svg { width: 16px; height: 16px; }
.lp-footer__col-title { font-size: 15px; font-weight: 700; color: var(--lp-text); }
.lp-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-footer__links a {
    font-size: 13.5px;
    color: var(--lp-text-muted);
    transition: color .15s;
}
.lp-footer__links a:hover { color: var(--lp-accent); }

/* ---------- Разделитель + юридический блок ---------- */
.lp-footer__divider {
    position: relative;
    z-index: 1;
    height: 1px;
    border: 0;
    margin: 32px 0 20px;
    background: var(--lp-border);
}
.lp-footer__legal {
    position: relative;
    z-index: 1;
    font-size: 12px;
    line-height: 1.55;
    color: var(--lp-text-muted);
}
.lp-footer__legal p { margin: 0 0 8px; }
.lp-footer__requisites a { color: var(--lp-accent); }
.lp-footer__requisites a:hover { text-decoration: underline; }

/* ---------- Нижняя строка ---------- */
.lp-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--lp-border);
}
.lp-footer__copy { font-size: 13px; color: var(--lp-text-muted); }
.lp-footer__socials { display: flex; align-items: center; gap: 10px; }
.lp-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--lp-surface-2);
    color: var(--lp-text);
    transition: background .15s, color .15s, transform .15s;
}
.lp-footer__social:hover { background: var(--lp-accent); color: #fff; transform: translateY(-1px); }
.lp-footer__social svg { width: 18px; height: 18px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1199px) {
    .lp-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
    .lp-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
    .lp-footer { padding: 28px 24px 20px; }
}
@media (max-width: 600px) {
    .lp-footer__top { grid-template-columns: 1fr; }
    .lp-footer__bottom { flex-direction: column; align-items: flex-start; }
    .lp-footer__bubbles { max-width: 180px; }
}

/* ========================================================================
   W41-how-it-works — модалка «Зачем мы это сделали» (.lp-info-modal)
   Top-level (вне .lp): локальные переменные --lp-* НЕ наследуются —
   цвета литеральные, font-family задан явно.
   ======================================================================== */
.lp-info-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0E0E14;
}
.lp-info-modal[hidden] { display: none; }

.lp-info-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 40, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    animation: lpInfoFadeIn .2s ease;
}

.lp-info-modal__window {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: min(760px, 94vw);
    max-height: 90vh;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 64px rgba(124, 92, 255, 0.28);
    /* Фон окна — ai-bg.png + полупрозрачный белый слой для читаемости */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.92)),
        url('/static/assets/info/ai-bg.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    animation: lpInfoSlideUp .28s ease;
}

.lp-info-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #0E0E14;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.lp-info-modal__close:hover { background: #7C5CFF; color: #fff; }
.lp-info-modal__close svg { width: 18px; height: 18px; }

.lp-info-modal__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 40px 40px 36px;
    -webkit-overflow-scrolling: touch;
}

.lp-info-modal__title {
    margin: 0;
    text-align: center;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #0E0E14;
}
.lp-info-modal__rule {
    display: block;
    width: 72px;
    height: 4px;
    margin: 14px auto 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7C5CFF, #D946EF);
}

.lp-info-modal__lead {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.6;
    color: #4A4A57;
}

.lp-info-modal__subtitle {
    margin: 26px 0 14px;
    font-size: 19px;
    font-weight: 700;
    color: #0E0E14;
}

.lp-info-modal__cards { display: flex; flex-direction: column; gap: 12px; }

.lp-info-modal__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #E8E6F0;
    box-shadow: 0 1px 2px rgba(20, 15, 60, .05);
}
.lp-info-modal__card-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #F1EFFF;
    box-shadow: 0 6px 18px rgba(124, 92, 255, .18);
    overflow: hidden;
}
.lp-info-modal__card-icon img { width: 48px; height: 48px; object-fit: contain; }
.lp-info-modal__card-body { min-width: 0; }
.lp-info-modal__card-title { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #0E0E14; }
.lp-info-modal__card-text { margin: 0; font-size: 14px; line-height: 1.55; color: #6B6B7B; }

.lp-info-modal__dont {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lp-info-modal__dont-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.55;
    color: #4A4A57;
}
.lp-info-modal__dont-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FDECEC;
    color: #EF4444;
}
.lp-info-modal__dont-icon svg { width: 15px; height: 15px; }

.lp-info-modal__note {
    margin: 22px 0 0;
    font-size: 13.5px;
    line-height: 1.6;
    font-style: italic;
    color: #8A8A98;
}

.lp-info-modal__actions { margin: 24px 0 4px; text-align: center; }
.lp-info-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 34px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #7C5CFF, #A855F7);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(124, 92, 255, .35);
    transition: transform .1s, box-shadow .15s, filter .15s;
}
.lp-info-modal__cta:hover { filter: brightness(1.05); box-shadow: 0 12px 32px rgba(124, 92, 255, .45); }
.lp-info-modal__cta:active { transform: translateY(1px); }

@keyframes lpInfoFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lpInfoSlideUp {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .lp-info-modal__overlay, .lp-info-modal__window { animation: none; }
}

/* Адаптив: 390px — окно почти на всю ширину, контент скроллится, без оверфлоу */
@media (max-width: 600px) {
    .lp-info-modal { padding: 12px; }
    .lp-info-modal__scroll { padding: 34px 18px 26px; }
    .lp-info-modal__title { font-size: 23px; }
    .lp-info-modal__subtitle { font-size: 17px; }
    .lp-info-modal__card { padding: 12px 12px; gap: 11px; }
    .lp-info-modal__card-icon { width: 52px; height: 52px; }
    .lp-info-modal__card-icon img { width: 36px; height: 36px; }
    .lp-info-modal__cta { width: 100%; }
}
