/* ============================================================
   lubicvety.ru — шаблон статьи блога (прототип)
   Всё заскоплено под .bp (blog post), как .gp у гео-страниц:
   не конфликтует с main.css. Токены — из style-handoff-lubicvety.md
   ============================================================ */

.bp,
.bp-progress {
    --text: #402D3A;
    --muted: #676265;
    --accent: #74C6C2;
    --accent-dark: #5BB2AE;
    --accent-text: #2E7C78;   /* AA-контраст для мелкого текста/ссылок */
    --accent-light: #EFF7F6;
    --magenta: #871F68;
    --grey-bg: #F9F7F7;
    --line: #E1EDEC;
    --line-grey: #D1D1D1;
    --yellow: #FDBF07;
    --black: #000;
    --font-body: "Futura PT Book", "Futura PT", Jost, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-head: "Playfair Display", Georgia, serif;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(64, 45, 58, .10);
    --shadow-sm: 0 6px 20px rgba(64, 45, 58, .07);

    font-family: var(--font-body);
    color: var(--text);
    font-size: 18px;
    line-height: 1.6;
}

.bp *,
.bp *:before,
.bp *:after {
    box-sizing: border-box;
}

.bp-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 1. Прогресс чтения ---------- */
.bp-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 1001;   /* выше шапки (999), но ниже модалок сайта (1050) */
    background: linear-gradient(90deg, var(--accent) 0%, var(--magenta) 100%);
}

/* ---------- 1б. Фокус с клавиатуры ----------
   main.css:166 глушит аутлайн глобально через *{outline:none!important} — возвращаем в блоге */
.bp a:focus-visible,
.bp button:focus-visible,
.bp summary:focus-visible,
.bp [tabindex]:focus-visible {
    outline: 2px solid var(--magenta) !important;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ---------- 2. Шапка статьи ---------- */
.bp-hero {
    background: linear-gradient(180deg, var(--accent-light) 0%, rgba(239, 247, 246, 0) 100%);
    padding: 28px 0 0;
}

.bp-crumbs {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 22px;
}

.bp-crumbs a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.bp-crumbs a:hover {
    color: var(--accent-text);
    border-bottom-color: var(--accent);
}

.bp-crumbs span {
    margin: 0 8px;
    color: var(--line-grey);
}

.bp-head {
    max-width: 840px;
}

.bp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--magenta);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
}

.bp-kicker:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.bp h1.bp-title {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 48px;
    line-height: 1.14;
    color: var(--text);
    margin: 18px 0 18px;
    letter-spacing: -.01em;
}

.bp-deck {
    font-size: 21px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 26px;
    max-width: 720px;
}

.bp-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-bottom: 28px;
    font-size: 15px;
    color: var(--muted);
}

.bp-meta i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.bp-meta b {
    font-weight: 400;
    color: var(--text);
}

/* ---------- 3. Обложка ---------- */
.bp-cover {
    position: relative;
    margin: 0 0 -70px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--grey-bg);
    aspect-ratio: 16 / 7;
}

.bp-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* подпись обложки: в боевом шаблоне не выводится, оставлено для прототипа */
.bp-cover figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 26px 16px;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(38, 24, 33, .72) 100%);
}

/* ---------- 4. Сетка: текст + сайдбар ---------- */
.bp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 64px;
    padding: 40px 0 20px;
    align-items: start;
}

/* компенсация нахлёста обложки — только если обложка есть (статья без картинки
   иначе получала 110px пустоты) */
.bp-layout--cover {
    padding-top: 110px;
}

.bp-article {
    max-width: 760px;
}

.bp-aside {
    position: sticky;
    top: 112px;   /* .header--fixed сайта = 96px */
}

/* ---------- 5. Типографика текста ---------- */
.bp .bp-article p {
    font-size: 18px;
    line-height: 1.72;
    margin: 0 0 20px;
    color: var(--text);
}

.bp-article .bp-lead {
    font-size: 21px;
    line-height: 1.62;
    color: #4A3742;
    margin-bottom: 28px;
}

.bp-article .bp-lead:after {   /* короткий лид: буквица не свисает в следующий блок */
    content: "";
    display: table;
    clear: both;
}

.bp-article .bp-lead:first-letter {
    font-family: var(--font-head);
    font-size: 58px;
    line-height: .8;
    float: left;
    margin: 6px 12px 0 0;
    color: var(--magenta);
}

.bp .bp-article h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.22;
    color: var(--text);
    margin: 52px 0 20px;
    padding-top: 22px;
    position: relative;
    scroll-margin-top: 112px;
}

.bp .bp-article h2:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
}

.bp .bp-article h3 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 23px;
    line-height: 1.3;
    margin: 34px 0 14px;
    color: var(--text);
}

.bp-article a {
    color: var(--magenta);
    text-decoration: none;
    border-bottom: 1px solid rgba(135, 31, 104, .35);
    transition: .15s;
}

.bp-article a:hover {
    color: var(--accent-text);
    border-bottom-color: var(--accent);
}

/* инлайновые цвета из редактора TinyMCE (#33cccc) гасим: красим span, а ссылке
   принудительно возвращаем фирменный цвет (иначе ссылка наследует #33cccc от span) */
.bp-article span[style] {
    color: inherit !important;
}

.bp-article a[style],
.bp-article a span[style],
.bp-article span[style] a {
    color: var(--magenta) !important;
}

.bp .bp-article ul {
    list-style: none;
    margin: 22px 0;
    margin-left: 0;
    padding: 0;
}

.bp .bp-article ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.bp .bp-article ul li:before {
    content: "";
    position: absolute;
    left: 6px;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.bp-article blockquote {
    margin: 32px 0;
    padding: 26px 30px;
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-head);
    font-size: 22px;
    line-height: 1.45;
    color: var(--text);
}

/* картинки, вставленные редактором прямо в текст: только они, иначе отступ
   прилипает к фото в товарных карточках и витрине (белая полоса сверху) */
.bp-article > p img,
.bp-article > figure img,
.bp-article > blockquote img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 28px auto;
    border-radius: var(--radius);
}

/* страховка: у фото внутри компонентов свои размеры и никаких отступов */
.bp-product__img img,
.bp-prod__img img,
.bp-card__img img,
.bp-cover img {
    margin: 0;
}

.bp-article figure {
    margin: 32px 0;
}

.bp-article figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.bp-article figcaption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
}

/* ---------- 6. Тезисы «Коротко» ---------- */
.bp-tldr {
    background: var(--accent-light);
    border-radius: var(--radius);
    padding: 26px 30px;
    margin: 0 0 36px;
}

.bp-tldr__t {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 14px;
}

.bp-tldr ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp-tldr li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.55;
}

.bp-tldr li:last-child {
    margin-bottom: 0;
}

.bp-tldr li:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 14px;
    height: 8px;
    border-left: 2px solid var(--magenta);
    border-bottom: 2px solid var(--magenta);
    transform: rotate(-45deg);
}

/* ---------- 7. Совет флориста ---------- */
.bp-tip {
    display: flex;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 26px;
    margin: 32px 0;
    box-shadow: var(--shadow-sm);
}

.bp-tip__ic {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-light);
    display: grid;
    place-items: center;
}

.bp-tip__ic svg {
    width: 22px;
    height: 22px;
    display: block;
}

.bp-tip__t {
    font-size: 12px
;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 6px;
}

.bp-tip p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
}

/* ---------- 8. Товарная вставка ---------- */
.bp-product {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    background: var(--grey-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    margin: 34px 0;
    transition: .2s;
}

.bp-product:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.bp-product__img {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #fff;
}

.bp-product__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.bp-product:hover .bp-product__img img {
    transform: scale(1.04);
}

.bp-product__label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 8px;
}

.bp-product__name {
    font-family: var(--font-head);
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.bp-product__name a {
    color: var(--text);
    text-decoration: none;
    border: 0;
}

.bp-product__name a:hover {
    color: var(--magenta);
}

.bp-product__sost {
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0 0 14px;
}

.bp-product__bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bp-product__price {
    font-size: 24px;
    font-family: var(--font-body);
    white-space: nowrap;
}

/* ---------- 8б. Витрина каталога в середине статьи ---------- */
.bp-shelf {
    margin: 44px 0;
    padding: 28px 28px 26px;
    background: var(--grey-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.bp-shelf__h {
    margin-bottom: 20px;
}

.bp-shelf__k {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 6px;
}

.bp .bp-shelf__t {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 27px;
    line-height: 1.2;
    margin: 0;
    padding-top: 0;
    scroll-margin-top: 0;
}

.bp .bp-shelf__t:before {
    display: none;   /* акцентная черта — только у заголовков текста */
}

.bp-shelf__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bp-prod {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 10px 16px;
    text-decoration: none;
    transition: .18s;
}

.bp .bp-prod {
    border-bottom: 1px solid var(--line);
}

.bp-prod:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.bp-prod__img {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--grey-bg);
    margin-bottom: 12px;
}

.bp-prod__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.bp-prod:hover .bp-prod__img img {
    transform: scale(1.05);
}

.bp-prod__n {
    display: block;
    padding: 0 6px;
    font-size: 15px;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 8px;
}

.bp-prod__p {
    display: block;
    margin-top: auto;
    padding: 0 6px;
    font-size: 19px;
    color: var(--text);
}

.bp-shelf__f {
    margin-top: 22px;
    text-align: center;
}

.bp-product__out {
    font-size: 15px;
    color: var(--muted);
    padding: 0 4px;
}

/* ---------- 9. Кнопки ----------
   Повторяют боевые кнопки сайта из main.css:
   .bp-btn        = .btn_main   (чёрная, radius 3, h49, Futura PT 500 16px, hover #353535)
   .bp-btn--arrow = .btn_main_arrow (стрелка справа)
   .bp-btn--ghost = .btn_border (белая, рамка 2px #402D3A, инверсия на hover)
   .bp-btn--light = .btn_color  (фон #E1EDEC, тёмный текст, hover #CADEDC)          */
.bp .bp-btn {
    border-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    height: 49px;
    padding: 0 36px;
    border: 0;
    border-radius: 3px;
    background: var(--black);
    color: #fff;
    font-family: "Futura PT", var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 49px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all .3s ease;
}

.bp .bp-btn:hover {
    background: #353535;
    color: #fff;
}

.bp .bp-btn--arrow {
    padding-right: 60px;
}

.bp .bp-btn--arrow:after {
    content: "";
    position: absolute;
    right: 30px;
    top: calc(50% - 2px);
    width: 0;
    height: 0;
    transform: rotate(90deg);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #fff;
}

.bp .bp-btn--ghost {
    background: #fff;
    color: var(--text);
    border: 2px solid var(--text);
    line-height: 45px;
    padding: 0 30px;
}

.bp .bp-btn--ghost:hover {
    background: var(--text);
    color: #fff;
}

.bp .bp-btn--light {
    background: var(--line);
    color: var(--text);
}

.bp .bp-btn--light:hover {
    background: #CADEDC;
    color: var(--text);
}

/* маленький вариант — как .btn_main_small на карточках товара */
.bp .bp-btn--sm {
    height: 40px;
    line-height: 40px;
    padding: 0 32px;
    font-size: 14px;
}

/* ---------- 10. Сезоны ---------- */
.bp-seasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0 34px;
}

.bp-season {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
}

.bp-season__h {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.bp-season__n {
    font-family: var(--font-head);
    font-size: 22px;
}

.bp-season__d {
    font-size: 14px;
    color: var(--muted);
}

.bp-season__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.bp-season__chips span {
    font-size: 13px;
    line-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--accent-light);
    color: var(--text);
}

.bp-season p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

/* ---------- 11. Чек-лист ---------- */
.bp-check {
    counter-reset: bpc;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 30px;
    margin: 30px 0;
}

.bp-check ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bp-check li {
    counter-increment: bpc;
    position: relative;
    padding-left: 46px;
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.6;
}

.bp-check li:last-child {
    margin-bottom: 0;
}

.bp-check li:before {
    content: counter(bpc);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent-text);
    font-size: 15px;
    display: grid;
    place-items: center;
}

.bp-check b {
    font-weight: 400;
    font-family: var(--font-head);
    font-size: 19px;
    display: block;
    margin-bottom: 2px;
}

/* ---------- 12. FAQ ---------- */
.bp-faq {
    margin: 34px 0;
    border-top: 1px solid var(--line);
}

.bp-faq details {
    border-bottom: 1px solid var(--line);
}

.bp-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 44px 20px 0;
    position: relative;
    font-family: var(--font-head);
    font-size: 20px;
    line-height: 1.35;
}

.bp-faq summary::-webkit-details-marker {
    display: none;
}

.bp-faq summary:before,
.bp-faq summary:after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--accent-dark);
    transition: .2s;
}

.bp-faq summary:after {
    transform: rotate(90deg);
}

.bp-faq details[open] summary:after {
    transform: rotate(0);
    opacity: 0;
}

.bp-faq details p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 640px;
}

/* ---------- 13. Поделиться ---------- */
.bp-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px 0 0;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.bp-share__t {
    font-size: 15px;
    color: var(--muted);
    margin-right: 4px;
}

.bp-share a,
.bp-share button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: .15s;
}

.bp-share a:hover,
.bp-share button:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.bp-share img,
.bp-share svg {
    width: 18px;
    height: 18px;
}

/* ---------- 14. Сайдбар: содержание ---------- */
.bp .bp-toc a {
    border-bottom: 0;
}

.bp-toc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 22px 18px;
}

.bp-toc__t {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.bp-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: bptoc;
}

.bp-toc li {
    counter-increment: bptoc;
    margin-bottom: 2px;
}

.bp-toc a {
    display: block;
    position: relative;
    padding: 8px 10px 8px 34px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--muted);
    text-decoration: none;
    transition: .15s;
}

.bp-toc a:before {
    content: counter(bptoc);
    position: absolute;
    left: 10px;
    top: 8px;
    font-size: 13px;
    color: var(--muted);
}

.bp-toc a:hover {
    background: var(--grey-bg);
    color: var(--text);
}

.bp-toc a.is-active {
    background: var(--accent-light);
    color: var(--text);
    box-shadow: inset 2px 0 0 var(--accent-dark);   /* фон 1.09:1 — нужен ещё и маркер */
}

.bp-toc a.is-active:before {
    color: var(--accent-text);
}

/* ---------- 15. Сайдбар: мини-CTA ---------- */
.bp-sidecta {
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    background: var(--accent-light);
}

.bp-sidecta__t {
    font-family: var(--font-head);
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.bp-sidecta p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

.bp-sidecta .bp-btn {
    width: 100%;
}

.bp-sidecta__tel {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: 19px;
    color: var(--text);
    text-decoration: none;
}

.bp-sidecta__tel:hover {
    color: var(--magenta);
}

/* ---------- 16. Мобильное содержание ---------- */
.bp-toc-mob {
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    margin: 0 0 28px;
}

.bp-toc-mob > summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    position: relative;
}

.bp-toc-mob > summary::-webkit-details-marker {
    display: none;
}

.bp-toc-mob > summary:after {
    content: "";
    position: absolute;
    right: 22px;
    top: 22px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent-dark);
    border-bottom: 2px solid var(--accent-dark);
    transform: rotate(45deg);
    transition: .2s;
}

.bp-toc-mob[open] > summary:after {
    transform: rotate(-135deg);
    top: 25px;
}

.bp-toc-mob .bp-toc {
    border: 0;
    padding-top: 0;
}

.bp-toc-mob .bp-toc__t {
    display: none;
}

/* ---------- 17. Финальный CTA ---------- */
.bp-cta {
    margin: 56px 0 0;
    border-radius: 24px;
    background: var(--accent-light);
    padding: 44px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
}

.bp-cta__txt {
    max-width: 560px;
}

.bp .bp-cta h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.bp-cta p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
}

.bp-cta__act {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* иначе кнопка растягивается на всю ширину блока */
    gap: 12px;
    min-width: min(260px, 100%);
    max-width: 100%;
}

.bp-cta__tel {
    text-align: left;
    font-size: 15px;
    color: var(--muted);
    text-decoration: none;
}

.bp-cta__tel b {
    display: block;
    font-weight: 400;
    font-size: 22px;
    color: var(--text);
}

/* ---------- 18. Читайте также ---------- */
.bp-also {
    padding: 64px 0 20px;
}

.bp-also__h {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.bp .bp-also__h h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
}

.bp-also__all {
    font-size: 15px;
    color: var(--magenta);
    text-decoration: none;
    white-space: nowrap;
}

.bp-also__all:hover {
    color: var(--accent-text);
}

.bp-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.bp-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .2s;
}

.bp-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.bp-card__img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--grey-bg);
}

.bp-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* фолбэк для Safari ≤14 / старых WebView: без aspect-ratio высота была бы 0 */
@supports not (aspect-ratio: 16 / 10) {
    .bp-card__img {
        height: 0;
        padding-top: 62.5%;
        position: relative;
    }

    .bp-card__img img {
        position: absolute;
        inset: 0;
        top: 0;
        left: 0;
        height: 100%;
    }
}

.bp-card__b {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.bp-card__date {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.bp-card__date i {
    font-style: normal;
    color: var(--line-grey);
    margin: 0 2px;
}

.bp-card__rub {
    color: var(--accent-text);
    text-decoration: none;
}

.bp-card__rub:hover {
    color: var(--magenta);
}

/* ---------- 18б. Список блога: фильтр по рубрикам ---------- */
.bp-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px 0 30px;
}

.bp-filter button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    cursor: pointer;
    transition: .15s;
}

.bp-filter button span {
    font-size: 13px;
    color: var(--muted);
}

.bp-filter button:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.bp-filter button.is-active {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}

.bp-filter button.is-active span {
    color: rgba(255, 255, 255, .6);
}

.bp-list {
    padding-bottom: 56px;
}

/* иначе display:flex у карточки перебивает атрибут hidden */
.bp-card[hidden],
.bp-list__empty[hidden] {
    display: none;
}

/* ---------- 18в. Пагинация списка блога ---------- */
.bp-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 36px 0 10px;
}

.bp-pager a,
.bp-pager span.is-active,
.bp-pager span.is-off {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--line-grey);
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}

.bp-pager a:hover {
    border-color: var(--text);
}

.bp-pager .is-active {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}

.bp-pager .is-off {
    opacity: .35;
}

.bp-pager > span:not([class]) {          /* многоточие между номерами */
    color: var(--muted);
    padding: 0 2px;
}

.bp-pager i {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    transform: rotate(45deg);
    display: block;
}

.bp-pager .bp-pager__prev i {
    transform: rotate(-135deg);
}

.bp-pager__info {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    padding-top: 12px;
}

@media (max-width: 680px) {
    .bp-pager {
        gap: 6px;
        padding-top: 26px;
    }

    .bp-pager a {
        min-width: 40px;
        height: 40px;
        padding: 0 9px;
        font-size: 15px;
    }
}

.bp-list__empty {
    padding: 40px 0;
    color: var(--muted);
}

.bp-card__name {
    font-family: var(--font-head);
    font-size: 21px;
    line-height: 1.25;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 10px;
}

.bp-card:hover .bp-card__name {
    color: var(--magenta);
}

.bp-card p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

.bp-card__lin {
    margin-top: auto;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--magenta);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bp-card__lin:after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: .15s;
}

.bp-card:hover .bp-card__lin:after {
    transform: rotate(45deg) translate(2px, -2px);
}

/* ---------- 19. Мобильная плашка заказа ---------- */
.bp-floatbar {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 900;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow);
    padding: 8px 8px 8px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transform: translateY(140%);
    transition: transform .25s ease;
}

.bp-floatbar.is-on {
    transform: none;
}

.bp-floatbar span {
    font-size: 15px;
    line-height: 1.25;
}

.bp-floatbar .bp-btn {
    height: 44px;
    padding: 0 20px;
    flex: 0 0 auto;
}

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1100px) {
    .bp-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-top: 40px;
    }

    .bp-layout--cover {
        padding-top: 96px;
    }

    .bp-aside {
        display: none;
    }

    .bp-toc-mob {
        display: block;
    }

    .bp-article {
        max-width: 820px;      /* без сайдбара строка иначе уезжала на 116 знаков */
        margin: 0 auto;
    }

    .bp h1.bp-title {
        font-size: 40px;
    }
}

@media (max-width: 860px) {
    .bp-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-cta {
        padding: 32px 26px;
    }

    .bp-cta__act {
        width: 100%;
    }
}

@media (max-width: 420px) {

    /* узкие экраны: подпись кнопки переносим, иначе она лезет на стрелку */
    .bp .bp-btn {
        white-space: normal;
        height: auto;
        min-height: 49px;
        line-height: 1.3;
        padding: 12px 24px;
        text-align: center;
    }

    .bp .bp-btn--arrow {
        padding-right: 44px;
    }
}

@media (max-width: 680px) {
    .bp {
        font-size: 17px;
    }

    .bp-container {
        padding: 0 16px;
    }

    .bp h1.bp-title {
        font-size: 30px;
        line-height: 1.2;
        margin: 14px 0 14px;
    }

    .bp-deck {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .bp-cover {
        margin-bottom: -40px;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }

    .bp-cover figcaption {
        font-size: 13px;
        padding: 26px 16px 12px;
    }

    .bp-layout {
        padding-top: 30px;
    }

    .bp-layout--cover {
        padding-top: 62px;
    }

    .bp-article > p,
    .bp-article .bp-lead {
        font-size: 17px;
    }

    .bp-article .bp-lead:after {   /* короткий лид: буквица не свисает в следующий блок */
    content: "";
    display: table;
    clear: both;
}

.bp-article .bp-lead:first-letter {
        font-size: 46px;
        margin-right: 9px;
    }

    .bp .bp-article h2 {
        font-size: 24px;
        margin-top: 40px;
    }

    .bp-tldr,
    .bp-check {
        padding: 22px 20px;
    }

    .bp-tip {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .bp-product {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 18px;
    }

    .bp-product__img {
        aspect-ratio: 16 / 11;
    }

    .bp-product__name {
        font-size: 22px;
    }

    .bp-product__bottom {
        justify-content: space-between;
    }

    .bp-seasons,
    .bp-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    /* витрина на мобилке — лента со свайпом */
    .bp-shelf {
        padding: 22px 0 22px 16px;
    }

    .bp-shelf__h,
    .bp-shelf__f {
        padding-right: 16px;
    }

    .bp-shelf__t {
        font-size: 22px;
    }

    .bp-shelf__row {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
    }

    .bp-shelf__row::-webkit-scrollbar {
        display: none;
    }

    .bp-prod {
        flex: 0 0 62%;
        scroll-snap-align: start;
    }

    .bp-shelf__row:after {
        content: "";
        flex: 0 0 4px;
    }

    .bp-cta h2,
    .bp .bp-also__h h2 {
        font-size: 26px;
    }

    /* на мобилке кнопку CTA — во всю ширину под палец */
    .bp-cta__act {
        align-items: stretch;
    }

    .bp-cta__tel {
        text-align: center;
    }

    .bp-also {
        padding-top: 44px;
    }

    .bp-floatbar {
        display: flex;
    }

    .bp-share {
        gap: 8px;
    }
}

/* ---------- 20. Меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {

    .bp *,
    .bp *:before,
    .bp *:after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .bp-card:hover {
        transform: none;
    }

    .bp-shelf__row {
        scroll-snap-type: none;
    }
}

/* ---------- 21. Печать ---------- */
@media print {

    .bp-progress,
    .bp-floatbar,
    .bp-aside,
    .bp-toc-mob,
    .bp-share,
    .bp-cta,
    .bp-shelf,
    .bp-also {
        display: none !important;
    }

    .bp-layout {
        display: block;
        padding: 0;
    }

    .bp-cover {
        margin-bottom: 20px;
        box-shadow: none;
    }

    .bp-article {
        max-width: none;
    }

    .bp-faq details {
        page-break-inside: avoid;
    }

    .bp-faq details > p {
        display: block !important;
    }
}
