/*
Theme Name: Filtrum Blank
Theme URI: https://filtrum.ua/
Author: Delta Medical
Description: Тема filtrum.ua за DM Web Standard: блоки Gutenberg, DM Lang (UA/RU), DM Site Settings, DM Products. Без Elementor і WPML.
Version: 1.4.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: filtrum-blank
*/

/* ============ Токени ============ */
:root {
	--flt-blue: #35B6E9;
	--flt-blue-d: #0B86BD;
	--flt-blue-dd: #075E86;
	--flt-lime: #CCD720;
	--flt-lime-d: #B3BD12;
	--flt-dark: #191919;
	--flt-text: #3F4447;
	--flt-muted: #6B7378;
	--flt-light: #E8F5FF;
	--flt-light-2: #F4FAFE;
	--flt-line: #D6E9F5;
	--flt-white: #fff;
	--flt-radius: 20px;
	--flt-radius-s: 12px;
	--flt-shadow: 0 10px 30px rgba(11, 134, 189, .10);
	--flt-wrap: 1140px;
	--flt-gut: 16px;
	--flt-head-h: 72px;
	--flt-font: Rubik, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
@media (min-width: 768px) { :root { --flt-gut: 24px; } }

/* ============ База ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--flt-head-h) + 16px); }
body {
	margin: 0;
	font-family: var(--flt-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--flt-text);
	background: var(--flt-white);
	overflow-x: clip;
}
html { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { vertical-align: middle; }
a { color: var(--flt-blue-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--flt-blue-dd); }
:focus-visible { outline: 3px solid var(--flt-lime); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { color: var(--flt-dark); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(28px, 4.2vw, 44px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: clamp(22px, 2.8vw, 30px); }
h4 { font-size: clamp(20px, 2.4vw, 26px); }
p { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--flt-dark); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.flt-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--flt-dark); color: #fff; padding: 8px 14px; border-radius: 8px; }
.flt-skip:focus { left: 8px; }
.flt-wrap { width: 100%; max-width: calc(var(--flt-wrap) + var(--flt-gut) * 2); margin: 0 auto; padding: 0 var(--flt-gut); }

/* ============ Шапка ============ */
.flt-brandbar { background: var(--flt-light-2); border-bottom: 1px solid var(--flt-line); }
.flt-brandbar .flt-wrap { display: flex; align-items: center; height: 36px; }
.flt-brandbar img { height: 18px; width: auto; }
.flt-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .2s; }
.flt-header.is-stuck { box-shadow: 0 6px 24px rgba(25, 25, 25, .08); }
.admin-bar .flt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .flt-header { top: 0; } }
.flt-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--flt-head-h); }
.flt-logo { display: inline-flex; flex: none; }
.flt-logo img { height: 30px; width: auto; }
.flt-nav { display: flex; align-items: center; gap: 28px; }
.flt-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.flt-menu > li { position: relative; display: flex; align-items: center; }
.flt-menu a { display: block; padding: 10px 12px; color: var(--flt-dark); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 10px; }
.flt-menu a:hover, .flt-menu .current-menu-item > a, .flt-menu .current-menu-ancestor > a { color: var(--flt-blue-d); }
.flt-menu > li > a[aria-current], .flt-menu > .current-menu-item > a { background: var(--flt-light); }
.flt-subtoggle { width: 28px; height: 28px; margin-left: -10px; border: 0; background: none; cursor: pointer; border-radius: 6px; color: var(--flt-dark); }
.flt-subtoggle::before { content: ''; display: block; width: 7px; height: 7px; margin: 0 auto; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.is-open > .flt-subtoggle::before { transform: translateY(2px) rotate(-135deg); }
.flt-menu .sub-menu { list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: var(--flt-radius-s); box-shadow: 0 16px 40px rgba(25, 25, 25, .14); min-width: 260px; }
.flt-menu .sub-menu a { font-weight: 400; font-size: 15px; padding: 10px 12px; }
.flt-menu .sub-menu a:hover { background: var(--flt-light); }
.flt-lang { display: inline-flex; padding: 3px; background: var(--flt-light); border-radius: 999px; }
.flt-lang a { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--flt-blue-dd); text-decoration: none; }
.flt-lang a.is-current { background: var(--flt-blue); color: #fff; }
.flt-burger { display: none; }

@media (min-width: 1025px) {
	.flt-menu .sub-menu { position: absolute; top: 100%; left: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
	.flt-menu > li:hover > .sub-menu, .flt-menu > li:focus-within > .sub-menu, .flt-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1024px) {
	:root { --flt-head-h: 62px; }
	.flt-logo img { height: 26px; }
	.flt-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: var(--flt-light); cursor: pointer; }
	.flt-burger span:not(.screen-reader-text) { display: block; height: 2px; background: var(--flt-dark); border-radius: 2px; transition: .2s; }
	.flt-nav-open .flt-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.flt-nav-open .flt-burger span:nth-child(2) { opacity: 0; }
	.flt-nav-open .flt-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.flt-nav { position: fixed; inset: var(--flt-head-h) 0 0; flex-direction: column; align-items: stretch; gap: 20px; padding: 16px var(--flt-gut) 32px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
	.admin-bar .flt-nav { inset-block-start: calc(var(--flt-head-h) + 46px); }
	.flt-nav-open .flt-nav { transform: none; visibility: visible; }
	.flt-nav-open { overflow: hidden; }
	.flt-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.flt-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--flt-line); }
	.flt-menu > li > a { flex: 1; padding: 14px 4px; font-size: 17px; }
	.flt-subtoggle { width: 44px; height: 44px; margin: 0; }
	.flt-menu .sub-menu { display: none; width: 100%; box-shadow: none; padding: 0 0 10px 12px; min-width: 0; }
	.flt-menu .is-open > .sub-menu { display: block; }
	.flt-lang { align-self: flex-start; }
}

/* ============ Контент і секції ============ */
.flt-main { display: block; }
.flt-content { width: 100%; }
.flt-content > :not(.alignfull):not(.flt-sec) { max-width: calc(var(--flt-wrap) + var(--flt-gut) * 2); margin-left: auto; margin-right: auto; padding-left: var(--flt-gut); padding-right: var(--flt-gut); }
.flt-sec { padding: clamp(40px, 6vw, 72px) var(--flt-gut); }
.flt-sec.flt-sec { margin: 0; }
.flt-sec + .flt-sec:not(.flt-light):not(.flt-hero):not(.flt-strip):not(.flt-products):not(.flt-cta) { padding-top: 0; }
.flt-sec > * { margin-left: auto !important; margin-right: auto !important; }
.flt-sec > :last-child { margin-bottom: 0; }
.flt-sec > h2, .flt-sec > h3, .flt-sec > h4 { text-align: center; max-width: 900px; }
.flt-sec > p { max-width: 900px; }
.flt-sec > .wp-block-buttons { justify-content: center; margin-top: 28px; }
.flt-sec mark { background: none; }
.has-primary-color { color: var(--flt-blue) !important; }
.has-accent-color { color: var(--flt-lime-d) !important; }
.flt-light { background: var(--flt-light-2); }
.flt-pagehead { background: linear-gradient(180deg, var(--flt-light) 0%, #fff 100%); padding: clamp(32px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.flt-pagehead h1 { margin: 0; }
.flt-date { margin: 8px 0 0; color: var(--flt-muted); font-size: 15px; }

/* смуга-гасло */
.flt-strip { background: var(--flt-blue); padding: 14px var(--flt-gut) !important; }
.flt-strip p { color: #fff; margin: 0 auto !important; text-align: center; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(15px, 2.2vw, 24px); line-height: 1.3; max-width: none !important; }
.flt-strip strong { color: #fff; }

/* перший екран */
.flt-hero { background: radial-gradient(1200px 500px at 85% 20%, #d6efff 0%, rgba(214, 239, 255, 0) 60%), linear-gradient(180deg, var(--flt-light) 0%, #fff 100%); }
.flt-hero h1 { text-align: left; margin-bottom: .5em; }
.flt-hero h1 mark, .flt-hero h1 strong { color: var(--flt-blue) !important; font-weight: 800; }
.flt-hero .flt-kicker { text-align: left; }
.flt-hero > .wp-block-columns { align-items: center; }
.flt-hero > .wp-block-buttons { justify-content: flex-start; }
.flt-hero .wp-block-image { margin: 0; text-align: center; }
.flt-hero .wp-block-image img { max-height: 460px; width: auto; }
.flt-hero-title { padding-bottom: 8px !important; background: linear-gradient(180deg, var(--flt-light) 0%, var(--flt-light) 100%); }
.flt-hero-title + .flt-hero { padding-top: 24px; }
.flt-hero-title > * { text-align: left !important; }
.flt-hero-title h1 { font-size: clamp(24px, 3.4vw, 36px); max-width: 980px; }
.flt-kicker { font-weight: 800; font-size: clamp(26px, 4vw, 44px); line-height: 1.1; color: var(--flt-dark); text-transform: uppercase; margin-bottom: .3em; }
.flt-kicker mark, .flt-kicker strong { color: var(--flt-blue) !important; }

/* нумеровані пункти (1 — ОТРУЄННЯ?) */
.flt-num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 18px 0 6px !important; border-radius: 50%; background: var(--flt-blue); color: #fff; font-weight: 700; font-size: 20px; line-height: 1; }
.flt-num:first-child { margin-top: 0 !important; }
.flt-num + p { font-weight: 700; color: var(--flt-dark); text-transform: uppercase; font-size: 18px; margin-bottom: .2em; }
.flt-num + p + p:not(.flt-num) { color: var(--flt-text); margin-bottom: 0; }

/* колонки */
.wp-block-columns { gap: clamp(20px, 3vw, 40px); margin-bottom: 0; }
.flt-sec > .wp-block-columns { margin-top: 28px; }
.flt-sec > h2 + .wp-block-columns, .flt-sec > h3 + .wp-block-columns, .flt-sec > h4 + .wp-block-columns { margin-top: 32px; }
.wp-block-column > :last-child { margin-bottom: 0; }

/* картки */
.flt-cards, .wp-block-columns.is-style-flt-cards { gap: 20px; }
.flt-cards > .wp-block-column { position: relative; background: #fff; border: 1px solid var(--flt-line); border-radius: var(--flt-radius); padding: 64px 22px 22px; box-shadow: var(--flt-shadow); text-align: center; }
.flt-cards > .wp-block-column::before { content: ''; position: absolute; top: 20px; left: 50%; width: 32px; height: 32px; margin-left: -16px; border-radius: 50%; background: var(--flt-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/18px no-repeat; }
.flt-cards > .wp-block-column p { margin-bottom: .4em; }
.flt-cards > .wp-block-column p:first-of-type { color: var(--flt-dark); font-weight: 500; }
.flt-sec:has(> .flt-cards):not(.flt-strip):not(.flt-hero) { background: var(--flt-light-2); padding-top: clamp(40px, 6vw, 72px); }
.flt-steps > .wp-block-column::before { content: counter(flt-step); counter-increment: flt-step; background: var(--flt-lime); color: var(--flt-dark); font-weight: 700; display: grid; place-items: center; }
.flt-steps { counter-reset: flt-step; }

/* мітки (При харчових отруєннях…) */
.flt-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.flt-tags p { margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--flt-lime); color: var(--flt-dark); font-weight: 600; text-transform: uppercase; font-size: 14px; }
.flt-sec:has(.flt-tags) .flt-cards > .wp-block-column { padding: 0; border: 0; box-shadow: none; background: none; }
.flt-sec:has(.flt-tags) .flt-cards > .wp-block-column::before { display: none; }

/* кнопки */
.wp-block-buttons { gap: 12px; }
.wp-block-button__link, .flt-btn, .dmp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 12px 28px;
	border: 2px solid var(--flt-blue); border-radius: 999px;
	background: var(--flt-blue); color: #fff !important;
	font: 600 15px/1.2 var(--flt-font); text-transform: uppercase; letter-spacing: .03em; text-decoration: none;
	transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
	box-shadow: 0 8px 20px rgba(53, 182, 233, .28);
}
.wp-block-button__link:hover, .flt-btn:hover, .dmp-btn:hover { background: var(--flt-blue-d); border-color: var(--flt-blue-d); transform: translateY(-1px); }
.wp-block-buttons > .wp-block-button:nth-child(2) .wp-block-button__link,
.wp-block-button.is-style-flt-lime .wp-block-button__link,
.dmp-btn--pharmacy { background: var(--flt-lime); border-color: var(--flt-lime); color: var(--flt-dark) !important; box-shadow: 0 8px 20px rgba(179, 189, 18, .28); }
.wp-block-buttons > .wp-block-button:nth-child(2) .wp-block-button__link:hover,
.wp-block-button.is-style-flt-lime .wp-block-button__link:hover,
.dmp-btn--pharmacy:hover { background: var(--flt-lime-d); border-color: var(--flt-lime-d); }
.wp-block-button.is-style-flt-ghost .wp-block-button__link, .dmp-btn--more, .dmp-btn--instruction,
.flt-sec .wp-block-buttons > .wp-block-button:only-child .wp-block-button__link[href*="instruk"],
.flt-sec .wp-block-buttons > .wp-block-button:only-child .wp-block-button__link[href*="instrukt"] { background: #fff; color: var(--flt-blue-d) !important; box-shadow: none; }
.wp-block-button.is-style-flt-ghost .wp-block-button__link:hover, .dmp-btn--more:hover, .dmp-btn--instruction:hover { background: var(--flt-light); }

/* картинки */
.wp-block-image { margin: 0 0 1em; }
.wp-block-image img { height: auto; }
.flt-sec .wp-block-column > .wp-block-image { text-align: center; }

/* акордеон */
.wp-block-details { max-width: 900px; margin: 0 auto 12px !important; background: #fff; border: 1px solid var(--flt-line); border-radius: var(--flt-radius-s); box-shadow: 0 4px 14px rgba(11, 134, 189, .06); }
.wp-block-details summary { position: relative; display: block; padding: 18px 56px 18px 22px; cursor: pointer; list-style: none; font-weight: 600; color: var(--flt-dark); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--flt-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath stroke='%230B86BD' stroke-width='2.5' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { padding: 0 22px; }
.wp-block-details > :last-child { padding-bottom: 18px; }
.wp-block-details summary a { color: inherit; text-decoration: none; pointer-events: none; }

/* відео */
.flt-yt { margin: 0 0 1em; }
.flt-yt__btn { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; border-radius: var(--flt-radius); overflow: hidden; background: #000; cursor: pointer; }
.flt-yt__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.flt-yt__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--flt-blue); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.flt-yt__play::after { content: ''; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.flt-yt iframe, .wp-block-embed iframe { display: block; width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--flt-radius); }

/* товари (DM Products) */
.flt-products { background: linear-gradient(180deg, #fff 0%, var(--flt-light-2) 100%); }
.dmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: var(--flt-wrap); margin: 32px auto 0; }
.dmp-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 24px; background: #fff; border-radius: var(--flt-radius); border: 1px solid var(--flt-line); box-shadow: var(--flt-shadow); text-align: center; transition: transform .2s, box-shadow .2s; }
.dmp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 134, 189, .16); }
.dmp-card__img { display: block; }
.dmp-card__img img { width: auto; max-height: 260px; }
.dmp-card h3 { font-size: 22px; margin: 4px 0 0; }
.dmp-card h3 a { color: var(--flt-dark); text-decoration: none; }
.dmp-card h3 a:hover { color: var(--flt-blue-d); }
.dmp-card__meta { font-size: 15px; color: var(--flt-text); }
.dmp-card__meta p:last-child { margin: 0; }
.dmp-card__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.dmp-btn { min-height: 44px; padding: 10px 20px; font-size: 13px; }

/* виноска */
.flt-note { padding-top: 24px !important; padding-bottom: 40px !important; }
.flt-note p { font-size: 13px; color: var(--flt-muted); max-width: 900px; }

/* текстові сторінки, статті */
.flt-article__body, .flt-doc, .flt-content > p, .flt-content > ul, .flt-content > ol, .flt-content > h2, .flt-content > h3 { max-width: 900px !important; }
.flt-article__body { margin: 0 auto; padding: 32px var(--flt-gut) 64px; }
.flt-article__cover { max-width: 900px; margin: 24px auto 0; padding: 0 var(--flt-gut); }
.flt-article__cover img { border-radius: var(--flt-radius); }
.flt-content ul.wp-block-list { padding-left: 1.2em; }
.flt-content ul.wp-block-list li::marker { color: var(--flt-blue); }

/* інструкції */
.flt-doc { margin: 0 auto; }
.flt-doc h2 { font-size: 22px; text-align: left !important; margin-top: 1.4em; }
.flt-doc p { max-width: none; }
.flt-doc .flt-doc__head { padding: 20px 24px; background: var(--flt-light-2); border-radius: var(--flt-radius-s); border-left: 4px solid var(--flt-blue); }
.flt-doc strong { color: var(--flt-blue-dd); }
.flt-doc .wp-block-table { overflow-x: auto; }
.flt-doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.flt-doc th, .flt-doc td { border: 1px solid var(--flt-line); padding: 10px 12px; vertical-align: middle; text-align: left; }
.flt-doc th { background: var(--flt-light); color: var(--flt-dark); }
.flt-doc td img { width: 36px; height: 36px; object-fit: contain; }
.flt-doc-sec { padding-top: 32px !important; }

/* контакти */
.dms-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: var(--flt-wrap); margin: 0 auto; }
.dms-office { background: #fff; border: 1px solid var(--flt-line); border-radius: var(--flt-radius); padding: 22px; box-shadow: var(--flt-shadow); }
.dms-map { margin-top: 12px; border-radius: var(--flt-radius-s); overflow: hidden; }
.dms-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* список статей */
.flt-list { max-width: var(--flt-wrap); margin: 0 auto; padding: 32px var(--flt-gut) 64px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.flt-list__item { background: #fff; border: 1px solid var(--flt-line); border-radius: var(--flt-radius); padding: 20px; }
.flt-list__item img { border-radius: var(--flt-radius-s); margin-bottom: 12px; }
.flt-list__item h2 { font-size: 20px; }
.flt-list__item h2 a { color: var(--flt-dark); text-decoration: none; }
.flt-404 .flt-wrap { padding-top: 24px; padding-bottom: 80px; }

/* ============ Підвал ============ */
.flt-footer { background: #0D2F42; color: #C7D6DF; font-size: 14px; padding: 48px 0 28px; }
.flt-footer a { color: #fff; }
.flt-footer__disc { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 13px; line-height: 1.55; color: #9FB3BF; }
.flt-footer__disc p:last-child { margin: 0; }
.flt-footer__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .flt-footer__grid { grid-template-columns: 1.4fr 1fr; align-items: start; } .flt-footer__links { text-align: right; } }
.flt-footer__company img { height: 52px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .92; }
.flt-footer__contacts p, .flt-footer__links p { margin: 0 0 .5em; }
.flt-footer__copy { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: #8FA5B2; font-size: 13px; }

/* ============ Адаптив ============ */
@media (max-width: 781px) {
	body { font-size: 16px; }
	.flt-hero h1, .flt-hero .flt-kicker, .flt-hero-title > * { text-align: center !important; }
	.flt-hero > .wp-block-buttons, .flt-hero .wp-block-buttons { justify-content: center; }
	.flt-hero .wp-block-image img { max-height: 300px; }
	.flt-num + p { font-size: 16px; }
	.wp-block-button__link { width: 100%; }
	.wp-block-buttons > .wp-block-button { flex: 1 1 220px; }
	.flt-cards > .wp-block-column { padding: 60px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* текстові сторінки (контакти, політика) */
.flt-text { padding-top: clamp(32px, 5vw, 56px); }
.flt-text > h1 { text-align: left; max-width: 900px; }
.flt-text > h2 { text-align: left; font-size: clamp(20px, 2.4vw, 26px); margin-top: 1.4em; }
.flt-text > p, .flt-text > ul, .flt-text > ol, .flt-text > h1, .flt-text > h2, .flt-text > h3 { max-width: 900px; }
.flt-offices { background: var(--flt-light-2); }
.flt-slogan { text-align: center; font-weight: 700; text-transform: uppercase; color: var(--flt-blue-d); letter-spacing: .02em; }
.flt-doc__title { font-weight: 700; color: var(--flt-dark); text-transform: uppercase; font-size: 18px; margin-bottom: .3em; }
.flt-doc__sub { color: var(--flt-blue-d); margin: 0; }
.flt-doc__head ul { margin: .5em 0 0; }
.flt-doc__company { font-weight: 700; color: var(--flt-dark); margin-top: 1.4em; }
.flt-doc__code, .flt-doc__mark { font-size: 13px; color: var(--flt-muted); }
.flt-doc__caption { font-style: italic; color: var(--flt-blue-d); }
.flt-doc__symbols td:nth-child(odd) { width: 64px; text-align: center; }

/* 1.0.1: щільніші відступи в інструкціях і вкладених колонках */
.flt-doc > * + * { margin-block-start: .75em !important; }
.flt-doc p { margin-bottom: 0; }
.flt-sec .wp-block-column .wp-block-columns { align-items: center; margin-top: 12px; }
.flt-sec .wp-block-column .wp-block-columns p { margin-bottom: .25em; }


/* ============ 1.1.0 — доопрацювання дизайну ============ */

/* SCHONEN більший */
.flt-brandbar .flt-wrap { height: 48px; }
.flt-brandbar img { height: 26px; width: auto; }

/* ритм відступів усередині секцій */
.flt-sec > * + * { margin-block-start: 18px; }
.flt-sec .wp-block-column > * + * { margin-block-start: 10px !important; }
.flt-sec > h2 + p, .flt-sec > h3 + p, .flt-sec > h4 + p { margin-block-start: 8px; }
.flt-sec > p:not([class]) { text-align: center; color: var(--flt-text); }
.flt-sec.flt-text > p, .flt-sec.flt-note > p, .flt-sec.flt-doc-sec > * { text-align: left; }
.flt-sec:has(> .flt-cards):not(.flt-strip):not(.flt-hero) { padding-top: clamp(40px, 6vw, 72px) !important; position: relative; overflow: hidden; }
.flt-sec + .flt-sec:has(> .flt-cards) { margin-top: 0; }

/* декоративні плями (як на старому сайті) */
.flt-sec:has(> .flt-cards)::before { content: ''; position: absolute; right: -120px; top: -60px; width: 420px; height: 360px; background: url('../../uploads/2022/01/fon-13.svg') center/contain no-repeat; opacity: .55; pointer-events: none; }
.flt-sec:has(> .flt-cards) > * { position: relative; }
.flt-faq { position: relative; overflow: hidden; }
.flt-faq::before { content: ''; position: absolute; left: -140px; bottom: -80px; width: 420px; height: 300px; background: url('../../uploads/2022/02/fon-51.svg') center/contain no-repeat; opacity: .6; pointer-events: none; }
.flt-faq > * { position: relative; }

/* перший екран: смужки зліва */
.flt-hero, .flt-hero-title { position: relative; overflow: hidden; }
.flt-hero::before { content: ''; position: absolute; left: -90px; top: 40px; width: 360px; height: 220px; background: url('../../uploads/2022/01/fon-1.svg') left center/contain no-repeat; opacity: .35; pointer-events: none; }
.flt-hero > * { position: relative; }

/* герой: шлунок поверх дуги з іконками */
.flt-hero .wp-block-image:has(img[src*="top-banner-bg1-min"]) { position: relative; }
.flt-hero .wp-block-image:has(img[src*="top-banner-bg1-min"])::after { content: ''; position: absolute; left: 21%; top: 8%; width: 55%; height: 84%; background: url('../../uploads/2022/01/top-banner-min.png') center/contain no-repeat; pointer-events: none; }
.flt-hero .wp-block-image img[src*="top-banner"] { max-height: 520px; width: 100%; object-fit: contain; }

/* нумеровані пункти — компактно: цифра ліворуч від заголовка */
.flt-hero .flt-num, .flt-num { float: left; clear: left; margin: 0 14px 0 0 !important; width: 42px; height: 42px; font-size: 18px; }
.flt-num + p { margin-block-start: 0 !important; padding-top: 9px; min-height: 42px; overflow: hidden; }
.flt-num + p + p:not(.flt-num) { clear: left; padding-left: 56px; margin-block-start: 2px !important; font-size: 15px; }
.flt-sec .wp-block-column > .flt-num { margin-top: 18px !important; }
.flt-sec .wp-block-column > .flt-num:first-child { margin-top: 0 !important; }
.flt-hero .wp-block-column:has(> .flt-num) { align-self: center; }
.flt-hero .wp-block-column:has(> .flt-num)::after { content: ''; display: block; clear: both; }
/* іконки замість цифр (таблетки) */
.flt-num.flt-ico-1, .flt-num.flt-ico-2, .flt-num.flt-ico-3 { width: 64px; height: 64px; font-size: 0; color: transparent; background: #fff center/100% no-repeat; box-shadow: 0 6px 18px rgba(11,134,189,.15); }
.flt-num.flt-ico-1 { background-image: url('../../uploads/2022/02/otravlenie.png'); }
.flt-num.flt-ico-2 { background-image: url('../../uploads/2022/02/alcohol.png'); }
.flt-num.flt-ico-3 { background-image: url('../../uploads/2022/02/rvota.png'); }
.flt-num.flt-ico-1 + p, .flt-num.flt-ico-2 + p, .flt-num.flt-ico-3 + p { padding-top: 20px; min-height: 64px; }

/* картки з іконками шлунка */
.flt-cards > .wp-block-column[class*="flt-i-"] { padding-top: 104px; }
.flt-cards > .wp-block-column[class*="flt-i-"]::before { top: 22px; width: 64px; height: 64px; margin-left: -32px; border-radius: 18px; background: var(--flt-light) center/38px no-repeat; }
.flt-cards > .flt-i-1::before { background-image: url('../../uploads/2022/02/stom-icon-1.svg') !important; }
.flt-cards > .flt-i-2::before { background-image: url('../../uploads/2022/02/stom-icon-2.svg') !important; }
.flt-cards > .flt-i-3::before { background-image: url('../../uploads/2022/02/stom-icon-3.svg') !important; }
.flt-cards > .flt-i-4::before { background-image: url('../../uploads/2022/02/stom-icon-4.svg') !important; }
.flt-cards > .flt-i-5::before { background-image: url('../../uploads/2022/02/stom-icon-5.svg') !important; }
.flt-cards > .flt-i-6::before { background-image: url('../../uploads/2022/02/stom-icon-6.svg') !important; }
body[class*="flt-page-filtrum-gastro-gel"] .flt-cards > .wp-block-column[class*="flt-i-"] p { text-align: left; }

/* кроки «Як діє» — салатова цифра більша */
.flt-steps > .wp-block-column::before { width: 40px; height: 40px; margin-left: -20px; font-size: 18px; }

/* хвилясті роздільники між секціями світлого фону */
.flt-sec:has(> .flt-cards) { border-radius: 0; }
.flt-products { position: relative; }
.flt-products::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 140px; height: 4px; margin-left: -70px; border-radius: 4px; background: linear-gradient(90deg, var(--flt-blue), var(--flt-lime)); }

@media (max-width: 781px) {
	.flt-sec:has(> .flt-cards)::before, .flt-faq::before, .flt-hero::before { opacity: .25; }
	.flt-hero .wp-block-image img[src*="top-banner"] { max-height: 300px; }
	.flt-sec > p:not([class]) { text-align: left; }
}

/* два ряди карток поспіль — одна смуга */
.flt-sec:has(> .flt-cards) + .flt-sec:has(> .flt-cards):not(:has(> h2, > h3, > h4)) { padding-top: 0 !important; }
.flt-sec:has(> .flt-cards) + .flt-sec:has(> .flt-cards):not(:has(> h2, > h3, > h4))::before { display: none; }
.flt-sec:has(> .flt-cards):has(+ .flt-sec > .flt-cards:first-child) { padding-bottom: 20px; }

/* ============ 1.2.0 — головна: живіші блоки ============ */
/* «при отруєнні…» — плашки з іконкою ліворуч */
.flt-uses { background: linear-gradient(180deg, #fff 0%, var(--flt-light-2) 100%) !important; }
.flt-uses .flt-cards { gap: 16px; }
.flt-uses .flt-cards > .wp-block-column { display: flex; align-items: center; gap: 16px; padding: 18px 20px !important; text-align: left; border: 1px solid transparent; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.flt-uses .flt-cards > .wp-block-column::before { position: static; flex: none; margin: 0 !important; width: 58px; height: 58px; border-radius: 16px; background-color: var(--flt-light); }
.flt-uses .flt-cards > .wp-block-column p { margin: 0 !important; font-size: 17px; font-weight: 600; color: var(--flt-dark); line-height: 1.3; }
.flt-uses .flt-cards > .wp-block-column:hover { transform: translateY(-4px); border-color: var(--flt-blue); box-shadow: 0 18px 40px rgba(11, 134, 189, .18); }
.flt-uses .flt-cards > .wp-block-column:hover::before { background-color: #d4efff; }
.flt-uses > .wp-block-buttons { margin-top: 36px; }

/* «Як діє» — насичена блакитна смуга, кроки зі стрілками */
.flt-how { background: radial-gradient(900px 400px at 85% 0%, rgba(204, 215, 32, .25) 0%, rgba(204, 215, 32, 0) 60%), linear-gradient(135deg, #0B86BD 0%, #35B6E9 100%) !important; color: #fff; }
.flt-how::before { background-image: url('../../uploads/2022/01/fon-12.svg') !important; right: auto !important; left: -60px; top: auto !important; bottom: -40px; width: 380px !important; height: 240px !important; opacity: .25 !important; filter: brightness(0) invert(1); }
.flt-how > h2, .flt-how > h3, .flt-how > h4 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.flt-how .flt-cards { gap: 48px; counter-reset: flt-step; }
.flt-how .flt-cards > .wp-block-column { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); box-shadow: none; padding: 84px 26px 30px !important; position: relative; backdrop-filter: blur(4px); }
.flt-how .flt-cards > .wp-block-column p, .flt-how .flt-cards > .wp-block-column p:first-of-type { color: #fff; font-size: 17px; font-weight: 500; }
.flt-how .flt-steps > .wp-block-column::before { top: 24px; width: 46px !important; height: 46px !important; margin-left: -23px !important; font-size: 20px !important; background: var(--flt-lime) !important; color: var(--flt-dark); box-shadow: 0 0 0 8px rgba(204, 215, 32, .25); }
.flt-how .flt-steps > .wp-block-column:not(:last-child)::after { content: ''; position: absolute; right: -40px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230B86BD' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat; z-index: 2; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }

/* «Переваги» — сітка 2×2 поруч із упаковками */
.flt-benefits { background: #fff !important; }
.flt-benefits::before { display: none; }
.flt-benefits::after { content: ''; position: absolute; right: max(var(--flt-gut), calc(50% - 570px)); bottom: clamp(30px, 5vw, 60px); width: 40%; max-width: 440px; height: calc(100% - 140px); background: url('../../uploads/2026/11/left-side-new-1.webp') right bottom/contain no-repeat, url('../../uploads/2026/11/Tabl_blister-123-1.webp') left bottom/62% no-repeat; pointer-events: none; }
.flt-benefits > h2, .flt-benefits > h3, .flt-benefits > h4 { text-align: left; max-width: 1140px; }
.flt-benefits > .flt-cards { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1140px; padding-right: 44%; }
.flt-benefits .flt-cards > .wp-block-column { display: flex; align-items: center; gap: 16px; text-align: left; padding: 22px !important; background: var(--flt-light-2); border: 0; border-left: 4px solid var(--flt-lime); border-radius: 16px; box-shadow: none; }
.flt-benefits .flt-cards > .wp-block-column::before { position: static; flex: none; margin: 0 !important; width: 40px; height: 40px; background-color: var(--flt-blue); background-size: 20px; }
.flt-benefits .flt-cards > .wp-block-column p { margin: 0 !important; font-size: 17px; font-weight: 600; color: var(--flt-dark); }

.flt-how { padding-top: clamp(56px, 6vw, 88px) !important; padding-bottom: clamp(56px, 6vw, 88px) !important; }
.flt-benefits { padding-top: clamp(56px, 6vw, 88px) !important; }
.flt-benefits > .flt-cards { padding-right: 36%; }
.flt-benefits::after { max-width: 400px; width: 34%; }

@media (max-width: 900px) {
	.flt-how .flt-cards { gap: 20px; }
	.flt-how .flt-steps > .wp-block-column:not(:last-child)::after { right: 50%; top: auto; bottom: -26px; margin: 0 -16px 0 0; transform: rotate(90deg); }
	.flt-benefits > .flt-cards { grid-template-columns: 1fr; padding-right: 0; }
	.flt-benefits::after { position: relative; display: block; right: auto; bottom: auto; width: 100%; max-width: 360px; height: 260px; margin: 24px auto 0; }
	.flt-benefits > h2, .flt-benefits > h3, .flt-benefits > h4 { text-align: center; }
}

/* 1.2.3 — блок «при отруєнні…» як єдина панель */
.flt-sec:has(+ .flt-uses) { padding-bottom: 28px !important; }
.flt-sec.flt-uses:has(> .flt-cards):not(.flt-strip):not(.flt-hero) { background: #fff !important; padding-top: 12px !important; padding-bottom: clamp(48px, 6vw, 80px) !important; }
.flt-uses::before { content: '' !important; display: block !important; left: max(var(--flt-gut), calc(50% - 600px)) !important; right: max(var(--flt-gut), calc(50% - 600px)) !important; top: 12px !important; bottom: clamp(24px, 4vw, 48px) !important; width: auto !important; height: auto !important; opacity: 1 !important; border-radius: 32px; background: url('../../uploads/2022/01/fon-10.svg') right -40px bottom -30px/420px auto no-repeat, linear-gradient(120deg, #E3F3FF 0%, #F1F8FE 55%, #F4F8DA 100%) !important; box-shadow: inset 0 0 0 1px rgba(53, 182, 233, .15); }
.flt-uses > .flt-cards { padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px) 0; max-width: 1200px !important; }
.flt-uses > .wp-block-buttons { padding-bottom: clamp(24px, 3vw, 36px); }
.flt-uses .flt-cards > .wp-block-column { border-radius: 20px; box-shadow: 0 10px 28px rgba(11, 134, 189, .10); position: relative; overflow: hidden; }
.flt-uses .flt-cards > .wp-block-column::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--flt-blue), var(--flt-lime)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.flt-uses .flt-cards > .wp-block-column:hover::after { transform: scaleX(1); }
.flt-uses .flt-cards > .wp-block-column::before { background-color: #fff !important; box-shadow: inset 0 0 0 2px #d4efff; }
@media (max-width: 781px) { .flt-uses::before { left: 8px !important; right: 8px !important; background-size: 260px auto, auto !important; } .flt-uses > .flt-cards { padding: 20px 12px 0; } }

/* ============ 1.3.0 — hero картки товару ============ */
.flt-phero { position: relative; overflow: hidden; padding-top: clamp(32px, 5vw, 64px) !important; padding-bottom: clamp(40px, 6vw, 80px) !important; background: radial-gradient(700px 520px at 78% 45%, #d3eeff 0%, rgba(211, 238, 255, 0) 70%), linear-gradient(180deg, var(--flt-light) 0%, #fff 100%); }
.flt-phero::before { content: ''; position: absolute; left: -110px; top: 30px; width: 380px; height: 240px; background: url('../../uploads/2022/01/fon-10.svg') left center/contain no-repeat; opacity: .8; pointer-events: none; }
.flt-phero > * { position: relative; }
.flt-phero__cols { align-items: center !important; gap: clamp(24px, 4vw, 64px) !important; margin: 0 auto !important; }
.flt-phero__text { flex-basis: 56% !important; }
.flt-phero__media { flex-basis: 44% !important; position: relative; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.flt-phero__kicker { display: inline-block; margin: 0 0 14px !important; padding: 7px 16px; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(11, 134, 189, .12); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.flt-phero__kicker strong { color: var(--flt-dark); }
.flt-phero h1 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.12; margin: 0 0 24px !important; text-align: left; }

/* три пункти — картки в ряд */
.flt-phero__feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 28px !important; }
.flt-feat { position: relative; margin: 0 !important; padding: 16px 16px 18px; background: rgba(255, 255, 255, .85); border: 1px solid #d9eefb; border-radius: 18px; box-shadow: 0 8px 24px rgba(11, 134, 189, .08); backdrop-filter: blur(4px); }
.flt-feat > * { margin: 0 !important; }
.flt-feat__num { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px !important; border-radius: 10px; background: linear-gradient(135deg, var(--flt-blue), var(--flt-blue-d)); color: #fff; font-weight: 700; font-size: 16px; }
.flt-feat:nth-child(2) .flt-feat__num { background: linear-gradient(135deg, #46c3ef, #1aa2d8); }
.flt-feat:nth-child(3) .flt-feat__num { background: linear-gradient(135deg, var(--flt-lime), #a9b40e); color: var(--flt-dark); }
.flt-phero .flt-feat [class*="flt-feat__ico-"] { width: 52px; height: 52px; font-size: 0; color: transparent; background: #fff center/100% no-repeat !important; box-shadow: 0 4px 12px rgba(11, 134, 189, .15); border-radius: 50%; }
.flt-phero .flt-feat .flt-feat__ico-1 { background-image: url('../../uploads/2022/02/otravlenie.png') !important; }
.flt-phero .flt-feat .flt-feat__ico-2 { background-image: url('../../uploads/2022/02/alcohol.png') !important; }
.flt-phero .flt-feat .flt-feat__ico-3 { background-image: url('../../uploads/2022/02/rvota.png') !important; }
.flt-feat__title { font-weight: 700; color: var(--flt-dark); text-transform: uppercase; font-size: 15px; letter-spacing: .02em; }
.flt-feat__desc { margin-top: 6px !important; font-size: 14px; line-height: 1.45; color: var(--flt-muted); }
.flt-phero .wp-block-buttons { justify-content: flex-start; margin: 0 !important; }

/* фото товару на колі з ілюстрацією ШКТ */
.flt-phero__media::before { content: ''; position: absolute; left: 50%; top: 50%; width: min(100%, 470px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0%, #eaf7ff 55%, #cfeeff 100%); box-shadow: 0 30px 60px rgba(11, 134, 189, .15), inset 0 0 0 10px rgba(255, 255, 255, .6); }
.flt-phero__media::after { content: ''; position: absolute; left: 50%; top: 50%; width: min(118%, 560px); aspect-ratio: 817 / 638; transform: translate(-46%, -50%); background: url('../../uploads/2022/01/top-banner-bg1-min.png') center/contain no-repeat; opacity: .55; pointer-events: none; z-index: 0; }
.flt-phero__media > * { position: relative; z-index: 1; margin: 0 !important; }
.flt-phero__pack img { max-height: 440px; width: auto; filter: drop-shadow(0 24px 30px rgba(7, 94, 134, .25)); transition: transform .4s; }
.flt-phero__media:hover .flt-phero__pack img { transform: translateY(-6px) rotate(-1deg); }
.flt-phero__badge { position: absolute !important; right: 8%; bottom: 6%; width: 92px; height: 92px; display: grid; place-items: center; background: #fff; border-radius: 50%; box-shadow: 0 10px 26px rgba(0, 0, 0, .12); transform: rotate(-10deg); }
.flt-phero__badge img { width: 70px; height: auto; }

@media (max-width: 960px) {
	.flt-phero__feats { grid-template-columns: 1fr; }
	.flt-feat { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
	.flt-feat__num { grid-row: span 2; margin: 0 !important; }
	.flt-feat__desc { grid-column: 2; margin-top: 2px !important; }
}
@media (max-width: 781px) {
	.flt-phero__cols { flex-direction: column-reverse; }
	.flt-phero__media { min-height: 300px; width: 100%; }
	.flt-phero__pack img { max-height: 300px; }
	.flt-phero__badge { width: 72px; height: 72px; right: 4%; }
	.flt-phero__badge img { width: 54px; }
	.flt-phero h1 { text-align: center; }
	.flt-phero__text { text-align: center; }
	.flt-phero__text .flt-feat { text-align: left; }
	.flt-phero .wp-block-buttons { justify-content: center; }
}

/* довгий H1 на сторінці таблеток */
.flt-page-tabletki-filtrum .flt-phero h1 { font-size: clamp(26px, 2.7vw, 36px); line-height: 1.18; }
