/* Headring Blank 1.0.1 */
:root {
	--navy: #1C2C6C;
	--blue: #004990;
	--cyan: #0A9BD6;
	--violet: #7B3E9E;
	--ink: #18223F;
	--muted: #5A6683;
	--soft: #EEF6FC;
	--soft-violet: #F5EFFA;
	--line: #DCE6F1;
	--accent: var(--cyan);
	--accent-soft: var(--soft);
	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 10px 30px rgba(28, 44, 108, .08), 0 2px 6px rgba(28, 44, 108, .05);
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.hr-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.hr-skip:focus { left: 8px; }

/* ---------- Шапка ---------- */
.hr-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(220, 230, 241, .7); }
.admin-bar .hr-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hr-header { top: 0; } }
.hr-header__in { max-width: 1180px; margin: 0 auto; min-height: var(--header-h); padding: 0 16px; display: flex; align-items: center; gap: 20px; }
.hr-logo { display: inline-flex; flex: 0 0 auto; }
.hr-logo__img { display: block; width: auto; height: 44px; }
.hr-logo__text { font-weight: 900; font-size: 1.4rem; color: var(--navy); text-decoration: none; }
.hr-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hr-menu__list, .hr-footer__menu ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hr-menu__list a { display: inline-block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; transition: background .2s, color .2s; }
.hr-menu__list a:hover { background: var(--soft); color: var(--blue); }
.hr-menu__list .menu-cta a, .hr-menu__list a[href*="tabletki"] { background: var(--navy); color: #fff; padding: 10px 18px; }
.hr-menu__list .menu-cta a:hover, .hr-menu__list a[href*="tabletki"]:hover { background: var(--blue); color: #fff; }

.dm-lang-switch ul { list-style: none; margin: 0; padding: 3px; display: inline-flex; gap: 2px; background: var(--soft); border-radius: 999px; }
.dm-lang-switch li > * { display: inline-block; min-width: 40px; text-align: center; padding: 6px 10px; border-radius: 999px; font-size: .85rem; font-weight: 800; text-decoration: none; color: var(--muted); }
.dm-lang-switch .is-current > span { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.dm-lang-switch a:hover { color: var(--navy); }

.hr-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.hr-burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.hr-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hr-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 860px) {
	:root { --header-h: 64px; }
	.hr-logo__img { height: 38px; }
	.hr-burger { display: flex; }
	.hr-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(28, 44, 108, .08); flex-direction: column; align-items: stretch; gap: 14px; display: none; }
	.hr-nav.is-open { display: flex; }
	.hr-menu__list { flex-direction: column; align-items: stretch; gap: 4px; }
	.hr-menu__list a { display: block; padding: 12px 14px; }
	.dm-lang-switch { align-self: flex-start; }
}

/* ---------- Загальне для вмісту ---------- */
.hr-main { display: block; }
.hr-page > :first-child { margin-top: 0; }
.hr-page > :last-child { margin-bottom: 0; }
.entry-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.hr-page > * + .alignfull, .hr-page > .alignfull + * { margin-top: 0; }

/* Секції */
.hr-section, .is-style-hr-section { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hr-soft, .is-style-hr-soft { background: var(--accent-soft); padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.is-style-hr-soft-violet { background: var(--soft-violet); padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hr-accent-cyan { --accent: var(--cyan); --accent-soft: var(--soft); }
.hr-accent-violet { --accent: var(--violet); --accent-soft: var(--soft-violet); }
.hr-section h2, .hr-soft h2 { text-align: center; }
.hr-sub { text-align: center; max-width: 760px; margin-left: auto !important; margin-right: auto !important; color: var(--muted) !important; font-weight: 700 !important; }
.hr-title-pill { display: block; width: fit-content; margin: 0 auto .5rem !important; }
.hr-kicker, .is-style-hr-kicker { display: block; width: fit-content; margin-left: auto !important; margin-right: auto !important; padding: 6px 16px; border-radius: 999px; background: var(--accent); color: #fff !important; font-weight: 800; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; }

/* Картки */
.hr-card, .is-style-hr-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); }

/* ---------- Hero ---------- */
.hr-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #EAF6FD 0%, #F4F0FB 100%); padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.hr-hero::before, .hr-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hr-hero::before { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(closest-side, rgba(10, 155, 214, .18), transparent); }
.hr-hero::after { width: 420px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(closest-side, rgba(123, 62, 158, .14), transparent); }
.hr-hero > * { position: relative; z-index: 1; }
.hr-hero__cols { align-items: center !important; gap: clamp(1.5rem, 4vw, 3rem) !important; }
.hr-hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.12; margin: .6rem 0 1.4rem; color: var(--navy); }
.hr-hero__pack img { width: 100%; max-width: 360px; filter: drop-shadow(0 18px 24px rgba(28, 44, 108, .16)); }
.hr-hero__art { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 360px; background: #fff; border-radius: 32px; box-shadow: 0 24px 50px rgba(28, 44, 108, .12); overflow: hidden; }
.hr-hero__girl { margin: 0 !important; }
.hr-hero__girl img { display: block; width: clamp(220px, 24vw, 288px); }
.hr-hero__sticker { position: absolute !important; right: 14px; bottom: 14px; margin: 0 !important; animation: hr-float 4s ease-in-out infinite; }
.hr-hero__sticker img { display: block; width: clamp(130px, 15vw, 190px); }
@keyframes hr-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .hr-hero__sticker { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 781px) {
	.hr-hero h1 { text-align: center; }
	.hr-hero__pack img { margin: 0 auto; display: block; }
	.hr-hero .wp-block-buttons { justify-content: center; }
	.hr-hero__art { min-height: 300px; max-width: 420px; margin: 0 auto; }
}

/* ---------- Кнопки ---------- */
.wp-block-button__link { transition: transform .15s, background .2s, box-shadow .2s, color .2s; box-shadow: 0 6px 16px rgba(28, 44, 108, .18); }
.wp-block-button__link:hover { transform: translateY(-1px); background: var(--blue); color: #fff; }
.is-style-outline > .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link { background: #fff !important; color: var(--navy) !important; border: 2px solid var(--navy) !important; box-shadow: none; padding: calc(.8rem - 2px) calc(1.6rem - 2px); }
.is-style-outline > .wp-block-button__link:hover { background: var(--navy) !important; color: #fff !important; }
.hr-accent-violet .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--violet); }
.hr-accent-cyan .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--cyan); }
.hr-accent-violet .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover, .hr-accent-cyan .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--navy); }

/* ---------- Переваги ---------- */
.hr-split { gap: clamp(1.5rem, 4vw, 3rem) !important; align-items: center !important; margin-top: 2rem !important; }
.hr-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.hr-benefits > * { margin: 0 !important; }
.hr-benefit { display: flex !important; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.hr-benefit > * { margin: 0 !important; }
.hr-benefit .wp-block-image { flex: 0 0 auto; }
.hr-benefit img { width: 40px; height: 40px; }
.hr-benefit p { font-size: 1rem; line-height: 1.45; }
.hr-benefit b, .hr-benefit strong { color: var(--accent); }

/* ---------- Картка товару ---------- */
.hr-product { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; text-align: center; position: relative; }
.hr-product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 46%; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(180deg, var(--accent-soft), rgba(255, 255, 255, 0)); }
.hr-product > * { position: relative; }
.hr-product .wp-block-image img { max-height: 300px; width: auto; filter: drop-shadow(0 14px 18px rgba(28, 44, 108, .15)); }
.hr-product .wp-block-buttons { justify-content: center; }
.hr-doc-link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--accent); }
.hr-doc-link a::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v15H6z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 12h7M9 16h7M14 2v6h6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v15H6z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 12h7M9 16h7M14 2v6h6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; }
.hr-doc-link a:hover { text-decoration: underline; }
.hr-note, .is-style-hr-small, .hr-small { font-size: .875rem !important; color: var(--muted); }
.hr-note { text-align: center; margin-top: 1.5rem !important; }

/* ---------- Як діє ---------- */
.hr-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: hrhow; margin-top: 2rem !important; }
.hr-how > * { margin: 0 !important; }
.hr-how__item { counter-increment: hrhow; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 20px 24px; text-align: center; position: relative; }
.hr-how__item::before { content: counter(hrhow); position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; display: grid; place-items: center; }
.hr-how__item .wp-block-image img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); }
.hr-how__item p { font-weight: 700; margin-top: 12px !important; }
@media (min-width: 900px) {
	.hr-how__item:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
}

/* ---------- Як застосовувати ---------- */
.hr-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: 2rem !important; }
.hr-steps > * { margin: 0 !important; }
.hr-step { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px 20px; }
.hr-step .wp-block-image img { width: 120px; height: auto; }
.hr-step p { margin-top: 10px !important; line-height: 1.4; }
.hr-step strong { color: var(--navy); }
.hr-more { text-align: center; margin-top: 1.5rem !important; }

/* ---------- Банер ---------- */
.hr-promo, .is-style-hr-promo { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(135deg, var(--accent) 0%, var(--navy) 100%); color: #fff; padding: clamp(1.75rem, 4vw, 3rem) !important; }
.hr-promo::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.hr-promo > * { position: relative; z-index: 1; }
.hr-promo h2, .hr-promo h3, .hr-promo p, .hr-promo a:not(.wp-block-button__link), .hr-promo span { color: #fff !important; }
.hr-promo__title { font-size: clamp(1.6rem, 3.6vw, 2.5rem) !important; font-weight: 900; line-height: 1.15; letter-spacing: .01em; margin: 0 0 .5rem !important; }
.hr-promo__sub { font-size: 1.15rem; opacity: .92; margin-top: 0 !important; }
.hr-promo .wp-block-columns { align-items: center !important; gap: clamp(1rem, 4vw, 3rem) !important; }
.hr-promo .wp-block-image { text-align: center; }
.hr-promo .wp-block-image img { max-height: 340px; width: auto; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .25)); }
.hr-promo__label { font-size: 1.1rem; }
.hr-promo__label strong { font-size: 1.35rem; }
.hr-promo .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff !important; color: var(--navy) !important; }
.hr-promo .is-style-outline .wp-block-button__link { background: transparent !important; color: #fff !important; border-color: #fff !important; }
.hr-promo .is-style-outline .wp-block-button__link:hover { background: #fff !important; color: var(--navy) !important; }
.hr-promo .hr-doc-link a { color: #fff; }
@media (max-width: 781px) { .hr-promo { text-align: center; } .hr-promo .wp-block-buttons { justify-content: center; } }

/* ---------- Відео ---------- */
.hr-video { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); background: var(--navy); }
.hr-video .wp-block-embed { margin: 0 auto; max-width: 900px; }
.hr-yt .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.hr-yt .wp-block-embed__wrapper::before { display: none; }
.hr-yt__btn { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.hr-yt__btn img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity .2s; }
.hr-yt__btn:hover img { opacity: 1; }
.hr-yt__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s; }
.hr-yt__play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--navy); }
.hr-yt__btn:hover .hr-yt__play { transform: scale(1.06); }
.hr-yt__btn:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.hr-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Попередження ---------- */
.hr-warning, .is-style-hr-warning { background: #FFF6E8; border-top: 1px solid #F6DDB4; padding-top: 2rem; padding-bottom: 2rem; text-align: center; }
.hr-warning__big { font-size: clamp(1.15rem, 2.6vw, 1.6rem) !important; font-weight: 900 !important; letter-spacing: .02em; color: #8A4B00 !important; margin: 0 !important; text-transform: uppercase; }
.hr-legal { font-size: .8125rem !important; color: var(--muted); max-width: 900px; margin: 1rem auto 0 !important; line-height: 1.55; }

/* ---------- Сторінки-інструкції та контакти ---------- */
.hr-doc-hero { background: linear-gradient(135deg, #EAF6FD 0%, #F4F0FB 100%); padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.hr-doc-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-top: 0; }
.hr-doc-hero .wp-block-columns { align-items: center !important; }
.hr-doc-hero .wp-block-image img { max-height: 320px; width: auto; filter: drop-shadow(0 16px 20px rgba(28, 44, 108, .16)); }
.hr-doc { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.hr-doc h2 { font-size: 1.45rem; margin-top: 2.2rem; padding-left: 14px; border-left: 4px solid var(--accent); text-align: left; }
.hr-doc h3 { font-size: 1.15rem; margin-top: 1.8rem; }
.hr-doc ul { padding-left: 1.25rem; }
.hr-doc li { margin: .35rem 0; }
.hr-doc li::marker { color: var(--accent); }
.hr-doc .wp-block-separator, .hr-doc hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; opacity: 1; }
.is-style-hr-soft-line { border: 0 !important; border-top: 1px solid var(--line) !important; }

.is-style-hr-check, .is-style-hr-arrows { list-style: none; padding-left: 0 !important; }
.is-style-hr-check li, .is-style-hr-arrows li { position: relative; padding-left: 32px; }
.is-style-hr-check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.is-style-hr-arrows li::before { content: "→"; position: absolute; left: 4px; top: 0; color: var(--accent); font-weight: 900; }

.hr-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 1.5rem !important; }
.hr-offices > * { margin: 0 !important; }
.hr-office { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.hr-office > * { margin: 0 !important; }
.hr-office p strong { font-size: 1.15rem; color: var(--navy); }
.hr-office iframe { width: 100% !important; height: 220px !important; border: 0; border-radius: var(--radius-sm); display: block; background: var(--soft); }
.hr-office .wp-block-html, .hr-office .hr-map { margin-top: auto !important; }

.is-style-hr-lead { font-size: 1.2rem; color: var(--muted); }
.is-style-hr-rounded img { border-radius: var(--radius); }
.is-style-hr-shadow img { box-shadow: var(--shadow); border-radius: var(--radius-sm); }

/* ---------- 404 ---------- */
.hr-404 { text-align: center; padding-top: 4rem; padding-bottom: 4rem; }
.hr-404__code { font-size: 6rem; font-weight: 900; color: var(--soft); -webkit-text-stroke: 2px var(--cyan); margin: 0; line-height: 1; }

/* ---------- Підвал ---------- */
.hr-footer { background: var(--soft); border-top: 1px solid var(--line); }
.hr-footer__in { max-width: 1180px; margin: 0 auto; padding: 28px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hr-footer__logo img { height: 36px; width: auto; display: block; }
.hr-footer__menu { flex: 1 1 auto; }
.hr-footer__menu a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 6px 10px; border-radius: 8px; display: inline-block; }
.hr-footer__menu a:hover { background: #fff; color: var(--blue); }
.hr-footer .dm-lang-switch ul { background: #fff; }
.hr-footer__copy { margin: 0; color: var(--muted); font-size: .9rem; width: 100%; }
@media (min-width: 700px) { .hr-footer__copy { width: auto; } }

/* ---------- Редактор ---------- */
.editor-styles-wrapper .hr-hero__sticker { position: relative !important; animation: none; }
