/* HomeFine: информационные страницы из верхнего меню (new.homefine.ru, 03.10.2026). Разметку строит /hf/pages.js из текста страницы.
   Оплата, Доставка, О нас, Дизайнерам, Контакты — свои макеты; Наши работы, Материалы обивки, Блог — карточки. Цвета и шрифт — /hf/nav.css */

/* Подвал, «Полезное»: ссылки из настроек темы — вложенный <ul>, «Карта сайта» идёт после него, и правило li + li из nav.css её не задевает (07.10) */
.hf-ft__col ul > ul + li { margin-top: 11px; }

/* Страницы с текстом из базы (Пользовательское соглашение и др.): картинки с шириной в style="width:800px" не шире экрана (10.10) */
.support-text img { max-width: 100%; height: auto !important; }
@media (max-width: 991.98px) { .support-content, .support-text { width: auto !important; max-width: 100%; } }   /* тема даёт блоку 777px — на телефоне соглашение уезжало вбок */
/* Корзина: поле количества 16px, иначе iPhone приближает страницу при нажатии (10.10) */
body.checkout-simplecheckout td.quantity input.form-control { font-size: 16px; }

/* Карточка товара, телефон: полоса «цена · Купить» над нижней панелью (pages.js buyBar, 01.11.2026).
   Лента страницы (.hf-scroll) и плашки cookie / «наверх» поднимаются на высоту полосы — она ничего не закрывает */
.hf-bb { display: none; }
@media (max-width: 991.98px) {
  html.hf-bb-on { --hf-bbh: 64px; }
  html.hf-bb-on .hf-bb {
    position: fixed; left: 0; right: 0; bottom: calc(60px + var(--hf-tabpad)); z-index: 1039;
    display: flex; align-items: center; gap: 12px; height: var(--hf-bbh);
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    background: #fff; border-top: 1px solid var(--hf-line);
  }
  .hf-bb__p { flex: 1 1 auto; min-width: 0; }
  .hf-bb__p b { display: block; font: 800 19px/1.15 var(--hf-font); letter-spacing: -.01em; color: var(--hf-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hf-bb__p span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font: 500 12px/1.3 var(--hf-font); color: var(--hf-muted); }
  .hf-bb__go.hf-btn, button.hf-bb__go.hf-btn { flex: none; height: 46px; padding: 0 20px; border-radius: 14px; }
  .hf-bb__go:active { transform: scale(.97); }
  html.hf-bb-on .hf-scroll { bottom: calc(60px + var(--hf-tabpad) + var(--hf-bbh)); }
  html.hf-bb-on body { padding-bottom: calc(60px + var(--hf-tabpad) + var(--hf-bbh)); }   /* без .hf-shell страница листается окном */
  html.hf-bb-on #topcontrol, html.hf-bb-on #cookiefy_bar { bottom: calc(72px + var(--hf-tabpad) + var(--hf-bbh)) !important; }
}
@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) { .hf-bb__go:active { transform: none; } }

/* ---------- Общие блоки ---------- */
.hf-pg { font-family: var(--hf-font); color: var(--hf-ink); }
.hf-pg-src { display: none !important; }   /* исходный текст страницы (из базы) — по нему собран макет */
.hf-hero { position: relative; overflow: hidden; margin: 0 0 32px; padding: 48px 52px; border-radius: 28px; background: #f4f3f0; }
.hf-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(50, 86, 120, .1), rgba(50, 86, 120, 0) 70%); pointer-events: none; }
.hf-hero__k { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 700 12px/1 var(--hf-font); letter-spacing: .12em; text-transform: uppercase; color: var(--hf-muted); }
.hf-hero__k::before { content: ''; width: 22px; height: 2px; border-radius: 1px; background: currentColor; }
h1.hf-hero__t { margin: 0; max-width: 780px; font: 800 44px/1.08 var(--hf-font); letter-spacing: -.02em; color: var(--hf-ink); text-transform: none; }
.hf-hero__lead { max-width: 720px; margin: 18px 0 0; font: 400 18px/1.6 var(--hf-font); color: #4d4c47; }
.hf-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hf-tag { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 17px; background: #fff; font: 600 13px/1 var(--hf-font); color: var(--hf-ink); box-shadow: 0 1px 2px rgba(30, 28, 24, .06); }
.hf-tag .hf-i { color: var(--hf-accent); }
.hf-sec { margin: 0 0 40px; }
h2.hf-sec__t, .hf-sec__t { margin: 0 0 18px; font: 800 26px/1.2 var(--hf-font); letter-spacing: -.01em; color: var(--hf-ink); text-transform: none; }
.hf-sec__sub { margin: -8px 0 20px; max-width: 760px; font: 400 16px/1.6 var(--hf-font); color: #5d5c57; }
.hf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hf-card { position: relative; padding: 24px; border: 1px solid var(--hf-line); border-radius: 22px; background: #fff; transition: box-shadow .2s ease-out, transform .2s var(--hf-ease), border-color .2s; }
.hf-card:hover { border-color: transparent; box-shadow: 0 18px 40px -18px rgba(30, 28, 24, .25); transform: translateY(-2px); }
.hf-card__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; background: #edf3f9; color: var(--hf-accent); }
.hf-card__t { margin: 0 0 8px; font: 700 18px/1.3 var(--hf-font); color: var(--hf-ink); }
.hf-card__p { margin: 0; font: 400 15px/1.6 var(--hf-font); color: #5d5c57; }
.hf-card__p a { color: var(--hf-accent); }
.hf-card__note { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #fbf6ea; font: 500 13px/1.45 var(--hf-font); color: #7a5a14; }
.hf-callout { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 40px; padding: 22px 24px; border-radius: 20px; background: #fdf5e6; color: #6b4e10; font: 500 15px/1.6 var(--hf-font); }
.hf-callout .hf-i { flex: none; margin-top: 2px; color: #c88a12; }
.hf-callout--info { background: #edf3f9; color: #2d4a66; }
.hf-callout--info .hf-i { color: var(--hf-accent); }
.hf-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: hfst; }
.hf-step { position: relative; padding: 24px 24px 24px; border-radius: 22px; background: #f7f6f3; counter-increment: hfst; }
.hf-step::before { content: counter(hfst); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--hf-ink); color: #fff; font: 800 16px/1 var(--hf-font); }
.hf-step__t { margin: 0 0 6px; font: 700 17px/1.3 var(--hf-font); }
.hf-step__p { margin: 0; font: 400 15px/1.6 var(--hf-font); color: #5d5c57; }
.hf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0 0 40px; }
.hf-stat { padding: 22px 24px; border-radius: 22px; background: var(--hf-ink); color: #fff; }
.hf-stat b { display: block; font: 800 30px/1.1 var(--hf-font); letter-spacing: -.01em; }
.hf-stat span { display: block; margin-top: 8px; font: 500 14px/1.45 var(--hf-font); color: #c9c8c2; }
.hf-text { max-width: 820px; font: 400 16px/1.7 var(--hf-font); color: #3f3e3a; }
.hf-text p { margin: 0 0 16px; }
.hf-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hf-btn, a.hf-btn, button.hf-btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px; border: 0; border-radius: 16px; background: var(--hf-ink); color: #fff; font: 700 15px/1 var(--hf-font); text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer; transition: background-color .15s ease-out, transform .12s ease-out; }
.hf-btn:hover, a.hf-btn:hover, button.hf-btn:hover { background: var(--hf-accent); color: #fff; text-decoration: none; }
.hf-btn:active { transform: scale(.98); }
.hf-btn--ghost, a.hf-btn--ghost { background: #fff; color: var(--hf-ink); box-shadow: inset 0 0 0 1.5px #dddcd7; }
.hf-btn--ghost:hover, a.hf-btn--ghost:hover { background: #fff; color: var(--hf-ink); box-shadow: inset 0 0 0 1.5px var(--hf-ink); }
.hf-btn--light, button.hf-btn--light { background: #fff; color: var(--hf-ink); }
.hf-btn--light:hover, button.hf-btn--light:hover { background: #f4f3f0; color: var(--hf-ink); }

/* ---------- Оплата: реквизиты ---------- */
.hf-req { border: 1px solid var(--hf-line); border-radius: 22px; overflow: hidden; background: #fff; }
.hf-req__h { display: flex; align-items: center; gap: 12px; padding: 18px 24px; background: #f7f6f3; font: 700 17px/1.3 var(--hf-font); }
.hf-req__row { display: grid; grid-template-columns: 260px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 24px; border-top: 1px solid var(--hf-line); }
.hf-req__k { font: 500 14px/1.4 var(--hf-font); color: var(--hf-muted); }
.hf-req__v { font: 600 15px/1.4 var(--hf-font); color: var(--hf-ink); font-variant-numeric: tabular-nums; word-break: break-word; }
.hf-copy, button.hf-copy { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 16px; background: #f4f3f0; color: #5d5c57; font: 600 12px/1 var(--hf-font); text-transform: none; cursor: pointer; transition: background-color .15s, color .15s; }
button.hf-copy:hover { background: #e9e8e3; color: var(--hf-ink); }
button.hf-copy.is-done { background: #e3f3e8; color: #23824a; }
/* 07.10: одна кнопка на все реквизиты — в шапке блока справа */
.hf-req__org { flex: 1 1 auto; min-width: 0; }
button.hf-copy--all { flex: none; height: 38px; padding: 0 16px; border-radius: 19px; background: #fff; border: 1px solid var(--hf-line); font-size: 13px; color: var(--hf-ink); }
button.hf-copy--all:hover { background: #fff; border-color: #cfccc4; }
.hf-req__row { grid-template-columns: 260px minmax(0, 1fr); }

/* ---------- О нас: «вместо — только» ---------- */
.hf-vs { display: flex; flex-direction: column; gap: 10px; }
.hf-vs__no, .hf-vs__yes { display: flex; gap: 10px; align-items: flex-start; font: 500 15px/1.5 var(--hf-font); }
.hf-vs__no { color: #8b8a85; text-decoration: line-through; text-decoration-color: rgba(192, 57, 43, .5); }
.hf-vs__yes { color: var(--hf-ink); font-weight: 600; }
.hf-vs__no .hf-i { color: #c0392b; } .hf-vs__yes .hf-i { color: #23824a; }
.hf-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hf-gallery img { display: block; width: 100%; height: auto; border-radius: 22px; }

/* ---------- Дизайнерам: экран с фото ---------- */
.hf-hero--photo { min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; background: #252421 center / cover no-repeat; color: #fff; }
.hf-hero--photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 19, 17, .82) 0%, rgba(20, 19, 17, .45) 60%, rgba(20, 19, 17, .15) 100%); }
.hf-hero--photo::after { display: none; }
.hf-hero--photo > * { position: relative; }
.hf-hero--photo .hf-hero__k { color: rgba(255, 255, 255, .7); }
.hf-hero--photo h1.hf-hero__t { color: #fff; }
.hf-hero--photo .hf-hero__lead { color: rgba(255, 255, 255, .85); }
.information-information-10 .barbaraslider { display: none; }
.hf-faq .accordion-item { margin: 0 0 10px; border: 1px solid var(--hf-line) !important; border-radius: 18px !important; overflow: hidden; background: #fff; }
.hf-faq .accordion-button { padding: 18px 22px !important; border: 0 !important; background: #fff !important; box-shadow: none !important; font: 700 16px/1.4 var(--hf-font) !important; color: var(--hf-ink) !important; text-transform: none !important; cursor: pointer; }
.hf-faq .accordion-button:not(.collapsed) { color: var(--hf-accent) !important; }
.hf-faq .accordion-answer { padding: 0 22px 20px; font: 400 15px/1.6 var(--hf-font); color: #5d5c57; }

/* ---------- Контакты ---------- */
.hf-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 32px; }
.hf-quick a, .hf-quick a:hover { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: #f4f3f0; color: var(--hf-ink); text-decoration: none; transition: background-color .15s, transform .2s var(--hf-ease); }
.hf-quick a:hover { background: #ecebe6; transform: translateY(-2px); }
.hf-quick__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: #fff; color: var(--hf-ink); }
.hf-quick__ic .icon { width: 22px; height: 22px; fill: currentColor; }
.hf-quick b { display: block; font: 700 15px/1.25 var(--hf-font); }
.hf-quick small { display: block; margin-top: 3px; font: 500 12px/1.3 var(--hf-font); color: var(--hf-muted); }
.hf-place { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--hf-line); }
.hf-place__k { font: 700 12px/1 var(--hf-font); letter-spacing: .1em; text-transform: uppercase; color: var(--hf-muted); }
.hf-place__a { margin: 10px 0 0; font: 700 20px/1.35 var(--hf-font); color: var(--hf-ink); font-style: normal; }
.hf-place__rows { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font: 500 15px/1.5 var(--hf-font); color: #5d5c57; }
.hf-place__rows b { color: var(--hf-ink); }
.hf-place__map { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font: 600 14px/1 var(--hf-font); color: var(--hf-accent); text-decoration: none; }
.hf-place__map:hover { color: var(--hf-accent); text-decoration: underline; }
.hf-formcard { padding: 28px; border-radius: 22px; background: #f7f6f3; }
.hf-formcard .h5title { margin: 0 0 18px; font: 800 22px/1.2 var(--hf-font); color: var(--hf-ink); text-transform: none; }
.hf-formcard .form-group { display: block; margin: 0 0 14px !important; }
.hf-formcard .form-group > label { display: block; width: auto; max-width: none; margin: 0 0 7px; padding: 0; text-align: left; font: 600 14px/1.2 var(--hf-font); color: var(--hf-ink); }
.hf-formcard .form-group > div[class*="col-"] { width: 100%; max-width: 100%; padding: 0; flex: none; }
.hf-formcard .form-control { height: 50px; padding: 0 16px; border: 1.5px solid #dddcd7; border-radius: 14px; background: #fff; box-shadow: none; font: 500 16px/1.2 var(--hf-font); }
.hf-formcard input[type].form-control, .hf-formcard select.form-control { font-size: 16px; }   /* тема ставит input[type=text].form-control 13px — на iPhone поле приближалось при нажатии (10.10) */
.hf-formcard textarea.form-control { height: 140px; padding: 12px 16px; resize: vertical; }
.hf-formcard .form-control:focus { border-color: var(--hf-accent); box-shadow: 0 0 0 4px rgba(50, 86, 120, .12); }
.hf-formcard fieldset { margin: 0; padding: 0; border: 0; }
.hf-formcard .form-group:last-child { font: 400 13px/1.5 var(--hf-font); color: #5d5c57; }
.hf-formcard .buttons .text-end { text-align: left !important; }
.hf-formcard input[type=submit].btn { height: 52px; padding: 0 28px; border: 0; border-radius: 16px; background: var(--hf-ink); color: #fff; font: 700 15px/1 var(--hf-font); text-transform: none; }
.hf-formcard input[type=submit].btn:hover { background: var(--hf-accent); }

/* ---------- Наши работы (записи блога) ---------- */
.record-blog .seocmspro_content .blog-info, .record-blog .seocmspro_content .divider100, .record-blog .blog_bottom, .record-blog .record_description { display: none !important; }
.record-blog .content-records { display: flex; flex-direction: column; }
.record-blog .content-records .blog-image { position: relative; overflow: hidden; border-radius: 22px; background: var(--hf-soft); }
.record-blog .content-records .blog-image .image { margin: 0; }
.record-blog .content-records .blog-image img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; transition: transform .5s var(--hf-ease); }
.record-blog .content-records:hover .blog-image img { transform: scale(1.04); }
.record-blog .content-records .name { margin: 14px 2px 0 !important; }
.record-blog h2.ascp-list-title, .record-blog h2.ascp-list-title a { margin: 0; font: 700 18px/1.35 var(--hf-font) !important; color: var(--hf-ink) !important; text-transform: none !important; text-decoration: none; }
.record-blog h2.ascp-list-title a:hover { color: var(--hf-accent) !important; }

/* карточка работы: фото, название и «Смотреть проект» — одним целым */
.record-blog .seocmspro_content > .row { --bs-gutter-x: 20px; --bs-gutter-y: 20px; }
.record-blog .content-records.hf-work { cursor: pointer; }
.record-blog .content-records.hf-work > * { position: relative; }
.record-blog .hf-work { padding-bottom: 0 !important; }
.record-blog .hf-work .blog-image, .record-blog .hf-work .name { background: #fff; }
.record-blog .hf-work .blog-image, .record-blog .hf-work .blog-image .image, .record-blog .hf-work .blog-image a { display: block; margin: 0 !important; padding: 0 !important; line-height: 0; }
.record-blog .hf-work .blog-image { border-radius: 22px 22px 0 0; border: 1px solid var(--hf-line); border-bottom: 0; }
.record-blog .hf-work .name { display: flex; flex-direction: column; gap: 12px; flex: 1; margin: 0 !important; padding: 18px 20px 20px; border: 1px solid var(--hf-line); border-top: 0; border-radius: 0 0 22px 22px; transition: box-shadow .2s ease-out; }
.record-blog .hf-work:hover .name { box-shadow: 0 18px 30px -22px rgba(30, 28, 24, .35); }
.record-blog .hf-work .hf-work__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font: 600 14px/1 var(--hf-font); color: var(--hf-accent); text-decoration: none; }
.record-blog .hf-work .hf-work__more .hf-i { transition: transform .2s var(--hf-ease); }
.record-blog .hf-work:hover .hf-work__more .hf-i { transform: translateX(3px); }
.record-blog .hf-work { margin-bottom: 4px; }

/* ---------- Материалы обивки ---------- */
.barbarablog-home #content > div:first-of-type > p:first-child { max-width: 820px; margin: 0 0 28px; font: 400 17px/1.65 var(--hf-font); color: #4d4c47; }
.barbarablog-home #content .row.mb-5 > div { margin-bottom: 8px; }
.barbarablog-home #content .row.mb-5 > div > a { display: block; color: var(--hf-ink); text-decoration: none; }
.barbarablog-home #content .row.mb-5 .image { overflow: hidden; border-radius: 18px; background: var(--hf-soft); }
.barbarablog-home #content .row.mb-5 .image img { display: block; width: 100%; aspect-ratio: 5 / 3; height: auto; object-fit: cover; transition: transform .5s var(--hf-ease); }
.barbarablog-home #content .row.mb-5 > div > a:hover img { transform: scale(1.05); }
.barbarablog-home #content .title_h3 { margin-top: 10px !important; font: 700 16px/1.3 var(--hf-font); color: var(--hf-ink); }
.barbarablog-home #content .small2, .barbarablog-home #content .small2 p { margin: 4px 0 0; font: 400 13px/1.5 var(--hf-font); color: #6b6a65; }
.hf-supbox { margin-top: 24px; padding: 32px 36px; border-radius: 26px; background: #f7f6f3; font: 400 15px/1.7 var(--hf-font); color: #4d4c47; }
.hf-supbox p { margin: 0 0 14px; }
.hf-supbox strong { color: var(--hf-ink); }
.hf-supbox a { color: var(--hf-accent); }
@media (max-width: 991.98px) { .hf-supbox { padding: 22px 18px; } }
.hf-suppliers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.hf-supplier { padding: 24px; border: 1px solid var(--hf-line); border-radius: 22px; background: #fff; font: 400 14px/1.6 var(--hf-font); color: #5d5c57; }
.hf-supplier b.hf-supplier__t { display: block; margin-bottom: 4px; font: 700 18px/1.3 var(--hf-font); color: var(--hf-ink); }
.hf-supplier a { color: var(--hf-accent); }

/* ---------- Блог ---------- */
.blog-latest #content .rating, .blog-latest #content .description, .blog-latest #content .button-group { display: none !important; }
/* без линий сетки темы, по 4 в ряд, фото квадратные без подложки, у статей без фото — только текст */
.blog-latest #content .row.blog-lefttext { margin: 0 -12px; border: 0 !important; row-gap: 36px; }
.blog-latest #content .product-layout { margin: 0; padding: 0 12px; border: 0 !important; box-shadow: none !important; }
.blog-latest #content .product-layout::before, .blog-latest #content .product-layout::after { display: none !important; }
@media (min-width: 992px) { .blog-latest #content .product-layout { flex: 0 0 25%; max-width: 25%; } }
@media (min-width: 576px) and (max-width: 991.98px) { .blog-latest #content .product-layout { flex: 0 0 50%; max-width: 50%; } }
.blog-latest #content .product-thumb { height: 100%; margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; }
.blog-latest #content .product-thumb .image { margin: 0 0 10px; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: none !important; }
.blog-latest #content .product-thumb .image a { display: block; line-height: 0; }
.blog-latest #content .catalog_info_title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px !important; }
.blog-latest #content .product-thumb .caption > a { display: block; }
/* «Новые статьи» — статьи без фото: карточки одной высоты */
.hf-blognew { margin: 8px 0 40px; }
.hf-blognew__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hf-blognew__card, .hf-blognew__card:hover { display: flex; flex-direction: column; gap: 14px; min-height: 200px; padding: 24px; border: 1px solid var(--hf-line); border-radius: 22px; background: #fff; color: var(--hf-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s ease-out, transform .2s var(--hf-ease); }
.hf-blognew__card:hover { border-color: transparent; box-shadow: 0 18px 40px -18px rgba(30, 28, 24, .25); transform: translateY(-2px); }
.hf-blognew__k { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--hf-font); letter-spacing: .1em; text-transform: uppercase; color: var(--hf-muted); }
.hf-blognew__t { font: 700 19px/1.35 var(--hf-font); color: var(--hf-ink); }
.hf-blognew__f { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font: 500 13px/1 var(--hf-font); color: var(--hf-muted); }
.hf-blognew__go { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--hf-font); color: var(--hf-accent); }
.hf-blognew__go .hf-i { transition: transform .2s var(--hf-ease); }
.hf-blognew__card:hover .hf-blognew__go .hf-i { transform: translateX(3px); }
h2.hf-blog__more { margin-bottom: 18px; }
.blog-latest #content .product-thumb .image img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; transition: transform .5s var(--hf-ease); }
.blog-latest #content .product-thumb:hover .image img { transform: scale(1.04); }
.blog-latest #content .product-thumb .caption { min-height: 0; padding: 0; background: none !important; text-align: left; }
.blog-latest #content .catalog_info_title { margin: 0 0 8px !important; font: 700 17px/1.4 var(--hf-font); color: var(--hf-ink); text-transform: none; transition: color .15s; }
.blog-latest #content .caption a { text-decoration: none; }
.blog-latest #content .caption a:hover .catalog_info_title { color: var(--hf-accent); }
.blog-latest #content .caption small { font: 500 13px/1 var(--hf-font); color: var(--hf-muted); }
.blog-latest #content .caption small .fa { display: none; }
.blog-latest #content .pagination { margin-top: 36px; }

/* ---------- Карточка товара (body.hf-pp ставит pages.js на страницах product/product) ---------- */
.hf-pp .product-info { align-items: flex-start; margin-bottom: 24px; }
.hf-pp .product-info .thumbnails { margin: 0; padding: 0; border: 0; }
.hf-pp #big-barb-thumb { overflow: hidden; border-radius: 26px; background: #fff; }
.hf-pp #big-barb-thumb a { display: block; line-height: 0; border: 0; padding: 0; background: none; }
.hf-pp #big-barb-thumb img { display: block; width: 100%; height: auto; transition: transform .6s var(--hf-ease); }
.hf-pp #big-barb-thumb:hover img { transform: scale(1.02); }
.hf-pp #productembla { margin-top: 12px; overflow: hidden; }
.hf-pp #productembla .embla__slide { padding: 0 6px 0 0; }
.hf-pp #productembla .embla__slide a { display: block; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 16px; background: #fff; line-height: 0; transition: border-color .15s; }
.hf-pp #productembla .embla__slide a:hover, .hf-pp #productembla .embla__slide a.is-on { border-color: var(--hf-ink); }
.hf-pp #productembla .embla__slide img { border-radius: 14px; }
/* правая колонка */
.hf-pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.hf-pmeta a, .hf-pmeta span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px; background: #f4f3f0; font: 600 12px/1 var(--hf-font); color: #5d5c57; text-decoration: none; }
.hf-pmeta a:hover { color: var(--hf-ink); background: #ecebe6; }
.hf-pp .product-info h1 { margin: 0 0 18px; font: 800 30px/1.2 var(--hf-font); letter-spacing: -.01em; color: var(--hf-ink); text-transform: none; }
.hf-pp .product-info .col-md-5 > ul.list-unstyled { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 6px; }
.hf-pp .product-info li.price h2 { margin: 0; font: 800 34px/1.1 var(--hf-font); letter-spacing: -.01em; color: var(--hf-ink); }
.hf-pp .product-info li.price h2 * { font: inherit; }
.hf-pp .product-info li.outstock, .hf-pp .product-info li.instock, .hf-pp .product-info li[class*="stock"] { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; background: #fdf5e6; font: 700 13px/1 var(--hf-font); color: #8a6212; }
.hf-pp .product-info li[class*="stock"] svg { width: 14px; height: 14px; }
.hf-pnote { margin: 0 0 20px; font: 500 14px/1.5 var(--hf-font); color: var(--hf-muted); }
.hf-pp .product-description { display: none; }
.hf-dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; }
.hf-dim { padding: 14px 16px; border-radius: 16px; background: #f7f6f3; }
.hf-dim span { display: flex; align-items: center; gap: 6px; font: 600 11px/1 var(--hf-font); letter-spacing: .08em; text-transform: uppercase; color: var(--hf-muted); }
.hf-dim b { display: block; margin-top: 8px; font: 800 20px/1 var(--hf-font); color: var(--hf-ink); }
/* опции */
.hf-pp #product .control-label { display: block; margin: 0 0 10px; font: 700 15px/1.3 var(--hf-font); color: var(--hf-ink); }
.hf-pp #product .form-group { margin-bottom: 20px; }
.hf-pp #product .linkchoose { margin: 0 0 20px; }
.hf-pp #product .linkchoose > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 18px; border: 1.5px solid #dddcd7; border-radius: 18px; color: var(--hf-ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
.hf-pp #product .linkchoose > a:hover { border-color: var(--hf-ink); background: #fafaf8; }
.hf-pp #product .linkchoose b { font: 700 15px/1.3 var(--hf-font); }
.hf-pp #product .linkchoose .small2 { font: 500 13px/1.4 var(--hf-font); color: var(--hf-muted); }
.hf-pp #product [id^="input-option"] { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-pp #product .radio { margin: 0; padding: 0; }
.hf-pp #product .radio:not(.img-radio) label.images_option { display: inline-flex; align-items: center; height: 42px; margin: 0; padding: 0 18px; border: 1.5px solid #dddcd7; border-radius: 21px; background: #fff; font: 600 14px/1 var(--hf-font); color: var(--hf-ink); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.hf-pp #product .radio:not(.img-radio) label.images_option:hover { border-color: var(--hf-ink); }
.hf-pp #product .radio:not(.img-radio) label.images_option:has(input:checked) { border-color: var(--hf-ink); background: var(--hf-ink); color: #fff; }
.hf-pp #product .radio label.images_option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.hf-pp #product .radio:not(.img-radio) label.images_option span { display: inline; margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; font: inherit; color: inherit; }
.hf-pp #product .choose_texture_box, .hf-pp #product .linkchoose { margin-left: 0; margin-right: 0; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.hf-pp #product .linkchoose { margin-bottom: 20px; }
.hf-pp #product .img-radio label.images_option { display: block; margin: 0; padding: 3px; border-radius: 16px; cursor: pointer; }
.hf-pp #product .img-radio img { width: 48px !important; height: 48px; padding: 0 !important; border: 0 !important; border-radius: 12px !important; outline: 1px solid rgba(0, 0, 0, .12); outline-offset: -1px; transition: box-shadow .15s, transform .15s var(--hf-ease); }
.hf-pp #product .img-radio label:hover img { transform: scale(1.06); }
.hf-pp #product .img-radio label:has(input:checked) img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hf-ink); }
.hf-pp #product .img-radio span { display: none; }
.hf-optval { margin-left: 6px; font-weight: 500; color: var(--hf-muted); }
/* покупка */
.hf-pp #product .form-group.cart { gap: 10px !important; margin-top: 8px; }
/* количество — «− 1 +» в одной рамке, как в корзине */
.hf-pp #product .form-group.cart > .d-flex:first-of-type { align-items: center; gap: 2px; height: 56px; padding: 0 8px; border: 1.5px solid #dddcd7; border-radius: 18px; background: #fff; }
.hf-pp #product .quantity-number { order: 1; margin: 0; padding: 0; border: 0; background: none; }
.hf-pp #product .quantity-number input { width: 40px; height: 38px; margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; font: 700 16px/1 var(--hf-font); color: var(--hf-ink); text-align: center; outline: none; }
.hf-pp #product .plus-minus-barb { display: contents; }
.hf-pp #product .plus-minus-barb input { display: grid; place-items: center; width: 38px; height: 38px; margin: 0; padding: 0; border: 0 !important; border-radius: 11px; background: var(--hf-soft) !important; color: var(--hf-ink) !important; font: 500 20px/1 var(--hf-font); box-shadow: none; cursor: pointer; transition: background-color .12s ease-out; }
.hf-pp #product .plus-minus-barb input:hover { background: #e9e8e3 !important; }
.hf-pp #product .plus-minus-barb #decrease { order: 0; }
.hf-pp #product .plus-minus-barb #increase { order: 2; }
.hf-pp #product .form-group.cart .tryon-open { margin-top: 14px; }
.hf-pp #button-cart { height: 56px; padding: 0 28px; border: 0; border-radius: 18px; background: var(--hf-ink) !important; color: #fff !important; font: 700 16px/1 var(--hf-font); text-transform: none; transition: background-color .15s, transform .12s; }
.hf-pp #button-cart:hover { background: var(--hf-accent) !important; }
.hf-pp #button-cart:active { transform: scale(.98); }
.hf-pp #button-cart span { font: inherit; }
.hf-pp #product .form-group.cart .contactinfo > .btn { height: 56px; border: 1.5px solid #dddcd7; border-radius: 18px; background: #fff; color: var(--hf-ink); font: 700 15px/1 var(--hf-font); text-transform: none; }
.hf-pp #product .form-group.cart .contactinfo > .btn:hover { border-color: var(--hf-ink); }
/* преимущества */
.hf-pp .barbara_custicon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; }
.hf-pp .barbara_custicon > div { width: auto; max-width: none; padding: 0; }
.hf-pp .barbara_custicon > div > a, .hf-pp .barbara_custicon > div > .d-flex { display: block; height: 100%; color: inherit; text-decoration: none; cursor: pointer; }
.hf-pp .barbara_custicon .d-flex.my-2 { height: 100%; margin: 0 !important; padding: 14px 16px; border-radius: 18px; background: #f7f6f3; gap: 12px; transition: background-color .15s; }
.hf-pp .barbara_custicon a:hover .d-flex.my-2 { background: #efeee9; }
.hf-pp .barbara_custicon .pe-3 { padding: 0 !important; flex: none; }
.hf-pp .barbara_custicon .pe-3 img { width: 36px; height: auto; opacity: .85; }
.hf-pp .barbara_custicon .catalog_info_title, .hf-pp .barbara_custicon .catalog_info_title a { margin: 0 0 3px; font: 700 14px/1.3 var(--hf-font); color: var(--hf-ink); text-transform: none; text-decoration: none; }
.hf-pp .barbara_custicon .catalog_info_text { font: 500 12px/1.45 var(--hf-font); color: #6b6a65; }
/* вкладки и характеристики */
/* цвета компактнее: до ~11 в одну строку */
.hf-pp #product .img-radio label.images_option { padding: 2px; border-radius: 12px; }
.hf-pp #product .img-radio img { width: 36px !important; height: 36px; border-radius: 10px !important; }
.hf-pp #product [id^="input-option"]:has(.img-radio) { gap: 4px; }
/* выбранная обивка — плашка с образцом и названием */
.hf-pp #product .choose_texture { display: none !important; }
.hf-matsel { display: flex; align-items: center; gap: 14px; margin: 10px 0 0; padding: 10px 10px 10px 10px; border-radius: 18px; background: #f7f6f3; }
.hf-matsel[hidden] { display: none; }
.hf-matsel img { width: 56px; height: 56px; flex: none; border-radius: 12px; object-fit: cover; cursor: pointer; box-shadow: 0 1px 4px rgba(30, 28, 24, .15); }
.hf-matsel__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hf-matsel__t small { font: 600 11px/1 var(--hf-font); letter-spacing: .08em; text-transform: uppercase; color: var(--hf-muted); }
.hf-matsel__t b { font: 700 15px/1.3 var(--hf-font); color: var(--hf-ink); }
button.hf-matsel__ch { height: 38px; padding: 0 14px; border: 1.5px solid #dddcd7; border-radius: 12px; background: #fff; color: var(--hf-ink); font: 600 13px/1 var(--hf-font); text-transform: none; cursor: pointer; }
button.hf-matsel__ch:hover { border-color: var(--hf-ink); }
.hf-pp #product .linkchoose { flex-direction: column; align-items: stretch !important; }
.hf-pp #product .linkchoose > a.is-chosen { display: none; }
/* окно выбора обивки */
.hf-mp { position: fixed; inset: 0; z-index: 1065; display: grid; place-items: center; padding: 24px; }
.hf-mp[hidden] { display: none; }
.hf-mp__bg { position: absolute; inset: 0; background: rgba(22, 21, 19, .5); opacity: 0; transition: opacity .2s ease-out; }
.hf-mp.is-open .hf-mp__bg { opacity: 1; }
.hf-mp__panel { position: relative; display: flex; flex-direction: column; width: min(980px, 100%); height: min(760px, 100%); overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 40px 90px -30px rgba(20, 19, 17, .5); opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .2s ease-out, transform .26s var(--hf-ease); }
.hf-mp.is-open .hf-mp__panel { opacity: 1; transform: none; }
.hf-mp__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 14px 28px; }
.hf-mp__t { font: 800 24px/1.2 var(--hf-font); color: var(--hf-ink); }
.hf-mp__s { margin-top: 4px; font: 500 14px/1.4 var(--hf-font); color: var(--hf-muted); }
button.hf-mp__x { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 14px; background: #f4f3f0; color: var(--hf-ink); cursor: pointer; }
button.hf-mp__x:hover { background: #e9e8e3; }
.hf-mp__types { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 28px 16px; border-bottom: 1px solid var(--hf-line); }   /* все виды видны, переносятся */
.hf-mp__types::-webkit-scrollbar { display: none; }
button.hf-mp__type { flex: none; height: 40px; padding: 0 16px; border: 1.5px solid #dddcd7; border-radius: 20px; background: #fff; color: var(--hf-ink); font: 600 14px/1 var(--hf-font); text-transform: none; white-space: nowrap; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
button.hf-mp__type:hover { border-color: var(--hf-ink); }
button.hf-mp__type.is-on { border-color: var(--hf-ink); background: var(--hf-ink); color: #fff; }
.hf-mp__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 28px 28px; }
.hf-mp__about { margin: 0 0 22px; padding: 14px 18px; border-radius: 16px; background: #f7f6f3; }
.hf-mp__about b { display: block; font: 800 17px/1.3 var(--hf-font); color: var(--hf-ink); }
.hf-mp__about p { margin: 4px 0 0; font: 400 14px/1.55 var(--hf-font); color: #5d5c57; }
.hf-mp__col + .hf-mp__col { margin-top: 24px; }
.hf-mp__col h3 { margin: 0 0 12px; font: 700 16px/1.3 var(--hf-font); color: var(--hf-ink); text-transform: none; }
.hf-mp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; }
button.hf-mp__sw { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 0; border: 0; background: none; color: var(--hf-ink); font: 600 12px/1.2 var(--hf-font); text-transform: none; text-align: center; cursor: pointer; }
.hf-mp__sw img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -1px; transition: transform .15s var(--hf-ease), box-shadow .15s; }
.hf-mp__sw:hover img { transform: scale(1.04); }
.hf-mp__sw.is-on img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hf-ink); }
.hf-mp__load { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; }
.hf-mp__load i { display: block; aspect-ratio: 1; border-radius: 14px; background: linear-gradient(90deg, #f4f3f0 25%, #ebeae6 50%, #f4f3f0 75%) 0 0 / 200% 100%; animation: hf-shim 1.1s linear infinite; }
.hf-mp__empty { margin: 24px 0; font: 500 15px/1.5 var(--hf-font); color: var(--hf-muted); }
html.hf-mp-lock, html.hf-mp-lock body { overflow: hidden; }
@media (max-width: 991.98px) {
  .hf-mp { padding: 0; place-items: end stretch; }
  .hf-mp__panel { width: 100%; height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(40px); }
  .hf-mp__head { padding: 18px 16px 10px 20px; }
  .hf-mp__t { font-size: 20px; }
  .hf-mp__types { gap: 6px; padding: 0 16px 12px; }
  button.hf-mp__type { height: 34px; padding: 0 12px; font-size: 13px; }
  .hf-mp__body { padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
  .hf-mp__grid, .hf-mp__load { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
}
/* крупный просмотр образца: поверх окна выбора, выбор — кнопкой */
.hf-mp__zoom { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; background: #fff; animation: hf-mpz .22s var(--hf-ease); }
.hf-mp__zoom[hidden] { display: none; }
@keyframes hf-mpz { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.hf-mp__zhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 12px 20px; }
button.hf-mp__back { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px 0 10px; border: 0; border-radius: 14px; background: #f4f3f0; color: var(--hf-ink); font: 600 15px/1 var(--hf-font); text-transform: none; cursor: pointer; }
button.hf-mp__back:hover { background: #e9e8e3; }
/* фото и описание — одним блоком по центру; фото по высоте экрана, чтобы всё помещалось без прокрутки */
.hf-mp__zbody { flex: 1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: center; gap: 36px; padding: 0 32px 32px; overflow-y: auto; overscroll-behavior: contain; }
.hf-mp__zimg { position: relative; width: min(540px, calc(100vh - 230px)); min-width: 300px; }
.hf-mp__zimg img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #f4f3f0; outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -1px; }
button.hf-mp__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--hf-ink); box-shadow: 0 6px 18px -6px rgba(20, 19, 17, .35); cursor: pointer; transition: opacity .15s, transform .12s ease-out; }
button.hf-mp__nav:active { transform: scale(.94); }
button.hf-mp__nav[disabled] { opacity: 0; pointer-events: none; }
.hf-mp__nav--prev { left: 12px; }
.hf-mp__nav--next { right: 12px; }
.hf-mp__zinfo { display: flex; flex-direction: column; gap: 6px; min-width: 0; max-width: 340px; }
.hf-mp__zk { font: 700 12px/1.3 var(--hf-font); letter-spacing: .06em; text-transform: uppercase; color: var(--hf-muted); }
.hf-mp__zt { font: 800 26px/1.2 var(--hf-font); color: var(--hf-ink); overflow-wrap: anywhere; }
.hf-mp__zn { font: 500 14px/1.4 var(--hf-font); color: var(--hf-muted); }
.hf-mp__zhint { margin: 10px 0 0; font: 400 14px/1.55 var(--hf-font); color: #5d5c57; }
.hf-mp__zinfo .hf-btns { margin-top: 18px; }
.hf-mp__zinfo .hf-btn { justify-content: center; width: 100%; }
@media (max-width: 991.98px) {
  .hf-mp__zhead { padding: 14px 16px 10px; }
  .hf-mp__zbody { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; gap: 16px; padding: 0 16px; }
  .hf-mp__zimg { width: 100%; min-width: 0; max-width: 520px; justify-self: center; }
  .hf-mp__zinfo { max-width: none; }
  .hf-mp__zt { font-size: 21px; }
  .hf-mp__zinfo .hf-btns { position: sticky; bottom: 0; margin-top: 8px; padding: 12px 0 calc(16px + env(safe-area-inset-bottom)); background: #fff; }
}
@media (prefers-reduced-motion: reduce) { .hf-mp__zoom { animation: none; } }

/* «Под заказ» / «В наличии» */
.hf-pp .product-info li.hf-stock { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; border: 0; border-radius: 10px; background: #f4f3f0 !important; font: 600 13px/1 var(--hf-font); color: var(--hf-ink) !important; }
.hf-pp .product-info li.hf-stock .hf-i { display: none; }
.hf-pp .product-info li.hf-stock::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #e0a12a; box-shadow: 0 0 0 3px rgba(224, 161, 42, .18); }
.hf-pp .product-info li.hf-stock.is-in::before { background: #2f9e5b; box-shadow: 0 0 0 3px rgba(47, 158, 91, .18); }
/* Строка покупки под названием: цена · количество · «Купить» (pages.js buyRow, 01.11.2026). Цена темы спрятана — показываем свою копию */
.hf-pp .hf-price-src { display: none !important; }
.hf-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 12px; margin: 0 0 4px; padding: 6px 0 18px; border-bottom: 1px solid var(--hf-line); }
.hf-buy__price { min-width: 0; }
.hf-buy__sum { display: flex; align-items: baseline; gap: 5px; color: var(--hf-ink); white-space: nowrap; }
.hf-buy__sum b { display: inline-block; font: 800 34px/1 var(--hf-font); letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.hf-buy__sum span { font: 700 22px/1 var(--hf-font); color: var(--hf-accent); }
.hf-buy__note { flex: 1 1 100%; margin-top: -4px; font: 500 13px/1.3 var(--hf-font); color: var(--hf-muted); }
.hf-buy.is-changed .hf-buy__sum b { animation: hf-price-in .28s var(--hf-ease); }
@keyframes hf-price-in { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hf-buy__act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* количество — компактная капсула [− 1 +] */
.hf-pp #product .hf-buy .hf-qty { display: flex; align-items: center; gap: 0; height: 48px; padding: 0 4px; border: 1px solid #dddcd7; border-radius: 14px; background: #fff; }
.hf-pp #product .hf-buy .plus-minus-barb input { width: 32px; height: 36px; border-radius: 10px; background: transparent !important; font-size: 19px; }
.hf-pp #product .hf-buy .plus-minus-barb input:hover { background: var(--hf-soft) !important; }
.hf-pp #product .hf-buy .quantity-number { width: auto; }
.hf-pp #product .hf-buy .quantity-number input { width: 30px !important; height: 36px; padding: 0 !important; margin: 0 !important; font-size: 16px; }   /* тема даёт полю 60px */
/* «Купить» — тёмно-серая, при наведении — фирменный синий; подъём на 1px, мягкая тень, блик по кнопке, значок корзины поворачивается; нажатие — 0,97 */
.hf-pp .hf-buy #button-cart.hf-buy__go { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-width: 132px; height: 48px; margin: 0; padding: 0 24px; border-radius: 14px; background: var(--hf-ink) !important; box-shadow: 0 1px 2px rgba(30, 28, 24, .14), inset 0 1px 0 rgba(255, 255, 255, .12); font: 700 16px/1 var(--hf-font); letter-spacing: .01em; transition: background-color .18s ease-out, box-shadow .2s ease-out, transform .18s var(--hf-ease); }
.hf-pp .hf-buy #button-cart.hf-buy__go .icon { margin: 0 !important; width: 18px; height: 18px; fill: currentColor; transition: transform .28s var(--hf-ease); }
.hf-pp .hf-buy #button-cart.hf-buy__go::after { content: ''; position: absolute; top: -10%; bottom: -10%; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent); transform: translateX(-160%) skewX(-18deg); pointer-events: none; }
@media (hover: hover) {
  .hf-pp .hf-buy #button-cart.hf-buy__go:hover { background: var(--hf-accent) !important; box-shadow: 0 12px 24px -12px rgba(50, 86, 120, .8), inset 0 1px 0 rgba(255, 255, 255, .12); transform: translateY(-1px); }
  .hf-pp .hf-buy #button-cart.hf-buy__go:hover .icon { transform: translate(1px, -1px) rotate(-10deg); }
  .hf-pp .hf-buy #button-cart.hf-buy__go:hover::after { transform: translateX(360%) skewX(-18deg); transition: transform .75s var(--hf-ease); }   /* блик — один раз за наведение */
}
.hf-pp .hf-buy #button-cart.hf-buy__go:active { transform: scale(.97); box-shadow: 0 1px 2px rgba(30, 28, 24, .14); }
.hf-pp .hf-buy #button-cart.hf-buy__go:focus-visible { outline: 2px solid var(--hf-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .hf-pp .hf-buy #button-cart.hf-buy__go, .hf-pp .hf-buy #button-cart.hf-buy__go .icon { transition: background-color .18s ease-out; }
  .hf-pp .hf-buy #button-cart.hf-buy__go:hover, .hf-pp .hf-buy #button-cart.hf-buy__go:active, .hf-pp .hf-buy #button-cart.hf-buy__go:hover .icon { transform: none; }
  .hf-pp .hf-buy #button-cart.hf-buy__go::after { display: none; }
  .hf-buy.is-changed .hf-buy__sum b { animation: none; }
}
@media (max-width: 575.98px) {   /* телефон: цена, количество и «Купить» — в одну строку (колонка ~326px) */
  .hf-buy { gap: 12px 10px; padding-bottom: 16px; }
  .hf-buy__sum b { font-size: 28px; }
  .hf-buy__sum span { font-size: 18px; }
  .hf-buy__act { gap: 8px; }
  .hf-pp #product .hf-buy .hf-qty { padding: 0 3px; }
  .hf-pp #product .hf-buy .plus-minus-barb input { width: 28px; }
  .hf-pp #product .hf-buy .quantity-number input { width: 26px !important; }
  .hf-pp .hf-buy #button-cart.hf-buy__go { min-width: 0; padding: 0 18px; }
}
@media (max-width: 400px) { .hf-pp .hf-buy #button-cart.hf-buy__go .icon { display: none; } }
/* «Остались вопросы по модели?» — бывшая кнопка «Связаться с нами», теперь после выбора обивки и цвета */
.hf-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 8px; padding: 14px 16px; border-radius: 16px; background: var(--hf-soft); }
.hf-ask__t { font: 600 14px/1.35 var(--hf-font); color: var(--hf-ink); }
.hf-ask__l { display: flex; flex-wrap: wrap; gap: 8px; }
a.hf-ask__a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #dddcd7; font: 600 14px/1 var(--hf-font); color: var(--hf-ink); text-decoration: none; cursor: pointer; transition: box-shadow .15s ease-out, color .15s ease-out; }
@media (hover: hover) { a.hf-ask__a:hover { box-shadow: inset 0 0 0 1.5px var(--hf-accent); color: var(--hf-accent); text-decoration: none; } }

/* «Под заказ» у цены отпугивал (01.11.2026): метку прячем; срок изготовления — строкой под «Купить» (pages.js, .hf-pmake) */
.hf-pp .product-info li.hf-stock:not(.is-in) { display: none !important; }
.hf-pmake { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; font: 500 14px/1.45 var(--hf-font); color: #5d5c57; }
.hf-pmake .hf-i { flex: none; margin-top: 1px; color: var(--hf-accent); }
/* кнопка примерки — в один ряд по высоте с покупкой */
.hf-pp #product .form-group.cart .tryon-open { height: 56px; border-radius: 18px; }
/* 4 блока под покупкой */
.hf-pp .barbara_custicon { grid-auto-rows: 1fr; }
.hf-pp .hf-perk > a, .hf-pp .hf-perk > .d-flex { height: 100%; }
.hf-pp .hf-perk .d-flex.my-2 { flex-direction: column; align-items: flex-start !important; gap: 12px !important; padding: 18px !important; }
.hf-pp .hf-perk:not(.is-link) .d-flex.my-2 { cursor: default; }
.hf-ci-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--hf-ink); box-shadow: 0 1px 3px rgba(30, 28, 24, .08); }
.hf-pp .hf-perk.is-link .d-flex.my-2 { position: relative; }
.hf-pp .hf-perk.is-link .d-flex.my-2::after { content: ''; position: absolute; top: 20px; right: 18px; width: 16px; height: 16px; background: var(--hf-muted); opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s var(--hf-ease); }
.hf-pp .hf-perk.is-link:hover .d-flex.my-2::after { transform: translate(2px, -2px); opacity: 1; }
/* окна с подсказками (темы) */
.hf-modal .modal-dialog { max-width: 520px; }
.hf-modal .modal-content { overflow: hidden; border: 0; border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(20, 19, 17, .45); }
.hf-modal .modal-header { padding: 24px 24px 8px 28px; border: 0; }
.hf-modal .modal-title { margin: 0; font: 800 22px/1.25 var(--hf-font); color: var(--hf-ink); text-transform: none; }
.hf-modal .btn-close { width: 40px; height: 40px; margin: -6px -8px 0 auto; padding: 0; border-radius: 12px; background-size: 14px; opacity: .6; }
.hf-modal .btn-close:hover { background-color: #f4f3f0; opacity: 1; }
.hf-modal .modal-body { padding: 8px 28px 28px; font: 400 15px/1.65 var(--hf-font); color: #4d4c47; }
.hf-modal .modal-body p { margin: 0 0 12px; text-align: left !important; }
.hf-modal .modal-body span { font-size: inherit !important; color: inherit !important; }
.hf-modal .modal-body strong { color: var(--hf-ink); }
.hf-modal .modal-body a.hf-btn { margin-top: 8px; }
/* 07.10: подзаголовки в окне «Заказ и доставка» (текст — настройка темы barbaraprod) */
.hf-modal .modal-body h3 { margin: 22px 0 8px; font: 700 17px/1.3 var(--hf-font); letter-spacing: 0; color: var(--hf-ink); text-transform: none; }
.hf-modal .modal-body h3:first-child { margin-top: 4px; }
.modal-backdrop.show { opacity: .45; }

/* вкладки — переключатель на светлой подложке, с иконками; активная — белая «плашка» */
.hf-pp .nav-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 40px 0 0; padding: 5px; border: 0 !important; border-radius: 18px; background: #f4f3f0; }
.hf-pp .nav-tabs li { margin: 0; }
.hf-pp .nav-tabs .nav-link { display: inline-flex; align-items: center; gap: 8px; height: 46px; margin: 0; padding: 0 20px; border: 0 !important; border-radius: 14px; background: none !important; font: 700 15px/1 var(--hf-font); color: #6b6a65; text-transform: none; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.hf-pp .nav-tabs .nav-link .hf-i { color: var(--hf-muted); transition: color .15s; }
.hf-pp .nav-tabs .nav-link:hover { color: var(--hf-ink); }
.hf-pp .nav-tabs .nav-link.active { background: #fff !important; color: var(--hf-ink); box-shadow: 0 2px 8px -2px rgba(30, 28, 24, .15); }
.hf-pp .nav-tabs .nav-link.active .hf-i { color: var(--hf-ink); }
.hf-pp .tab-content { padding: 28px 0 0; border: 0; }
.hf-pp .tab-content > .tab-pane { display: none; }
.hf-pp .tab-content > .tab-pane.active { display: block; animation: hf-tabin .25s var(--hf-ease); }
@keyframes hf-tabin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hf-pp .tab-content > div { max-width: 900px; font: 400 15px/1.7 var(--hf-font); color: #3f3e3a; }
.hf-pp .tab-content p { margin: 0 0 12px; }
.hf-pp .tab-content strong, .hf-pp .tab-content b { color: var(--hf-ink); }
.hf-pp .tab-content ul { margin: 0 0 16px; padding-left: 20px; }
.hf-pp .tab-content li { margin: 0 0 8px; }
.hf-pp .tab-content a { color: var(--hf-accent); }
.hf-pp #tab-specification-pane table { width: 100%; margin: 0; border: 0; }
.hf-pp #tab-specification-pane thead { display: none; }
.hf-pp #tab-specification-pane tr { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; border-bottom: 1px solid var(--hf-line); }
.hf-pp #tab-specification-pane td { padding: 14px 0; border: 0; background: none; font: 500 15px/1.55 var(--hf-font); color: var(--hf-ink); }
.hf-pp #tab-specification-pane td:first-child { color: var(--hf-muted); }
@media (min-width: 992px) {
  /* галерея прилипает рядом с блоком покупки (вкладки pages.js выносит из ряда) и целиком помещается в экран */
  .hf-pp .product-info > .col-md-7 { position: sticky; top: 76px; align-self: flex-start; }
  .hf-pp #big-barb-thumb img { width: 100%; max-height: calc(100vh - 76px - 136px); object-fit: contain; }
  .hf-pp #productembla .embla__slide { flex: 0 0 104px; max-width: 104px; }
  .hf-pp #productembla .embla__slide img { width: 96px; height: 96px; object-fit: cover; }
  .hf-pp .product-info > .col-md-5 { padding-left: 28px; }
}

/* ---------- Постраничная навигация ---------- */
.barbara-pagination.hf-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 36px 0 8px; }
.barbara-pagination.hf-pager > div { flex: none; width: auto; max-width: 100%; padding: 0; text-align: left !important; }   /* 100%: иначе на телефоне ряд 1…9 не переносится и страница уезжает вбок (10.10) */
.hf-pager ul.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.hf-pager .pagination li { margin: 0; }
.hf-pager--plain { float: none !important; display: flex; justify-content: flex-start; margin: 32px 0 8px !important; }
.hf-pager--plain > div.pagination { display: block; margin: 0 !important; padding: 0; border: 0; background: none; }
@media (max-width: 991.98px) { .hf-pager--plain { justify-content: center; } }
.hf-pager .pagination li > a, .hf-pager .pagination li > span {
  display: grid; place-items: center; min-width: 44px; height: 44px; margin: 0; padding: 0 12px; border: 1.5px solid var(--hf-line) !important; border-radius: 14px !important;
  background: #fff !important; color: var(--hf-ink) !important; font: 600 15px/1 var(--hf-font); text-decoration: none; box-shadow: none; transition: border-color .15s, background-color .15s, color .15s;
}
.hf-pager .pagination li > a:hover { border-color: var(--hf-ink) !important; }
.hf-pager .pagination li.active > span, .hf-pager .pagination li.active > a { border-color: var(--hf-ink) !important; background: var(--hf-ink) !important; color: #fff !important; }
.hf-pager .pagination li.hf-pg-arrow > a { padding: 0; background: #f4f3f0 !important; border-color: transparent !important; }
.hf-pager .pagination li.hf-pg-arrow > a:hover { background: #e9e8e3 !important; }
.hf-pager .hf-pg-res { font: 500 14px/1.3 var(--hf-font); color: var(--hf-muted); }
@media (max-width: 991.98px) {
  .barbara-pagination.hf-pager { justify-content: center; margin-top: 28px; }
  .hf-pager ul.pagination { justify-content: center; }
  .hf-pager .pagination li > a, .hf-pager .pagination li > span { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px !important; font-size: 14px; }
  .hf-pager .pagination li.hf-pg-first, .hf-pager .pagination li.hf-pg-last { display: none; }
  .hf-pager .hf-pg-res { width: 100%; text-align: center !important; }
}

/* ---------- Заказ оформлен ---------- */
.hf-ok { max-width: 860px; margin: 16px auto 56px; text-align: center; }
.hf-ok__mark { display: inline-grid; place-items: center; width: 112px; height: 112px; margin-bottom: 20px; border-radius: 50%; background: #ecf8f0; }
.hf-ok__mark svg { fill: none; stroke: #23824a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hf-ok__ring { stroke-dasharray: 151; stroke-dashoffset: 151; animation: hf-draw .7s var(--hf-ease) .1s forwards; opacity: .35; }
.hf-ok__tick { stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 40; animation: hf-draw .45s var(--hf-ease) .6s forwards; }
@keyframes hf-draw { to { stroke-dashoffset: 0; } }
h1.hf-ok__t { margin: 0; font: 800 40px/1.15 var(--hf-font); letter-spacing: -.02em; color: var(--hf-ink); text-transform: none; }
.hf-ok__lead { max-width: 560px; margin: 14px auto 0; font: 400 18px/1.6 var(--hf-font); color: #4d4c47; }
.hf-ok__next, .hf-ok__help { margin-top: 44px; text-align: left; }
.hf-ok .hf-sec__t { text-align: center; }
.hf-ok__cs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.hf-ok__c, .hf-ok__c:hover { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #f4f3f0; color: var(--hf-ink); text-decoration: none; transition: background-color .15s, transform .2s var(--hf-ease); }
.hf-ok__c:hover { background: #ecebe6; transform: translateY(-2px); }
.hf-ok__c > .hf-i, .hf-ok__c > .icon { width: 20px; height: 20px; flex: none; fill: none; color: var(--hf-ink); }
.hf-ok__c > .icon { fill: currentColor; }
.hf-ok__c b { display: block; font: 700 15px/1.25 var(--hf-font); }
.hf-ok__c small { display: block; margin-top: 2px; font: 500 12px/1.2 var(--hf-font); color: var(--hf-muted); }
.hf-ok__btns { justify-content: center; margin-top: 40px; }
@media (prefers-reduced-motion: reduce) { .hf-ok__ring, .hf-ok__tick { animation: none; stroke-dashoffset: 0; } }

/* ---------- Телефон ---------- */
@media (max-width: 991.98px) {
  .hf-hero { margin-bottom: 24px; padding: 28px 22px; border-radius: 22px; }
  h1.hf-hero__t { font-size: 30px; }
  .hf-hero__lead { font-size: 16px; }
  .hf-hero--photo { min-height: 320px; padding: 28px 22px; }
  .hf-sec { margin-bottom: 32px; }
  h2.hf-sec__t, .hf-sec__t { font-size: 22px; }
  .hf-grid--2, .hf-gallery, .hf-suppliers { grid-template-columns: minmax(0, 1fr); }
  .hf-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-quick a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .hf-req__row { grid-template-columns: minmax(0, 1fr); gap: 4px 12px; padding: 12px 18px; }
  .hf-req__h { flex-wrap: wrap; padding: 16px 18px; }
  button.hf-copy--all { width: 100%; justify-content: center; }
  .hf-req__k { grid-column: 1 / -1; }
  .hf-card, .hf-step, .hf-place, .hf-formcard { padding: 20px; }
  h1.hf-ok__t { font-size: 28px; }
  .hf-ok__lead { font-size: 16px; }
  .hf-ok__mark { width: 92px; height: 92px; }
  .hf-ok__next, .hf-ok__help { margin-top: 32px; }
  .hf-pp .product-info h1 { font-size: 24px; margin-top: 16px; }
  .hf-pp .product-info li.price h2 { font-size: 28px; }
  .hf-pp #big-barb-thumb { border-radius: 20px; }
  /* 4 блока — по 2 в строке, компактно; отступ до вкладок меньше */
  .hf-pp .barbara_custicon { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  .hf-pp .hf-perk .d-flex.my-2 { gap: 8px !important; padding: 12px !important; border-radius: 16px; }
  .hf-ci-ic { width: 36px; height: 36px; border-radius: 11px; }
  .hf-ci-ic .hf-i { width: 18px; height: 18px; }
  .hf-pp .barbara_custicon .catalog_info_title, .hf-pp .barbara_custicon .catalog_info_title a { font-size: 13px; }
  .hf-pp .barbara_custicon .catalog_info_text { font-size: 11.5px; line-height: 1.4; }
  .hf-pp .hf-perk.is-link .d-flex.my-2::after { top: 14px; right: 12px; width: 14px; height: 14px; -webkit-mask-size: 14px; mask-size: 14px; }
  .hf-pp .product-info { margin-bottom: 0; }
  .hf-pp .product-info #product { margin-bottom: 0 !important; }
  .hf-pp .product-info > .col-md-5 { padding-bottom: 0 !important; }
  .hf-pp .nav-tabs { margin-top: 16px !important; }
  .hf-pp .barbara_custicon.hf-perks-below { margin: 24px 0 8px; }
  .hf-pp .nav-tabs { display: flex; gap: 4px; max-width: 100%; overflow-x: auto; flex-wrap: nowrap; margin-top: 28px; }
  .hf-pp .nav-tabs .nav-link { white-space: nowrap; height: 42px; padding: 0 14px; font-size: 14px; }
  .hf-pp #tab-specification-pane tr { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; }
  .hf-pp #tab-specification-pane td { padding: 0; }
  .hf-pp #button-cart { flex: 1 1 0; min-width: 0; padding: 0 16px; }   /* «Купить» — в одной строке с количеством */
  .hf-pp #product .form-group.cart .contactinfo { flex: 1 1 100%; }
}

/* ===== Журнал: статьи из blog-src/build.py (05.11.2026) — .blog-article .hf-art ===== */
/* ширина — как у всего сайта (просьба владельца 05.11): одиночные фото сбоку, текст их обтекает */
.blog-article #content h1 { margin: 8px 0 22px; font: 800 38px/1.12 var(--hf-font); letter-spacing: -.02em; color: var(--hf-ink); text-transform: none; }
.hf-art { font: 400 17px/1.7 var(--hf-font); color: #2d2c29; }
.hf-art::after { content: ""; display: table; clear: both; }
.hf-art__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 0 0 30px; }
.hf-art__head > * { margin: 0 !important; }
@media (min-width: 992px) { .hf-art__head:has(> :nth-child(2)) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } }
.hf-art p { margin: 0 0 16px; }
.hf-art a { color: var(--hf-accent); text-decoration: underline; text-decoration-color: rgba(50, 86, 120, .35); text-underline-offset: 3px; }
.hf-art a:hover { text-decoration-color: currentColor; }
.hf-art h2 { margin: 40px 0 14px; font: 800 27px/1.22 var(--hf-font); letter-spacing: -.01em; color: var(--hf-ink); text-transform: none; scroll-margin-top: 90px; }
.hf-art h3 { margin: 26px 0 10px; font: 700 20px/1.3 var(--hf-font); color: var(--hf-ink); text-transform: none; }
.hf-art ul, .hf-art ol { margin: 0 0 18px; padding-left: 22px; }
.hf-art li { margin: 0 0 7px; }
.hf-art li::marker { color: var(--hf-accent); }
.hf-art b { font-weight: 700; color: var(--hf-ink); }
.hf-art__sum { margin: 0 0 26px; padding: 20px 24px; border-radius: 18px; background: var(--hf-soft); }
.hf-art__sum > b { display: block; margin-bottom: 8px; font: 700 13px/1 var(--hf-font); letter-spacing: .1em; text-transform: uppercase; color: var(--hf-muted); }
.hf-art__sum ul { margin: 0; }
.hf-art__sum li { margin-bottom: 5px; }
.hf-art__toc { margin: 0 0 30px; padding: 0 0 0 18px; border-left: 3px solid var(--hf-line); font-size: 15px; }
.hf-art__toc > b { display: block; margin-bottom: 6px; font: 700 13px/1 var(--hf-font); letter-spacing: .1em; text-transform: uppercase; color: var(--hf-muted); }
.hf-art__toc ol { margin: 0; padding-left: 18px; }
.hf-art__toc li { margin: 0 0 3px; }
.hf-art__toc a { text-decoration: none; color: var(--hf-ink); }
.hf-art__toc a:hover { color: var(--hf-accent); }
.hf-art__fig { margin: 26px 0; }
@media (min-width: 768px) {
  .hf-art__fig--r, .hf-art__fig--l { width: min(44%, 540px); margin-top: 6px; margin-bottom: 18px; }
  .hf-art__fig--r { float: right; clear: both; margin-left: 32px; }
  .hf-art__fig--l { float: left; clear: both; margin-right: 32px; }
  .hf-art__tbl, .hf-art__models, .hf-art__row, .hf-art__cta, .hf-faq, .hf-art__fig--wide { clear: both; }   /* заголовки — без clear: следующий раздел обтекает фото, дыр нет */
  .hf-art ul, .hf-art ol { display: flow-root; }   /* список рядом с фото сужается, маркеры не наезжают на фото */
  .hf-art__fig--wide img { max-height: 520px; object-fit: contain; background: #fff; }   /* отдельное фото — по центру во всю ширину, без пустоты справа */
}
.hf-art__fig a { display: block; line-height: 0; text-decoration: none; }
.hf-art__fig img { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--hf-soft); }
.hf-art__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; }
.hf-art__row img { aspect-ratio: 1 / 1; object-fit: cover; }
.hf-art__row figcaption { grid-column: 1 / -1; }
.hf-art figcaption { margin-top: 9px; font: 400 14px/1.45 var(--hf-font); color: var(--hf-muted); }
.hf-art__tbl { margin: 22px 0 26px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hf-art__tbl table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.hf-art__tbl th { padding: 10px 12px; border-bottom: 2px solid var(--hf-ink); font-weight: 700; text-align: left; color: var(--hf-ink); vertical-align: bottom; }
.hf-art__tbl td { padding: 10px 12px; border-bottom: 1px solid var(--hf-line); vertical-align: top; }
.hf-art__models { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 22px 0 28px; }
.hf-art a.hf-art__m { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hf-line); border-radius: 18px; background: #fff; color: var(--hf-ink); text-decoration: none; transition: box-shadow .2s ease-out, transform .2s var(--hf-ease); }
.hf-art a.hf-art__m:hover { box-shadow: 0 18px 30px -22px rgba(30, 28, 24, .4); transform: translateY(-2px); }
.hf-art__mi { display: block; line-height: 0; background: #fff; }
.hf-art__mi img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.hf-art__mb { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 16px 16px; }
.hf-art__mn { font: 700 16px/1.3 var(--hf-font); }
.hf-art__mw { font: 400 14px/1.45 var(--hf-font); color: #57564f; }
.hf-art__mf { margin-top: auto; padding-top: 4px; font: 500 13px/1.3 var(--hf-font); color: var(--hf-muted); }
.hf-art__mf b { font: 800 16px/1 var(--hf-font); color: var(--hf-ink); }
.hf-art__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 38px 0 10px; padding: 22px 24px; border-radius: 20px; background: var(--hf-ink); color: #fff; }
.hf-art__cta b { display: block; font: 800 19px/1.25 var(--hf-font); color: #fff; }
.hf-art__cta span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .75); }
.hf-art__ctab { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-art .hf-art__btn { display: inline-flex; border: 0; cursor: pointer; align-items: center; height: 42px; padding: 0 18px; border-radius: 21px; background: #fff; font: 700 14px/1 var(--hf-font); color: var(--hf-ink); text-decoration: none; transition: background .2s; }
.hf-art .hf-art__btn:hover { background: #e9eef4; }
.hf-art .hf-art__btn--o { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.hf-art .hf-art__btn--o:hover { background: rgba(255, 255, 255, .1); }
.hf-faq { margin-top: 40px; scroll-margin-top: 90px; }
.hf-faq__q { border-top: 1px solid var(--hf-line); padding: 16px 0 4px; }
.hf-faq__q h3 { margin: 0 0 6px; font-size: 18px; }
.hf-faq__a p { margin-bottom: 10px; }
@media (max-width: 575.98px) {
  .blog-article #content h1 { font-size: 28px; }
  .hf-art { font-size: 16px; }
  .hf-art h2 { margin-top: 32px; font-size: 23px; }
  .hf-art__sum, .hf-art__cta { padding: 18px; }
  .hf-art__models { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .hf-art__mb { padding: 10px 12px 12px; }
  .hf-art__mn { font-size: 14px; }
  .hf-art__mw { display: none; }
  .hf-art__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* под статьёй: «Модели из статьи» — до 6 в строку, «Читайте также» — по 4; отступ над заголовками (05.11, владелец) */
.blog-article #content .h3modul { clear: both; margin: 52px 0 18px; font: 800 26px/1.2 var(--hf-font); letter-spacing: -.01em; color: var(--hf-ink); text-transform: none; }
.blog-article #content .box-product.row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin: 0; }
.blog-article #content .box-product.blog-lefttext.row { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.blog-article #content .box-product.row::before, .blog-article #content .box-product.row::after { display: none; }
.blog-article #content .box-product > .product-layout { width: auto; max-width: none; flex: none; padding: 0; margin: 0; }
.blog-article #content .box-product .caption { min-height: 0 !important; }
@media (max-width: 575.98px) {
  .blog-article #content .h3modul { margin-top: 40px; font-size: 22px; }
  .blog-article #content .box-product.row, .blog-article #content .box-product.blog-lefttext.row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
}

/* под статьёй (05.11, владелец): карточки «Читайте также» как на сайте — фото, заголовок; без звёзд, просмотров, «..» и «Подробнее»;
   отзывы к статьям не нужны — вкладка #tab-review скрыта; отступ перед подвалом */
.blog-article #content .blog-lefttext .product-thumb { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.blog-article #content .blog-lefttext .product-thumb .image { margin: 0 0 12px; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: var(--hf-soft); }
.blog-article #content .blog-lefttext .product-thumb .image a { display: block; line-height: 0; }
.blog-article #content .blog-lefttext .product-thumb .image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--hf-ease); }
.blog-article #content .blog-lefttext .product-thumb:hover .image img { transform: scale(1.04); }
.blog-article #content .blog-lefttext .caption { min-height: 0 !important; padding: 0; background: none; text-align: left; }
.blog-article #content .blog-lefttext .caption a { text-decoration: none; }
.blog-article #content .blog-lefttext .caption h4 { margin: 0; font: 700 17px/1.35 var(--hf-font); color: var(--hf-ink); text-transform: none; transition: color .15s; }
.blog-article #content .blog-lefttext .product-thumb:hover .caption h4 { color: var(--hf-accent); }
.blog-article #content .blog-lefttext .caption small, .blog-article #content .blog-lefttext .rating,
.blog-article #content .blog-lefttext .caption > p, .blog-article #content .blog-lefttext .button-group { display: none !important; }
.blog-article #tab-review, .blog-article #form-review { display: none !important; }
.blog-article #content { padding-bottom: 56px; }

/* «Статьи по теме» / «Журнал HomeFine» перед подвалом сайта (hf_output_blogrel, 05.11.2026) */
.hf-blogrel { margin: 56px 0 8px; padding: 40px 0 44px; background: var(--hf-soft); }
.hf-blogrel__h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.hf-blogrel__h h2 { margin: 0; font: 800 26px/1.2 var(--hf-font); letter-spacing: -.01em; color: var(--hf-ink); text-transform: none; }
.hf-blogrel__h a { font: 600 15px/1 var(--hf-font); color: var(--hf-accent); text-decoration: none; white-space: nowrap; }
.hf-blogrel__h a:hover { text-decoration: underline; }
.hf-blogrel__g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
a.hf-blogrel__a { display: flex; flex-direction: column; gap: 12px; color: var(--hf-ink); text-decoration: none; }
.hf-blogrel__i { display: block; overflow: hidden; border-radius: 18px; background: #fff; line-height: 0; }
.hf-blogrel__i img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--hf-ease); }
a.hf-blogrel__a:hover .hf-blogrel__i img { transform: scale(1.04); }
.hf-blogrel__n { font: 700 16px/1.35 var(--hf-font); transition: color .15s; }
a.hf-blogrel__a:hover .hf-blogrel__n { color: var(--hf-accent); }
@media (max-width: 991.98px) { .hf-blogrel__g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .hf-blogrel { margin-top: 40px; padding: 28px 0 32px; }
  .hf-blogrel__h h2 { font-size: 22px; }
  .hf-blogrel__g { gap: 12px; }
  .hf-blogrel__n { font-size: 14px; }
}

/* «Фото наших работ» в карточке товара (hf_output_works, 11.11.2026) — живые фото модели из /portfoliosoft */
.hf-works { margin: 8px 0 40px; }
.hf-works__h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.hf-works__h h2 { margin: 0; font: 800 24px/1.2 var(--hf-font); letter-spacing: -.01em; color: var(--hf-ink); text-transform: none; }
.hf-works__h a { font: 600 15px/1 var(--hf-font); color: var(--hf-accent); text-decoration: none; white-space: nowrap; }
.hf-works__h a:hover { text-decoration: underline; }
.hf-works__s { margin: 0 0 16px; font: 400 15px/1.5 var(--hf-font); color: var(--hf-muted, #6b6a66); }
.hf-works__g { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
a.hf-works__a { display: block; overflow: hidden; border-radius: 14px; background: var(--hf-soft); line-height: 0; }
a.hf-works__a img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--hf-ease); }
a.hf-works__a:hover img { transform: scale(1.05); }
@media (max-width: 1199.98px) { .hf-works__g { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .hf-works__h h2 { font-size: 20px; }
  .hf-works__g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
