/* Страница «Выкуп» и страницы выкупа брендов/серий (/buyout/…) — общие стили */
    .Bo { --g: 24px; --r: 28px; --ink: #212121; --mute: #6b7280; --line: #e7e6e2; --ok: #1f7a4d; }
    .Bo-section { margin-top: 88px; }
    .Bo-kicker { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
    .Bo-h2 { font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--ink); }
    .Bo-sub { font-size: 18px; line-height: 1.5; color: var(--mute); max-width: 640px; }
    .Bo-head { margin-bottom: 36px; }
    .Bo-card { background: #fff; border-radius: var(--r); padding: 32px; }
    .Bo-btns { display: flex; flex-wrap: wrap; gap: 12px; }
    .Bo-btnLight { background: #fff !important; color: var(--ink) !important; border-color: #fff !important; }
    .Bo-btnGhost { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.45) !important; }

    /* 1. Первый экран */
    .Bo-hero { position: relative; border-radius: 36px; overflow: hidden; min-height: 600px; display: flex; align-items: flex-end; color: #fff;
               background: #1b1b1b url('/local/templates/shop/assets/img/content/pages/bo-hero.jpg?v=7') center right / cover no-repeat; }
    .Bo-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.92) 0%, rgba(17,17,17,.78) 42%, rgba(17,17,17,.15) 75%); }
    .Bo-heroIn { position: relative; padding: 56px; max-width: 660px; }
    .Bo-hero h1 { font-size: 56px; line-height: 1.04; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 22px; color: #fff; }
    .Bo-heroLead { font-size: 20px; line-height: 1.5; color: rgba(255,255,255,.85); margin-bottom: 30px; }
    .Bo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
    .Bo-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 40px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); font-size: 14px; color: #fff; }
    .Bo-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7ee2a8; }

    /* 2. Цифры */
    .Bo-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); margin-top: var(--g); }
    .Bo-num { background: #fff; border-radius: var(--r); padding: 28px 28px 30px; }
    .Bo-numV { display: block; font-size: 46px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
    .Bo-numV small { font-size: 20px; font-weight: 500; margin-left: 4px; letter-spacing: 0; }
    .Bo-numT { display: block; margin-top: 12px; color: var(--mute); line-height: 1.4; }

    /* 3. Шаги */
    .Bo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); list-style: none; margin: 0; padding: 0; counter-reset: s; }
    .Bo-step { position: relative; background: #fff; border-radius: var(--r); padding: 30px 28px 32px; }
    .Bo-step::before { counter-increment: s; content: '0' counter(s); display: block; font-size: 15px; font-weight: 600; color: var(--mute); margin-bottom: 40px; }
    .Bo-stepTime { position: absolute; top: 26px; right: 24px; padding: 6px 12px; border-radius: 40px; background: #eef7f1; color: var(--ok); font-size: 13px; font-weight: 600; }
    .Bo-stepT { display: block; font-size: 21px; font-weight: 600; margin-bottom: 10px; line-height: 1.25; }
    .Bo-step p { color: #444; line-height: 1.5; }

    /* 4. Видео + текст */
    .Bo-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
    .Bo-split_rev { grid-template-columns: 1fr 1.15fr; }
    .Bo-text p { font-size: 17px; line-height: 1.6; }
    .Bo-text p + p { margin-top: 14px; }
    .Bo-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
    .Bo-checks li { position: relative; padding-left: 34px; line-height: 1.45; }
    .Bo-checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
                            background: #212121 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

    /* 5. Что прислать */
    .Bo-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .Bo-shot { text-align: center; }
    .Bo-shot .Ph { aspect-ratio: 1 / 1; }
    .Bo-shotT { display: block; margin-top: 10px; font-weight: 600; }

    /* 6. Бренды */
    .Bo-brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .Bo-brand { display: block; background: #fff; border-radius: 22px; padding: 24px; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
    .Bo-brand:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
    .Bo-brandN { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
    .Bo-brandD { display: block; margin-top: 6px; color: var(--mute); font-size: 15px; }
    .Bo-note { margin-top: 18px; color: var(--mute); }

    /* 7. Сравнение */
    .Bo-cmp { background: #fff; border-radius: var(--r); overflow: hidden; }
    .Bo-cmp table { width: 100%; border-collapse: collapse; }
    .Bo-cmp th, .Bo-cmp td { padding: 20px 24px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.45; }
    .Bo-cmp thead th { border-top: 0; font-size: 15px; color: var(--mute); font-weight: 500; }
    .Bo-cmp thead th.Bo-us { color: #fff; }
    .Bo-cmp tbody th { font-weight: 600; width: 22%; }
    .Bo-cmp .Bo-us { background: #212121; color: #fff; width: 30%; }
    .Bo-cmp tbody td.Bo-us { border-top-color: #3a3a3a; }
    .Bo-cmp td:not(.Bo-us) { color: #555; }

    /* 8. Команда */
    .Bo-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); }
    .Bo-person { background: #fff; border-radius: var(--r); padding: 16px 16px 26px; }
    .Bo-person .Ph { aspect-ratio: 4 / 5; }
    .Bo-personN { display: block; font-size: 21px; font-weight: 600; margin: 18px 10px 2px; }
    .Bo-personR { display: block; margin: 0 10px; color: var(--mute); }
    .Bo-person p { margin: 12px 10px 0; line-height: 1.5; }

    /* 9. Галерея */
    .Bo-gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
    .Bo-gal img, .Bo-gal .Ph { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; display: block; }
    .Bo-gal > :first-child { grid-row: span 2; }
    .Bo-gal .Ph { display: flex; }

    /* 10. Офис */
    .Bo-office { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--g); }
    .Bo-office .Bo-card { display: flex; flex-direction: column; }
    .Bo-office .Bo-card p + p { margin-top: 12px; }
    .Bo-office .Bo-card .Bo-btns { margin-top: auto !important; padding-top: 24px; }
    .Bo-map { border-radius: var(--r); overflow: hidden; min-height: 380px; }
    .Bo-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(1); }

    /* 11. FAQ */
    .Bo-faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
    .Bo-faq > .Bo-head { position: sticky; top: 120px; }
    .Bo-faq details { background: #fff; border-radius: 22px; padding: 22px 26px; }
    .Bo-faq details + details { margin-top: 10px; }
    .Bo-faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
    .Bo-faq summary::-webkit-details-marker { display: none; }
    .Bo-faq summary::after { content: '+'; font-weight: 400; font-size: 24px; line-height: 1; }
    .Bo-faq details[open] summary::after { content: '−'; }
    .Bo-faq details p { margin-top: 12px; line-height: 1.55; color: #444; }

    /* 12. Финал */
    .Bo-final { background: #161616; color: #fff; border-radius: 36px; padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
    .Bo-final .Bo-h2 { color: #fff; }
    .Bo-final p { color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.5; }
    .Bo-final .Bo-btns { justify-content: flex-end; }

    /* заглушки под фото и видео — Сергей снимет, вставим */
    .Ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px;
          background: repeating-linear-gradient(45deg, #ececea, #ececea 12px, #e5e5e2 12px, #e5e5e2 24px); border: 1px dashed #b9b9b4; border-radius: 22px; color: #6b6b66; font-size: 15px; }
    .Ph strong { color: #3f3f3c; font-size: 16px; }
    .Ph_video { aspect-ratio: 16 / 9; position: relative; }
    .Ph_video::before { content: ''; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 6px;
                        background: #212121 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat; }

    @media (max-width: 1024px) {
        .Bo-hero h1 { font-size: 44px; }
        .Bo-nums, .Bo-steps, .Bo-brands { grid-template-columns: repeat(2, 1fr); }
        .Bo-split, .Bo-split_rev, .Bo-office, .Bo-faq, .Bo-final { grid-template-columns: 1fr; }
        .Bo-faq > .Bo-head { position: static; margin-bottom: 0; }
        .Bo-final .Bo-btns { justify-content: flex-start; }
        .Bo-team { grid-template-columns: 1fr 1fr; }
        .Bo-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px 200px; }
        .Bo-gal > :first-child { grid-row: auto; grid-column: span 2; }
    }
    @media (max-width: 575px) {
        .Bo { --g: 12px; --r: 22px; }
        .Bo-section { margin-top: 56px; }
        .Bo-hero { min-height: 560px; border-radius: 24px; background-position: 70% center; }
        .Bo-hero::before { background: linear-gradient(0deg, rgba(17,17,17,.95) 0%, rgba(17,17,17,.75) 55%, rgba(17,17,17,.2) 100%); }
        .Bo-heroIn { padding: 28px 22px; }
        .Bo-hero h1 { font-size: 34px; }
        .Bo-heroLead { font-size: 17px; }
        .Bo-btns .btn { flex: 1 1 100%; justify-content: center; }
        .Bo-h2 { font-size: 30px; }
        .Bo-num { padding: 20px; }
        .Bo-numV { font-size: 34px; }
        .Bo-steps, .Bo-team, .Bo-brands { grid-template-columns: 1fr; }
        .Bo-shots { grid-template-columns: 1fr 1fr; }
        .Bo-card, .Bo-final { padding: 26px 22px; }
        .Bo-final { border-radius: 24px; }
        .Bo-gal { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
        .Bo-gal > :first-child { grid-column: auto; }
        /* таблица сравнения на телефоне — карточками */
        .Bo-cmp thead { display: none; }
        .Bo-cmp tr { display: block; border-top: 1px solid var(--line); padding: 16px 18px; }
        .Bo-cmp tbody th, .Bo-cmp td { display: block; width: auto !important; padding: 4px 0; border: 0; }
        .Bo-cmp tbody th { font-size: 17px; margin-bottom: 6px; }
        .Bo-cmp td.Bo-us { background: #212121; border-radius: 14px; padding: 12px 14px; margin-bottom: 6px; }
        .Bo-cmp td::before { content: attr(data-l) ': '; color: var(--mute); }
        .Bo-cmp td.Bo-us::before { color: rgba(255,255,255,.6); }
    }

    /* заглушка с готовым фото */
    .Ph_has { padding: 0; overflow: hidden; background: none; border: 0; }
    .Ph_has img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* страницы выкупа брендов и серий (/buyout/page.php) */
.Bo-heroLead p { margin: 0; }
.Bo-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.Bo-tag { display: inline-flex; padding: 10px 18px; border-radius: 40px; background: #fff; color: var(--ink); font-size: 15px; text-decoration: none; transition: background .2s; }
.Bo-tag:hover { background: #ecebe7; }
.Bo .Section_descCategory { margin-top: 88px; }
.Bo .RefTable a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.Section_buyoutLink .BuyoutLink { font-size: 17px; }
@media (max-width: 767px) { .Bo .Section_descCategory { margin-top: 56px; } }
