/*
 * СИЛАЧ — базові стилі теми (усі сторінки).
 * Джерело — design/v2/assets/sylach.css (макети v2.2). Тут: шрифти, токени,
 * скидання, кнопки, чипи, ціна й наявність, шапка, мегаменю, мобільне меню,
 * підказки пошуку, крихти, секції, картки товарів і статей, «статті → магазин»,
 * FAQ, примітка, порожній стан, пагінація, футер.
 * Сторінкові стилі: home.css, journal.css, program.css, goal.css; магазин — shop.css.
 */
/* Шрифти — локально (OFL-1.1, assets/fonts/LICENSE-*.txt), лише кирилиця й латиниця; «₴» — з cyrillic-ext.
   Файли — підмножини (tools/fonts/subset.py): без альтернативних форм, ваги Inter 400–800, Manrope 500–800; разом ≈ 76 КБ.
   Запасні гарнітури — Arial з підігнаними метриками: поки вебшрифт вантажиться, рядки не переносяться інакше, і верстка не стрибає. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/inter-cyrillic-wght-normal.woff2?v=2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/inter-cyrillic-ext-wght-normal.woff2?v=2) format('woff2'); unicode-range: U+20B4; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2?v=2) 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; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/manrope-cyrillic-wght-normal.woff2?v=2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/manrope-latin-wght-normal.woff2?v=2) 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; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('ArialMT'); font-weight: 100 500; size-adjust: 106.5%; ascent-override: 91%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 600 900; size-adjust: 101.4%; ascent-override: 95.7%; descent-override: 23.7%; line-gap-override: 0%; }
@font-face { font-family: 'Manrope Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 200 800; size-adjust: 99.5%; ascent-override: 107.5%; descent-override: 30.2%; line-gap-override: 0%; }
:root {
  --paper: #F7F7F2;
  --paper-2: #EFEFE7;
  --surface: #FFFFFF;
  --ink: #20221F;
  --ink-2: #2C2F2B;
  --muted: #5C625B;
  --accent: #F4D438;
  --accent-hover: #E8C724;
  --accent-soft: #FBF0B8;
  --subtle: #E8E9E1;
  --divider: #D8DCD2;
  --line: #E3E5DC;
  --control: #73796E;
  --error: #A12622;
  --error-soft: #FBEAE8;
  --success: #285B3C;
  --success-soft: #E6F0E8;
  --focus: #1C557F;
  --radius-s: 4px;
  --radius: 8px;
  --shadow-pop: 0 8px 32px rgba(32, 34, 31, .14);
  --container: 1248px;
  --gutter: 24px;
  --font-head: 'Manrope', 'Manrope Fallback', system-ui, sans-serif;
  --font-body: 'Inter', 'Inter Fallback', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.56 var(--font-body); font-synthesis: none; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; letter-spacing: -.03em; line-height: 1.12; }
h1 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 800; }
h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--accent); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.container { width: min(var(--container), 100% - 2 * var(--pad, 64px)); margin-inline: auto; }
@media (max-width: 1099px) { :root { --pad: 32px; } }
@media (max-width: 767px) { :root { --pad: 20px; } body { font-size: 16px; } }
@media (max-width: 360px) { :root { --pad: 16px; } }
/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-s); border: 1px solid transparent; font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 12px; }
.btn-ghost:hover { background: var(--subtle); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 16.5px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
.btn[disabled], .btn.is-disabled { background: var(--subtle); color: #7A7F75; border-color: transparent; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover span { text-decoration: underline; }

/* Позначки */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--radius-s); font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.badge-sale { background: var(--accent); color: var(--ink); }
.badge-dark { background: var(--ink); color: #fff; }
.badge-soft { background: var(--subtle); color: var(--ink); font-weight: 600; }
.eyebrow { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.chip small { color: var(--muted); font-size: 13px; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active small { color: #C9CCC2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--success); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.is-low { color: #8A5A00; }
.stock.is-out { color: var(--muted); }
.price { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-old { color: var(--muted); text-decoration: line-through; font-weight: 500; font-family: var(--font-body); letter-spacing: 0; }
.price small { font-family: var(--font-body); font-weight: 500; font-size: .62em; color: var(--muted); letter-spacing: 0; margin-right: 3px; }
/* Шапка */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.util { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.util .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 36px; }
.util ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.util li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.util svg { width: 16px; height: 16px; color: var(--ink); }
.util a { text-decoration: none; }
.util a:hover { color: var(--ink); text-decoration: underline; }
.mainbar .container { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; flex: none; }
.logo img { display: block; width: auto; height: 36px; }
.btn-catalog { background: var(--ink); color: #fff; min-height: 48px; padding: 0 18px 0 16px; border-radius: var(--radius-s); border: 0; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; }
.btn-catalog:hover, .btn-catalog[aria-expanded="true"] { background: #000; }
.btn-catalog svg { width: 20px; height: 20px; }
.site-search { flex: 1; position: relative; display: flex; }
.site-search input { width: 100%; min-height: 48px; padding: 0 52px 0 46px; border: 1px solid var(--control); border-radius: var(--radius-s); background: var(--paper); font-size: 15.5px; }
.site-search input::placeholder { color: #6F746B; }
.site-search > svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.site-search button { position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 12px; border: 0; border-radius: 3px; background: var(--accent); font-weight: 600; font-size: 14px; }
.nav-journal { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; padding: 10px 8px; }
.nav-journal:hover { text-decoration: underline; }
.head-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 56px; min-height: 48px; padding: 4px 6px; background: none; border: 0; border-radius: var(--radius-s); text-decoration: none; font-size: 12px; color: var(--ink); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { background: var(--paper); }
.icon-btn .count { position: absolute; top: 2px; right: 8px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); font-size: 11.5px; font-weight: 700; line-height: 19px; text-align: center; }
.catbar { border-top: 1px solid var(--line); }
.catbar .container { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-height: 48px; align-items: center; }
.catbar a { flex: none; padding: 12px 10px; font-size: 14px; font-weight: 500; text-decoration: none; border-radius: var(--radius-s); }
.catbar a:hover { background: var(--paper); }
.catbar a.is-sale { color: var(--ink); font-weight: 700; }
.catbar a.is-sale::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; }
.catbar a.is-current { box-shadow: inset 0 -3px 0 var(--accent); font-weight: 600; }
.catbar .sep { width: 1px; height: 22px; background: var(--line); margin: 0 8px; flex: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-pop); display: none; }
.mega.is-open { display: block; }
.mega .container { display: grid; grid-template-columns: repeat(var(--mega-cols, 4), minmax(0, 1fr)); gap: 32px; padding: 32px 0 36px; max-height: calc(100vh - 200px); overflow-y: auto; }
.mega-h { font-size: 16px; margin-bottom: 12px; letter-spacing: -.02em; line-height: 1.25; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega li a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; text-decoration: none; font-size: 15px; }
.mega li a:hover span:first-child { text-decoration: underline; }
.mega li small { color: var(--muted); font-size: 13px; }
.mega .mega-promo { background: var(--paper); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.menu-toggle, .m-only { display: none; }
@media (max-width: 1099px) {
  .util { display: none; }
  .mainbar .container { flex-wrap: wrap; gap: 8px 12px; min-height: 64px; padding: 8px 0 12px; }
  .menu-toggle { display: inline-flex; order: 0; }
  .logo { order: 1; margin-right: auto; }
  .logo img { height: 30px; }
  .head-actions { order: 2; }
  .site-search { order: 3; flex-basis: 100%; }
  .btn-catalog, .nav-journal, .catbar, .d-only { display: none !important; }
  .m-only { display: revert; }
  .icon-btn span.lbl { display: none; }
  .icon-btn { min-width: 44px; }
}
/* Мобільне меню */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.is-open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(32, 34, 31, .45); }
.drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px); background: var(--surface); overflow-y: auto; display: flex; flex-direction: column; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.drawer-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.drawer-tabs button { min-height: 50px; background: none; border: 0; font-weight: 600; border-bottom: 3px solid transparent; }
.drawer-tabs button[aria-selected="true"] { border-bottom-color: var(--accent); }
.drawer-list { list-style: none; margin: 0; padding: 8px 0; }
.drawer-list a { display: flex; justify-content: space-between; align-items: center; min-height: 50px; padding: 0 20px; text-decoration: none; font-size: 16px; }
.drawer-list small { color: var(--muted); }
.drawer-list .group { padding: 16px 20px 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.drawer-foot { margin-top: auto; padding: 16px 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
/* Хлібні крихти й заголовок сторінки */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 20px 0 0; font-size: 14px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #A4A99D; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.page-head { padding: 18px 0 28px; }
.page-head .lead { margin-top: 12px; max-width: 720px; color: var(--muted); font-size: 18px; }

/* Секції */
.section { padding: 56px 0; }
.section.tight { padding: 40px 0; }
.section.white { background: var(--surface); border-block: 1px solid var(--line); }
.section.dark { background: var(--ink); color: #F1F1EA; }
.section.dark .eyebrow { color: #B9BDB2; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 560px; margin-top: 8px; }
.section.dark .section-head p { color: #C9CCC2; }
@media (max-width: 767px) { .section { padding: 40px 0; } .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; } }
/* Картка товару */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s; }
.pcard:hover { border-color: #9DA296; }
.pcard .media { position: relative; display: block; aspect-ratio: 1; padding: 18px; background: #fff; }
.pcard .media img { width: 100%; height: 100%; object-fit: contain; }
.pcard .badges { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pcard .body { display: flex; flex-direction: column; gap: 6px; padding: 4px 16px 16px; flex: 1; }
.pcard .brand { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.pcard .name { font-size: 15.5px; font-weight: 600; line-height: 1.35; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard .name:hover { text-decoration: underline; }
.pcard .name::after { content: ""; position: absolute; inset: 0; }
.pcard .opts { font-size: 13.5px; color: var(--muted); }
.pcard .buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.pcard .price { font-size: 20px; }
.pcard .price-old { display: block; font-size: 13.5px; }
.pcard .add { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: var(--radius-s); border: 0; background: var(--accent); display: grid; place-items: center; flex: none; }
.pcard .add:hover { background: var(--accent-hover); }
.pcard .add svg { width: 22px; height: 22px; }
.pcard .add.choose { width: auto; padding: 0 12px; font-weight: 600; font-size: 14px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.pcard .add.choose:hover { border-color: var(--ink); }
@media (max-width: 1099px) { .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard .media { padding: 10px; }
  .pcard .body { padding: 2px 12px 12px; }
  .pcard .name { font-size: 14.5px; }
  .pcard .price { font-size: 18px; }
  .pcard .add.choose { display: none; }
}
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.scroller > * { scroll-snap-align: start; }
.scroll-nav { display: flex; gap: 8px; }
.scroll-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; display: grid; place-items: center; }
.scroll-nav button:hover { background: var(--ink); color: #fff; }
.scroll-nav svg { width: 20px; height: 20px; }
@media (max-width: 1099px) { .scroller { grid-auto-columns: calc((100% - 2 * 16px) / 2.6); } }
@media (max-width: 767px) { .scroller { grid-auto-columns: 62%; gap: 10px; } .scroll-nav { display: none; } }

/* Картки статей */
.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acard { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.acard .cover { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--subtle); }
.acard .meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.acard h3 { font-size: 19px; }
.acard:hover h3 { text-decoration: underline; }
.acard p { color: var(--muted); font-size: 15px; }
.acard .to-shop { font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.acard .to-shop svg { width: 16px; height: 16px; }
.a-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; text-decoration: none; padding: 14px 0; border-top: 1px solid var(--line); }
.a-row img { aspect-ratio: 4/3; object-fit: cover; width: 120px; }
.a-row h3 { font-size: 16.5px; }
.a-row:hover h3 { text-decoration: underline; }
.a-row small { color: var(--muted); font-size: 13px; }
@media (max-width: 1099px) { .a-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .a-grid { grid-template-columns: 1fr; gap: 28px; } .a-row { grid-template-columns: 96px 1fr; } .a-row img { width: 96px; } }
/* Статті → магазин */
.bridge { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bridge .acard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bridge .acard .txt { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bridge .shop-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.bridge .shop-link span { color: var(--muted); font-weight: 500; }
@media (max-width: 1099px) { .bridge { grid-template-columns: 1fr; } .bridge .acard { flex-direction: row; } .bridge .acard .cover { width: 38%; aspect-ratio: auto; } .bridge .acard .txt { padding: 16px; } }
@media (max-width: 767px) { .bridge .acard { flex-direction: column; } .bridge .acard .cover { width: 100%; aspect-ratio: 16/9; } }
/* Футер */
.site-footer { background: var(--ink); color: #D9DBD3; margin-top: 0; border-top: 6px solid var(--accent); }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding: 56px 0 40px; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer li a { display: inline-block; padding: 5px 0; text-decoration: none; font-size: 14.5px; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand-col p { font-size: 14.5px; margin: 16px 0 18px; max-width: 300px; }
.site-footer .footer-logo { display: block; width: auto; height: 34px; }
.site-footer .social { display: flex; gap: 8px; }
.site-footer .social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #4A4D47; display: grid; place-items: center; }
.site-footer .social a:hover { background: #fff; color: var(--ink); }
.site-footer .social svg { width: 20px; height: 20px; }
.site-footer .contact b { display: block; color: #fff; font-size: 17px; font-family: var(--font-head); margin-bottom: 2px; }
.site-footer .contact p { font-size: 14px; margin-bottom: 10px; }
.site-footer .bottom { border-top: 1px solid #3A3D38; padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13.5px; }
.site-footer .bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer .bottom a { text-decoration: none; }
.site-footer .bottom a:hover { text-decoration: underline; color: #fff; }
.pay-marks { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pay-marks span { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border-radius: 4px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; }
@media (max-width: 1099px) { .site-footer .top { grid-template-columns: 1fr 1fr 1fr; } .site-footer .brand-col { grid-column: 1 / -1; } }
@media (max-width: 767px) { .site-footer .top { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 40px; } .site-footer .contact { grid-column: 1 / -1; } }
/* Пагінація (спільна для журналу й каталогу) */
.pager { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 32px; }
.pager nav { display: flex; gap: 6px; }
.pager nav a, .pager nav span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; text-decoration: none; font-weight: 600; }
.pager nav [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager small { color: var(--muted); }
.select { -webkit-appearance: none; appearance: none; min-height: 44px; border: 1px solid var(--control); border-radius: var(--radius-s); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320221F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding: 0 38px 0 12px; color: var(--ink); font: inherit; font-size: 14.5px; line-height: 1.2; text-overflow: ellipsis; cursor: pointer; }
/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; font-family: var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .15s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); max-width: 760px; }
.note { display: flex; gap: 12px; padding: 16px 18px; background: var(--paper-2); border-radius: var(--radius); font-size: 14.5px; color: var(--ink-2); }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
.muted { color: var(--muted); }
.f-h { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
/* Підказки пошуку */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 45; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 16px; font-size: 14.5px; }
.suggest b { display: block; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.suggest .chips .chip { min-height: 36px; font-size: 14px; }
.sg-results { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.sg-results[hidden] { display: none; }
.sg-col ul { list-style: none; margin: 0 0 14px; padding: 0; }
.sg-col li a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; text-decoration: none; }
.sg-col li a:hover span, .sg-col li a:hover { text-decoration: underline; }
.sg-col small { color: var(--muted); }
.sg-prods li a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; }
.sg-prods img { width: 40px; height: 40px; object-fit: contain; }
.sg-prods b { margin: 0; color: var(--ink); font-size: 14.5px; letter-spacing: 0; text-transform: none; }
@media (max-width: 767px) { .sg-results { grid-template-columns: 1fr; gap: 8px; } .suggest { position: fixed; left: 8px; right: 8px; top: 124px; max-height: calc(100vh - 140px); overflow: auto; } }
/* Хлібні крихти на телефоні — одне посилання «назад» */
@media (max-width: 767px) {
  .crumbs li { display: none; }
  .crumbs li:nth-last-child(2) { display: block; }
  .crumbs li:nth-last-child(2)::after { display: none; }
  .crumbs li:nth-last-child(2) a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); }
  .crumbs li:nth-last-child(2) a::before { content: "‹"; font-size: 22px; line-height: 1; margin-right: 8px; }
  .crumbs { padding-top: 8px; }
}

/* Цілі для дотику на телефоні (Google радить ≈48 px) */
@media (max-width: 767px) {
  .chip { min-height: 44px; }
  .site-footer li a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .site-footer .bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .catbar a, .drawer-list a { min-height: 48px; }
}
/* v2.2: картка статті з окремим посиланням у магазин, відгуки, порожній стан */
.acard { position: relative; }
.acard-link { display: flex; flex-direction: column; gap: 12px; text-decoration: none; flex: 1; }
.acard-link .txt { display: flex; flex-direction: column; gap: 10px; }
.acard-link:hover h3 { text-decoration: underline; }
.bridge .acard .acard-link .txt { padding: 0 20px; }
.bridge .acard > .shop-link { margin: 0 20px 20px; text-decoration: none; min-height: 44px; }
.bridge .acard > .shop-link:hover span:first-child { text-decoration: underline; }
@media (max-width: 1099px) { .bridge .acard { flex-direction: column; } .bridge .acard .acard-link { flex-direction: row; } .bridge .acard .acard-link .cover { width: 38%; aspect-ratio: 4/3; } .bridge .acard .acard-link .txt { padding: 16px 16px 0 0; } }
@media (max-width: 767px) { .bridge .acard .acard-link { flex-direction: column; } .bridge .acard .acard-link .cover { width: 100%; aspect-ratio: 16/9; } .bridge .acard .acard-link .txt { padding: 0 16px; } .bridge .acard > .shop-link { margin: 0 16px 16px; } }
.states { margin-top: 24px; }
.states summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.empty-state { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.empty-state > svg { width: 32px; height: 32px; color: var(--muted); }
.empty-state b { font-family: var(--font-head); font-size: 20px; }
.empty-state p { color: var(--muted); }
.empty-state .chip svg { width: 16px; height: 16px; }
article.acard:hover h3 { text-decoration: none; }
article.acard .acard-link:hover h3 { text-decoration: underline; }
select, .select, input, textarea { min-width: 0; max-width: 100%; }

/* ===== Тема WordPress: доповнення до макетів ===== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; }
/* Панель адміністратора WordPress: шапка прилипає під нею */
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.util .util-links { margin-left: auto; }
/* Мегаменю: окремі блоки в колонці, «усі товари» */
.mega-col { display: grid; gap: 24px; align-content: start; }
.mega-col > div { min-width: 0; }
.mega .mega-all { margin-top: 6px; }
.mega-promo b { font-family: var(--font-head); font-size: 16px; line-height: 1.35; }
.mega-promo hr { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 4px 0; }
.mega-h a { text-decoration: none; }
.mega-h a:hover { text-decoration: underline; }
/* Футер: способи оплати списком, посилання в контактах */
.pay-marks { list-style: none; margin: 0; padding: 0; }
.pay-marks li { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border-radius: 4px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; }
.site-footer .contact a { text-decoration: none; }
.site-footer .contact a:hover { text-decoration: underline; color: #fff; }
.site-footer .contact .legal { font-size: 13.5px; color: #B9BDB2; }
/* Лічильник і сума кошика в шапці (малює app.js, розмітка однакова для всіх) */
.icon-btn .count[hidden] { display: none; }
.icon-btn .lbl { white-space: nowrap; }
/* Шапка без каталогу (магазин на паузі) */
.shop-paused .head-actions .cart-btn { display: none; }
/* Мобільне меню: нижні посилання — цілі для дотику */
.drawer-foot a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.drawer-foot a:hover { text-decoration: underline; }
.drawer-foot .phone { font-weight: 600; color: var(--ink); }
.drawer-head .logo img { height: 28px; }
/* Підказки пошуку: combobox + listbox (варіанти — role="option") */
.suggest .sg-list { list-style: none; margin: 0; padding: 0; }
.suggest [role="group"] { margin: 0 0 14px; padding: 0; list-style: none; }
.suggest [role="group"]:last-child { margin-bottom: 0; }
.suggest .sg-h { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.suggest [role="option"] { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; padding: 6px 8px; margin: 0 -8px; border-radius: var(--radius-s); cursor: pointer; }
.suggest [role="option"]:hover span:first-child, .suggest [role="option"].is-active span:first-child { text-decoration: underline; }
.suggest [role="option"].is-active { background: var(--paper); outline: 2px solid var(--focus); outline-offset: -2px; }
.suggest [role="option"] small { color: var(--muted); white-space: nowrap; }
.suggest .sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.suggest .sg-chips [role="option"] { margin: 0; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; }
.suggest .sg-chips [role="option"].is-active { border-color: var(--ink); background: var(--paper); }
.suggest .sg-prod { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) auto; }
.suggest .sg-prod img { width: 40px; height: 40px; object-fit: contain; background: #fff; }
.suggest .sg-prod .price { font-size: 14.5px; }
.suggest .sg-all { font-weight: 600; justify-content: flex-start !important; }
.suggest .sg-all svg { width: 18px; height: 18px; }
.suggest .sg-msg { color: var(--muted); padding: 4px 0; }
.suggest .sg-list.has-results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 24px; }
.suggest .sg-list.has-results > .g-cats, .suggest .sg-list.has-results > .g-posts { grid-column: 1; }
.suggest .sg-list.has-results > .g-prods { grid-column: 2; grid-row: 1 / span 2; }
.suggest .sg-list.has-results > .g-all { grid-column: 1 / -1; }
.suggest .sg-list.has-results.no-side > * { grid-column: 1 / -1; grid-row: auto; }
@media (max-width: 767px) { .suggest .sg-list.has-results { grid-template-columns: 1fr; } .suggest .sg-list.has-results > * { grid-column: 1 !important; grid-row: auto !important; } }
/* Кнопки прокрутки рядків і порожні блоки */
.section-head .scroll-nav button[disabled] { opacity: .35; cursor: default; }
/* Пагінація посиланнями */
.pager .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pager nav .dots { border: 0; background: none; min-width: 24px; }
.pager nav a:hover { border-color: var(--ink); }
.pager .pg-arrow svg { width: 18px; height: 18px; }
/* Друк: без шапки й футера */
@media print {
  .site-header, .site-footer, .drawer, .skip, .read-progress { display: none !important; }
  body { background: #fff; }
}
.pcard-h { font: inherit; margin: 0; letter-spacing: 0; }
/* Списки-чипи (ul.chips), дрібні утиліти */
ul.chips { list-style: none; margin: 0; padding: 0; }
.page-head ul.chips { margin-top: 20px; }
.h-sm { font-size: 24px; margin-bottom: 8px; }
.mt-14 { margin-top: 14px; }
.mb-24 { margin-bottom: 24px; }
.a-row .cover-empty { display: block; width: 120px; aspect-ratio: 4 / 3; background: var(--subtle); }
@media (max-width: 767px) { .a-row .cover-empty { width: 96px; } }
.page-head .lead p { margin: 0 0 8px; }
.page-head .lead p:last-child { margin: 0; }
.suggest .sg-prod b { margin: 0; color: var(--ink); font-size: 14.5px; letter-spacing: 0; text-transform: none; }
.suggest .sg-prod b small { color: var(--muted); font-weight: 500; }
