/* Мебель Фокс: стили сайта (плагин «Сайт «Мебель Фокс»», 25.11.2026). Вид = превью 18.11 (`сайт/style.css`), перенесён на блоки WordPress и тему GeneratePress. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --fx-accent: #C8601E; --fx-accent-d: #a94f17; --fx-ink: #17140f; --fx-muted: #6d665c; --fx-line: #ebe5dc; --fx-soft: #f6f2ec; --fx-dark: #17140f;
  --fx-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E");
  --fx-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --fx-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --fx-i-ig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6'/%3E%3C/svg%3E");
  --fx-i-arr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---------- весь сайт: шрифт, цвета темы ---------- */
body, button, input, select, textarea { font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif; }
body { color: var(--fx-ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body a { color: var(--fx-accent); }
body a:hover { color: var(--fx-accent-d); }

/* верхняя строка (виджет «Top Bar») */
body .top-bar { background: var(--fx-dark); color: #e8e2d7; font-size: 13.5px; }
body .top-bar a, body .top-bar a:hover { color: #e8e2d7; text-decoration: none; }
body .top-bar strong { color: #fff; font-weight: 600; font-size: 14px; }
body .inside-top-bar { padding-top: 9px; padding-bottom: 9px; }
body .top-bar .widget { margin: 0; }
.fx-topline { margin: 0; }

/* шапка */
body .site-header { background: #fff; border-bottom: 1px solid var(--fx-line); }
body .inside-header { padding-top: 15px; padding-bottom: 15px; }
body .site-logo img, body .header-image { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
body .main-title { font-weight: 800; font-size: 23px; letter-spacing: -.01em; line-height: 1; margin: 0; }
body .main-title a, body .main-title a:hover { color: var(--fx-ink); }
body .site-description { font-weight: 500; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fx-muted); margin-top: 6px; }
body .main-navigation, body .main-navigation ul ul { background: transparent; }
body .main-navigation .main-nav ul li a { color: var(--fx-ink); font-size: 15.5px; font-weight: 500; padding-left: 17px; padding-right: 17px; }
body .main-navigation .main-nav ul li a:hover, body .main-navigation .main-nav ul li.current-menu-item > a { color: var(--fx-accent); }
body .main-navigation .main-nav ul li.fx-menu-btn > a { background: var(--fx-accent); color: #fff; border-radius: 10px; line-height: 48px; padding: 0 22px; margin-left: 12px; font-weight: 600; font-size: 15px; }
body .main-navigation .main-nav ul li.fx-menu-btn > a:hover { background: var(--fx-accent-d); color: #fff; }
body .menu-toggle, body .menu-toggle:hover, body .menu-toggle:focus { background: transparent; color: var(--fx-ink); }

/* подвал */
body .site-footer .footer-widgets { background: #0f0d0a; color: #cfc8bd; font-size: 15px; }
body .inside-footer-widgets { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
body .inside-footer-widgets > div { margin: 0; width: auto; }
body .footer-widgets .fx-foot-name br { display: none; }
body .site-footer .footer-widgets a { color: #cfc8bd; text-decoration: none; }
body .site-footer .footer-widgets a:hover { color: #fff; }
body .footer-widgets h4, body .footer-widgets .widget-title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8f877b; font-weight: 600; margin: 0; }
body .footer-widgets ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
body .footer-widgets ul li { margin: 0; }
body .footer-widgets p { color: #a39b8f; max-width: 360px; margin: 14px 0 0; }
body .footer-widgets .fx-foot-name { margin: 0; color: #8f877b; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
body .footer-widgets .fx-foot-name strong { display: block; color: #fff; font-size: 20px; letter-spacing: -.01em; text-transform: none; font-weight: 800; margin-bottom: 4px; }
body .site-info { background: #0f0d0a; color: #8f877b; font-size: 13.5px; border-top: 1px solid #2a251f; }
body .site-info a { color: #a39b8f; }
body .site-info .fx-credit { color: #a39b8f; }

/* ---------- наши страницы во всю ширину (класс fx-page ставит плагин) ---------- */
body.fx-page { background: #fff; }
.fx-page .site.grid-container, .fx-page .site-content, .fx-page .content-area, .fx-page .site-main, .fx-page .inside-article, .fx-page .entry-content {
  max-width: none; width: auto; margin: 0; padding: 0; background: transparent; box-shadow: none; border: 0; float: none; }
.fx-page .site-content { display: block; }
.fx-page .entry-content { font-size: 16px; line-height: 1.55; }
/* сброс отступов слабый (:where), чтобы любые правила ниже его перебивали */
.fx-page :where(.entry-content > *, .entry-content .wp-block-group) { margin-top: 0; margin-bottom: 0; }
.fx-page :where(.entry-content p, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content ul, .entry-content figure) { margin: 0; }
.fx-page .entry-content a { color: inherit; text-decoration: none; }
.fx-page .entry-content h1, .fx-page .entry-content h2, .fx-page .entry-content h3 { color: inherit; font-family: inherit; text-transform: none; }
.fx-page .entry-content h1 { font-size: 60px; line-height: 1.03; letter-spacing: -.028em; font-weight: 800; text-wrap: balance; }
.fx-page .entry-content h2 { font-size: 44px; line-height: 1.08; letter-spacing: -.022em; font-weight: 800; margin-top: 12px; max-width: 820px; text-wrap: balance; }
.fx-page .entry-content h3 { font-weight: 700; }
.fx-page .wp-block-image { margin: 0; }
.fx-page .wp-block-image img { display: block; max-width: 100%; }

.fx-wrap { max-width: 1440px; margin: 0 auto !important; padding: 0 64px; }

/* кнопки */
.fx-page .entry-content .wp-block-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.fx-page .entry-content .wp-block-button { margin: 0; }
.fx-page .entry-content .wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 28px; border-radius: 12px;
  background: var(--fx-accent); color: #fff; font-weight: 600; font-size: 16.5px; line-height: 1; border: 0; white-space: nowrap; text-decoration: none; }
.fx-page .entry-content .wp-block-button .wp-block-button__link:hover { background: var(--fx-accent-d); color: #fff; }
.fx-page .entry-content .fx-ghost .wp-block-button__link, .fx-page .entry-content .fx-ghost .wp-block-button__link:hover { background: transparent; border: 1.5px solid rgba(255,255,255,.75); color: #fff; }
.fx-page .entry-content .fx-line .wp-block-button__link, .fx-page .entry-content .fx-line .wp-block-button__link:hover { background: transparent; color: var(--fx-ink); border: 1.5px solid var(--fx-ink); }

/* значки (рисует CSS, в тексте страницы их нет) */
.fx-i-phone .wp-block-button__link::before, .fx-i-ig a::before, .fx-i-arr a::after, .fx-r::before {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--fx-i) center / contain no-repeat; mask: var(--fx-i) center / contain no-repeat; }
.fx-i-phone { --fx-i: var(--fx-i-phone); }
.fx-i-pin { --fx-i: var(--fx-i-pin); }
.fx-i-clock { --fx-i: var(--fx-i-clock); }
.fx-i-ig { --fx-i: var(--fx-i-ig); }
.fx-i-arr { --fx-i: var(--fx-i-arr); }

/* ---------- первый экран главной ---------- */
.fx-hero { position: relative; height: 772px; overflow: hidden; color: #fff; background: #15120e; }
.fx-hero > .fx-bgimg, .fx-phero > .fx-bgimg { position: absolute !important; inset: 0; height: 100%; }
.fx-page .fx-hero > .fx-bgimg img, .fx-page .fx-phero > .fx-bgimg img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.fx-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,11,8,.86) 0%, rgba(13,11,8,.70) 34%, rgba(13,11,8,.18) 66%, rgba(13,11,8,.02) 100%); }
.fx-hero > .fx-wrap { position: relative; z-index: 2; padding-top: 92px; }
.fx-in { max-width: 860px; }
.fx-page .fx-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; }
.fx-badge strong { color: #f2b73a; letter-spacing: 2px; font-size: 14px; font-weight: 400; }
.fx-page .fx-hero h1 { margin-top: 24px; }
.fx-page .fx-lead { font-size: 19.5px; line-height: 1.5; color: rgba(255,255,255,.86); margin-top: 22px; max-width: 610px; }
.fx-facts { display: flex; gap: 34px; margin-top: 54px !important; }
.fx-page .fx-fact { font-size: 14.5px; line-height: 1.4; color: rgba(255,255,255,.78); padding-left: 14px; border-left: 2px solid rgba(255,255,255,.55); max-width: 250px; }
.fx-fact strong { font-size: 16px; color: #fff; font-weight: 600; }
.fx-revcard { position: absolute !important; z-index: 2; right: 64px; bottom: 60px; width: 410px; background: #fff; color: var(--fx-ink); border-radius: 16px; padding: 22px 24px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.fx-page .fx-stars { color: #e8a91d; font-size: 15px; letter-spacing: 3px; }
.fx-page .fx-revcard p:not(.fx-stars):not(.fx-w) { font-size: 15px; line-height: 1.5; margin-top: 8px; }
.fx-page .fx-revcard .fx-w { font-size: 13px; color: var(--fx-muted); margin-top: 10px; }

/* первый экран внутренних страниц */
.fx-phero { position: relative; color: #fff; background: #15120e; overflow: hidden; }
.fx-phero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,11,8,.88) 0%, rgba(13,11,8,.72) 40%, rgba(13,11,8,.15) 75%, rgba(13,11,8,0) 100%); }
.fx-phero > .fx-wrap { position: relative; z-index: 2; padding-top: 36px; padding-bottom: 104px; }
.fx-page .fx-crumbs { font-size: 14px; color: rgba(255,255,255,.66); }
.fx-page .fx-crumbs a { color: rgba(255,255,255,.9); }
.fx-page .fx-phero h1 { font-size: 56px; margin-top: 72px; max-width: 760px; }
.fx-page .fx-phero > .fx-cap { position: absolute; z-index: 2; right: 64px; bottom: 28px; font-size: 13px; color: rgba(255,255,255,.8); }
.fx-phero.fx-plain { background: var(--fx-dark); }
.fx-phero.fx-plain::after { display: none; }
.fx-plain .fx-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; }
.fx-plain .fx-revcard { position: static !important; width: auto; margin-bottom: 8px !important; }
.fx-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--fx-soft); }
.fx-split > .fx-tx { padding: 36px 64px 88px; }
.fx-page .fx-split .fx-crumbs { color: var(--fx-muted); }
.fx-page .fx-split .fx-crumbs a { color: var(--fx-ink); }
.fx-page .fx-split h1 { font-size: 54px; margin-top: 72px; }
.fx-page .fx-split .fx-lead { color: var(--fx-muted); }
.fx-split > .fx-withimg { position: relative; min-height: 640px; }
.fx-split > .fx-withimg .fx-bgimg { position: absolute !important; inset: 0; height: 100%; }
.fx-page .fx-split > .fx-withimg .fx-bgimg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.fx-page .fx-split .fx-cap { position: absolute; left: 20px; bottom: 18px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; z-index: 2; }

/* ---------- секции ---------- */
.fx-sec { padding: 104px 0; }
.fx-soft { background: var(--fx-soft); }
.fx-dark { background: var(--fx-dark); color: #fff; }
.fx-page .fx-kick { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fx-accent); }
.fx-page .fx-dark .fx-kick { color: #f08a4b; }
.fx-page .fx-sub { font-size: 18px; color: var(--fx-muted); margin-top: 16px; max-width: 680px; }
.fx-page .fx-dark .fx-sub { color: rgba(255,255,255,.72); }
.fx-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }

/* три направления */
.fx-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px !important; }
.fx-card { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--fx-line); display: flex; flex-direction: column; }
.fx-card .fx-im { aspect-ratio: 4 / 3; overflow: hidden; }
.fx-page .fx-card .fx-im img { width: 100%; height: 100%; object-fit: cover; }
.fx-card .fx-bd { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fx-page .fx-card h3 { font-size: 24px; letter-spacing: -.01em; line-height: 1.2; }
.fx-page .fx-card .fx-bd p:not(.fx-more) { color: var(--fx-muted); }
.fx-page .fx-more { margin-top: auto !important; padding-top: 10px; color: var(--fx-accent); font-weight: 600; }
.fx-page .fx-more a { display: inline-flex; align-items: center; gap: 8px; color: var(--fx-accent); }
.fx-more a::before { content: ""; position: absolute; inset: 0; z-index: 1; } /* вся карточка = ссылка */
.fx-page .fx-also { margin-top: 32px; padding: 22px 26px; border-radius: 14px; background: #fff; border: 1px dashed #d9d2c7; color: var(--fx-muted); }
.fx-also strong { color: var(--fx-ink); font-weight: 600; }

/* работы */
.fx-gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 420px; gap: 16px; margin-top: 48px !important; }
.fx-page .fx-gal .wp-block-image { position: relative; border-radius: 14px; overflow: hidden; background: #ddd; height: 100%; }
.fx-page .fx-gal .wp-block-image.fx-w { grid-column: span 2; }
.fx-page .fx-gal .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.fx-page .fx-gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 48px 16px 14px; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.35; text-align: left; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.66)); }
.fx-page .fx-inst a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }

/* производство и история */
.fx-prod { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fx-prod .fx-ph, .fx-two .fx-ph { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.fx-two .fx-ph { aspect-ratio: 1 / 1; }
.fx-page .fx-prod .fx-ph img, .fx-page .fx-two .fx-ph img { width: 100%; height: 100%; object-fit: cover; }
.fx-page .fx-prod p:not(.fx-kick) { color: rgba(255,255,255,.78); font-size: 17.5px; margin-top: 18px; }
.fx-story { margin-top: 88px !important; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.fx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fx-page .fx-pair .wp-block-image { border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 1 / 1; background: #fff; }
.fx-page .fx-pair .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.fx-page .fx-pair figcaption { position: absolute; left: 12px; top: 12px; margin: 0; background: rgba(23,20,15,.82); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.fx-page .fx-story h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.015em; margin-top: 12px; }
.fx-page .fx-story p:not(.fx-kick) { color: rgba(255,255,255,.78); font-size: 17px; margin-top: 14px; }
.fx-page .fx-story .fx-res { margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--fx-accent); color: #fff; font-weight: 500; }

/* шаги */
.fx-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 48px !important; }
.fx-step { border-top: 2px solid var(--fx-ink); padding-top: 20px; }
.fx-page .fx-step .fx-n, .fx-page .fx-type .fx-n { font-size: 14px; font-weight: 700; color: var(--fx-accent); }
.fx-page .fx-step h3 { font-size: 19px; margin-top: 8px; line-height: 1.25; }
.fx-page .fx-step p:not(.fx-n) { font-size: 15px; color: var(--fx-muted); margin-top: 8px; }

/* отзывы */
.fx-revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px !important; }
.fx-rv { background: #fff; border: 1px solid var(--fx-line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.fx-rv.fx-big { grid-column: span 2; }
.fx-page .fx-rv p:not(.fx-stars):not(.fx-w) { margin-top: 12px; font-size: 16.5px; }
.fx-page .fx-rv.fx-big p:not(.fx-stars):not(.fx-w) { font-size: 21px; line-height: 1.45; }
.fx-page .fx-rv .fx-w { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--fx-muted); }
.fx-page .fx-ya { margin-top: 28px; }
.fx-page .fx-ya a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--fx-ink); border-bottom: 1.5px solid var(--fx-accent); padding-bottom: 2px; }
.fx-score { display: flex; align-items: center; gap: 14px; }
.fx-page .fx-score-n { font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.fx-page .fx-score-t { color: var(--fx-muted); font-size: 15px; line-height: 1.35; }

/* материалы, списки, вопросы */
.fx-mats, .fx-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px !important; }
.fx-types { grid-template-columns: repeat(4, 1fr); }
.fx-mat, .fx-type { border: 1px solid var(--fx-line); border-radius: 16px; padding: 26px; background: #fff; }
.fx-type { display: flex; flex-direction: column; gap: 10px; }
.fx-page .fx-mat h3 { font-size: 20px; line-height: 1.25; }
.fx-page .fx-type h3 { font-size: 21px; line-height: 1.2; }
.fx-page .fx-mat p, .fx-page .fx-type p:not(.fx-n) { color: var(--fx-muted); margin-top: 8px; }
.fx-page .fx-type p:not(.fx-n) { margin-top: 0; }
.fx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fx-type.fx-withimg { padding: 0; overflow: hidden; position: relative; min-height: 300px; display: block; }
.fx-type.fx-withimg.fx-tall { min-height: 520px; }
.fx-type.fx-withimg .fx-bgimg { position: absolute !important; inset: 0; height: 100%; border: 0; padding: 0; border-radius: 0; }
.fx-page .fx-type.fx-withimg .fx-bgimg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fx-type.fx-withimg .fx-cap { position: absolute !important; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.7)); z-index: 2; }
.fx-page .fx-type.fx-withimg .fx-cap h3 { color: #fff; }
.fx-page .fx-type.fx-withimg .fx-cap p { color: rgba(255,255,255,.82); font-size: 14.5px; margin-top: 4px; }
.fx-page .entry-content .fx-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.fx-page .fx-checks li { display: flex; gap: 14px; font-size: 17px; margin: 0; }
.fx-checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--fx-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.fx-page .fx-quote { font-size: 26px; line-height: 1.35; letter-spacing: -.01em; font-weight: 600; margin-top: 22px; }
.fx-page .fx-quote-src { font-size: 14px; font-weight: 500; color: var(--fx-muted); margin-top: 12px; }
.fx-price { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: 44px 48px; border-radius: 20px; background: var(--fx-soft); }
.fx-page .fx-price h2 { margin-top: 0; }
.fx-page .fx-price p { color: var(--fx-muted); font-size: 17.5px; margin-top: 12px; }
.fx-page .entry-content .fx-price .wp-block-buttons { justify-content: flex-end; margin-top: 0; }
.fx-faq { margin-top: 40px !important; border-top: 1px solid var(--fx-line); }
.fx-faq > .wp-block-group { padding: 26px 0; border-bottom: 1px solid var(--fx-line); display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.fx-page .fx-faq h3 { font-size: 20px; line-height: 1.3; }
.fx-page .fx-faq p { color: var(--fx-muted); font-size: 16.5px; }

/* тексты старого сайта */
.fx-about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.fx-page .fx-about .fx-tx p { font-size: 17px; color: var(--fx-muted); margin-top: 16px; }
.fx-page .fx-about .fx-tx > p:first-child { margin-top: 0; }
.fx-page .entry-content .fx-about .fx-tx ul { margin: 14px 0 0; padding-left: 22px; color: var(--fx-muted); font-size: 17px; display: grid; gap: 6px; list-style: disc; }
.fx-page .fx-about .fx-tx li { margin: 0; }
.fx-page .fx-about .fx-tx h3 { font-size: 21px; margin-top: 28px; color: var(--fx-ink); }

/* заявка и контакты */
.fx-order { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.fx-contacts { margin-top: 36px !important; display: grid; gap: 22px; }
.fx-r { display: grid; grid-template-columns: 22px 1fr; column-gap: 16px; }
.fx-r::before { width: 22px; height: 22px; margin-top: 3px; color: #f08a4b; grid-row: 1 / span 3; }
.fx-r > p { grid-column: 2; }
.fx-page .fx-r-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.fx-page .fx-r-val { font-size: 19px; font-weight: 600; }
.fx-page .fx-r-note { color: rgba(255,255,255,.7); font-size: 15px; }

/* форма заявки ([fox_zayavka]) */
.fx-form { background: #fff; color: var(--fx-ink); border-radius: 20px; padding: 36px 36px 32px; }
.fx-form .fx-form-h { font-size: 26px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.fx-form .fx-form-hint { color: var(--fx-muted); margin: 6px 0 0; font-size: 15px; }
.fx-form label { display: block; font-size: 14px; font-weight: 600; margin-top: 18px; }
.fx-form input[type="text"], .fx-form input[type="tel"], .fx-form textarea { display: block; width: 100%; height: 52px; border: 1px solid #d9d2c7; border-radius: 10px; padding: 0 16px; margin-top: 6px;
  font-family: inherit; font-size: 16px; color: var(--fx-ink); background: #fff; box-shadow: none; }
.fx-form textarea { height: 92px; padding: 14px 16px; resize: vertical; }
.fx-form input:focus, .fx-form textarea:focus { outline: 2px solid var(--fx-accent); outline-offset: 0; border-color: var(--fx-accent); }
.fx-form .fx-chips { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.fx-form .fx-chips legend { font-size: 14px; font-weight: 600; padding: 0; margin: 0; float: left; width: 100%; }
.fx-form .fx-chips legend + label { clear: left; }
.fx-form .fx-chips label { display: inline-block; margin: 8px 8px 0 0; font-weight: 400; position: relative; }
.fx-form .fx-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fx-form .fx-chips span { display: inline-block; border: 1px solid #d9d2c7; border-radius: 999px; padding: 8px 14px; font-size: 14.5px; cursor: pointer; }
.fx-form .fx-chips input:checked + span { border-color: var(--fx-accent); color: var(--fx-accent); background: #fbf1ea; font-weight: 600; }
.fx-form .fx-chips input:focus-visible + span { outline: 2px solid var(--fx-accent); outline-offset: 2px; }
.fx-form .fx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fx-form .fx-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--fx-muted); margin-top: 18px; }
.fx-form .fx-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--fx-accent); }
.fx-form .fx-consent a { color: var(--fx-accent); text-decoration: underline; }
.fx-form .fx-submit { display: block; width: 100%; margin-top: 20px; height: 58px; border: 0; border-radius: 12px; background: var(--fx-accent); color: #fff; font-family: inherit; font-weight: 600; font-size: 16.5px; cursor: pointer; }
.fx-form .fx-submit:hover, .fx-form .fx-submit:focus { background: var(--fx-accent-d); color: #fff; }
.fx-form .fx-submit[disabled] { opacity: .6; cursor: wait; }
.fx-form .fx-msg { margin: 12px 0 0; font-size: 15px; text-align: center; min-height: 1px; }
.fx-form .fx-msg.ok { color: #1f7a3a; font-weight: 600; }
.fx-form .fx-msg.err { color: #b32d2e; }
.fx-form .fx-bad { border-color: #b32d2e !important; }

/* положение фото в рамке (из превью) */
.fx-page .fx-pos-35 img { object-position: center 35% !important; }
.fx-page .fx-pos-40 img { object-position: center 40% !important; }
.fx-page .fx-pos-45 img { object-position: center 45% !important; }
.fx-page .fx-pos-60 img { object-position: center 60% !important; }

/* ---------- ноутбук и планшет (1.0.1, 30.11.2026) ---------- */
/* карточка отзыва в шапке главной наезжала на преимущества и кнопки до ~1320 px: показываем её только на широких экранах */
@media (max-width: 1320px) { .fx-hero > .fx-revcard { display: none; } }
/* около 1024 px кнопка «Рассчитать стоимость» в шапке переносилась на вторую строку */
@media (min-width: 769px) and (max-width: 1150px) {
  body .main-navigation .main-nav ul li a { padding-left: 10px; padding-right: 10px; font-size: 15px; }
  body .main-navigation .main-nav ul li.fx-menu-btn > a { padding: 0 16px; margin-left: 6px; }
}
/* окно уже 1000 px: кнопку в шапке убираем, она есть в первом экране */
@media (min-width: 769px) and (max-width: 1000px) { body .main-navigation .main-nav ul li.fx-menu-btn { display: none; } }

/* ---------- строка «заголовок + оценка» и меню (1.0.2, 01.12.2026) ---------- */
/* 761-1200 px: оценка «4,6 из 5» рядом с заголовком сжималась в столбик или на две строки. Оценку не сжимаем,
   до 1000 px заголовок и оценка (или ссылка на Instagram) стоят друг под другом, как на телефоне. Проверено на mebel-fox.by на 390-1440 px. */
.fx-score { flex-shrink: 0; }
.fx-page .fx-score-n { white-space: nowrap; }
@media (max-width: 1000px) { .fx-head-row { flex-direction: column; align-items: flex-start; } }
/* пункты меню со ссылкой на раздел главной («Наши работы», «Контакты») WordPress на главной помечает текущими: красим как обычные */
body .main-navigation .main-nav ul li.menu-item-type-custom.current-menu-item:not(.fx-menu-btn) > a { color: var(--fx-ink); }
body .main-navigation .main-nav ul li.menu-item-type-custom.current-menu-item:not(.fx-menu-btn) > a:hover { color: var(--fx-accent); }

/* ---------- телефон ---------- */
@media (max-width: 760px) {
  .fx-wrap { padding: 0 20px; }
  body .inside-footer-widgets { grid-template-columns: 1fr; gap: 28px; }
  body .top-bar { display: none; }
  body .site-logo img, body .header-image { width: 40px; height: 40px; }
  body .main-title { font-size: 18px; }
  body .site-description { font-size: 9.5px; margin-top: 4px; }
  body .main-navigation .main-nav ul li.fx-menu-btn > a { margin: 8px 20px; text-align: center; }
  .fx-page .entry-content .wp-block-buttons { flex-direction: column; gap: 10px; margin-top: 20px; }
  .fx-page .entry-content .wp-block-button, .fx-page .entry-content .wp-block-button .wp-block-button__link { width: 100%; }
  .fx-page .entry-content .wp-block-button .wp-block-button__link { height: 54px; font-size: 16px; }
  .fx-hero { height: auto; }
  .fx-hero > .fx-bgimg { bottom: auto; height: 440px; }
  .fx-page .fx-hero > .fx-bgimg img { object-position: center 55%; }
  .fx-hero::after { background: linear-gradient(180deg, rgba(21,18,14,0) 0px, rgba(21,18,14,0) 300px, rgba(21,18,14,.85) 400px, #15120e 440px); }
  .fx-hero > .fx-wrap { padding-top: 318px; padding-bottom: 34px; }
  .fx-page .entry-content h1, .fx-page .fx-hero h1 { font-size: 33px; line-height: 1.08; }
  .fx-page .fx-hero h1 { margin-top: 14px; }
  .fx-page .fx-badge { font-size: 12.5px; padding: 7px 12px; gap: 8px; }
  .fx-page .fx-lead { font-size: 15.5px; line-height: 1.45; margin-top: 12px; }
  .fx-facts { flex-direction: column; gap: 14px; margin-top: 26px !important; }
  .fx-hero > .fx-revcard { display: none; }
  .fx-phero > .fx-wrap { padding-top: 18px; padding-bottom: 40px; }
  .fx-phero > .fx-bgimg { bottom: auto; height: 300px; }
  .fx-phero::after { background: linear-gradient(180deg, rgba(21,18,14,.1) 0px, rgba(21,18,14,.2) 160px, rgba(21,18,14,.9) 270px, #15120e 300px); }
  .fx-page .fx-phero h1 { font-size: 32px; margin-top: 220px; }
  .fx-page .fx-phero > .fx-cap { display: none; }
  .fx-page .fx-phero.fx-plain h1 { margin-top: 28px; }
  .fx-plain .fx-grid { grid-template-columns: 1fr; gap: 28px; }
  .fx-plain .fx-revcard { padding: 18px 20px; }
  .fx-split { grid-template-columns: 1fr; }
  .fx-split > .fx-tx { padding: 18px 20px 36px; order: 2; }
  .fx-split > .fx-withimg { min-height: 380px; order: 1; }
  .fx-page .fx-split h1 { font-size: 32px; margin-top: 18px; }
  .fx-sec { padding: 64px 0; }
  .fx-page .entry-content h2 { font-size: 29px; }
  .fx-page .fx-sub { font-size: 16px; }
  .fx-head-row { flex-direction: column; align-items: flex-start; }
  .fx-cards3, .fx-revs, .fx-steps, .fx-prod, .fx-order, .fx-mats, .fx-two, .fx-types, .fx-story, .fx-price { grid-template-columns: 1fr; }
  .fx-cards3, .fx-mats, .fx-types { gap: 16px; margin-top: 32px !important; }
  .fx-card .fx-bd { padding: 20px; }
  .fx-page .fx-card h3 { font-size: 21px; }
  .fx-gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; gap: 10px; margin-top: 32px !important; }
  .fx-page .fx-gal figcaption { font-size: 12.5px; padding: 30px 10px 10px; }
  .fx-prod { gap: 28px; }
  .fx-story { margin-top: 48px !important; gap: 24px; }
  .fx-page .fx-story h3 { font-size: 24px; }
  .fx-steps { gap: 20px; margin-top: 32px !important; }
  .fx-revs { margin-top: 32px !important; gap: 14px; }
  .fx-rv.fx-big { grid-column: auto; }
  .fx-page .fx-rv.fx-big p:not(.fx-stars):not(.fx-w) { font-size: 18px; }
  .fx-price { padding: 28px 22px; gap: 20px; }
  .fx-faq > .wp-block-group { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .fx-page .fx-faq h3 { font-size: 18px; }
  .fx-page .fx-quote { font-size: 21px; }
  .fx-two { gap: 28px; }
  .fx-type.fx-withimg { min-height: 260px; }
  .fx-type.fx-withimg.fx-tall { min-height: 420px; }
  .fx-order { gap: 32px; }
  .fx-form { padding: 26px 20px 24px; }
  .fx-about { grid-template-columns: 1fr; gap: 20px; }
  .fx-page .fx-about .fx-tx p, .fx-page .entry-content .fx-about .fx-tx ul { font-size: 16px; }
}

/* ---------- заглушка до запуска ---------- */
body.fx-soon { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--fx-soft); color: var(--fx-ink); font-family: "Onest", system-ui, sans-serif; line-height: 1.55; }
.fx-soon-box { max-width: 520px; margin: 40px 20px; padding: 40px 32px; background: #fff; border-radius: 20px; border: 1px solid var(--fx-line); text-align: center; }
.fx-soon-logo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.fx-soon h1 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin: 16px 0 8px; }
.fx-soon p { margin: 12px 0 0; color: var(--fx-muted); }
.fx-soon .fx-soon-lead { font-size: 18px; color: var(--fx-ink); }
.fx-soon a { color: var(--fx-accent); font-weight: 600; text-decoration: none; }
